From 7346aee26bf190a7e70333c40fab4caca847cd27 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:22:56 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kicker-applets/mediacontrol/configfrontend.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kicker-applets/mediacontrol/configfrontend.cpp') diff --git a/kicker-applets/mediacontrol/configfrontend.cpp b/kicker-applets/mediacontrol/configfrontend.cpp index ba206c8..4deab8b 100644 --- a/kicker-applets/mediacontrol/configfrontend.cpp +++ b/kicker-applets/mediacontrol/configfrontend.cpp @@ -21,9 +21,9 @@ #include "configfrontend.h" // #include -ConfigFrontend::ConfigFrontend() : QObject(0, 0) +ConfigFrontend::ConfigFrontend() : TQObject(0, 0) { - _config = new KConfig(QString::null, true, false); + _config = new KConfig(TQString::null, true, false); _ownConfig = true; } @@ -35,7 +35,7 @@ ConfigFrontend::~ConfigFrontend() } } -ConfigFrontend::ConfigFrontend(KConfig *config) : QObject(0, 0) +ConfigFrontend::ConfigFrontend(KConfig *config) : TQObject(0, 0) { _config = config; _config->setGroup("MediaControl"); @@ -57,12 +57,12 @@ void ConfigFrontend::setMouseWheelSpeed(const uint mouseWheelSpeed) // ==================================================================================== -QString ConfigFrontend::player() const +TQString ConfigFrontend::player() const { return _config->readPathEntry("Player", "Noatun"); } -void ConfigFrontend::setPlayer(const QString &player) +void ConfigFrontend::setPlayer(const TQString &player) { _config->writePathEntry("Player", player); _config->sync(); @@ -70,12 +70,12 @@ void ConfigFrontend::setPlayer(const QString &player) // ==================================================================================== -QString ConfigFrontend::theme() const +TQString ConfigFrontend::theme() const { return _config->readEntry("Theme", "default"); } -void ConfigFrontend::setTheme(const QString &theme) +void ConfigFrontend::setTheme(const TQString &theme) { _config->writeEntry("Theme", theme); _config->sync(); -- cgit v1.2.1