review what Laurent's script does

svn path=/trunk/KDE/kdebase/klipper/; revision=466881
This commit is contained in:
Stephan Kulow 2005-10-03 15:54:58 +00:00
parent 7a441e1b7a
commit a8d3c46e70
2 changed files with 10 additions and 10 deletions

View file

@ -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...

View file

@ -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) <rik@kde.org>
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;