summaryrefslogtreecommitdiffstats
path: root/kabc/plugins/file
diff options
context:
space:
mode:
Diffstat (limited to 'kabc/plugins/file')
-rw-r--r--kabc/plugins/file/resourcefile.cpp2
-rw-r--r--kabc/plugins/file/resourcefileconfig.cpp2
2 files changed, 2 insertions, 2 deletions
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() )