summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/aim/ui/aimaddcontactpage.h
blob: e186ac610a6ab9d37a59c61a79f8a42cb7cbc7bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
  TQ_OBJECT

public:
	AIMAddContactPage(bool connected, TQWidget *tqparent=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;