summaryrefslogtreecommitdiffstats
path: root/src/knemod/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/knemod/interface.h')
-rw-r--r--src/knemod/interface.h25
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 <[email protected]>
*/
-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;