summaryrefslogtreecommitdiffstats
path: root/kicker-applets/kolourpicker/kolourpicker.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
commit7346aee26bf190a7e70333c40fab4caca847cd27 (patch)
tree4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /kicker-applets/kolourpicker/kolourpicker.h
parent23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff)
downloadtdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz
tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker-applets/kolourpicker/kolourpicker.h')
-rw-r--r--kicker-applets/kolourpicker/kolourpicker.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kicker-applets/kolourpicker/kolourpicker.h b/kicker-applets/kolourpicker/kolourpicker.h
index 0b576e9..20780f9 100644
--- a/kicker-applets/kolourpicker/kolourpicker.h
+++ b/kicker-applets/kolourpicker/kolourpicker.h
@@ -21,8 +21,8 @@
#ifndef _KOLOURPICKER_H_
#define _KOLOURPICKER_H_
-#include <qmap.h>
-#include <qvaluelist.h>
+#include <tqmap.h>
+#include <tqvaluelist.h>
#include <kpanelapplet.h>
@@ -35,34 +35,34 @@ class KolourPicker : public KPanelApplet
{
Q_OBJECT
public:
- KolourPicker(const QString& configFile, Type t = Normal, int actions = 0,
- QWidget *parent = 0, const char *name = 0);
+ KolourPicker(const TQString& configFile, Type t = Normal, int actions = 0,
+ TQWidget *parent = 0, const char *name = 0);
~KolourPicker();
virtual int heightForWidth(int) const;
virtual int widthForHeight(int) const;
virtual void about();
protected:
- virtual void mouseReleaseEvent(QMouseEvent *);
- virtual void keyPressEvent(QKeyEvent *);
- virtual void resizeEvent(QResizeEvent*);
+ virtual void mouseReleaseEvent(TQMouseEvent *);
+ virtual void keyPressEvent(TQKeyEvent *);
+ virtual void resizeEvent(TQResizeEvent*);
private slots:
void slotPick();
void slotHistory();
private:
- QPopupMenu *copyPopup(const QColor &, bool title) const;
- QPixmap colorPixmap(const QColor &) const;
- const QStringList &colorNames(int r, int g, int b) const;
+ TQPopupMenu *copyPopup(const TQColor &, bool title) const;
+ TQPixmap colorPixmap(const TQColor &) const;
+ const TQStringList &colorNames(int r, int g, int b) const;
void arrangeButtons();
- void setClipboard(const QString& text);
+ void setClipboard(const TQString& text);
KInstance *m_instance;
bool m_picking;
SimpleButton *m_historyButton, *m_colourButton;
- QValueList<QColor> m_history;
- QMap<int, QStringList> m_colorNames;
+ TQValueList<TQColor> m_history;
+ TQMap<int, TQStringList> m_colorNames;
};
#endif