ConfigLog Class Reference

Part of the setup dialog (KShowMailApp::SetupDialog) to configure the log. More...

#include <configlog.h>

List of all members.

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

Detailed Description

Part of the setup dialog (KShowMailApp::SetupDialog) to configure the log.

Author:
Ulrich Weigelt <ulrich.weigelt@gmx.de>

Definition at line 50 of file configlog.h.


Constructor & Destructor Documentation

ConfigLog::ConfigLog ( QWidget *  parent = 0,
const QVariantList &  args = QVariantList() 
) [explicit]

Generic constructor

Parameters:
parent parent widget
Parameters:
args arguments

Definition at line 23 of file configlog.cpp.

ConfigLog::~ConfigLog (  ) 

Destructor

Definition at line 152 of file configlog.cpp.


Member Function Documentation

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.


Member Data Documentation

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.

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.


The documentation for this class was generated from the following files:
Generated on Sun Mar 13 15:27:10 2011 for KShowmail by  doxygen 1.6.3