kopete/libkopete
addcontactpage.h
Go to the documentation of this file.00001 /* 00002 addcontactpage.h - Kopete's Add Contact GUI 00003 00004 Copyright (c) 2002 by Duncan Mac-Vicar Prett <duncan@kde.org> 00005 00006 Kopete (c) 2002-2004 by the Kopete developers <kopete-devel@kde.org> 00007 00008 ************************************************************************* 00009 * * 00010 * This library is free software; you can redistribute it and/or * 00011 * modify it under the terms of the GNU Lesser General Public * 00012 * License as published by the Free Software Foundation; either * 00013 * version 2 of the License, or (at your option) any later version. * 00014 * * 00015 ************************************************************************* 00016 */ 00017 00018 #ifndef ADDCONTACTPAGE_H 00019 #define ADDCONTACTPAGE_H 00020 00021 #include <QtGui/QWidget> 00022 00023 #include <kopeteprotocol.h> 00024 #include <kopete_export.h> 00025 00033 class KOPETE_EXPORT AddContactPage : public QWidget 00034 { 00035 Q_OBJECT 00036 00037 public: 00038 AddContactPage(QWidget *parent=0); 00039 virtual ~AddContactPage(); 00040 //Kopete::Protocol *protocol; 00041 00050 virtual bool validateData()=0; 00051 00056 virtual bool apply(Kopete::Account * , Kopete::MetaContact *) = 0; 00057 00058 signals: 00062 void dataValid( AddContactPage *, bool); 00063 }; 00064 00065 #endif 00066 // vim: set noet ts=4 sts=4 sw=4:
KDE 4.2 API Reference