/* addcontactwizard.h - Kopete's Add Contact Wizard Copyright (c) 2003 by Will Stephenson Copyright (c) 2002 by Nick Betcher Copyright (c) 2002 by Duncan Mac-Vicar Prett Kopete (c) 2002-2004 by the Kopete developers ************************************************************************* * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ************************************************************************* */ #ifndef ADDCONTACTWIZARD_H #define ADDCONTACTWIZARD_H #include #include #include #include #include #include "addcontactwizard_base.h" class AddContactPage; class TQCheckListItem; namespace Kopete { class Protocol; class Account; class Group; namespace UI { class AddressBookSelectorWidget; } } /** * @author Duncan Mac-Vicar P. */ class AddContactWizard : public AddContactWizard_Base { Q_OBJECT public: AddContactWizard( TQWidget *parent = 0, const char *name = 0 ); ~AddContactWizard(); virtual void showPage( TQWidget *page ); private: //Kopete::Protocol *currentProtocol; //AddContactPage *currentDataWidget; TQMap protocolPages; TQMap m_accountItems; TQMap m_groupItems; Kopete::UI::AddressBookSelectorWidget *m_addressbookSelectorWidget; public slots: virtual void accept(); virtual void reject(); void slotProtocolListClicked( TQListViewItem * ); void slotAddGroupClicked(); protected slots: virtual void next(); void slotCheckAddresseeChoice( bool on ); void slotAddresseeListClicked( TQListViewItem *addressee ); void slotDataValid( AddContactPage *onPage, bool bOn); }; #endif // vim: set noet ts=4 sts=4 sw=4: