summaryrefslogtreecommitdiffstats
path: root/kmilo/kmilo_kvaio/kvaio.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
commita2277b6bc715464e83882b90c2a058139b8a6b54 (patch)
treeab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /kmilo/kmilo_kvaio/kvaio.h
parentd3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff)
downloadtdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz
tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmilo/kmilo_kvaio/kvaio.h')
-rw-r--r--kmilo/kmilo_kvaio/kvaio.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/kmilo/kmilo_kvaio/kvaio.h b/kmilo/kmilo_kvaio/kvaio.h
index fac0290..2e2d723 100644
--- a/kmilo/kmilo_kvaio/kvaio.h
+++ b/kmilo/kmilo_kvaio/kvaio.h
@@ -8,7 +8,7 @@
http://www.kde.org
http://www.hackerbuero.org $
$ License: LGPL with the following explicit clarification:
- This code may be linked against any version of the Qt toolkit
+ This code may be linked against any version of the TQt toolkit
from Troll Tech, Norway. $
$Id$
@@ -53,12 +53,13 @@ class KMiloKVaio;
* @author Mirko Boehm <mirko@hackerbuero.org>
* @version 0.2
*/
-class KVaio : public QObject
+class KVaio : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
-// KVaio(TQObject *parent = 0, const char *name =0);
- KVaio(KMiloKVaio *parent = 0, const char *name =0);
+// KVaio(TQObject *tqparent = 0, const char *name =0);
+ KVaio(KMiloKVaio *tqparent = 0, const char *name =0);
virtual ~KVaio();
const KVaioDriverInterface *driver();
@@ -73,7 +74,7 @@ protected:
bool isKMiloDAvailable();
bool showTextMsg(const TQString& msg);
bool showProgressMsg(const TQString& msg, int progress);
- bool showBatteryStatus ( bool force = false);
+ bool showBatterytqStatus ( bool force = false);
protected slots:
void slotVaioEvent(int);
void slotTimeout();
@@ -90,7 +91,7 @@ private:
bool retrieveVolume();
void displayVolume();
- KMiloKVaio *myparent;
+ KMiloKVaio *mytqparent;
DCOPRef *kmixClient, *kmixWindow;
@@ -105,7 +106,7 @@ private:
int m_BrightnessStep;
bool mReportUnknownEvents;
- bool mReportPowerStatus;
+ bool mReportPowertqStatus;
bool mShowPowerStatusOnBackButton;
TQTimer *mTimer;
};