summaryrefslogtreecommitdiffstats
path: root/python/pykde/sip/kdeui/kcolordialog.sip
diff options
context:
space:
mode:
Diffstat (limited to 'python/pykde/sip/kdeui/kcolordialog.sip')
-rw-r--r--python/pykde/sip/kdeui/kcolordialog.sip237
1 files changed, 0 insertions, 237 deletions
diff --git a/python/pykde/sip/kdeui/kcolordialog.sip b/python/pykde/sip/kdeui/kcolordialog.sip
deleted file mode 100644
index 8880d108..00000000
--- a/python/pykde/sip/kdeui/kcolordialog.sip
+++ /dev/null
@@ -1,237 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kdeui version KDE 3.5.3
-
-
-// This software 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 software 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 library; see the file COPYING.
-// If not, write to the Free Software Foundation, Inc.,
-// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-class KHSSelector : KXYSelector
-{
-%TypeHeaderCode
-#include <kcolordialog.h>
-%End
-
-
-public:
- KHSSelector (QWidget* /TransferThis/ = 0, const char* = 0);
-
-protected:
- virtual void drawPalette (QPixmap*);
- virtual void resizeEvent (QResizeEvent*);
- virtual void drawContents (QPainter*);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KHSSelector
-
-
-class KValueSelector : KSelector
-{
-%TypeHeaderCode
-#include <kcolordialog.h>
-%End
-
-
-public:
- KValueSelector (QWidget* /TransferThis/ = 0, const char* = 0);
- KValueSelector (Orientation, QWidget* /TransferThis/ = 0, const char* = 0);
- int hue () const;
- void setHue (int);
- int saturation () const;
- void setSaturation (int);
- void updateContents ();
-
-protected:
- virtual void drawPalette (QPixmap*);
- virtual void resizeEvent (QResizeEvent*);
- virtual void drawContents (QPainter*);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KValueSelector
-
-
-class KColor : QColor
-{
-%TypeHeaderCode
-#include <kcolordialog.h>
-%End
-
-
-public:
- KColor ();
- KColor (const KColor&);
- KColor (const QColor&);
-
-%If ( KDE_3_1_4 - )
- bool operator == (const KColor&) const;
-%End
-
- void setHsv (int, int, int);
- void setRgb (int, int, int);
- void rgb (int*, int*, int*);
- void hsv (int*, int*, int*);
-
-protected:
-
-}; // class KColor
-
-
-class KPaletteTable : QWidget
-{
-%TypeHeaderCode
-#include <kcolordialog.h>
-%End
-
-
-public:
- KPaletteTable (QWidget* /TransferThis/, int = 210, int = 16);
- void addToCustomColors (const QColor&);
- void addToRecentColors (const QColor&);
- QString palette ();
-
-public slots:
- void setPalette (const QString&);
-
-signals:
- void colorSelected (const QColor&, const QString&);
- void colorDoubleClicked (const QColor&, const QString&);
-
-protected slots:
- void slotColorCellSelected (int);
- void slotColorCellDoubleClicked (int);
- void slotColorTextSelected (const QString&);
- void slotSetPalette (const QString&);
- void slotShowNamedColorReadError ();
-
-protected:
- void readNamedColor ();
-
-protected:
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KPaletteTable
-
-
-class KColorCells : QGridView
-{
-%TypeHeaderCode
-#include <kcolordialog.h>
-%End
-
-
-public:
- KColorCells (QWidget* /TransferThis/, int, int);
- void setColor (int, const QColor&);
- QColor color (int) const;
- int numCells () const;
- void setShading (bool);
- void setAcceptDrags (bool);
- int getSelected () const;
-
-signals:
- void colorSelected (int);
- void colorDoubleClicked (int);
-
-protected:
- virtual void paintCell (QPainter*, int, int);
- virtual void resizeEvent (QResizeEvent*);
- virtual void mouseReleaseEvent (QMouseEvent*);
- virtual void mousePressEvent (QMouseEvent*);
- virtual void mouseMoveEvent (QMouseEvent*);
- virtual void dragEnterEvent (QDragEnterEvent*);
- virtual void dropEvent (QDropEvent*);
- virtual void mouseDoubleClickEvent (QMouseEvent*);
- int posToCell (const QPoint&, bool = 0);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KColorCells
-
-
-class KColorPatch : QFrame
-{
-%TypeHeaderCode
-#include <kcolordialog.h>
-%End
-
-
-public:
- KColorPatch (QWidget* /TransferThis/);
- void setColor (const QColor&);
-
-signals:
- void colorChanged (const QColor&);
-
-protected:
- virtual void drawContents (QPainter*);
- virtual void mouseMoveEvent (QMouseEvent*);
- virtual void dragEnterEvent (QDragEnterEvent*);
- virtual void dropEvent (QDropEvent*);
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KColorPatch
-
-
-class KColorDialog : KDialogBase
-{
-%TypeHeaderCode
-#include <kcolordialog.h>
-%End
-
-
-public:
- KColorDialog (QWidget* /TransferThis/ = 0, const char* = 0, bool = 0);
- QColor color ();
- static int getColor (QColor&, QWidget* /Transfer/ = 0);
- static int getColor (QColor&, const QColor&, QWidget* /Transfer/ = 0);
- static QColor grabColor (const QPoint&);
- void setDefaultColor (const QColor&);
- QColor defaultColor () const;
-
-public slots:
- void setColor (const QColor&);
-
-signals:
- void colorSelected (const QColor&);
-
-protected:
- virtual void mouseReleaseEvent (QMouseEvent*);
- virtual void keyPressEvent (QKeyEvent*);
-
-%If ( KDE_3_2_0 - )
- virtual bool eventFilter (QObject*, QEvent*);
-%End
-
-
-protected:
-//igx virtual void virtual_hook (int, void*);
-
-}; // class KColorDialog
-