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.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kresources/lib/folderlister.cpp b/kresources/lib/folderlister.cpp
index a39b316a..a0ef5f0e 100644
--- a/kresources/lib/folderlister.cpp
+++ b/kresources/lib/folderlister.cpp
@@ -56,7 +56,7 @@ TQString FolderLister::writeDestinationId( KPIM::FolderLister::ContentType type
return mWriteDestinationId[ KPIM::FolderLister::All ];
} else if ( mWriteDestinationId.tqcontains( KPIM::FolderLister::Unknown ) ) {
return mWriteDestinationId[ KPIM::FolderLister::Unknown ];
- } else return TQString::null;
+ } 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.find( e.id ) != active.end() ) e.active = true;
+ if ( active.tqfind( e.id ) != active.end() ) e.active = true;
mFolders.append( e );
}
@@ -198,7 +198,7 @@ void FolderLister::writeConfig( GroupwarePrefsBase *newprefs )
#define writeDestination(type) \
if ( mWriteDestinationId.tqcontains( type ) ) \
defaultFolders << mWriteDestinationId[type]; \
- else defaultFolders << TQString::null;
+ else defaultFolders << TQString();
writeDestination( KPIM::FolderLister::Event );
writeDestination( KPIM::FolderLister::Todo );
writeDestination( KPIM::FolderLister::Journal );
@@ -230,8 +230,8 @@ void FolderLister::folderSubitemRetrieved( const KURL &url, bool isFolder )
doRetrieveFolder( url );
else {
KURL u( url ) ;
- u.setUser( TQString::null );
- u.setPass( TQString::null );
+ u.setUser( TQString() );
+ u.setPass( TQString() );
mProcessedPathes.append( url.path(-1) );
}
}