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/cpufreqdprofile.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/cpufreqdprofile.cpp')
-rw-r--r-- | src/cpufreqd/cpufreqdprofile.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cpufreqd/cpufreqdprofile.cpp b/src/cpufreqd/cpufreqdprofile.cpp index 96d7fe6..e899df7 100644 --- a/src/cpufreqd/cpufreqdprofile.cpp +++ b/src/cpufreqd/cpufreqdprofile.cpp @@ -19,15 +19,15 @@ ***************************************************************************/ #include "cpufreqdprofile.h" -#include <qstringlist.h> +#include <tqstringlist.h> /** * This class encapsulates cpufreqd profile data: name, frequencies and governors *@author: Valentine Sinitsyn ([email protected]) */ -CPUFreqdProfile::CPUFreqdProfile(QString & descr) { - QStringList fields = QStringList::split("/", descr); +CPUFreqdProfile::CPUFreqdProfile(TQString & descr) { + TQStringList fields = TQStringList::split("/", descr); //@fixme: if name contains a slash, the results will be incorrect if (fields.count() == 5) { @@ -50,7 +50,7 @@ bool CPUFreqdProfile::active() const { return (m_active == 1); } -const QString & CPUFreqdProfile::name() const { +const TQString & CPUFreqdProfile::name() const { return m_name; } @@ -62,6 +62,6 @@ int CPUFreqdProfile::maxfreq() const { return m_maxfreq; } -const QString & CPUFreqdProfile::policy() const { +const TQString & CPUFreqdProfile::policy() const { return m_policy; } |