libkdepim
KPIM::KFolderTree Class Reference
#include <kfoldertree.h>

Detailed Description
Definition at line 237 of file kfoldertree.h.
Public Member Functions | |
| virtual bool | acceptDrag (QDropEvent *event) const |
| virtual void | addAcceptableDropMimetype (const QString &mimeType, bool outsideOk) |
| virtual void | addSizeColumn (const QString &name, int width=70) |
| virtual void | addTotalColumn (const QString &name, int width=70) |
| virtual void | addUnreadColumn (const QString &name, int width=70) |
| bool | isSizeActive () const |
| bool | isTotalActive () const |
| bool | isUnreadActive () const |
| KFolderTree (QWidget *parent, const char *name=0) | |
| KPaintInfo | paintInfo () const |
| virtual void | removeSizeColumn () |
| virtual void | removeTotalColumn () |
| virtual void | removeUnreadColumn () |
| virtual void | setFullWidth (bool fullWidth) |
| int | sizeIndex () const |
| int | totalIndex () const |
| int | unreadIndex () const |
Protected Member Functions | |
| virtual void | contentsMousePressEvent (QMouseEvent *e) |
| virtual void | contentsMouseReleaseEvent (QMouseEvent *e) |
| virtual void | drawContentsOffset (QPainter *p, int ox, int oy, int cx, int cy, int cw, int ch) |
| void | setStyleDependantFrameWidth () |
| void | styleChange (QStyle &oldStyle) |
Protected Attributes | |
| QVector< QString > | mAcceptableDropMimetypes |
| QVector< bool > | mAcceptOutside |
| KPaintInfo | mPaintInfo |
| int | mSizeIndex |
| int | mTotalIndex |
| int | mUnreadIndex |
Constructor & Destructor Documentation
| KFolderTree::KFolderTree | ( | QWidget * | parent, | |
| const char * | name = 0 | |||
| ) | [explicit] |
Definition at line 391 of file kfoldertree.cpp.
Member Function Documentation
| bool KFolderTree::acceptDrag | ( | QDropEvent * | event | ) | const [virtual] |
| void KFolderTree::addAcceptableDropMimetype | ( | const QString & | 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 467 of file kfoldertree.cpp.
| void KFolderTree::addSizeColumn | ( | const QString & | name, | |
| int | width = 70 | |||
| ) | [virtual] |
Definition at line 543 of file kfoldertree.cpp.
| void KFolderTree::addTotalColumn | ( | const QString & | name, | |
| int | width = 70 | |||
| ) | [virtual] |
Definition at line 500 of file kfoldertree.cpp.
| void KFolderTree::addUnreadColumn | ( | const QString & | name, | |
| int | width = 70 | |||
| ) | [virtual] |
| void KFolderTree::contentsMousePressEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 453 of file kfoldertree.cpp.
| void KFolderTree::contentsMouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 460 of file kfoldertree.cpp.
| void KFolderTree::drawContentsOffset | ( | QPainter * | p, | |
| int | ox, | |||
| int | oy, | |||
| int | cx, | |||
| int | cy, | |||
| int | cw, | |||
| int | ch | |||
| ) | [protected, virtual] |
Definition at line 442 of file kfoldertree.cpp.
| bool KPIM::KFolderTree::isSizeActive | ( | ) | const [inline] |
Definition at line 272 of file kfoldertree.h.
| bool KPIM::KFolderTree::isTotalActive | ( | ) | const [inline] |
Definition at line 271 of file kfoldertree.h.
| bool KPIM::KFolderTree::isUnreadActive | ( | ) | const [inline] |
| KPaintInfo KPIM::KFolderTree::paintInfo | ( | ) | const [inline] |
| void KFolderTree::removeSizeColumn | ( | ) | [virtual] |
Definition at line 553 of file kfoldertree.cpp.
| void KFolderTree::removeTotalColumn | ( | ) | [virtual] |
Definition at line 526 of file kfoldertree.cpp.
| void KFolderTree::removeUnreadColumn | ( | ) | [virtual] |
Definition at line 508 of file kfoldertree.cpp.
| void KFolderTree::setFullWidth | ( | bool | fullWidth | ) | [virtual] |
| void KFolderTree::setStyleDependantFrameWidth | ( | ) | [protected] |
Set the width of the frame to a reasonable value for the current GUI style.
Definition at line 417 of file kfoldertree.cpp.
| int KPIM::KFolderTree::sizeIndex | ( | ) | const [inline] |
Definition at line 267 of file kfoldertree.h.
| void KFolderTree::styleChange | ( | QStyle & | oldStyle | ) | [protected] |
reimplemented in order to update the frame width in case of a changed GUI style
Definition at line 435 of file kfoldertree.cpp.
| int KPIM::KFolderTree::totalIndex | ( | ) | const [inline] |
Definition at line 266 of file kfoldertree.h.
| int KPIM::KFolderTree::unreadIndex | ( | ) | const [inline] |
Member Data Documentation
QVector<QString> KPIM::KFolderTree::mAcceptableDropMimetypes [protected] |
QVector<bool> KPIM::KFolderTree::mAcceptOutside [protected] |
Definition at line 294 of file kfoldertree.h.
KPaintInfo KPIM::KFolderTree::mPaintInfo [protected] |
int KPIM::KFolderTree::mSizeIndex [protected] |
Definition at line 303 of file kfoldertree.h.
int KPIM::KFolderTree::mTotalIndex [protected] |
Definition at line 302 of file kfoldertree.h.
int KPIM::KFolderTree::mUnreadIndex [protected] |
current index of unread/total-column -1 is deactivated
Definition at line 301 of file kfoldertree.h.
The documentation for this class was generated from the following files:
KDE 4.1 API Reference