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/interface.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/interface.h')
| -rw-r--r-- | src/knemod/interface.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/knemod/interface.h b/src/knemod/interface.h index 06bea0a..0457a97 100644 --- a/src/knemod/interface.h +++ b/src/knemod/interface.h @@ -20,16 +20,16 @@ #ifndef INTERFACE_H #define INTERFACE_H -#include <qobject.h> -#include <qstring.h> -#include <qdatetime.h> +#include <tqobject.h> +#include <tqstring.h> +#include <tqdatetime.h> #include "data.h" #include "global.h" #include "interfaceicon.h" #include "interfacemonitor.h" -class QTimer; +class TQTimer; class SignalPlotter; class InterfaceStatistics; class InterfaceStatusDialog; @@ -43,14 +43,15 @@ class InterfaceStatisticsDialog; * @short Central class for every interface * @author Percy Leonhardt <percy@eris23.de> */ -class Interface : public QObject +class Interface : public TQObject { Q_OBJECT + TQ_OBJECT public: /** * Default Constructor */ - Interface(QString ifname, + Interface(TQString ifname, const GeneralData& generalData, const PlotterSettings& plotterSettings ); @@ -79,12 +80,12 @@ public: return mState; } - const QDateTime& getStartTime() const + const TQDateTime& getStartTime() const { return mStartTime; } - const QString& getName() const + const TQString& getName() const { return mName; } @@ -209,7 +210,7 @@ private: * correct show, raise, focus and hide of status dialog and * signal plotter. */ - void activateOrHide( QWidget* widget, bool onlyActivate = false ); + void activateOrHide( TQWidget* widget, bool onlyActivate = false ); enum VisibleBeams { @@ -223,9 +224,9 @@ private: int mState; int mOutgoingPos; int mIncomingPos; - QString mName; - QTimer* mPlotterTimer; - QDateTime mStartTime; + TQString mName; + TQTimer* mPlotterTimer; + TQDateTime mStartTime; InterfaceIcon mIcon; InterfaceData mData; InterfaceMonitor mMonitor; |
