
#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
{
TQ_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
