diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | bcb704366cb5e333a626c18c308c7e0448a8e69f (patch) | |
tree | f0d6ab7d78ecdd9207cf46536376b44b91a1ca71 /kopete/protocols/oscar/aim/ui/aimaddcontactpage.h | |
download | tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.tar.gz tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/oscar/aim/ui/aimaddcontactpage.h')
-rw-r--r-- | kopete/protocols/oscar/aim/ui/aimaddcontactpage.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/kopete/protocols/oscar/aim/ui/aimaddcontactpage.h b/kopete/protocols/oscar/aim/ui/aimaddcontactpage.h new file mode 100644 index 00000000..979d0472 --- /dev/null +++ b/kopete/protocols/oscar/aim/ui/aimaddcontactpage.h @@ -0,0 +1,41 @@ + +#ifndef AIMADDCONTACTPAGE_H +#define AIMADDCONTACTPAGE_H + +#include <qwidget.h> +#include <qlabel.h> +#include "addcontactpage.h" + +class aimAddContactUI; +class AIMAccount; +namespace Kopete +{ +class Account; +class MetaContact; +} + +class AIMAddContactPage : public AddContactPage +{ +Q_OBJECT + +public: + AIMAddContactPage(bool connected, QWidget *parent=0, + const char *name=0); + ~AIMAddContactPage(); + + /** Validates the data entered */ + virtual bool validateData(); + /** Applies the addition to the account */ + virtual bool apply( Kopete::Account *account, Kopete::MetaContact *); + +protected: + /** The actual GUI */ + aimAddContactUI *m_gui; + QLabel *noaddMsg1; + QLabel *noaddMsg2; + bool canadd; +}; +#endif + +//kate: tab-width 4; indent-mode csands; + |