mailcommon
folderrequester.cpp
Go to the documentation of this file.
120 void FolderRequester::setCollection( const Akonadi::Collection &collection, bool fetchCollection )
148 const Akonadi::CollectionFetchJob *fetchJob = qobject_cast<Akonadi::CollectionFetchJob*>( job );
Akonadi::Collection mCollection
Definition: folderrequester.h:121
void setContentsMargins(int left, int top, int right, int bottom)
virtual ~FolderRequester()
Definition: folderrequester.cpp:101
void setFocusPolicy(Qt::FocusPolicy policy)
void setIcon(const QIcon &icon)
Akonadi::Collection collection() const
Returns the selected collection.
Definition: folderrequester.cpp:105
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void setShowOutbox(bool show)
Definition: folderrequester.cpp:185
void ignore()
void setIconSize(const QSize &size)
void setCollectionFullPath(const Akonadi::Collection &col)
Definition: folderrequester.cpp:110
void setMustBeReadWrite(bool readwrite)
Sets if readonly folders should be disabled.
Definition: folderrequester.cpp:180
void setSizePolicy(QSizePolicy)
A dialog that lets the user select a folder.
Definition: folderselectiondialog.h:38
void folderChanged(const Akonadi::Collection &)
Emitted when the folder changed.
bool hasCollection() const
Returns true if there's a valid collection set on this widget.
Definition: folderrequester.cpp:165
int key() const
void setNotAllowToCreateNewFolder(bool notCreateNewFolder)
Definition: folderrequester.cpp:190
bool mNotCreateNewFolder
Definition: folderrequester.h:125
MAILCOMMON_EXPORT QString fullCollectionPath(const Akonadi::Collection &collection)
Definition: mailutil.cpp:115
void slotCollectionsReceived(KJob *)
Updates the information we have about the current folder.
Definition: folderrequester.cpp:140
void show()
void setCollection(const Akonadi::Collection &collection, bool fetchCollection=true)
Presets the folder to the collection collection.
Definition: folderrequester.cpp:120
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void setSpacing(int spacing)
void keyPressEvent(QKeyEvent *e)
Capture space key to open the dialog.
Definition: folderrequester.cpp:171
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.