summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/aim/ui/aimaddcontactpage.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-12-10 01:24:17 +0100
committerSlávek Banko <[email protected]>2019-12-10 01:24:17 +0100
commit91ba38a1df42b56caa73babc90ffa4f674c000d4 (patch)
treecb65a7a13ac72de8a4ef610424da9195edca0a0c /kopete/protocols/oscar/aim/ui/aimaddcontactpage.h
parentf2553c2ff47de1bcf060f22edd5c23d9cb653bc3 (diff)
downloadtdenetwork-91ba38a1df42b56caa73babc90ffa4f674c000d4.tar.gz
tdenetwork-91ba38a1df42b56caa73babc90ffa4f674c000d4.zip
kopete: Restore the AIM protocol because a replacement AIM server was created.
This reverts commits 036b0229db and dc34f9c391. Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kopete/protocols/oscar/aim/ui/aimaddcontactpage.h')
-rw-r--r--kopete/protocols/oscar/aim/ui/aimaddcontactpage.h42
1 files changed, 42 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..c3bcaa36
--- /dev/null
+++ b/kopete/protocols/oscar/aim/ui/aimaddcontactpage.h
@@ -0,0 +1,42 @@
+
+#ifndef AIMADDCONTACTPAGE_H
+#define AIMADDCONTACTPAGE_H
+
+#include <tqwidget.h>
+#include <tqlabel.h>
+#include "addcontactpage.h"
+
+class aimAddContactUI;
+class AIMAccount;
+namespace Kopete
+{
+class Account;
+class MetaContact;
+}
+
+class AIMAddContactPage : public AddContactPage
+{
+Q_OBJECT
+
+
+public:
+ AIMAddContactPage(bool connected, TQWidget *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;
+ TQLabel *noaddMsg1;
+ TQLabel *noaddMsg2;
+ bool canadd;
+};
+#endif
+
+//kate: tab-width 4; indent-mode csands;
+