mailcommon
folderselectiondialog.cpp
Go to the documentation of this file.
142 if (isButtonEnabled( KDialog::User1 ) && d->folderTreeWidget->folderTreeView()->indexAt(pos).isValid()) {
void setSelectedCollection(const Akonadi::Collection &collection)
Definition: folderselectiondialog.cpp:257
void setSelectionMode(QAbstractItemView::SelectionMode mode)
Definition: folderselectiondialog.cpp:242
FolderSelectionDialog(QWidget *parent, FolderSelectionDialog::SelectionFolderOptions options)
Definition: folderselectiondialog.cpp:56
Akonadi::Collection::List selectedCollections() const
Definition: folderselectiondialog.cpp:262
Nevery display tooltips.
Definition: foldertreewidget.h:79
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
This is an enhanced EntityTreeView specially suited for the folders in KMail's main folder widget...
Definition: foldertreeview.h:41
bool canCreateCollection(Akonadi::Collection &parentCol)
Definition: folderselectiondialog.cpp:181
~FolderSelectionDialog()
Definition: folderselectiondialog.cpp:134
bool isEmpty() const
bool spontaneous() const
void setMargin(int margin)
Akonadi::Collection collectionFromId(const Akonadi::Collection::Id &id) const
Returns the collection associated with the given id, or an invalid collection if not found...
Definition: mailkernel.cpp:83
void readConfig()
Definition: folderselectiondialog.cpp:269
This is the widget that shows the main folder tree.
Definition: foldertreewidget.h:50
static QSharedPointer< FolderCollection > forCollection(const Akonadi::Collection &coll, bool writeConfig=true)
Definition: foldercollection.cpp:46
void hideEvent(QHideEvent *)
Definition: folderselectiondialog.cpp:299
QPoint pos()
Akonadi::Collection selectedCollection() const
Definition: folderselectiondialog.cpp:252
Definition: foldertreewidgetproxymodel.h:35
Definition: foldertreewidgetproxymodel.h:36
QAbstractItemView::SelectionMode selectionMode() const
Definition: folderselectiondialog.cpp:247
static const char * myConfigGroupName
Definition: folderselectiondialog.cpp:267
void focusTreeView()
Definition: folderselectiondialog.cpp:160
void showEvent(QShowEvent *)
Definition: folderselectiondialog.cpp:166
void writeConfig()
Definition: folderselectiondialog.cpp:286
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.