You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.5 KiB
63 lines
1.5 KiB
/*
|
|
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 TDECModule
|
|
{
|
|
Q_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:
|