From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: 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 --- kabc/plugins/file/resourcefile.cpp | 2 +- kabc/plugins/file/resourcefileconfig.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kabc/plugins/file') diff --git a/kabc/plugins/file/resourcefile.cpp b/kabc/plugins/file/resourcefile.cpp index b391dffa5..3037ec334 100644 --- a/kabc/plugins/file/resourcefile.cpp +++ b/kabc/plugins/file/resourcefile.cpp @@ -319,7 +319,7 @@ bool ResourceFile::asyncSave( Ticket *ticket ) void ResourceFile::setFileName( const TQString &fileName ) { mDirWatch.stopScan(); - if ( mDirWatch.contains( mFileName ) ) + if ( mDirWatch.tqcontains( mFileName ) ) mDirWatch.removeFile( mFileName ); mFileName = fileName; diff --git a/kabc/plugins/file/resourcefileconfig.cpp b/kabc/plugins/file/resourcefileconfig.cpp index 92b07594f..51cfdcfcf 100644 --- a/kabc/plugins/file/resourcefileconfig.cpp +++ b/kabc/plugins/file/resourcefileconfig.cpp @@ -86,7 +86,7 @@ void ResourceFileConfig::loadSettings( KRES::Resource *res ) return; } - mFormatBox->setCurrentItem( mFormatTypes.findIndex( resource->format() ) ); + mFormatBox->setCurrentItem( mFormatTypes.tqfindIndex( resource->format() ) ); mFileNameEdit->setURL( resource->fileName() ); if ( mFileNameEdit->url().isEmpty() ) -- cgit v1.2.1