From a8d3c46e703906376cecad720d267b57955d64c1 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 3 Oct 2005 15:54:58 +0000 Subject: [PATCH] review what Laurent's script does svn path=/trunk/KDE/kdebase/klipper/; revision=466881 --- kcmkwin/kwindecoration/buttons.cpp | 10 +++++----- kcmkwin/kwindecoration/buttons.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/kcmkwin/kwindecoration/buttons.cpp b/kcmkwin/kwindecoration/buttons.cpp index 70dc0a96be..72d468462c 100644 --- a/kcmkwin/kwindecoration/buttons.cpp +++ b/kcmkwin/kwindecoration/buttons.cpp @@ -16,12 +16,12 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Cambridge, MA 02110-1301, USA. @@ -130,8 +130,8 @@ QPixmap bitmapPixmap(const QBitmap& bm, const QColor& color) } -ButtonSource::ButtonSource(QWidget *parent, const char* name) - : KListView(parent, name) +ButtonSource::ButtonSource(QWidget *parent) + : KListView(parent) { setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); @@ -870,7 +870,7 @@ void ButtonPositionWidget::setButtonsLeft(const QString &buttons) m_dropSite->recalcItemGeometry(); m_dropSite->update(); } - + void ButtonPositionWidget::setButtonsRight(const QString &buttons) { // to keep the button lists consistent, first remove all left buttons, then add buttons again... diff --git a/kcmkwin/kwindecoration/buttons.h b/kcmkwin/kwindecoration/buttons.h index b5e3ce94d9..2424f98715 100644 --- a/kcmkwin/kwindecoration/buttons.h +++ b/kcmkwin/kwindecoration/buttons.h @@ -9,19 +9,19 @@ Supports new kwin configuration plugins, and titlebar button position modification via dnd interface. - Based on original "kwintheme" (Window Borders) + Based on original "kwintheme" (Window Borders) Copyright (C) 2001 Rik Hemsley (rikkus) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, Cambridge, MA 02110-1301, USA. @@ -84,7 +84,7 @@ class ButtonDropSiteItem public: ButtonDropSiteItem(const Button& btn); ~ButtonDropSiteItem(); - + Button button(); QRect rect; @@ -123,7 +123,7 @@ class ButtonSource : public KListView Q_OBJECT public: - ButtonSource(QWidget *parent = 0, const char* name = 0); + ButtonSource(QWidget *parent = 0); virtual ~ButtonSource(); QSize sizeHint() const;