20 #ifndef kmfoldernode_h
21 #define kmfoldernode_h
25 #include <tqptrlist.h>
29 class KMFolderNode: public TQObject
35 KMFolderNode( KMFolderDir * parent, const TQString & name );
36 virtual ~KMFolderNode();
42 virtual bool isDir( void) const;
43 virtual void setDir( bool aDir) { mDir = aDir; }
55 virtual TQString path() const;
58 TQString name() const { return mName; }
59 void setName( const TQString& aName) { mName = aName; }
63 virtual TQString label() const;
66 virtual TQString prettyURL() const = 0;
70 void setId( uint id ) { mId = id; }
79 typedef TQPtrList<KMFolderNode> KMFolderNodeList;
KMail list that manages the contents of one directory that may contain folders and/or other directori...
|