an Extendable KDE Blogging Client Logo

Blokkal::Ui::EditAccountWidget Class Reference

Base Class for widgets to edit account properties. More...

#include <editaccountwidget.h>

Inheritance diagram for Blokkal::Ui::EditAccountWidget:


List of all members.


void valuesChanged (void)

Public Member Functions

virtual Blokkal::Accountapply (void)=0
 EditAccountWidget (Blokkal::Protocol *protocol, Blokkal::Account *account, QWidget *parent=0)
virtual bool isValid (void) const =0
Blokkal::Protocolprotocol (void) const
virtual ~EditAccountWidget (void)

Protected Member Functions

Blokkal::Accountaccount (void) const

Detailed Description

Base Class for widgets to edit account properties.

Base Class for widgets to edit account properties.

Martin Müller <>

Definition at line 38 of file editaccountwidget.h.

Constructor & Destructor Documentation

Blokkal::Ui::EditAccountWidget::EditAccountWidget ( Blokkal::Protocol protocol,
Blokkal::Account account,
QWidget *  parent = 0 

Constructs a new EditAccountWidget.

protocol the protocol object
account the account object for this widget, may be null
parent the parent widget

Definition at line 47 of file editaccountwidget.cpp.

Blokkal::Ui::EditAccountWidget::~EditAccountWidget ( void   )  [virtual]


Definition at line 55 of file editaccountwidget.cpp.

Member Function Documentation

Blokkal::Account * Blokkal::Ui::EditAccountWidget::account ( void   )  const [protected]

This method returns a pointer to the account object.

this method may return 0, if this widget is used to create a new account and apply() has not been called yet!
the account object

Definition at line 60 of file editaccountwidget.cpp.

virtual Blokkal::Account* Blokkal::Ui::EditAccountWidget::apply ( void   )  [pure virtual]

This method returns a pointer to the updated account object.

the account object

Implemented in Blokkal::Ui::GenericEditAccountWidget.

virtual bool Blokkal::Ui::EditAccountWidget::isValid ( void   )  const [pure virtual]

This method is called to determine if the entered information is valid.

TRUE if the entered information is valid

Implemented in Blokkal::Ui::GenericEditAccountWidget.

Blokkal::Protocol * Blokkal::Ui::EditAccountWidget::protocol ( void   )  const

This method returns a pointer to the protocol.

the protocol object

Definition at line 65 of file editaccountwidget.cpp.

void Blokkal::Ui::EditAccountWidget::valuesChanged ( void   )  [signal]

This signal is emitted whenever the values in this widget change.

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