summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/config/accounts/kopeteaccountconfig.h
blob: ad4341379c158132e7fa98177d3f7bff704a7b80 (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
60
61
62
/*
    accountconfig.h  -  Kopete account config page

    Copyright (c) 2003-2004 by Olivier Goffart <ogoffart @ 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 __ACCOUNTCONFIG_H
#define __ACCOUNTCONFIG_H

#include <kcmodule.h>
#include <tqmap.h>
#include <tqcolor.h>

namespace Kopete
{
class Account;
}

class KopeteAccountConfigBase;

/**
 * @author Olivier Goffart <ogoffart @ kde.org>
 */
class KopeteAccountConfig : public KCModule
{
	Q_OBJECT
  TQ_OBJECT

public:
	KopeteAccountConfig(TQWidget *parent, const char *name, const TQStringList &args );

public slots:
	virtual void save();
	virtual void load();

private:
	KopeteAccountConfigBase *m_view;
	TQMap<Kopete::Account* , TQColor> m_newColors;
	bool m_protected;

private slots:
	void slotRemoveAccount();
	void slotEditAccount();
	void slotAddAccount();
	void slotAddWizardDone();
	void slotItemSelected();
	void slotAccountUp();
	void slotAccountDown();
	void slotColorChanged();
};
#endif

// vim: set noet ts=4 sts=4 sw=4: