diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
commit | 203ba231d0276943aae36111f9ec1e949f3c6a4c (patch) | |
tree | f039f7a5b5fc2da88a96876971bac580d87f6788 /sip/tdeui/kdualcolorbutton.sip | |
parent | fd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff) | |
download | pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip |
Initial TQt conversion
Diffstat (limited to 'sip/tdeui/kdualcolorbutton.sip')
-rw-r--r-- | sip/tdeui/kdualcolorbutton.sip | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/sip/tdeui/kdualcolorbutton.sip b/sip/tdeui/kdualcolorbutton.sip index 739dad9..a37e6ab 100644 --- a/sip/tdeui/kdualcolorbutton.sip +++ b/sip/tdeui/kdualcolorbutton.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KDualColorButton : QWidget +class KDualColorButton : TQWidget { %TypeHeaderCode #include <kdualcolorbutton.h> @@ -39,33 +39,33 @@ public: Background }; - KDualColorButton (QWidget* /TransferThis/ = 0, const char* = 0, QWidget* = 0); - KDualColorButton (const QColor&, const QColor&, QWidget* /TransferThis/ = 0, const char* = 0, QWidget* = 0); - QColor foreground () const; - QColor background () const; + KDualColorButton (TQWidget* /TransferThis/ = 0, const char* = 0, TQWidget* = 0); + KDualColorButton (const TQColor&, const TQColor&, TQWidget* /TransferThis/ = 0, const char* = 0, TQWidget* = 0); + TQColor foreground () const; + TQColor background () const; KDualColorButton::DualColor current () const; - QColor currentColor () const; - virtual QSize sizeHint () const; + TQColor currentColor () const; + virtual TQSize sizeHint () const; public slots: - void setForeground (const QColor&); - void setBackground (const QColor&); + void setForeground (const TQColor&); + void setBackground (const TQColor&); void setCurrent (KDualColorButton::DualColor); - void setCurrentColor (const QColor&); + void setCurrentColor (const TQColor&); signals: - void fgChanged (const QColor&); - void bgChanged (const QColor&); + void fgChanged (const TQColor&); + void bgChanged (const TQColor&); void currentChanged (KDualColorButton::DualColor); protected: - virtual void metrics (QRect&, QRect&); - virtual void paintEvent (QPaintEvent*); - virtual void mousePressEvent (QMouseEvent*); - virtual void mouseMoveEvent (QMouseEvent*); - virtual void mouseReleaseEvent (QMouseEvent*); - virtual void dragEnterEvent (QDragEnterEvent*); - virtual void dropEvent (QDropEvent*); + virtual void metrics (TQRect&, TQRect&); + virtual void paintEvent (TQPaintEvent*); + virtual void mousePressEvent (TQMouseEvent*); + virtual void mouseMoveEvent (TQMouseEvent*); + virtual void mouseReleaseEvent (TQMouseEvent*); + virtual void dragEnterEvent (TQDragEnterEvent*); + virtual void dropEvent (TQDropEvent*); protected: //igx virtual void virtual_hook (int, void*); |