kmail
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 (TQWidget *parent, KMFolderTree *tree) | |
KMFolder * | folder (void) const |
TQString | folderId () const |
TQString | text () const |
void | setFolder (KMFolder *) |
void | setFolder (const TQString &idString) |
void | setMustBeReadWrite (bool readwrite) |
void | setShowOutbox (bool show) |
void | setShowImapFolders (bool show) |
Protected Slots | |
void | slotOpenDialog () |
Protected Member Functions | |
virtual void | keyPressEvent (TQKeyEvent *e) |
Protected Attributes | |
KLineEdit * | edit |
KMFolder * | mFolder |
KMFolderTree * | mFolderTree |
TQString | mFolderId |
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.Definition at line 46 of file folderrequester.h.
Constructor & Destructor Documentation
KMail::FolderRequester::FolderRequester | ( | TQWidget * | parent, | |
KMFolderTree * | tree | |||
) |
Constructor.
- Parameters:
-
parent the parent widget tree the KMFolderTree to get the folders
Definition at line 44 of file folderrequester.cpp.
Member Function Documentation
KMFolder * KMail::FolderRequester::folder | ( | void | ) | const |
TQString KMail::FolderRequester::folderId | ( | ) | const [inline] |
TQString KMail::FolderRequester::text | ( | ) | const [inline] |
void KMail::FolderRequester::setFolder | ( | KMFolder * | folder | ) |
void KMail::FolderRequester::setMustBeReadWrite | ( | bool | readwrite | ) | [inline] |
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.
void KMail::FolderRequester::setShowOutbox | ( | bool | show | ) | [inline] |
void KMail::FolderRequester::setShowImapFolders | ( | bool | show | ) | [inline] |
void KMail::FolderRequester::slotOpenDialog | ( | ) | [protected, slot] |
void KMail::FolderRequester::folderChanged | ( | KMFolder * | ) | [signal] |
Emitted when the folder changed.
void KMail::FolderRequester::keyPressEvent | ( | TQKeyEvent * | e | ) | [protected, virtual] |
The documentation for this class was generated from the following files: