summaryrefslogtreecommitdiffstats
path: root/kommander/widgets/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/widgets/timer.h')
-rw-r--r--kommander/widgets/timer.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kommander/widgets/timer.h b/kommander/widgets/timer.h
index 856ceeb3..8d200f2f 100644
--- a/kommander/widgets/timer.h
+++ b/kommander/widgets/timer.h
@@ -18,40 +18,40 @@
/* KDE INCLUDES */
/* QT INCLUDES */
-#include <qlabel.h>
+#include <tqlabel.h>
/* OTHER INCLUDES */
#include <kommanderwidget.h>
class QTimer;
-class KOMMANDER_EXPORT Timer : public QLabel, public KommanderWidget
+class KOMMANDER_EXPORT Timer : public TQLabel, public KommanderWidget
{
Q_OBJECT
- Q_PROPERTY(QString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
- Q_PROPERTY(QStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
+ Q_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
+ Q_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
Q_PROPERTY(bool KommanderWidget READ isKommanderWidget)
Q_PROPERTY(int interval READ interval WRITE setInterval)
Q_PROPERTY(bool singleShot READ singleShot WRITE setSingleShot)
public:
- Timer(QWidget *a_parent, const char *a_name);
+ Timer(TQWidget *a_parent, const char *a_name);
~Timer();
virtual bool isKommanderWidget() const;
- virtual void setAssociatedText(const QStringList&);
- virtual QStringList associatedText() const;
- virtual QString currentState() const;
- virtual QString populationText() const;
- virtual void setPopulationText(const QString&);
+ virtual void setAssociatedText(const TQStringList&);
+ virtual TQStringList associatedText() const;
+ virtual TQString currentState() const;
+ virtual TQString populationText() const;
+ virtual void setPopulationText(const TQString&);
virtual int interval() const;
virtual void setInterval(int a_interval);
virtual bool singleShot() const;
virtual void setSingleShot(bool a_shot);
- virtual QString handleDCOP(int function, const QStringList& args);
+ virtual TQString handleDCOP(int function, const TQStringList& args);
virtual bool isFunctionSupported(int function);
public slots:
- virtual void setWidgetText(const QString &);
+ virtual void setWidgetText(const TQString &);
virtual void populate();
virtual void execute();
virtual void cancel();
@@ -62,7 +62,7 @@ class KOMMANDER_EXPORT Timer : public QLabel, public KommanderWidget
protected:
virtual void executeProcess(bool blocking);
- QTimer* mTimer;
+ TQTimer* mTimer;
int mInterval;
bool mSingleShot;