summaryrefslogtreecommitdiffstats
path: root/src/profileengine/editor/profileeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profileengine/editor/profileeditor.cpp')
-rw-r--r--src/profileengine/editor/profileeditor.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/profileengine/editor/profileeditor.cpp b/src/profileengine/editor/profileeditor.cpp
index 0e3fb5d4..ca6b6633 100644
--- a/src/profileengine/editor/profileeditor.cpp
+++ b/src/profileengine/editor/profileeditor.cpp
@@ -122,7 +122,7 @@ void ProfileEditor::refreshPropertyCombo()
TQStringList currProps = (*it)->property("X-KDevelop-Properties").toStringList();
for (TQStringList::const_iterator p = currProps.constBegin();
p != currProps.constEnd(); ++p)
- if (!props.tqcontains(*p))
+ if (!props.contains(*p))
props.append(*p);
}
props.sort();
@@ -271,8 +271,8 @@ void ProfileEditor::removeProfile()
void ProfileEditor::addProperty()
{
if ( (!propertyCombo->currentText().isEmpty()) &&
- (ownPropertiesBox->tqfindItem(propertyCombo->currentText()) == 0) &&
- (derivedPropertiesBox->tqfindItem(propertyCombo->currentText()) == 0) )
+ (ownPropertiesBox->findItem(propertyCombo->currentText()) == 0) &&
+ (derivedPropertiesBox->findItem(propertyCombo->currentText()) == 0) )
{
ownPropertiesBox->insertItem(propertyCombo->currentText());
@@ -322,9 +322,9 @@ void ProfileEditor::addEnabled()
text = allList->currentItem()->text(0);
}
- if (enabledList->tqfindItem(text, 0) != 0)
+ if (enabledList->findItem(text, 0) != 0)
return;
- if (disabledList->tqfindItem(text, 0) != 0)
+ if (disabledList->findItem(text, 0) != 0)
{
KMessageBox::error(this, i18n("This plugin is already contained in the list of disabled plugins."),
i18n("Enable Plugin"));
@@ -368,9 +368,9 @@ void ProfileEditor::addDisabled()
text = allList->currentItem()->text(0);
}
- if (disabledList->tqfindItem(text, 0) != 0)
+ if (disabledList->findItem(text, 0) != 0)
return;
- if (enabledList->tqfindItem(text, 0) != 0)
+ if (enabledList->findItem(text, 0) != 0)
{
KMessageBox::error(this, i18n("This plugin is already contained in the list of enabled plugins."),
i18n("Disable Plugin"));