diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-17 08:20:48 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-17 08:20:48 +0000 |
commit | aa0726b20f398264f0a2abc60215be044b106f9c (patch) | |
tree | 070fdbc19a1106cfdd7f651a8ce76bb1b89a513d /src/colorpicker.h | |
parent | d3cf5b3e75aadc3b02d0b56f030d4c3f8c2c749d (diff) | |
download | basket-aa0726b20f398264f0a2abc60215be044b106f9c.tar.gz basket-aa0726b20f398264f0a2abc60215be044b106f9c.zip |
TQt4 port basket
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1232416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/colorpicker.h')
-rw-r--r-- | src/colorpicker.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/colorpicker.h b/src/colorpicker.h index 1f109fa..45463ca 100644 --- a/src/colorpicker.h +++ b/src/colorpicker.h @@ -21,14 +21,15 @@ #ifndef COLORPICKER_H #define COLORPICKER_H -#include <qdesktopwidget.h> +#include <tqdesktopwidget.h> /** Class to pick a color on the screen * @author S�astien Laot */ -class DesktopColorPicker : public QDesktopWidget +class DesktopColorPicker : public TQDesktopWidget { Q_OBJECT + TQ_OBJECT public: /** Construtor, initializer and destructor */ DesktopColorPicker(); @@ -42,15 +43,15 @@ class DesktopColorPicker : public QDesktopWidget signals: /** When user picked a color, this signal is emitted. */ - void pickedColor(const QColor &color); + void pickedColor(const TQColor &color); /** When user cancel a picking (by pressing Escape), this signal is emitted. */ void canceledPick(); protected slots: void slotDelayedPick(); protected: - void mouseReleaseEvent(QMouseEvent *event); - void keyPressEvent(QKeyEvent *event); + void mouseReleaseEvent(TQMouseEvent *event); + void keyPressEvent(TQKeyEvent *event); bool m_gettingColorFromScreen; }; |