kmail
KMFolderTreeItem Class Reference
#include <kmfoldertree.h>
Public Slots | |
void | assignShortcut () |
void | properties () |
void | slotIconsChanged () |
void | slotNameChanged () |
void | slotShowExpiryProperties () |
void | updateCount () |
Signals | |
void | iconChanged (KMFolderTreeItem *) |
void | nameChanged (KMFolderTreeItem *) |
Public Member Functions | |
virtual bool | acceptDrag (QDropEvent *e) const |
void | adjustUnreadCount (int newUnreadCount) |
KMFolder * | folder () const |
KMFolderTreeItem (KFolderTreeItem *parent, const QString &name, KMFolder *folder) | |
KMFolderTreeItem (KFolderTree *parent, const QString &name, KMFolder *folder) | |
KMFolderTreeItem (KFolderTree *parent, const QString &name, KFolderTreeItem::Protocol protocol=KFolderTreeItem::NONE) | |
bool | needsRepaint () const |
QPixmap | normalIcon (int size) const |
QListViewItem * | parent () const |
void | setNeedsRepaint (bool value) |
QPixmap | unreadIcon (int size) const |
virtual | ~KMFolderTreeItem () |
Protected Member Functions | |
virtual int | iconSize () const |
void | init () |
virtual bool | useTopLevelIcon () const |
Protected Attributes | |
KMFolder * | mFolder |
Detailed Description
Definition at line 45 of file kmfoldertree.h.
Constructor & Destructor Documentation
KMFolderTreeItem::KMFolderTreeItem | ( | KFolderTree * | parent, | |
const QString & | name, | |||
KFolderTreeItem::Protocol | protocol = KFolderTreeItem::NONE | |||
) |
KMFolderTreeItem::KMFolderTreeItem | ( | KFolderTree * | parent, | |
const QString & | name, | |||
KMFolder * | folder | |||
) |
KMFolderTreeItem::KMFolderTreeItem | ( | KFolderTreeItem * | parent, | |
const QString & | name, | |||
KMFolder * | folder | |||
) |
KMFolderTreeItem::~KMFolderTreeItem | ( | ) | [virtual] |
Definition at line 86 of file kmfoldertree.cpp.
Member Function Documentation
bool KMFolderTreeItem::acceptDrag | ( | QDropEvent * | e | ) | const [virtual] |
void KMFolderTreeItem::adjustUnreadCount | ( | int | newUnreadCount | ) |
Adjust the unread count from the folder and update the pixmaps accordingly.
Definition at line 233 of file kmfoldertree.cpp.
void KMFolderTreeItem::assignShortcut | ( | ) | [slot] |
Definition at line 326 of file kmfoldertree.cpp.
KMFolder* KMFolderTreeItem::folder | ( | void | ) | const [inline] |
void KMFolderTreeItem::iconChanged | ( | KMFolderTreeItem * | ) | [signal] |
Our icon changed.
virtual int KMFolderTreeItem::iconSize | ( | ) | const [inline, protected, virtual] |
Returns the icon size.
Reimplemented in KMail::FavoriteFolderViewItem.
Definition at line 99 of file kmfoldertree.h.
void KMFolderTreeItem::init | ( | void | ) | [protected] |
Definition at line 191 of file kmfoldertree.cpp.
void KMFolderTreeItem::nameChanged | ( | KMFolderTreeItem * | ) | [signal] |
Our name changed.
bool KMFolderTreeItem::needsRepaint | ( | ) | const [inline] |
Definition at line 66 of file kmfoldertree.h.
QPixmap KMFolderTreeItem::normalIcon | ( | int | size | ) | const |
Definition at line 106 of file kmfoldertree.cpp.
QListViewItem* KMFolderTreeItem::parent | ( | void | ) | const [inline] |
void KMFolderTreeItem::properties | ( | ) | [slot] |
Definition at line 315 of file kmfoldertree.cpp.
void KMFolderTreeItem::setNeedsRepaint | ( | bool | value | ) | [inline] |
Definition at line 65 of file kmfoldertree.h.
void KMFolderTreeItem::slotIconsChanged | ( | ) | [slot] |
Definition at line 244 of file kmfoldertree.cpp.
void KMFolderTreeItem::slotNameChanged | ( | ) | [slot] |
Definition at line 259 of file kmfoldertree.cpp.
void KMFolderTreeItem::slotShowExpiryProperties | ( | ) | [slot] |
Definition at line 302 of file kmfoldertree.cpp.
QPixmap KMFolderTreeItem::unreadIcon | ( | int | size | ) | const |
Definition at line 157 of file kmfoldertree.cpp.
void KMFolderTreeItem::updateCount | ( | ) | [slot] |
Definition at line 340 of file kmfoldertree.cpp.
virtual bool KMFolderTreeItem::useTopLevelIcon | ( | ) | const [inline, protected, virtual] |
Returns true when top-level/account icons should be used.
Reimplemented in KMail::FavoriteFolderViewItem.
Definition at line 97 of file kmfoldertree.h.
Member Data Documentation
KMFolder* KMFolderTreeItem::mFolder [protected] |
Definition at line 95 of file kmfoldertree.h.
The documentation for this class was generated from the following files: