mailcommon
#include <folderselectiondialog.h>

Public Types | |
| enum | SelectionFolderOption { None = 0, EnableCheck = 1, ShowUnreadCount = 2, HideVirtualFolder = 4, NotAllowToCreateNewFolder = 8, HideOutboxFolder = 16, NotUseGlobalSettings = 64 } |
Public Member Functions | |
| FolderSelectionDialog (QWidget *parent, FolderSelectionDialog::SelectionFolderOptions options) | |
| ~FolderSelectionDialog () | |
| Akonadi::Collection | selectedCollection () const |
| Akonadi::Collection::List | selectedCollections () const |
| QAbstractItemView::SelectionMode | selectionMode () const |
| void | setSelectedCollection (const Akonadi::Collection &collection) |
| void | setSelectionMode (QAbstractItemView::SelectionMode mode) |
Protected Member Functions | |
| bool | canCreateCollection (Akonadi::Collection &parentCol) |
| void | focusTreeView () |
| void | hideEvent (QHideEvent *) |
| void | readConfig () |
| void | showEvent (QShowEvent *) |
| void | writeConfig () |
Detailed Description
A dialog that lets the user select a folder.
TODO: Move most of this to Akonadi::CollectionDialog
Definition at line 38 of file folderselectiondialog.h.
Member Enumeration Documentation
| Enumerator | |
|---|---|
| None | |
| EnableCheck | |
| ShowUnreadCount | |
| HideVirtualFolder | |
| NotAllowToCreateNewFolder | |
| HideOutboxFolder | |
| NotUseGlobalSettings | |
Definition at line 43 of file folderselectiondialog.h.
Constructor & Destructor Documentation
| MailCommon::FolderSelectionDialog::FolderSelectionDialog | ( | QWidget * | parent, |
| FolderSelectionDialog::SelectionFolderOptions | options | ||
| ) |
Definition at line 56 of file folderselectiondialog.cpp.
| MailCommon::FolderSelectionDialog::~FolderSelectionDialog | ( | ) |
Definition at line 134 of file folderselectiondialog.cpp.
Member Function Documentation
|
protected |
Definition at line 181 of file folderselectiondialog.cpp.
|
protected |
Definition at line 160 of file folderselectiondialog.cpp.
|
protected |
Definition at line 299 of file folderselectiondialog.cpp.
|
protected |
Definition at line 269 of file folderselectiondialog.cpp.
| Akonadi::Collection MailCommon::FolderSelectionDialog::selectedCollection | ( | ) | const |
Definition at line 252 of file folderselectiondialog.cpp.
| Akonadi::Collection::List MailCommon::FolderSelectionDialog::selectedCollections | ( | ) | const |
Definition at line 262 of file folderselectiondialog.cpp.
| QAbstractItemView::SelectionMode MailCommon::FolderSelectionDialog::selectionMode | ( | ) | const |
Definition at line 247 of file folderselectiondialog.cpp.
| void MailCommon::FolderSelectionDialog::setSelectedCollection | ( | const Akonadi::Collection & | collection | ) |
Definition at line 257 of file folderselectiondialog.cpp.
| void MailCommon::FolderSelectionDialog::setSelectionMode | ( | QAbstractItemView::SelectionMode | mode | ) |
Definition at line 242 of file folderselectiondialog.cpp.
|
protected |
Definition at line 166 of file folderselectiondialog.cpp.
|
protected |
Definition at line 286 of file folderselectiondialog.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.
KDE API Reference