summaryrefslogtreecommitdiffstats
path: root/lib/util/settings.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /lib/util/settings.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/util/settings.cpp')
-rw-r--r--lib/util/settings.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/util/settings.cpp b/lib/util/settings.cpp
index 4e246e5b..129cdd66 100644
--- a/lib/util/settings.cpp
+++ b/lib/util/settings.cpp
@@ -15,35 +15,35 @@
#include "settings.h"
-QString Settings::terminalEmulatorName( KConfig & config )
+TQString Settings::terminalEmulatorName( KConfig & config )
{
config.setGroup("TerminalEmulator");
bool useKDESetting = config.readBoolEntry( "UseKDESetting", true );
- QString terminal;
+ TQString terminal;
if ( useKDESetting )
{
- KConfigGroup confGroup( KGlobal::config(), QString::fromLatin1("General") );
- terminal = confGroup.readEntry("TerminalApplication", QString::fromLatin1("konsole"));
+ KConfigGroup confGroup( KGlobal::config(), TQString::fromLatin1("General") );
+ terminal = confGroup.readEntry("TerminalApplication", TQString::fromLatin1("konsole"));
}
else
{
- terminal = config.readEntry( "TerminalApplication", QString::fromLatin1("konsole"));
+ terminal = config.readEntry( "TerminalApplication", TQString::fromLatin1("konsole"));
}
return terminal;
}
-QString Settings::profileByAttributes(const QString &language, const QStringList &keywords)
+TQString Settings::profileByAttributes(const TQString &language, const TQStringList &keywords)
{
KConfig config(locate("data", "kdevelop/profiles/projectprofiles"));
config.setGroup(language);
- QStringList profileKeywords = QStringList::split("/", "Empty");
+ TQStringList profileKeywords = TQStringList::split("/", "Empty");
if (config.hasKey("Keywords"))
profileKeywords = config.readListEntry("Keywords");
int idx = 0;
- for (QStringList::const_iterator it = profileKeywords.constBegin();
+ for (TQStringList::const_iterator it = profileKeywords.constBegin();
it != profileKeywords.constEnd(); ++it)
{
if (keywords.contains(*it))
@@ -53,7 +53,7 @@ QString Settings::profileByAttributes(const QString &language, const QStringList
}
}
- QStringList profiles;
+ TQStringList profiles;
if (config.hasKey("Profiles"))
{
profiles = config.readListEntry("Profiles");