summaryrefslogtreecommitdiffstats
path: root/kabc/plugins/evolution
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kabc/plugins/evolution
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/plugins/evolution')
-rw-r--r--kabc/plugins/evolution/dbwrapper.cpp2
-rw-r--r--kabc/plugins/evolution/dbwrapper.h2
-rw-r--r--kabc/plugins/evolution/resourceevo.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/kabc/plugins/evolution/dbwrapper.cpp b/kabc/plugins/evolution/dbwrapper.cpp
index bcc641191..c7f526b47 100644
--- a/kabc/plugins/evolution/dbwrapper.cpp
+++ b/kabc/plugins/evolution/dbwrapper.cpp
@@ -145,7 +145,7 @@ DBIterator DBWrapper::end() {
return it;
}
-bool DBWrapper::find( const TQString& _key, TQString& _val ) {
+bool DBWrapper::tqfind( const TQString& _key, TQString& _val ) {
DBT key, val;
::memset(&key, 0, sizeof(key) );
::memset(&val, 0, sizeof(val) );
diff --git a/kabc/plugins/evolution/dbwrapper.h b/kabc/plugins/evolution/dbwrapper.h
index e5e0a2c33..4c6511984 100644
--- a/kabc/plugins/evolution/dbwrapper.h
+++ b/kabc/plugins/evolution/dbwrapper.h
@@ -44,7 +44,7 @@ namespace Evolution {
DBIterator begin();
DBIterator end();
- bool find( const TQString& key, TQString& value );
+ bool tqfind( const TQString& key, TQString& value );
bool add( const TQString& key, const TQString& val );
bool remove( const TQString& key );
private:
diff --git a/kabc/plugins/evolution/resourceevo.cpp b/kabc/plugins/evolution/resourceevo.cpp
index a93d7d2a1..90c566925 100644
--- a/kabc/plugins/evolution/resourceevo.cpp
+++ b/kabc/plugins/evolution/resourceevo.cpp
@@ -51,7 +51,7 @@ bool ResourceEvolution::doOpen() {
}
TQString val;
- if (!mWrap->find( "PAS-DB-VERSION", val ) )
+ if (!mWrap->tqfind( "PAS-DB-VERSION", val ) )
return false;
if (!val.startsWith("0.2") )