summaryrefslogtreecommitdiffstats
path: root/kresources/lib/folderlister.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kresources/lib/folderlister.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
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
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) );
}
}