summaryrefslogtreecommitdiffstats
path: root/kmail/kmfoldernode.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/kmfoldernode.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/kmfoldernode.h')
-rw-r--r--kmail/kmfoldernode.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kmail/kmfoldernode.h b/kmail/kmfoldernode.h
index 56f22140a..3d0dbaddc 100644
--- a/kmail/kmfoldernode.h
+++ b/kmail/kmfoldernode.h
@@ -20,9 +20,9 @@
#ifndef kmfoldernode_h
#define kmfoldernode_h
-#include <qobject.h>
-#include <qstring.h>
-#include <qptrlist.h>
+#include <tqobject.h>
+#include <tqstring.h>
+#include <tqptrlist.h>
class KMFolderDir;
@@ -31,7 +31,7 @@ class KMFolderNode: public QObject
Q_OBJECT
public:
- KMFolderNode( KMFolderDir * parent, const QString & name );
+ KMFolderNode( KMFolderDir * parent, const TQString & name );
virtual ~KMFolderNode();
/** Is it a directory where mail folders are stored or is it a folder that
@@ -51,31 +51,31 @@ public:
if the node has no parent. Example: if this object represents a folder
~joe/Mail/inbox then path() returns "/home/joe/Mail" and name() returns
"inbox". */
- virtual QString path() const;
+ virtual TQString path() const;
/** Name of the node. Also used as file name. */
- QString name() const { return mName; }
- void setName(const QString& aName) { mName = aName; }
+ TQString name() const { return mName; }
+ void setName(const TQString& aName) { mName = aName; }
/** Label of the node for visualzation purposes. Default the same as
the name. */
- virtual QString label() const;
+ virtual TQString label() const;
/** URL of the node for visualization purposes. */
- virtual QString prettyURL() const = 0;
+ virtual TQString prettyURL() const = 0;
/** ID of the node */
uint id() const;
void setId( uint id ) { mId = id; }
protected:
- QString mName;
+ TQString mName;
KMFolderDir *mParent;
bool mDir;
uint mId;
};
-typedef QPtrList<KMFolderNode> KMFolderNodeList;
+typedef TQPtrList<KMFolderNode> KMFolderNodeList;
#endif /*kmfoldernode_h*/