summaryrefslogtreecommitdiffstats
path: root/kmilo/kmilo_kvaio/kvaiodriverinterface.cpp
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.cpp
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.cpp')
-rw-r--r--kmilo/kmilo_kvaio/kvaiodriverinterface.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmilo/kmilo_kvaio/kvaiodriverinterface.cpp b/kmilo/kmilo_kvaio/kvaiodriverinterface.cpp
index 20a7a72..873633d 100644
--- a/kmilo/kmilo_kvaio/kvaiodriverinterface.cpp
+++ b/kmilo/kmilo_kvaio/kvaiodriverinterface.cpp
@@ -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$
@@ -64,8 +64,8 @@ extern "C" {
#define SONYPI_IOCGBLUE _IOR('v', 8, __u8)
#define SONYPI_IOCSBLUE _IOW('v', 9, __u8)
-KVaioDriverInterface::KVaioDriverInterface(TQObject *parent)
- : TQObject(parent),
+KVaioDriverInterface::KVaioDriverInterface(TQObject *tqparent)
+ : TQObject(tqparent),
mFd(0),
mNotifier(0)
{
@@ -162,7 +162,7 @@ void KVaioDriverInterface::setBrightness(int value)
}
}
-bool KVaioDriverInterface::getBatteryStatus(
+bool KVaioDriverInterface::getBatterytqStatus(
bool& bat1Avail, int& bat1Remaining, int& bat1Max,
bool& bat2Avail, int& bat2Remaining, int& bat2Max,
bool& acConnected)
@@ -181,7 +181,7 @@ bool KVaioDriverInterface::getBatteryStatus(
bat2Avail = batFlags & SONYPI_BFLAGS_B2;
acConnected = batFlags & SONYPI_BFLAGS_AC;
-// kdDebug() << "KVaioDriverInterface::getBatteryStatus: battery 1: "
+// kdDebug() << "KVaioDriverInterface::getBatterytqStatus: battery 1: "
// << (bat1Avail ? "available" : "not available") << endl
// << " battery 2: "
// << (bat2Avail ? "available" : "not available") << endl