summaryrefslogtreecommitdiffstats
path: root/kresources/lib/folderlister.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kresources/lib/folderlister.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 {