summaryrefslogtreecommitdiffstats
path: root/src/knemod/interfaceicon.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/interfaceicon.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/interfaceicon.h')
-rw-r--r--src/knemod/interfaceicon.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/knemod/interfaceicon.h b/src/knemod/interfaceicon.h
index 6c962ec..6e4c098 100644
--- a/src/knemod/interfaceicon.h
+++ b/src/knemod/interfaceicon.h
@@ -20,8 +20,8 @@
#ifndef INTERFACEICON_H
#define INTERFACEICON_H
-#include <qobject.h>
-#include <qstring.h>
+#include <tqobject.h>
+#include <tqstring.h>
class Interface;
class InterfaceTray;
@@ -35,9 +35,10 @@ class InterfaceTray;
* @author Percy Leonhardt <[email protected]>
*/
-class InterfaceIcon : public QObject
+class InterfaceIcon : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Default Constructor
@@ -67,12 +68,12 @@ public slots:
/*
* Changes the icon image displayed in the tray
*/
- void updateStatus( int status );
+ void updatetqStatus( int status );
/*
* Creates or deletes the tray icon
*/
- void updateTrayStatus( int previousState );
+ void updateTraytqStatus( int previousState );
/*
* Resizes the tray icon
@@ -97,14 +98,14 @@ private:
// the real tray icon
InterfaceTray* mTray;
- static const QString ICON_DISCONNECTED;
- static const QString ICON_CONNECTED;
- static const QString ICON_INCOMING;
- static const QString ICON_OUTGOING;
- static const QString ICON_TRAFFIC;
- static const QString SUFFIX_PPP;
- static const QString SUFFIX_LAN;
- static const QString SUFFIX_WLAN;
+ static const TQString ICON_DISCONNECTED;
+ static const TQString ICON_CONNECTED;
+ static const TQString ICON_INCOMING;
+ static const TQString ICON_OUTGOING;
+ static const TQString ICON_TRAFFIC;
+ static const TQString SUFFIX_PPP;
+ static const TQString SUFFIX_LAN;
+ static const TQString SUFFIX_WLAN;
};
#endif // INTERFACEICON_H