/*************************************************************************** jabberaccountwidget.h - Account widget for Jabber ------------------- begin : Mon Dec 9 2002 copyright : (C) 2002-2003 by Till Gerken Based on code by Olivier Goffart email : kopete-devel@kde.org ***************************************************************************/ /*************************************************************************** * * * 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 JABBEREDITACCOUNTWIDEGET_H #define JABBEREDITACCOUNTWIDEGET_H #include #include #include "editaccountwidget.h" #include "jabberaccount.h" #include "dlgjabbereditaccountwidget.h" #include "jabberprotocol.h" /** *@author Till Gerken */ class JabberEditAccountWidget:public DlgJabberEditAccountWidget, public KopeteEditAccountWidget { TQ_OBJECT public: JabberEditAccountWidget (JabberProtocol * proto, JabberAccount *, TQWidget * parent = 0, const char *name = 0); ~JabberEditAccountWidget (); virtual bool validateData (); virtual Kopete::Account *apply (); JabberAccount *account (); private slots: void registerClicked (); void slotChangePasswordClicked (); void slotChangePasswordFinished (); void deleteClicked (); void sslToggled (bool); void updateServerField (); private: JabberProtocol *m_protocol; void reopen (); void writeConfig (); }; #endif