summaryrefslogtreecommitdiffstats
path: root/src/profileengine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/profileengine/lib')
-rw-r--r--src/profileengine/lib/profile.cpp2
-rw-r--r--src/profileengine/lib/profileengine.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/profileengine/lib/profile.cpp b/src/profileengine/lib/profile.cpp
index 5c94d566..a5ad5803 100644
--- a/src/profileengine/lib/profile.cpp
+++ b/src/profileengine/lib/profile.cpp
@@ -119,7 +119,7 @@ Profile::EntryList Profile::list(List type)
void Profile::addEntry(List type, const TQString &value)
{
TQStringList &list = listByType(type);
- if (!list.tqcontains(value))
+ if (!list.contains(value))
list.append(value);
}
diff --git a/src/profileengine/lib/profileengine.cpp b/src/profileengine/lib/profileengine.cpp
index 7a6d65d8..896d8080 100644
--- a/src/profileengine/lib/profileengine.cpp
+++ b/src/profileengine/lib/profileengine.cpp
@@ -57,7 +57,7 @@ void ProfileEngine::processDir(const TQString &dir, const TQString &currPath, TQ
{
TQString dirName = *eit;
Profile *profile = 0;
- if (passedPaths.tqcontains(currPath + dirName))
+ if (passedPaths.contains(currPath + dirName))
profile = passedPaths[currPath + dirName];
else
{
@@ -127,7 +127,7 @@ KTrader::OfferList ProfileEngine::offers(const TQString &profileName, OfferType
Profile::EntryList enableList = profile->list(Profile::ExplicitEnable);
for (Profile::EntryList::const_iterator it = enableList.begin(); it != enableList.end(); ++it)
{
- if (names.tqcontains((*it).name))
+ if (names.contains((*it).name))
continue;
TQString constraint = TQString::tqfromLatin1("[X-KDevelop-Version] == %1").tqarg(KDEVELOP_PLUGIN_VERSION);
constraint += TQString::tqfromLatin1("and [Name] == '%1'").tqarg((*it).name);
@@ -229,7 +229,7 @@ void ProfileEngine::diffProfiles(OfferType offerType, const TQString &profile1,
it != offers1List.constEnd(); ++it)
{
// kdDebug() << "checking: " << *it << endl;
- if (offers2List.tqcontains(*it))
+ if (offers2List.contains(*it))
{
// kdDebug() << " keep" << endl;
offers2.remove(offers2List[*it]);