summaryrefslogtreecommitdiffstats
path: root/lib/util/settings.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /lib/util/settings.cpp
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/util/settings.cpp')
-rw-r--r--lib/util/settings.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/util/settings.cpp b/lib/util/settings.cpp
index 129cdd66..9855b06b 100644
--- a/lib/util/settings.cpp
+++ b/lib/util/settings.cpp
@@ -23,12 +23,12 @@ TQString Settings::terminalEmulatorName( KConfig & config )
if ( useKDESetting )
{
- KConfigGroup confGroup( KGlobal::config(), TQString::fromLatin1("General") );
- terminal = confGroup.readEntry("TerminalApplication", TQString::fromLatin1("konsole"));
+ KConfigGroup confGroup( KGlobal::config(), TQString::tqfromLatin1("General") );
+ terminal = confGroup.readEntry("TerminalApplication", TQString::tqfromLatin1("konsole"));
}
else
{
- terminal = config.readEntry( "TerminalApplication", TQString::fromLatin1("konsole"));
+ terminal = config.readEntry( "TerminalApplication", TQString::tqfromLatin1("konsole"));
}
return terminal;
}
@@ -46,9 +46,9 @@ TQString Settings::profileByAttributes(const TQString &language, const TQStringL
for (TQStringList::const_iterator it = profileKeywords.constBegin();
it != profileKeywords.constEnd(); ++it)
{
- if (keywords.contains(*it))
+ if (keywords.tqcontains(*it))
{
- idx = profileKeywords.findIndex(*it);
+ idx = profileKeywords.tqfindIndex(*it);
break;
}
}