• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kopete/libkopete

AddContactPage Class Reference

#include <addcontactpage.h>

Inheritance diagram for AddContactPage:

Inheritance graph
[legend]

List of all members.


Detailed Description

Author:
Duncan Mac-Vicar P.

<duncan@kde.org>

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:
  • addcontactpage.h
  • addcontactpage.cpp

kopete/libkopete

Skip menu "kopete/libkopete"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal