summaryrefslogtreecommitdiffstats
path: root/src/autodimm.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-16 23:01:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-16 23:01:29 +0000
commit4304e8d9dab8e20513e38e71b0debdf6937b630c (patch)
tree76a86f013a811449a5b5bfbbbb962e7db0bbcc6a /src/autodimm.h
parentba24506b3bb46312d998468ad3c1a7f28058b2bd (diff)
downloadtdepowersave-4304e8d9dab8e20513e38e71b0debdf6937b630c.tar.gz
tdepowersave-4304e8d9dab8e20513e38e71b0debdf6937b630c.zip
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
Diffstat (limited to 'src/autodimm.h')
-rw-r--r--src/autodimm.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/autodimm.h b/src/autodimm.h
index ace1e08..161c776 100644
--- a/src/autodimm.h
+++ b/src/autodimm.h
@@ -38,6 +38,7 @@
class autodimm : public inactivity
{
Q_OBJECT
+ TQ_OBJECT
public:
//! default constructor
@@ -56,19 +57,19 @@ private:
//! idle time from the last check
unsigned long lastIdleTime;
- //! QTimer intervall for the Timer to recheck for user activity
+ //! TQTimer intervall for the Timer to recheck for user activity
/*!
* The time intervall to recheck for the activity of the user.
* The timeslice is currently 1 sec.
*/
static const int RECHECK_INTERVALL = 1000;
- //! QTimer for check activity
+ //! TQTimer for check activity
/*!
* This timer is used to check if the user get active again.
* The timerinterval is defined trough \ref RECHECK_INTERVALL .
*/
- QTimer *checkActivity;
+ TQTimer *checkActivity;
private slots:
//! to poll X to get info if the user is active again