From 10308be19ef7fa44699562cc75946e7ea1fdf6b9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 7 Jan 2011 03:45:53 +0000 Subject: Revert automated changes Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 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 3037ec334..b391dffa5 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.tqcontains( mFileName ) ) + if ( mDirWatch.contains( mFileName ) ) mDirWatch.removeFile( mFileName ); mFileName = fileName; diff --git a/kabc/plugins/file/resourcefileconfig.cpp b/kabc/plugins/file/resourcefileconfig.cpp index 51cfdcfcf..92b07594f 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.tqfindIndex( resource->format() ) ); + mFormatBox->setCurrentItem( mFormatTypes.findIndex( resource->format() ) ); mFileNameEdit->setURL( resource->fileName() ); if ( mFileNameEdit->url().isEmpty() ) -- cgit v1.2.1