summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/config/accounts/kopeteaccountconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/kopete/config/accounts/kopeteaccountconfig.h')
-rw-r--r--kopete/kopete/config/accounts/kopeteaccountconfig.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/kopete/kopete/config/accounts/kopeteaccountconfig.h b/kopete/kopete/config/accounts/kopeteaccountconfig.h
new file mode 100644
index 00000000..9aec2a60
--- /dev/null
+++ b/kopete/kopete/config/accounts/kopeteaccountconfig.h
@@ -0,0 +1,61 @@
+/*
+ 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 <qmap.h>
+#include <qcolor.h>
+
+namespace Kopete
+{
+class Account;
+}
+
+class KopeteAccountConfigBase;
+
+/**
+ * @author Olivier Goffart <ogoffart @ kde.org>
+ */
+class KopeteAccountConfig : public KCModule
+{
+ Q_OBJECT
+
+public:
+ KopeteAccountConfig(QWidget *parent, const char *name, const QStringList &args );
+
+public slots:
+ virtual void save();
+ virtual void load();
+
+private:
+ KopeteAccountConfigBase *m_view;
+ QMap<Kopete::Account* , QColor> 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: