kmail
KMail::FolderTreeBase Class Reference
#include <foldertreebase.h>
Public Slots | |
void | slotUpdateCounts (KMFolder *folder, bool force=false) |
Signals | |
void | folderDrop (KMFolder *) |
void | folderDropCopy (KMFolder *) |
void | triggerRefresh () |
Public Member Functions | |
FolderTreeBase (KMMainWidget *mainWidget, QWidget *parent=0, const char *name=0) | |
virtual QListViewItem * | indexOfFolder (const KMFolder *folder) const |
void | insertIntoFolderToItemMap (const KMFolder *folder, QListViewItem *item) |
KMMainWidget * | mainWidget () const |
void | removeFromFolderToItemMap (const KMFolder *folder) |
Protected Types | |
enum | { DRAG_COPY = 0, DRAG_MOVE = 1, DRAG_CANCEL = 2 } |
Protected Member Functions | |
void | contentsDropEvent (QDropEvent *e) |
int | dndMode (bool alwaysAsk=false) |
virtual bool | event (QEvent *e) |
void | handleMailListDrop (QDropEvent *event, KMFolder *destination) |
bool | hideLocalInbox () const |
virtual void | readColorConfig () |
Protected Attributes | |
QMap< const KMFolder *, QListViewItem * > | mFolderToItem |
KMMainWidget * | mMainWidget |
Detailed Description
Definition at line 29 of file foldertreebase.h.
Member Enumeration Documentation
anonymous enum [protected] |
Constructor & Destructor Documentation
FolderTreeBase::FolderTreeBase | ( | KMMainWidget * | mainWidget, | |
QWidget * | parent = 0 , |
|||
const char * | name = 0 | |||
) |
Definition at line 42 of file foldertreebase.cpp.
Member Function Documentation
void FolderTreeBase::contentsDropEvent | ( | QDropEvent * | e | ) | [protected] |
int FolderTreeBase::dndMode | ( | bool | alwaysAsk = false |
) | [protected] |
Definition at line 74 of file foldertreebase.cpp.
bool FolderTreeBase::event | ( | QEvent * | e | ) | [protected, virtual] |
void KMail::FolderTreeBase::folderDrop | ( | KMFolder * | ) | [signal] |
Messages have been dropped onto a folder.
void KMail::FolderTreeBase::folderDropCopy | ( | KMFolder * | ) | [signal] |
Messages have been dropped onto a folder with Ctrl.
void FolderTreeBase::handleMailListDrop | ( | QDropEvent * | event, | |
KMFolder * | destination | |||
) | [protected] |
bool FolderTreeBase::hideLocalInbox | ( | ) | const [protected] |
virtual QListViewItem* KMail::FolderTreeBase::indexOfFolder | ( | const KMFolder * | folder | ) | const [inline, virtual] |
void KMail::FolderTreeBase::insertIntoFolderToItemMap | ( | const KMFolder * | folder, | |
QListViewItem * | item | |||
) | [inline] |
Definition at line 47 of file foldertreebase.h.
KMMainWidget* KMail::FolderTreeBase::mainWidget | ( | ) | const [inline] |
Returns the main widget that this widget is a child of.
Definition at line 36 of file foldertreebase.h.
void FolderTreeBase::readColorConfig | ( | ) | [protected, virtual] |
Read color options and set palette.
Reimplemented in KMail::FavoriteFolderView.
Definition at line 106 of file foldertreebase.cpp.
void KMail::FolderTreeBase::removeFromFolderToItemMap | ( | const KMFolder * | folder | ) | [inline] |
Definition at line 52 of file foldertreebase.h.
void FolderTreeBase::slotUpdateCounts | ( | KMFolder * | folder, | |
bool | force = false | |||
) | [slot] |
Update the total and unread columns (if available, or if forced).
Definition at line 157 of file foldertreebase.cpp.
void KMail::FolderTreeBase::triggerRefresh | ( | ) | [signal] |
Member Data Documentation
QMap<const KMFolder*, QListViewItem*> KMail::FolderTreeBase::mFolderToItem [protected] |
Definition at line 93 of file foldertreebase.h.
KMMainWidget* KMail::FolderTreeBase::mMainWidget [protected] |
Definition at line 92 of file foldertreebase.h.
The documentation for this class was generated from the following files: