mailcommon
#include <foldertreeview.h>
Inherits EntityTreeView.
Public Slots | |
void | slotFocusFirstFolder () |
void | slotFocusLastFolder () |
void | slotFocusNextFolder () |
void | slotFocusPrevFolder () |
void | slotSelectFocusFolder () |
Signals | |
void | changeTooltipsPolicy (FolderTreeWidget::ToolTipDisplayPolicy) |
void | manualSortingChanged (bool actif) |
void | prefereCreateNewTab (bool) |
Public Member Functions | |
FolderTreeView (QWidget *parent=0, bool showUnreadCount=true) | |
FolderTreeView (KXMLGUIClient *xmlGuiClient, QWidget *parent=0, bool showUnreadCount=true) | |
virtual | ~FolderTreeView () |
Akonadi::Collection | currentFolder () const |
void | disableContextMenuAndExtraColumn () |
void | disableSaveConfig () |
void | keyboardSearch (const QString &) |
void | readConfig () |
void | restoreHeaderState (const QByteArray &data) |
void | selectNextUnreadFolder (bool confirm=false) |
void | selectPrevUnreadFolder (bool confirm=false) |
void | setTooltipsPolicy (FolderTreeWidget::ToolTipDisplayPolicy) |
void | showStatisticAnimation (bool anim) |
void | updatePalette () |
Protected Types | |
enum | Move { Next = 0, Previous = 1 } |
Protected Slots | |
void | slotHeaderContextMenuChangeHeader (bool) |
void | slotHeaderContextMenuChangeIconSize (bool) |
void | slotHeaderContextMenuChangeSortingPolicy (bool) |
void | slotHeaderContextMenuChangeToolTipDisplayPolicy (bool) |
void | slotHeaderContextMenuRequested (const QPoint &) |
Protected Member Functions | |
void | init (bool showUnreadCount) |
bool | isUnreadFolder (const QModelIndex ¤t, QModelIndex &nextIndex, FolderTreeView::Move move, bool confirm) |
virtual void | mousePressEvent (QMouseEvent *e) |
void | selectModelIndex (const QModelIndex &) |
QModelIndex | selectNextFolder (const QModelIndex ¤t) |
void | setCurrentModelIndex (const QModelIndex &) |
void | setSortingPolicy (FolderTreeWidget::SortingPolicy policy, bool writeInConfig=false) |
void | writeConfig () |
Detailed Description
This is an enhanced EntityTreeView specially suited for the folders in KMail's main folder widget.
Definition at line 41 of file foldertreeview.h.
Member Enumeration Documentation
|
protected |
Enumerator | |
---|---|
Next | |
Previous |
Definition at line 73 of file foldertreeview.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 38 of file foldertreeview.cpp.
|
explicit |
Definition at line 46 of file foldertreeview.cpp.
|
virtual |
Definition at line 54 of file foldertreeview.cpp.
Member Function Documentation
|
signal |
Akonadi::Collection MailCommon::FolderTreeView::currentFolder | ( | ) | const |
Definition at line 591 of file foldertreeview.cpp.
void MailCommon::FolderTreeView::disableContextMenuAndExtraColumn | ( | ) |
Definition at line 74 of file foldertreeview.cpp.
void MailCommon::FolderTreeView::disableSaveConfig | ( | ) |
Definition at line 58 of file foldertreeview.cpp.
|
protected |
Definition at line 83 of file foldertreeview.cpp.
|
protected |
Definition at line 532 of file foldertreeview.cpp.
void MailCommon::FolderTreeView::keyboardSearch | ( | const QString & | ) |
Definition at line 629 of file foldertreeview.cpp.
|
signal |
|
protectedvirtual |
Definition at line 604 of file foldertreeview.cpp.
|
signal |
void MailCommon::FolderTreeView::readConfig | ( | ) |
Definition at line 118 of file foldertreeview.cpp.
void MailCommon::FolderTreeView::restoreHeaderState | ( | const QByteArray & | data | ) |
Definition at line 611 of file foldertreeview.cpp.
|
protected |
Definition at line 358 of file foldertreeview.cpp.
|
protected |
Definition at line 387 of file foldertreeview.cpp.
void MailCommon::FolderTreeView::selectNextUnreadFolder | ( | bool | confirm = false | ) |
Definition at line 430 of file foldertreeview.cpp.
void MailCommon::FolderTreeView::selectPrevUnreadFolder | ( | bool | confirm = false | ) |
Definition at line 449 of file foldertreeview.cpp.
|
protected |
Definition at line 349 of file foldertreeview.cpp.
|
protected |
Definition at line 238 of file foldertreeview.cpp.
void MailCommon::FolderTreeView::setTooltipsPolicy | ( | FolderTreeWidget::ToolTipDisplayPolicy | policy | ) |
Definition at line 63 of file foldertreeview.cpp.
void MailCommon::FolderTreeView::showStatisticAnimation | ( | bool | anim | ) |
Definition at line 101 of file foldertreeview.cpp.
|
slot |
Definition at line 413 of file foldertreeview.cpp.
|
slot |
Definition at line 421 of file foldertreeview.cpp.
|
slot |
Definition at line 377 of file foldertreeview.cpp.
|
slot |
Definition at line 404 of file foldertreeview.cpp.
|
protectedslot |
Definition at line 299 of file foldertreeview.cpp.
|
protectedslot |
Definition at line 325 of file foldertreeview.cpp.
|
protectedslot |
Definition at line 220 of file foldertreeview.cpp.
|
protectedslot |
Definition at line 282 of file foldertreeview.cpp.
|
protectedslot |
Definition at line 138 of file foldertreeview.cpp.
|
slot |
Definition at line 369 of file foldertreeview.cpp.
void MailCommon::FolderTreeView::updatePalette | ( | ) |
Definition at line 624 of file foldertreeview.cpp.
|
protected |
Definition at line 106 of file foldertreeview.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.