libkdepim
KPIM::FolderTreeWidgetItem Class Reference
#include <foldertreewidget.h>
Inheritance diagram for KPIM::FolderTreeWidgetItem:

Detailed Description
A folder tree node to be used with FolderTreeWidget.
Definition at line 68 of file foldertreewidget.h.
Public Types | |
| enum | FolderType { Inbox, Outbox, SentMail, Trash, Drafts, Templates, Root, Calendar, Tasks, Journals, Contacts, Notes, Other } |
| enum | Protocol { Imap, Local, News, CachedImap, Search, NONE } |
Public Member Functions | |
| FolderTreeWidgetItem (FolderTreeWidgetItem *parent, const QString &label=QString(), Protocol protocol=NONE, FolderType folderType=Other, int unread=0, int total=0) | |
| FolderTreeWidgetItem (FolderTreeWidget *parent, const QString &label=QString(), Protocol protocol=NONE, FolderType folderType=Root) | |
| FolderType | folderType () const |
| virtual bool | operator< (const QTreeWidgetItem &other) const |
| Protocol | protocol () const |
| void | setFolderType (FolderType folderType) |
| void | setProtocol (Protocol protocol) |
Member Enumeration Documentation
Folder type information.
- Enumerator:
-
Inbox Outbox SentMail Trash Drafts Templates Root Calendar Tasks Journals Contacts Notes Other
Definition at line 86 of file foldertreewidget.h.
Constructor & Destructor Documentation
| KPIM::FolderTreeWidgetItem::FolderTreeWidgetItem | ( | FolderTreeWidget * | parent, | |
| const QString & | label = QString(), |
|||
| Protocol | protocol = NONE, |
|||
| FolderType | folderType = Root | |||
| ) | [explicit] |
| KPIM::FolderTreeWidgetItem::FolderTreeWidgetItem | ( | FolderTreeWidgetItem * | parent, | |
| const QString & | label = QString(), |
|||
| Protocol | protocol = NONE, |
|||
| FolderType | folderType = Other, |
|||
| int | unread = 0, |
|||
| int | total = 0 | |||
| ) | [explicit] |
Member Function Documentation
| FolderType KPIM::FolderTreeWidgetItem::folderType | ( | ) | const [inline] |
| bool KPIM::FolderTreeWidgetItem::operator< | ( | const QTreeWidgetItem & | other | ) | const [virtual] |
| Protocol KPIM::FolderTreeWidgetItem::protocol | ( | ) | const [inline] |
Returns the protocol associated to the folder item.
Definition at line 133 of file foldertreewidget.h.
| void KPIM::FolderTreeWidgetItem::setFolderType | ( | FolderType | folderType | ) | [inline] |
| void KPIM::FolderTreeWidgetItem::setProtocol | ( | Protocol | protocol | ) | [inline] |
The documentation for this class was generated from the following files:
KDE 4.1 API Reference