diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 18:16:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 18:16:06 +0000 |
commit | 02a6c8f36311eb6225066df35adf8d00f9cd942b (patch) | |
tree | ceb91c373877f7a69209e184c81b53dc6f9402d7 /src/knemod/interfacetray.h | |
parent | 09e6e27fe85b2efb28072f1c81f6581fa6837d92 (diff) | |
download | knemo-02a6c8f36311eb6225066df35adf8d00f9cd942b.tar.gz knemo-02a6c8f36311eb6225066df35adf8d00f9cd942b.zip |
TQt4 port knemo
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knemo@1238869 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/knemod/interfacetray.h')
-rw-r--r-- | src/knemod/interfacetray.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/knemod/interfacetray.h b/src/knemod/interfacetray.h index 61b442b..04ca402 100644 --- a/src/knemod/interfacetray.h +++ b/src/knemod/interfacetray.h @@ -22,7 +22,7 @@ #include <ksystemtray.h> -class QWidget; +class TQWidget; /** * This class is the graphical representation of and interface @@ -36,12 +36,13 @@ class QWidget; class InterfaceTray : public KSystemTray { Q_OBJECT + TQ_OBJECT public: /** * Default Constructor */ - InterfaceTray( const QString& ifname, - QWidget* parent = 0L, const char* name = 0L ); + InterfaceTray( const TQString& ifname, + TQWidget* tqparent = 0L, const char* name = 0L ); /** * Default Destructor @@ -57,8 +58,8 @@ signals: void iconResized(); protected: - void mousePressEvent( QMouseEvent* e ); - void resizeEvent ( QResizeEvent * ); + void mousePressEvent( TQMouseEvent* e ); + void resizeEvent ( TQResizeEvent * ); protected slots: /** |