Part of the setup dialog (KShowMailApp::SetupDialog) to configure the log. More...
#include <configlog.h>
Public Member Functions | |
ConfigLog (QWidget *parent=0, const QVariantList &args=QVariantList()) | |
~ConfigLog () | |
virtual void | load () |
virtual void | defaults () |
virtual void | save () |
Private Slots | |
void | slotChanged () |
void | slotChangeItems () |
Private Attributes | |
KSharedConfigPtr | config |
QCheckBox * | chkLogDeletedMails |
QCheckBox * | chkLogMovedMails |
QCheckBox * | chkLogManualDeletedMails |
QButtonGroup * | grpDelMailsRemove |
QButtonGroup * | grpMovMailsRemove |
QButtonGroup * | grpManualDelMailsRemove |
QSpinBox * | spbDelDays |
QSpinBox * | spbMovDays |
QSpinBox * | spbManualDelDays |
QRadioButton * | btnDelMailsRemoveExit |
QRadioButton * | btnDelMailsRemoveDays |
QRadioButton * | btnMovMailsRemoveExit |
QRadioButton * | btnMovMailsRemoveDays |
QRadioButton * | btnManualDelMailsRemoveExit |
QRadioButton * | btnManualDelMailsRemoveDays |
Part of the setup dialog (KShowMailApp::SetupDialog) to configure the log.
Definition at line 50 of file configlog.h.
ConfigLog::ConfigLog | ( | QWidget * | parent = 0 , |
|
const QVariantList & | args = QVariantList() | |||
) | [explicit] |
Generic constructor
parent | parent widget
|
Definition at line 23 of file configlog.cpp.
ConfigLog::~ConfigLog | ( | ) |
Destructor
Definition at line 152 of file configlog.cpp.
void ConfigLog::defaults | ( | ) | [virtual] |
Overloaded method of KCModule. Sets the user interface elements to default values. This method is called when the user clicks the "Default" button.
Definition at line 212 of file configlog.cpp.
void ConfigLog::load | ( | ) | [virtual] |
Overloaded method of KCModule. Sets the user interface elements to reflect the current settings stored in the config file.
Definition at line 156 of file configlog.cpp.
void ConfigLog::save | ( | ) | [virtual] |
Overloaded method of KCModule. Stores the config information as shown in the user interface in the config file. Is called when the user clicks "Apply" or "Ok".
Definition at line 267 of file configlog.cpp.
void ConfigLog::slotChanged | ( | ) | [private, slot] |
Connected with the configuration items. Calls the slot changed() of KCModule to notify the dialog about the change.
Definition at line 303 of file configlog.cpp.
void ConfigLog::slotChangeItems | ( | ) | [private, slot] |
Connected with the checkboxes and radiobuttons. Enables or disables the dialog items.
Definition at line 308 of file configlog.cpp.
QRadioButton* ConfigLog::btnDelMailsRemoveDays [private] |
Radio button to select the removing of entries about deleted mails after some days.
Definition at line 150 of file configlog.h.
QRadioButton* ConfigLog::btnDelMailsRemoveExit [private] |
Radio button to select the removing of entries about deleted mails at application exit.
Definition at line 145 of file configlog.h.
QRadioButton* ConfigLog::btnManualDelMailsRemoveDays [private] |
Radio button to select the removing of entries about manual deleted mails after some days.
Definition at line 170 of file configlog.h.
QRadioButton* ConfigLog::btnManualDelMailsRemoveExit [private] |
Radio button to select the removing of entries about manual deleted mails at application exit.
Definition at line 165 of file configlog.h.
QRadioButton* ConfigLog::btnMovMailsRemoveDays [private] |
Radio button to select the removing of entries about moved mails after some days.
Definition at line 160 of file configlog.h.
QRadioButton* ConfigLog::btnMovMailsRemoveExit [private] |
Radio button to select the removing of entries about moved mails at application exit.
Definition at line 155 of file configlog.h.
QCheckBox* ConfigLog::chkLogDeletedMails [private] |
Checkbox to activate log of deleted mails
Definition at line 100 of file configlog.h.
QCheckBox* ConfigLog::chkLogManualDeletedMails [private] |
Checkbox to activate log of manual deleted mails
Definition at line 110 of file configlog.h.
QCheckBox* ConfigLog::chkLogMovedMails [private] |
Checkbox to activate log of moved mails
Definition at line 105 of file configlog.h.
KSharedConfigPtr ConfigLog::config [private] |
Connector to the configuration file
Definition at line 95 of file configlog.h.
QButtonGroup* ConfigLog::grpDelMailsRemove [private] |
Combines the radio buttons to select the kind of removing log entries of deleted mails
Definition at line 115 of file configlog.h.
QButtonGroup* ConfigLog::grpManualDelMailsRemove [private] |
Combines the radio buttons to select the kind of removing log entries of manual deleted mails
Definition at line 125 of file configlog.h.
QButtonGroup* ConfigLog::grpMovMailsRemove [private] |
Combines the radio buttons to select the kind of removing log entries of moved mails
Definition at line 120 of file configlog.h.
QSpinBox* ConfigLog::spbDelDays [private] |
Spinbox to select the number of days to remove.
Definition at line 130 of file configlog.h.
QSpinBox* ConfigLog::spbManualDelDays [private] |
Spinbox to select the number of days to remove the logs of manual deleted mails.
Definition at line 140 of file configlog.h.
QSpinBox* ConfigLog::spbMovDays [private] |
Spinbox to select the number of days to remove.
Definition at line 135 of file configlog.h.