AccountSetupDialogContext Class Reference

Dialog to setup an account from the context menu. More...

#include <accountsetupdialogcontext.h>

List of all members.

Public Member Functions

 AccountSetupDialogContext (QWidget *parent, QString accountName)
 General constructor.
 ~AccountSetupDialogContext ()
 Destructor.

Protected Slots

void slotPasswordStorageChanged (int id)
 Connected with the password button group.
void slotSecureTransferChanged (int id)
 Connected with the secure transfer button group.
virtual void slotButtonClicked (int button)
 Overwritten method of KDialog. Called if a button was clicked.

Protected Member Functions

void load ()
 Loads the setup from the application config and fills the dialog.
void save ()
 Saves the setup into the application config.
void enableLoginCheckbox ()
 Enables or disables the unsecure login checkbox depending on the chosen security.


Detailed Description

Dialog to setup an account from the context menu.

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

Definition at line 67 of file accountsetupdialogcontext.h.


Constructor & Destructor Documentation

AccountSetupDialogContext::AccountSetupDialogContext ( QWidget *  parent,
QString  accountName 
)

General constructor.

Parameters:
parent parent of the dialog
accountName name of the account to config

Definition at line 20 of file accountsetupdialogcontext.cpp.


Member Function Documentation

void AccountSetupDialogContext::slotPasswordStorageChanged ( int  id  )  [protected, slot]

Connected with the password button group.

Enabled or disabled the password edit line.

Parameters:
id button identifier

Definition at line 183 of file accountsetupdialogcontext.cpp.

void AccountSetupDialogContext::slotSecureTransferChanged ( int  id  )  [protected, slot]

Connected with the secure transfer button group.

Changes the port number.

Parameters:
id button identifier

Definition at line 288 of file accountsetupdialogcontext.cpp.

void AccountSetupDialogContext::slotButtonClicked ( int  button  )  [protected, virtual, slot]

Overwritten method of KDialog. Called if a button was clicked.

If OK was clicked it stores the entered values into the given account item. If no item was given it creates a new one.

Parameters:
button is the type KDialog::ButtonCode

Definition at line 194 of file accountsetupdialogcontext.cpp.


The documentation for this class was generated from the following files:

Generated on Tue May 18 19:43:52 2010 for KShowmail by  doxygen 1.5.6