summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/aim/ui/aimeditaccountwidget.h
blob: b3c4ad3a70cf1ebadc93ddadc57a8b2862f361e3 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/*
    AIMeditaccountwidget.h - AIM Account Widget

    Copyright (c) 2003 by Chris TenHarmsel  <tenharmsel@staticmethod.net>

    Kopete    (c) 2003 by the Kopete developers  <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 AIMEDITACCOUNTWIDGET_H
#define AIMEDITACCOUNTWIDGET_H

#include <tqwidget.h>
#include "editaccountwidget.h"
/**
 * @author Chris TenHarmsel <tenharmsel@staticmethod.net>
 */

namespace Kopete
{
class Account;
}

class AIMAccount;
class AIMProtocol;
class aimEditAccountUI;

class AIMEditAccountWidget : public TQWidget, public KopeteEditAccountWidget
{
Q_OBJECT
  TQ_OBJECT

public:
	AIMEditAccountWidget(AIMProtocol *protocol, Kopete::Account *account,
	                     TQWidget *tqparent=0, const char *name=0);
	virtual ~AIMEditAccountWidget();
	
	virtual bool validateData();
	virtual Kopete::Account *apply();
	
private slots:
	void slotOpenRegister();
	
protected:
	AIMAccount *mAccount;
	AIMProtocol *mProtocol;
	aimEditAccountUI *mGui;
};
#endif
//kate: tab-width 4; indent-mode csands;