summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kselectdatabasedlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (patch)
tree6a288b084438ed144c0fbd4a34a9a22caf4d6b04 /kmymoney2/dialogs/kselectdatabasedlg.cpp
parent154e6e6105157c321cbd578d238c525da419f868 (diff)
downloadkmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.tar.gz
kmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/dialogs/kselectdatabasedlg.cpp')
-rw-r--r--kmymoney2/dialogs/kselectdatabasedlg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/dialogs/kselectdatabasedlg.cpp b/kmymoney2/dialogs/kselectdatabasedlg.cpp
index 47d092d..cf29d4e 100644
--- a/kmymoney2/dialogs/kselectdatabasedlg.cpp
+++ b/kmymoney2/dialogs/kselectdatabasedlg.cpp
@@ -62,7 +62,7 @@ KSelectDatabaseDlg::KSelectDatabaseDlg(TQWidget *tqparent, const char *name)
TQStringList::Iterator it = list.begin();
while(it != list.end()) {
TQString dname = *it;
- if (map.keys().tqcontains(dname)) { // only display if driver is supported
+ if (map.keys().contains(dname)) { // only display if driver is supported
dname = dname + " - " + map[dname];
listDrivers->insertItem (dname);
}
@@ -106,11 +106,11 @@ KSelectDatabaseDlg::KSelectDatabaseDlg(KURL openURL, TQWidget *tqparent, const c
TQStringList list = TQSqlDatabase::drivers();
// list drivers supported by KMM
TQMap<TQString, TQString> map = m_map.driverMap();
- if (!list.tqcontains(driverName)) {
+ if (!list.contains(driverName)) {
KMessageBox::error (0, i18n("TQt SQL driver %1 is no longer installed on your system").tqarg(driverName),
"");
setError();
- } else if (!map.tqcontains(driverName)) {
+ } else if (!map.contains(driverName)) {
KMessageBox::error (0, i18n("TQt SQL driver %1 is not suported").tqarg(driverName),
"");
setError();