summaryrefslogtreecommitdiffstats
path: root/kpilot/dbSelectionDialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kpilot/dbSelectionDialog.cc')
-rw-r--r--kpilot/dbSelectionDialog.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kpilot/dbSelectionDialog.cc b/kpilot/dbSelectionDialog.cc
index 81cf50e..4ce9c02 100644
--- a/kpilot/dbSelectionDialog.cc
+++ b/kpilot/dbSelectionDialog.cc
@@ -57,17 +57,17 @@ KPilotDBSelectionDialog::KPilotDBSelectionDialog(TQStringList &selectedDBs, TQSt
// Fill the encodings list
TQStringList items(deviceDBs);
for ( TQStringList::Iterator it = fAddedDBs.begin(); it != fAddedDBs.end(); ++it ) {
- if (items.tqcontains(*it)==0) items << (*it);
+ if (items.contains(*it)==0) items << (*it);
}
for ( TQStringList::Iterator it = fSelectedDBs.begin(); it != fSelectedDBs.end(); ++it ) {
- if (items.tqcontains(*it)==0) items << (*it);
+ if (items.contains(*it)==0) items << (*it);
}
items.sort();
for ( TQStringList::Iterator it = items.begin(); it != items.end(); ++it ) {
TQCheckListItem*checkitem=new TQCheckListItem(fSelectionWidget->fDatabaseList,
*it, TQCheckListItem::CheckBox);
- if (fSelectedDBs.tqcontains(*it)) checkitem->setOn(true);
+ if (fSelectedDBs.contains(*it)) checkitem->setOn(true);
}
connect(fSelectionWidget->fNameEdit, TQT_SIGNAL(textChanged( const TQString & )),
@@ -103,7 +103,7 @@ void KPilotDBSelectionDialog::removeDB()
if (item)
{
TQString dbname=item->text(0);
- if (fDeviceDBs.tqcontains(dbname))
+ if (fDeviceDBs.contains(dbname))
{
KMessageBox::error(this, i18n("This is a database that exists on the device. It was not added manually, so it can not removed from the list."), i18n("Database on Device"));
}