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 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() )