29 #ifndef folderrequester_h
30 #define folderrequester_h
33 #include <klineedit.h>
64 TQString
folderId()
const {
return mFolderId; }
67 TQString
text()
const {
return edit->originalText(); }
71 void setFolder(
const TQString& idString );
79 { mMustBeReadWrite = readwrite; }
83 { mShowOutbox = show; }
87 { mShowImapFolders = show; }
104 KMFolderTree* mFolderTree;
106 bool mMustBeReadWrite;
108 bool mShowImapFolders;
A widget that contains a KLineEdit which shows the current folder and a button that fires a KMFolderS...
TQString text() const
Returns current text.
FolderRequester(TQWidget *parent, KMFolderTree *tree)
Constructor.
void setShowOutbox(bool show)
Set if the outbox should be shown.
KMFolder * folder(void) const
Returns selected folder.
virtual void keyPressEvent(TQKeyEvent *e)
Capture space key to open the dialog.
void setFolder(KMFolder *)
Preset the folder.
TQString folderId() const
Returns the folder id.
void setMustBeReadWrite(bool readwrite)
Set if readonly folders should be disabled Be aware that if you disable this the user can also select...
void slotOpenDialog()
Open the folder dialog.
void setShowImapFolders(bool show)
Set if the imap folders should be shown.
void folderChanged(KMFolder *)
Emitted when the folder changed.