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

kopete/libkopete

Signals | Public Member Functions | List of all members
AddContactPage Class Referenceabstract

#include <addcontactpage.h>

Inheritance diagram for AddContactPage:
Inheritance graph
[legend]

Signals

void dataValid (AddContactPage *, bool)
 

Public Member Functions

 AddContactPage (QWidget *parent=0)
 
virtual ~AddContactPage ()
 
virtual bool apply (Kopete::Account *, Kopete::MetaContact *)=0
 
virtual bool validateData ()=0
 

Detailed Description

Author
Duncan Mac-Vicar P. dunca.nosp@m.n@kd.nosp@m.e.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.

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::apply ( Kopete::Account *  ,
Kopete::MetaContact *   
)
pure virtual

add the contact to 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.

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


The documentation for this class was generated from the following files:
  • addcontactpage.h
  • addcontactpage.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/libkopete

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

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal