diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/kicker/extensionInfo.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/kicker/extensionInfo.cpp')
-rw-r--r-- | kcontrol/kicker/extensionInfo.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kcontrol/kicker/extensionInfo.cpp b/kcontrol/kicker/extensionInfo.cpp index 54ce23937..d1a0b2766 100644 --- a/kcontrol/kicker/extensionInfo.cpp +++ b/kcontrol/kicker/extensionInfo.cpp @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software */ -#include <qapplication.h> +#include <tqapplication.h> #include <kdebug.h> #include <kdesktopfile.h> @@ -25,9 +25,9 @@ #include "extensionInfo.h" -ExtensionInfo::ExtensionInfo(const QString& desktopFile, - const QString& configFile, - const QString& configPath) +ExtensionInfo::ExtensionInfo(const TQString& desktopFile, + const TQString& configFile, + const TQString& configPath) : _configFile(configFile), _configPath(configPath), _desktopFile(desktopFile) @@ -73,13 +73,13 @@ void ExtensionInfo::load() } kdDebug()<<"BEFORE X-KDE-PanelExt-Positions parsing"<<endl; - QStringList allowedPos; + TQStringList allowedPos; allowedPos << "BOTTOM" << "TOP" << "LEFT" << "RIGHT" << "BOTTOM"; allowedPos= df.readListEntry("X-KDE-PanelExt-Positions", allowedPos); for (unsigned int i=0;i<allowedPos.count();i++) { - QString pos = allowedPos[i].upper(); + TQString pos = allowedPos[i].upper(); kdDebug() << pos << endl; if (pos == "LEFT") { @@ -170,7 +170,7 @@ void ExtensionInfo::configChanged() _orig_position = _position = position; } - int alignment = c.readNumEntry ("Alignment", QApplication::reverseLayout() ? 2 : 0); + int alignment = c.readNumEntry ("Alignment", TQApplication::reverseLayout() ? 2 : 0); if (alignment != _alignment && alignment != _orig_alignment) { _orig_alignment = _alignment = alignment; @@ -197,8 +197,8 @@ void ExtensionInfo::setDefaults() { // defaults _position = 3; - _alignment = QApplication::reverseLayout() ? 2 : 0; - _xineramaScreen = QApplication::desktop()->primaryScreen(); + _alignment = TQApplication::reverseLayout() ? 2 : 0; + _xineramaScreen = TQApplication::desktop()->primaryScreen(); _size = 2; _showLeftHB = false; _showRightHB = true; |