diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 20:48:23 +0000 |
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 20:48:23 +0000 |
| commit | 383adc283801b6238d8acfc750890613a63f8060 (patch) | |
| tree | af3a65389067c05263db2ef4551a541501422998 /src/cpufreqd/cpufreqdconnection.cpp | |
| parent | da7847adb43726079c7a4be1f06acbebe0bdde57 (diff) | |
| download | kima-383adc283801b6238d8acfc750890613a63f8060.tar.gz kima-383adc283801b6238d8acfc750890613a63f8060.zip | |
TQt4 port kima
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kima@1239290 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/cpufreqd/cpufreqdconnection.cpp')
| -rw-r--r-- | src/cpufreqd/cpufreqdconnection.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cpufreqd/cpufreqdconnection.cpp b/src/cpufreqd/cpufreqdconnection.cpp index 4c9ee03..7820029 100644 --- a/src/cpufreqd/cpufreqdconnection.cpp +++ b/src/cpufreqd/cpufreqdconnection.cpp @@ -20,7 +20,7 @@ #include "cpufreqdconnection.h" -#include <qdir.h> +#include <tqdir.h> #include <fcntl.h> #include <stdlib.h> @@ -36,7 +36,7 @@ * Hrvoje Zeba <hrvoje@boo.mi2.hr> * * Format: - * it is an uint32_t used as bitmask + * it is an uint32_t used as bittqmask * * 31-16 15-0 * <command> <arguments> @@ -110,8 +110,8 @@ bool CPUFreqdConnection::available() const { } bool CPUFreqdConnection::lookup() { - QString candidate; - QDir tmp("/tmp", "cpufreqd-*", QDir::Time, QDir::Dirs); + TQString candidate; + TQDir tmp("/tmp", "cpufreqd-*", TQDir::Time, TQDir::Dirs); if (tmp.count()) candidate = "/tmp/" + tmp[0] + "/cpufreqd"; |
