diff options
Diffstat (limited to 'kresources/kolab/shared/kmailconnection.cpp')
-rw-r--r-- | kresources/kolab/shared/kmailconnection.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kresources/kolab/shared/kmailconnection.cpp b/kresources/kolab/shared/kmailconnection.cpp index 5b2921b94..d9ffd98d5 100644 --- a/kresources/kolab/shared/kmailconnection.cpp +++ b/kresources/kolab/shared/kmailconnection.cpp @@ -21,11 +21,11 @@ In addition, as a special exception, the copyright holders give permission to link the code of this program with any edition of - the Qt library by Trolltech AS, Norway (or with modified versions - of Qt that use the same license as Qt), and distribute linked + the TQt library by Trolltech AS, Norway (or with modified versions + of TQt that use the same license as TQt), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than - Qt. If you modify this file, you may extend this exception to + TQt. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. @@ -82,7 +82,7 @@ bool KMailConnection::connectToKMail() // someone, probably ourselves, already offers the interface, if not stop here const QCStringList services = kapp->dcopClient()->registeredApplications(); for ( uint i = 0; i < services.count(); ++i ) { - if ( services[i].find( "anonymous" ) == 0 ) // querying anonymous-XXXXX deadlocks as well, what are those anyway? + if ( services[i].tqfind( "anonymous" ) == 0 ) // querying anonymous-XXXXX deadlocks as well, what are those anyway? continue; const QCStringList objs = kapp->dcopClient()->remoteObjects( services[i] ); if ( objs.tqcontains( dcopObjectId ) ) { @@ -97,8 +97,8 @@ bool KMailConnection::connectToKMail() } else { TQString error; int result = KDCOPServiceStarter::self()-> - findServiceFor( "DCOP/ResourceBackend/IMAP", TQString::null, - TQString::null, &error, &dcopService ); + findServiceFor( "DCOP/ResourceBackend/IMAP", TQString(), + TQString(), &error, &dcopService ); if ( result != 0 ) { kdError(5650) << "Couldn't connect to the IMAP resource backend\n"; // TODO: You might want to show "error" (if not empty) here, @@ -295,11 +295,11 @@ bool KMailConnection::kmailUpdate( const TQString& resource, } bool KMailConnection::kmailAddSubresource( const TQString& resource, - const TQString& parent, + const TQString& tqparent, const TQString& contentsType ) { return connectToKMail() - && mKMailIcalIfaceStub->addSubresource( resource, parent, contentsType ) + && mKMailIcalIfaceStub->addSubresource( resource, tqparent, contentsType ) && mKMailIcalIfaceStub->ok(); } |