summaryrefslogtreecommitdiffstats
path: root/sip/tdeui/kdualcolorbtn.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tdeui/kdualcolorbtn.sip')
-rw-r--r--sip/tdeui/kdualcolorbtn.sip42
1 files changed, 21 insertions, 21 deletions
diff --git a/sip/tdeui/kdualcolorbtn.sip b/sip/tdeui/kdualcolorbtn.sip
index 210c397..6cfd399 100644
--- a/sip/tdeui/kdualcolorbtn.sip
+++ b/sip/tdeui/kdualcolorbtn.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KDualColorButton : QWidget
+class KDualColorButton : TQWidget
{
%TypeHeaderCode
#include <kdualcolorbtn.h>
@@ -39,35 +39,35 @@ public:
Background
};
- KDualColorButton (QWidget*/TransferThis/ = 0, const char* = 0);
- KDualColorButton (QWidget*/TransferThis/, const char*, QWidget*);
- KDualColorButton (const QColor&, const QColor&, QWidget*/TransferThis/ = 0, const char* = 0);
- KDualColorButton (const QColor&, const QColor&, QWidget*/TransferThis/, const char*, QWidget*);
- QColor foreground () const;
- QColor background () const;
+ KDualColorButton (TQWidget*/TransferThis/ = 0, const char* = 0);
+ KDualColorButton (TQWidget*/TransferThis/, const char*, TQWidget*);
+ KDualColorButton (const TQColor&, const TQColor&, TQWidget*/TransferThis/ = 0, const char* = 0);
+ KDualColorButton (const TQColor&, const TQColor&, TQWidget*/TransferThis/, const char*, TQWidget*);
+ TQColor foreground () const;
+ TQColor background () const;
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*);
}; // class KDualColorButton