summaryrefslogtreecommitdiffstats
path: root/kmilo/kmilo_kvaio/kvaiodriverinterface.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/kvaiodriverinterface.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/kvaiodriverinterface.h')
-rw-r--r--kmilo/kmilo_kvaio/kvaiodriverinterface.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/kmilo/kmilo_kvaio/kvaiodriverinterface.h b/kmilo/kmilo_kvaio/kvaiodriverinterface.h
index 190caa1..6087b93 100644
--- a/kmilo/kmilo_kvaio/kvaiodriverinterface.h
+++ b/kmilo/kmilo_kvaio/kvaiodriverinterface.h
@@ -9,7 +9,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$
@@ -31,18 +31,19 @@ extern "C"
class TQSocketNotifier;
-class KVaioDriverInterface : public QObject
+class KVaioDriverInterface : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- KVaioDriverInterface(TQObject *parent=0);
+ KVaioDriverInterface(TQObject *tqparent=0);
bool connectToDriver(bool listen = true);
void disconnectFromDriver();
/** Return the current display brightness, a value between 0 and
255. Returns -1 if the setting cannot be retrieved. */
int brightness();
/** Get the battery status. */
- bool getBatteryStatus(bool& bat1Avail, int& bat1Remaining, int& bat1Max,
+ bool getBatterytqStatus(bool& bat1Avail, int& bat1Remaining, int& bat1Max,
bool& bat2Avail, int& bat2Remaining, int& bat2Max,
bool& acConnected);
public slots: