blob: 981052b4fe3003a23c85615315dfef127898a2aa (
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
63
64
|
/*
fastaddcontactwizard.h - Kopete's Fast Add Contact Wizard
Copyright (c) 2003 by Will Stephenson <will@stevello.free-online.co.uk>
Derived from AddContactWizard
Copyright (c) 2002 by Nick Betcher <nbetcher@kde.org>
Copyright (c) 2002 by Duncan Mac-Vicar Prett <duncan@kde.org>
Kopete (c) 2002 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 FASTADDCONTACTWIZARD_H
#define FASTADDCONTACTWIZARD_H
#include <kdebug.h>
#include <klistview.h>
#include <tqptrlist.h>
#include <tqvaluelist.h>
#include <tqmap.h>
#include <kdebug.h>
#include <klistview.h>
#include "fastaddcontactwizard_base.h"
class AddContactPage;
class TQListViewItem;
namespace Kopete
{
class Account;
}
/**
* This is a streamlined add contact wizard for users with simple tastes.
* @author Will Stephenson
*/
class FastAddContactWizard : public FastAddContactWizard_Base
{
Q_OBJECT
public:
FastAddContactWizard( TQWidget *parent = 0, const char *name = 0 );
~FastAddContactWizard();
private:
TQMap <Kopete::Account*,AddContactPage*> protocolPages;
TQMap <TQListViewItem*,Kopete::Account*> m_accountItems;
public slots:
virtual void accept();
void slotProtocolListClicked( TQListViewItem * );
protected slots:
virtual void next();
};
#endif
|