From 4304e8d9dab8e20513e38e71b0debdf6937b630c Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 16 Apr 2011 23:01:29 +0000 Subject: Finish TQt4 port of kpowersave This enables both Qt3 and Qt4 builds git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpowersave@1228282 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/countdowndialog.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/countdowndialog.h') diff --git a/src/countdowndialog.h b/src/countdowndialog.h index 86662f6..f23cae4 100644 --- a/src/countdowndialog.h +++ b/src/countdowndialog.h @@ -36,18 +36,19 @@ class countDownDialog: public countdown_Dialog { Q_OBJECT + TQ_OBJECT public: //! default constructor - countDownDialog(int timeout, QWidget *parent = 0, const char *name = 0); + countDownDialog(int timeout, TQWidget *tqparent = 0, const char *name = 0); //! default destructor ~countDownDialog(); //! set needed icons - void setPixmap( QString ); + void setPixmap( TQString ); //! to set the message text for the user - void setMessageText(QString text); + void setMessageText(TQString text); //! to show up the dialog bool showDialog(); @@ -57,7 +58,7 @@ private: * This timer is used to change the progressbar and to close the dialog if * the \ref timeOut is over. */ - QTimer *PROGRESS; + TQTimer *PROGRESS; //! time the dialog should be displayed int timeOut; -- cgit v1.2.3