libkdepim
KFolderTree Class Reference
List of all members.Detailed Description
Definition at line 222 of file kfoldertree.h.
Public Member Functions | |
KFolderTree (QWidget *parent, const char *name=0) | |
virtual void | addAcceptableDropMimetype (const char *mimeType, bool outsideOk) |
virtual bool | acceptDrag (QDropEvent *event) const |
KPaintInfo | paintInfo () const |
virtual void | addUnreadColumn (const QString &name, int width=70) |
virtual void | removeUnreadColumn () |
virtual void | addTotalColumn (const QString &name, int width=70) |
virtual void | removeTotalColumn () |
int | unreadIndex () const |
int | totalIndex () const |
bool | isUnreadActive () const |
bool | isTotalActive () const |
virtual void | setFullWidth (bool fullWidth) |
Protected Member Functions | |
void | styleChange (QStyle &oldStyle) |
void | setStyleDependantFrameWidth () |
virtual void | drawContentsOffset (QPainter *p, int ox, int oy, int cx, int cy, int cw, int ch) |
virtual void | contentsMousePressEvent (QMouseEvent *e) |
virtual void | contentsMouseReleaseEvent (QMouseEvent *e) |
Protected Attributes | |
QMemArray< const char * > | mAcceptableDropMimetypes |
QBitArray | mAcceptOutside |
KPaintInfo | mPaintInfo |
int | mUnreadIndex |
int | mTotalIndex |
Member Function Documentation
void KFolderTree::addAcceptableDropMimetype | ( | const char * | mimeType, | |
bool | outsideOk | |||
) | [virtual] |
registers MIMETypes that are handled
- Parameters:
-
mimeType the name of the MIMEType outsideOk accept drops of this type even if the mouse cursor is not on top of an item
Definition at line 364 of file kfoldertree.cpp.
bool KFolderTree::acceptDrag | ( | QDropEvent * | event | ) | const [virtual] |
KPaintInfo KFolderTree::paintInfo | ( | ) | const [inline] |
void KFolderTree::addUnreadColumn | ( | const QString & | name, | |
int | width = 70 | |||
) | [virtual] |
int KFolderTree::unreadIndex | ( | ) | const [inline] |
bool KFolderTree::isUnreadActive | ( | ) | const [inline] |
void KFolderTree::setFullWidth | ( | bool | fullWidth | ) | [virtual] |
void KFolderTree::styleChange | ( | QStyle & | oldStyle | ) | [protected] |
reimplemented in order to update the frame width in case of a changed GUI style
Definition at line 333 of file kfoldertree.cpp.
void KFolderTree::setStyleDependantFrameWidth | ( | ) | [protected] |
Set the width of the frame to a reasonable value for the current GUI style.
Definition at line 318 of file kfoldertree.cpp.
Member Data Documentation
QMemArray<const char*> KFolderTree::mAcceptableDropMimetypes [protected] |
KPaintInfo KFolderTree::mPaintInfo [protected] |
int KFolderTree::mUnreadIndex [protected] |
current index of unread/total-column -1 is deactivated
Definition at line 282 of file kfoldertree.h.
The documentation for this class was generated from the following files: