diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /ktimer/ktimer.h | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktimer/ktimer.h')
-rw-r--r-- | ktimer/ktimer.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ktimer/ktimer.h b/ktimer/ktimer.h index 3b7c406..297eec9 100644 --- a/ktimer/ktimer.h +++ b/ktimer/ktimer.h @@ -19,25 +19,25 @@ #ifndef KTIMER_H_INCLUDED #define KTIMER_H_INCLUDED -#include <qdialog.h> -#include <qwidget.h> +#include <tqdialog.h> +#include <tqwidget.h> #include <kprocess.h> #include <kconfig.h> #include "prefwidget.h" -class KTimerJob : public QObject { +class KTimerJob : public TQObject { Q_OBJECT public: - KTimerJob( QObject *parent=0, const char *name=0 ); + KTimerJob( TQObject *parent=0, const char *name=0 ); virtual ~KTimerJob(); enum States { Stopped, Paused, Started }; unsigned delay(); - QString command(); + TQString command(); bool loop(); bool oneInstance(); unsigned value(); @@ -45,13 +45,13 @@ class KTimerJob : public QObject { void *user(); void setUser( void *user ); - void load( KConfig *cfg, const QString& grp ); - void save( KConfig *cfg, const QString& grp ); + void load( KConfig *cfg, const TQString& grp ); + void save( KConfig *cfg, const TQString& grp ); public slots: void setDelay( unsigned sec ); void setDelay( int sec ) { setDelay( (unsigned)sec ); }; - void setCommand( const QString &cmd ); + void setCommand( const TQString &cmd ); void setLoop( bool loop ); void setOneInstance( bool one ); void setValue( unsigned value ); @@ -65,7 +65,7 @@ class KTimerJob : public QObject { signals: void stateChanged( KTimerJob *job, States state ); void delayChanged( KTimerJob *job, unsigned sec ); - void commandChanged( KTimerJob *job, const QString &cmd ); + void commandChanged( KTimerJob *job, const TQString &cmd ); void loopChanged( KTimerJob *job, bool loop ); void oneInstanceChanged( KTimerJob *job, bool one ); void valueChanged( KTimerJob *job, unsigned value ); @@ -91,13 +91,13 @@ class KTimerPref : public PrefWidget { Q_OBJECT public: - KTimerPref( QWidget *parent=0, const char *name = 0 ); + KTimerPref( TQWidget *parent=0, const char *name = 0 ); virtual ~KTimerPref(); protected slots: void add(); void remove(); - void currentChanged( QListViewItem * ); + void currentChanged( TQListViewItem * ); void saveJobs( KConfig *cfg ); void loadJobs( KConfig *cfg ); |