summaryrefslogtreecommitdiffstats
path: root/ksayit/src/ksayitsystemtray.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:20:30 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:20:30 +0000
commit28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c (patch)
treea2f011f22aa31d0839c6e2118501b7a6d2f2ae96 /ksayit/src/ksayitsystemtray.h
parent0285229d858c8f03cde7354c679a752598cf4515 (diff)
downloadtdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.tar.gz
tdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1157633 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksayit/src/ksayitsystemtray.h')
-rw-r--r--ksayit/src/ksayitsystemtray.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/ksayit/src/ksayitsystemtray.h b/ksayit/src/ksayitsystemtray.h
index 90db592..90b15fb 100644
--- a/ksayit/src/ksayitsystemtray.h
+++ b/ksayit/src/ksayitsystemtray.h
@@ -19,8 +19,8 @@
#define KSAYITSYSTEMTRAY_H
// QT includes
-#include <qwidget.h>
-#include <qpixmap.h>
+#include <tqwidget.h>
+#include <tqpixmap.h>
// KDE includes
#include <kapplication.h>
@@ -43,7 +43,7 @@ class KSayItSystemTray : public KSystemTray {
friend class State;
public:
- KSayItSystemTray(QWidget *parent=0, const char *name=0);
+ KSayItSystemTray(TQWidget *parent=0, const char *name=0);
~KSayItSystemTray();
signals:
@@ -105,19 +105,19 @@ public:
protected: // Methods
/** Reimplementation from base class
*/
- void mousePressEvent(QMouseEvent *);
+ void mousePressEvent(TQMouseEvent *);
/** Reimplementation from base class
*/
- void mouseReleaseEvent(QMouseEvent *);
+ void mouseReleaseEvent(TQMouseEvent *);
/** KSystemTray default mouse handling
*/
- void normalMousePressEvent(QMouseEvent *e);
+ void normalMousePressEvent(TQMouseEvent *e);
/** KSystemTray default mouse handling
*/
- void normalMouseReleaseEvent(QMouseEvent *e);
+ void normalMouseReleaseEvent(TQMouseEvent *e);
/** Called if the Tray icon was clicked.
*/
@@ -153,15 +153,15 @@ public:
State();
~State();
- virtual void mousePressEvent(KSayItSystemTray *caller, QMouseEvent *e);
- virtual void mouseReleaseEvent(KSayItSystemTray *caller, QMouseEvent *e);
+ virtual void mousePressEvent(KSayItSystemTray *caller, TQMouseEvent *e);
+ virtual void mouseReleaseEvent(KSayItSystemTray *caller, TQMouseEvent *e);
virtual void setContext(KSayItSystemTray *caller);
protected:
void changeState(KSayItSystemTray *caller, State *state);
void say(KSayItSystemTray *caller);
- void mousePressEventCall(KSayItSystemTray *caller, QMouseEvent *e);
- void mouseReleaseEventCall(KSayItSystemTray *caller, QMouseEvent *e);
+ void mousePressEventCall(KSayItSystemTray *caller, TQMouseEvent *e);
+ void mouseReleaseEventCall(KSayItSystemTray *caller, TQMouseEvent *e);
};
@@ -175,13 +175,13 @@ public:
protected:
StateWAIT();
- void mousePressEvent(KSayItSystemTray *caller, QMouseEvent *e);
- void mouseReleaseEvent(KSayItSystemTray *caller, QMouseEvent *e);
+ void mousePressEvent(KSayItSystemTray *caller, TQMouseEvent *e);
+ void mouseReleaseEvent(KSayItSystemTray *caller, TQMouseEvent *e);
void setContext(KSayItSystemTray *caller);
private:
static StateWAIT *_instance;
- QPixmap m_traypixmap;
+ TQPixmap m_traypixmap;
};
@@ -195,13 +195,13 @@ public:
protected:
StateSAY();
- void mousePressEvent(KSayItSystemTray *caller, QMouseEvent *e);
- void mouseReleaseEvent(KSayItSystemTray *caller, QMouseEvent *e);
+ void mousePressEvent(KSayItSystemTray *caller, TQMouseEvent *e);
+ void mouseReleaseEvent(KSayItSystemTray *caller, TQMouseEvent *e);
void setContext(KSayItSystemTray *caller);
private:
static StateSAY *_instance;
- QPixmap m_traypixmap;
+ TQPixmap m_traypixmap;
};
@@ -215,13 +215,13 @@ public:
protected:
StateCLIPEMPTY();
- void mousePressEvent(KSayItSystemTray *caller, QMouseEvent *e);
- void mouseReleaseEvent(KSayItSystemTray *caller, QMouseEvent *e);
+ void mousePressEvent(KSayItSystemTray *caller, TQMouseEvent *e);
+ void mouseReleaseEvent(KSayItSystemTray *caller, TQMouseEvent *e);
void setContext(KSayItSystemTray *caller);
private:
static StateCLIPEMPTY *_instance;
- QPixmap m_traypixmap;
+ TQPixmap m_traypixmap;
};