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;
TQString folderId() const
Returns the folder id.
void folderChanged(KMFolder *)
Emitted when the folder changed.
KMFolder * folder(void) const
Returns selected folder.
A widget that contains a KLineEdit which shows the current folder and a button that fires a KMFolderS...
void slotOpenDialog()
Open the folder dialog.
void setMustBeReadWrite(bool readwrite)
Set if readonly folders should be disabled Be aware that if you disable this the user can also select...
virtual void keyPressEvent(TQKeyEvent *e)
Capture space key to open the dialog.
FolderRequester(TQWidget *parent, KMFolderTree *tree)
Constructor.
void setShowOutbox(bool show)
Set if the outbox should be shown.
TQString text() const
Returns current text.
void setShowImapFolders(bool show)
Set if the imap folders should be shown.
void setFolder(KMFolder *)
Preset the folder.