ConfigGeneral Class Reference

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

#include <configgeneral.h>

List of all members.

Public Slots

void slotChanged ()
void slotAutomaticRefreshChanged (bool checked)

Public Member Functions

 ConfigGeneral (QWidget *parent=0, const QVariantList &args=QVariantList())
 ~ConfigGeneral ()
virtual void load ()
virtual void defaults ()
virtual void save ()

Private Attributes

KSharedConfigPtr config
QCheckBox * chkConfirmClose
QCheckBox * chkConfirmDelete
QCheckBox * chkStartMinimized
QCheckBox * chkCloseToTray
QCheckBox * chkShowConnectionErrors
QCheckBox * chkKeepNew
QCheckBox * chkAutomaticRefresh
QCheckBox * chkStoreHeaders
QSpinBox * spbInitial
QSpinBox * spbInterval
QLabel * lblTimerInterval
QLabel * lblTimerInitial
QSpinBox * spbTimeout
QButtonGroup * grpDoubleClick
QRadioButton * btnDoubleClickShowHeader
QRadioButton * btnDoubleClickShowBody

Detailed Description

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

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

Definition at line 49 of file configgeneral.h.


Constructor & Destructor Documentation

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

Generic Constructor

Parameters:
parent parent widget
Parameters:
args arguments

Definition at line 23 of file configgeneral.cpp.

ConfigGeneral::~ConfigGeneral (  ) 

Destructor

Definition at line 157 of file configgeneral.cpp.


Member Function Documentation

void ConfigGeneral::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 197 of file configgeneral.cpp.

void ConfigGeneral::load (  )  [virtual]

Overloaded method of KCModule. Sets the user interface elements to reflect the current settings stored in the config file.

Definition at line 161 of file configgeneral.cpp.

void ConfigGeneral::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 227 of file configgeneral.cpp.

void ConfigGeneral::slotAutomaticRefreshChanged ( bool  checked  )  [slot]

Connected with the check box of automatic refresh.

Enables or disables the refresh timer spin boxes

Parameters:
checked TRUE - box is checked; FALSE - box is not checked

Definition at line 262 of file configgeneral.cpp.

void ConfigGeneral::slotChanged (  )  [slot]

Connected with the configuration items. Calls the slot changed() of KCModule to notify the dialog about the change.

Definition at line 257 of file configgeneral.cpp.


Member Data Documentation

QRadioButton* ConfigGeneral::btnDoubleClickShowBody [private]

Radio button to select the standard double click action is to show the mail body

Definition at line 174 of file configgeneral.h.

QRadioButton* ConfigGeneral::btnDoubleClickShowHeader [private]

Radio button to select the standard double click action is to show the header

Definition at line 169 of file configgeneral.h.

QCheckBox* ConfigGeneral::chkAutomaticRefresh [private]

Check box to select automatic refresh

Definition at line 129 of file configgeneral.h.

QCheckBox* ConfigGeneral::chkCloseToTray [private]

Check box to select whether the close button leave the application running in tray.

Definition at line 114 of file configgeneral.h.

QCheckBox* ConfigGeneral::chkConfirmClose [private]

Check box to select whether window closing must be confirmed.

Definition at line 99 of file configgeneral.h.

QCheckBox* ConfigGeneral::chkConfirmDelete [private]

Check box to select whether deleting must be confirmed.

Definition at line 104 of file configgeneral.h.

QCheckBox* ConfigGeneral::chkKeepNew [private]

Check box to select whether mails will be kept as new until termination.

Definition at line 124 of file configgeneral.h.

Check box to select whether connection errors will be shown.

Definition at line 119 of file configgeneral.h.

QCheckBox* ConfigGeneral::chkStartMinimized [private]

Check box to select whether the main window will be minimized at start.

Definition at line 109 of file configgeneral.h.

QCheckBox* ConfigGeneral::chkStoreHeaders [private]

Check box to select whether the received mail headers will be stored at exit and reload at start

Definition at line 134 of file configgeneral.h.

KSharedConfigPtr ConfigGeneral::config [private]

Connector to the configuration file

Definition at line 94 of file configgeneral.h.

QButtonGroup* ConfigGeneral::grpDoubleClick [private]

Combines the radio buttons to select the standard double click action

Definition at line 164 of file configgeneral.h.

QLabel* ConfigGeneral::lblTimerInitial [private]

Label for initial timer

Definition at line 154 of file configgeneral.h.

Label for interval timer

Definition at line 149 of file configgeneral.h.

QSpinBox* ConfigGeneral::spbInitial [private]

Spin box to set the initial timer.

Definition at line 139 of file configgeneral.h.

QSpinBox* ConfigGeneral::spbInterval [private]

Spin box to set the interval timer.

Definition at line 144 of file configgeneral.h.

QSpinBox* ConfigGeneral::spbTimeout [private]

Spin box to set the time out timer.

Definition at line 159 of file configgeneral.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