Wizard to configure the mailbox to which a filteres mail shall be moved. More...
#include <mailboxwizard.h>
Public Member Functions | |
MailBoxWizard (QWidget *parent=0) | |
Constructor. | |
~MailBoxWizard () | |
QString | getPath () |
Private Slots | |
void | slotOpenDirDialog () |
void | slotPageChanged (int pageID) |
Private Member Functions | |
bool | isMailDir (const QDir &path) |
void | addMailBoxListItem (QString boxname, QDir path) |
Private Attributes | |
KLineEdit * | txtMailDir |
KPushButton * | btnMailDir |
QTreeWidget * | lstMailboxes |
Wizard to configure the mailbox to which a filteres mail shall be moved.
Definition at line 51 of file mailboxwizard.h.
MailBoxWizard::MailBoxWizard | ( | QWidget * | parent = 0 |
) |
MailBoxWizard::~MailBoxWizard | ( | ) |
Destructor
Definition at line 64 of file mailboxwizard.cpp.
void MailBoxWizard::addMailBoxListItem | ( | QString | boxname, | |
QDir | path | |||
) | [private] |
Adds a new mailbox list view item to the mailbox list or to a given parent item.
boxname | name of the mailbox
|
Definition at line 138 of file mailboxwizard.cpp.
QString MailBoxWizard::getPath | ( | ) |
Returns the absolute path of the selected mailbox.
Definition at line 162 of file mailboxwizard.cpp.
bool MailBoxWizard::isMailDir | ( | const QDir & | path | ) | [private] |
Returns whether the given directory is a maildir directory
path | the directory for test
|
Definition at line 111 of file mailboxwizard.cpp.
void MailBoxWizard::slotOpenDirDialog | ( | ) | [private, slot] |
Connected with btnMailDir. Opens a file dialog to choose the mail directory.
Definition at line 68 of file mailboxwizard.cpp.
void MailBoxWizard::slotPageChanged | ( | int | pageID | ) | [private, slot] |
Connected with the signal selected of this wizard. Searchs for mailboxes inside the path typed in page1.
pageID | ID of the showed page |
Definition at line 83 of file mailboxwizard.cpp.
KPushButton* MailBoxWizard::btnMailDir [private] |
This button opens a file dialog to slecht the mail directory
Definition at line 85 of file mailboxwizard.h.
QTreeWidget* MailBoxWizard::lstMailboxes [private] |
This view shows the available mailboxes in the selected directory
Definition at line 90 of file mailboxwizard.h.
KLineEdit* MailBoxWizard::txtMailDir [private] |
This contains the path to the mail directory
Definition at line 80 of file mailboxwizard.h.