From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kresources/lib/folderlister.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kresources/lib/folderlister.cpp') 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) ); } } -- cgit v1.2.3