KMail::FolderRequester Class Reference
A widget that contains a KLineEdit which shows the current folder and a button that fires a KMFolderSelDlg The dialog is set to disable readonly folders by default Search folders are excluded. More...
#include <folderrequester.h>
Inherits QWidget.
Signals
- void folderChanged (KMFolder *)
Public Member Functions
- FolderRequester (QWidget *parent, KMFolderTree *tree)
- KMFolder * folder (void) const
- QString text () const
- void setFolder (KMFolder *)
- void setFolder (const QString &idString)
- void setMustBeReadWrite (bool readwrite)
- void setShowOutbox (bool show)
- void setShowImapFolders (bool show)
Protected Slots
- void slotOpenDialog ()
Protected Member Functions
- virtual void keyPressEvent (QKeyEvent *e)
Protected Attributes
- KLineEdit * edit
- KMFolder * mFolder
- KMFolderTree * mFolderTree
- bool mMustBeReadWrite
- bool mShowOutbox
- bool mShowImapFolders
Detailed Description
A widget that contains a KLineEdit which shows the current folder and a button that fires a KMFolderSelDlg The dialog is set to disable readonly folders by default Search folders are excluded.
Constructor & Destructor Documentation
|
Constructor.
|
Member Function Documentation
|
Returns selected folder.
|
|
Returns current text.
|
|
Preset the folder.
|
|
Set if readonly folders should be disabled Be aware that if you disable this the user can also select the 'Local Folders' folder which has no valid folder associated.
|
|
Set if the outbox should be shown.
|
|
Set if the imap folders should be shown.
|
|
Open the folder dialog.
|
|
Emitted when the folder changed.
|
|
Capture space key to open the dialog.
|
The documentation for this class was generated from the following files:
- folderrequester.h
- folderrequester.cpp