diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | b6edfe41c9395f2e20784cbf0e630af6426950a3 (patch) | |
tree | 56ed9b871d4296e6c15949c24e16420be1b28697 /kexi/core/kexidbconnectionset.cpp | |
parent | ef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff) | |
download | koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/core/kexidbconnectionset.cpp')
-rw-r--r-- | kexi/core/kexidbconnectionset.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/core/kexidbconnectionset.cpp b/kexi/core/kexidbconnectionset.cpp index f548d82b..d76ed3f4 100644 --- a/kexi/core/kexidbconnectionset.cpp +++ b/kexi/core/kexidbconnectionset.cpp @@ -101,7 +101,7 @@ bool KexiDBConnectionSet::saveConnectionData(KexiDB::ConnectionData *oldData, { if (!oldData || !newData) return false; - TQMap<KexiDB::ConnectionData*, TQString>::ConstIterator it = d->filenamesForData.tqfind( oldData ); + TQMap<KexiDB::ConnectionData*, TQString>::ConstIterator it = d->filenamesForData.find( oldData ); if (it == d->filenamesForData.constEnd() || it.data().isEmpty()) return false; const TQString filename( it.data() ); @@ -115,7 +115,7 @@ bool KexiDBConnectionSet::saveConnectionData(KexiDB::ConnectionData *oldData, void KexiDBConnectionSet::removeConnectionDataInternal(KexiDB::ConnectionData *data) { - TQMap<KexiDB::ConnectionData*, TQString>::ConstIterator it = d->filenamesForData.tqfind( data ); + TQMap<KexiDB::ConnectionData*, TQString>::ConstIterator it = d->filenamesForData.find( data ); const TQString filename( it.data() ); d->filenamesForData.remove(data); d->dataForFilenames.remove(filename); @@ -126,7 +126,7 @@ bool KexiDBConnectionSet::removeConnectionData(KexiDB::ConnectionData *data) { if (!data) return false; - TQMap<KexiDB::ConnectionData*, TQString>::ConstIterator it = d->filenamesForData.tqfind( data ); + TQMap<KexiDB::ConnectionData*, TQString>::ConstIterator it = d->filenamesForData.find( data ); if (it == d->filenamesForData.constEnd() || it.data().isEmpty()) return false; TQFile file( it.data() ); @@ -173,7 +173,7 @@ TQString KexiDBConnectionSet::fileNameForConnectionData(KexiDB::ConnectionData * { if (!data) return TQString(); - TQMap<KexiDB::ConnectionData*, TQString>::ConstIterator it = d->filenamesForData.tqfind( data ); + TQMap<KexiDB::ConnectionData*, TQString>::ConstIterator it = d->filenamesForData.find( data ); return (it == d->filenamesForData.constEnd()) ? TQString() : it.data(); } |