summaryrefslogtreecommitdiffstats
path: root/kmail/kmfoldermgr.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmail/kmfoldermgr.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/kmfoldermgr.h')
-rw-r--r--kmail/kmfoldermgr.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/kmail/kmfoldermgr.h b/kmail/kmfoldermgr.h
index 290769428..d4ec786e0 100644
--- a/kmail/kmfoldermgr.h
+++ b/kmail/kmfoldermgr.h
@@ -4,10 +4,10 @@
#ifndef kmfoldermgr_h
#define kmfoldermgr_h
-#include <qstring.h>
-#include <qvaluelist.h>
-#include <qobject.h>
-#include <qguardedptr.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
+#include <tqobject.h>
+#include <tqguardedptr.h>
#include "kmfolderdir.h"
@@ -18,47 +18,47 @@ class KMFolderMgr: public QObject
Q_OBJECT
public:
- KMFolderMgr(const QString& basePath, KMFolderDirType dirType = KMStandardDir);
+ KMFolderMgr(const TQString& basePath, KMFolderDirType dirType = KMStandardDir);
virtual ~KMFolderMgr();
/** Returns path to directory where all the folders live. */
- QString basePath() const { return mBasePath; }
+ TQString basePath() const { return mBasePath; }
/** Set base path. Also calls reload() on the base directory. */
- virtual void setBasePath(const QString&);
+ virtual void setBasePath(const TQString&);
/** Provides access to base directory */
KMFolderRootDir& dir();
/** Searches folder and returns it. Skips directories
(objects of type KMFolderDir) if foldersOnly is TRUE. */
- virtual KMFolder* find(const QString& folderName, bool foldersOnly=TRUE);
+ virtual KMFolder* find(const TQString& folderName, bool foldersOnly=TRUE);
/** Searches for a folder with the given id, recurses into directories */
- virtual KMFolder* findIdString(const QString& folderId,
+ virtual KMFolder* findIdString(const TQString& folderId,
const uint id = 0, KMFolderDir *dir = 0);
/** Uses find() to find given folder. If not found the folder is
* created. Directories are skipped.
* If an id is passed this searches for it
*/
- virtual KMFolder* findOrCreate(const QString& folderName, bool sysFldr=TRUE,
+ virtual KMFolder* findOrCreate(const TQString& folderName, bool sysFldr=TRUE,
const uint id = 0);
/** Searches folder by id and returns it. Skips directories
(objects of type KMFolderDir) */
virtual KMFolder* findById(const uint id);
- virtual void getFolderURLS( QStringList& flist,
- const QString& prefix=QString::null,
+ virtual void getFolderURLS( TQStringList& flist,
+ const TQString& prefix=TQString::null,
KMFolderDir *adir=0 );
- virtual KMFolder* getFolderByURL( const QString& vpath,
- const QString& prefix=QString::null,
+ virtual KMFolder* getFolderByURL( const TQString& vpath,
+ const TQString& prefix=TQString::null,
KMFolderDir *adir=0 );
/** Create a mail folder in the root folder directory dir()
with given name. Returns Folder on success. */
- virtual KMFolder* createFolder(const QString& fName, bool sysFldr=FALSE,
+ virtual KMFolder* createFolder(const TQString& fName, bool sysFldr=FALSE,
KMFolderType aFolderType=KMFolderTypeMbox,
KMFolderDir *aFolderDir = 0);
@@ -73,21 +73,21 @@ public:
/** Create a list of formatted formatted folder labels and corresponding
folders*/
- virtual void createFolderList( QStringList *str,
- QValueList<QGuardedPtr<KMFolder> > *folders );
+ virtual void createFolderList( TQStringList *str,
+ TQValueList<TQGuardedPtr<KMFolder> > *folders );
/** Auxillary function to facilitate creating a list of formatted
- folder names, suitable for showing in QComboBox */
- virtual void createFolderList( QStringList *str,
- QValueList<QGuardedPtr<KMFolder> > *folders,
+ folder names, suitable for showing in TQComboBox */
+ virtual void createFolderList( TQStringList *str,
+ TQValueList<TQGuardedPtr<KMFolder> > *folders,
KMFolderDir *adir,
- const QString& prefix,
+ const TQString& prefix,
bool i18nized=FALSE );
/** Create a list of formatted formatted folder labels and corresponding
folders. The system folder names are translated */
- virtual void createI18nFolderList( QStringList *str,
- QValueList<QGuardedPtr<KMFolder> > *folders );
+ virtual void createI18nFolderList( TQStringList *str,
+ TQValueList<TQGuardedPtr<KMFolder> > *folders );
/** fsync all open folders to disk */
void syncAllFolders( KMFolderDir *adir = 0 );
@@ -115,7 +115,7 @@ public:
void moveFolder( KMFolder* folder, KMFolderDir* newParent );
/** Rename or move a folder */
- void renameFolder( KMFolder* folder, const QString& newName,
+ void renameFolder( KMFolder* folder, const TQString& newName,
KMFolderDir* newParent = 0 );
/** Copy a folder */
@@ -135,7 +135,7 @@ public slots:
void removeFolderAux(KMFolder* obsoleteFolder, bool success);
/** Called when the renaming of a folder is done */
- void slotRenameDone( QString newName, bool success );
+ void slotRenameDone( TQString newName, bool success );
signals:
/** Emitted when the list of folders has changed. This signal is a hook
@@ -176,7 +176,7 @@ protected:
/** Auxillary function to facilitate removal of a folder directory */
void removeDirAux(KMFolderDir* aFolderDir);
- QString mBasePath;
+ TQString mBasePath;
KMFolderRootDir mDir;
int mQuiet;
bool mChanged;