summaryrefslogtreecommitdiffstats
path: root/kresources/lib/folderlister.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/lib/folderlister.cpp')
-rw-r--r--kresources/lib/folderlister.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kresources/lib/folderlister.cpp b/kresources/lib/folderlister.cpp
index 9436a6f92..eec969c26 100644
--- a/kresources/lib/folderlister.cpp
+++ b/kresources/lib/folderlister.cpp
@@ -50,11 +50,11 @@ void FolderLister::setWriteDestinationId( KPIM::FolderLister::ContentType type,
TQString FolderLister::writeDestinationId( KPIM::FolderLister::ContentType type ) const
{
- if ( mWriteDestinationId.tqcontains( type ) ) {
+ if ( mWriteDestinationId.contains( type ) ) {
return mWriteDestinationId[type];
- } else if ( mWriteDestinationId.tqcontains( KPIM::FolderLister::All ) ) {
+ } else if ( mWriteDestinationId.contains( KPIM::FolderLister::All ) ) {
return mWriteDestinationId[ KPIM::FolderLister::All ];
- } else if ( mWriteDestinationId.tqcontains( KPIM::FolderLister::Unknown ) ) {
+ } else if ( mWriteDestinationId.contains( KPIM::FolderLister::Unknown ) ) {
return mWriteDestinationId[ KPIM::FolderLister::Unknown ];
} else return TQString();
}
@@ -151,7 +151,7 @@ void FolderLister::readConfig( KPIM::GroupwarePrefsBase *newprefs )
for ( TQStringList::Iterator it = l.begin(); it != l.end(); ++it ) {
e.type = (FolderLister::ContentType)( e.type | contentTypeFromString( *it ) );
}
- if ( active.tqfind( e.id ) != active.end() ) e.active = true;
+ if ( active.find( e.id ) != active.end() ) e.active = true;
mFolders.append( e );
}
@@ -196,7 +196,7 @@ void FolderLister::writeConfig( GroupwarePrefsBase *newprefs )
TQStringList defaultFolders;
#define writeDestination(type) \
- if ( mWriteDestinationId.tqcontains( type ) ) \
+ if ( mWriteDestinationId.contains( type ) ) \
defaultFolders << mWriteDestinationId[type]; \
else defaultFolders << TQString();
writeDestination( KPIM::FolderLister::Event );
@@ -262,7 +262,7 @@ void FolderLister::doRetrieveFolder( const KURL &u )
KURL url( u );
if ( adaptor() ) adaptor()->adaptDownloadUrl( url );
- if ( mUrls.tqcontains( url ) || mProcessedPathes.tqcontains( url.path(-1) ) ) {
+ if ( mUrls.contains( url ) || mProcessedPathes.contains( url.path(-1) ) ) {
kdDebug()<<"Item "<<u.path(-1)<<" is already being downloaded "<<endl;
} else {