kopete/libkopete
AddContactPage Class Reference
#include <addcontactpage.h>
Inheritance diagram for AddContactPage:

Detailed Description
- Todo:
- i want to be able to have a assync apply. (in the case of jabber, i need to translate the legacy id to a JID) this could also be useful in the case of MLSN to check if no error (and also jabber)
Definition at line 33 of file addcontactpage.h.
Signals | |
| void | dataValid (AddContactPage *, bool) |
Public Member Functions | |
| AddContactPage (QWidget *parent=0) | |
| virtual | ~AddContactPage () |
| virtual bool | validateData ()=0 |
| virtual bool | apply (Kopete::Account *, Kopete::MetaContact *)=0 |
Constructor & Destructor Documentation
| AddContactPage::AddContactPage | ( | QWidget * | parent = 0 |
) |
Definition at line 20 of file addcontactpage.cpp.
| AddContactPage::~AddContactPage | ( | ) | [virtual] |
Definition at line 24 of file addcontactpage.cpp.
Member Function Documentation
| virtual bool AddContactPage::validateData | ( | ) | [pure virtual] |
Plugin should reimplement this methode.
return true if the content of the page are valid
This method is called in the add account wizzard when the user press the next button and this page is showed. when it return false, it does not go to the nextpage. You should popup a dialog to explain WHY the page has not been validate
| virtual bool AddContactPage::apply | ( | Kopete::Account * | , | |
| Kopete::MetaContact * | ||||
| ) | [pure virtual] |
add the contact the the specified meta contact, with the given account return false if the contact has not been added
| void AddContactPage::dataValid | ( | AddContactPage * | , | |
| bool | ||||
| ) | [signal] |
New incarnation of validateData, emit it every time you think the current data is valid/invalid.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference