summaryrefslogtreecommitdiffstats
path: root/src/knemod/interfacetray.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 18:16:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 18:16:06 +0000
commit02a6c8f36311eb6225066df35adf8d00f9cd942b (patch)
treeceb91c373877f7a69209e184c81b53dc6f9402d7 /src/knemod/interfacetray.h
parent09e6e27fe85b2efb28072f1c81f6581fa6837d92 (diff)
downloadknemo-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.h11
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:
/**