diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /klaptopdaemon/daemon_state.cpp | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klaptopdaemon/daemon_state.cpp')
-rw-r--r-- | klaptopdaemon/daemon_state.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/klaptopdaemon/daemon_state.cpp b/klaptopdaemon/daemon_state.cpp index 5ca0d28..49d4ade 100644 --- a/klaptopdaemon/daemon_state.cpp +++ b/klaptopdaemon/daemon_state.cpp @@ -29,7 +29,7 @@ #include <stdlib.h> #include <fcntl.h> -#include <qtimer.h> +#include <tqtimer.h> #include <kconfig.h> #include <klocale.h> @@ -41,8 +41,8 @@ #include <sys/ioctl.h> #include <kmessagebox.h> #include <dcopclient.h> -#include <qsocketnotifier.h> -#include <qcursor.h> +#include <tqsocketnotifier.h> +#include <tqcursor.h> #include <unistd.h> @@ -52,11 +52,11 @@ daemon_state::daemon_state() { exists = laptop_portable::has_power_management(); has_brightness = laptop_portable::has_brightness(); - QStringList profile_list; + TQStringList profile_list; int current_profile; bool *active_list; has_performance = laptop_portable::get_system_performance(0, current_profile, profile_list, active_list); - QStringList throttle_list; + TQStringList throttle_list; int current_throttle; has_throttle = laptop_portable::get_system_throttling(0, current_throttle, throttle_list, active_list); @@ -96,11 +96,11 @@ void daemon_state::load() exists = laptop_portable::has_power_management(); has_brightness = laptop_portable::has_brightness(); - QStringList profile_list; + TQStringList profile_list; int current_profile; bool *active_list; has_performance = laptop_portable::get_system_performance(0, current_profile, profile_list, active_list); - QStringList throttle_list; + TQStringList throttle_list; int current_throttle; has_throttle = laptop_portable::get_system_throttling(0, current_throttle, throttle_list, active_list); |