kmail
KMail::FolderRequester Class Reference
#include <folderrequester.h>
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.
Definition at line 46 of file folderrequester.h.
Signals | |
void | folderChanged (KMFolder *) |
Public Member Functions | |
FolderRequester (QWidget *parent, KMFolderTree *tree) | |
virtual | ~FolderRequester () |
KMFolder * | folder (void) const |
QString | folderId () 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 |
QString | mFolderId |
bool | mMustBeReadWrite |
bool | mShowOutbox |
bool | mShowImapFolders |
Constructor & Destructor Documentation
|
Constructor.
Definition at line 44 of file folderrequester.cpp. |
Member Function Documentation
|
Returns selected folder.
Definition at line 81 of file folderrequester.cpp. |
|
Emitted when the folder changed.
|
|
Returns the folder id.
Definition at line 63 of file folderrequester.h. |
|
Capture space key to open the dialog.
Definition at line 117 of file folderrequester.cpp. |
|
Preset the folder.
Definition at line 87 of file folderrequester.cpp. |
|
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.
Definition at line 77 of file folderrequester.h. |
|
Set if the imap folders should be shown.
Definition at line 85 of file folderrequester.h. |
|
Set if the outbox should be shown.
Definition at line 81 of file folderrequester.h. |
|
Open the folder dialog.
Definition at line 64 of file folderrequester.cpp. |
|
Returns current text.
Definition at line 66 of file folderrequester.h. |
The documentation for this class was generated from the following files: