~ubuntu-branches/ubuntu/saucy/kopete/saucy-proposed

« back to all changes in this revision

Viewing changes to kopete/addaccountwizard/addaccountwizard.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-06-21 02:22:39 UTC
  • Revision ID: package-import@ubuntu.com-20130621022239-63l3zc8p0nf26pt6
Tags: upstream-4.10.80
ImportĀ upstreamĀ versionĀ 4.10.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    addaccountwizard.h - Kopete Add Account Wizard
 
3
 
 
4
    Copyright (c) 2003      by Olivier Goffart       <ogoffart@kde.org>
 
5
    Copyright (c) 2003      by Martijn Klingens      <klingens@kde.org>
 
6
 
 
7
    Kopete    (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org>
 
8
 
 
9
    *************************************************************************
 
10
    *                                                                       *
 
11
    * This program is free software; you can redistribute it and/or modify  *
 
12
    * it under the terms of the GNU General Public License as published by  *
 
13
    * the Free Software Foundation; either version 2 of the License, or     *
 
14
    * (at your option) any later version.                                   *
 
15
    *                                                                       *
 
16
    *************************************************************************
 
17
*/
 
18
 
 
19
#ifndef ADDACCOUNTWIZARD_H
 
20
#define ADDACCOUNTWIZARD_H
 
21
 
 
22
#include <qmap.h>
 
23
 
 
24
#include <kassistantdialog.h>
 
25
 
 
26
#include <kopete_export.h>
 
27
 
 
28
#include "ui_addaccountwizardpage1.h"
 
29
#include "ui_addaccountwizardpage2.h"
 
30
 
 
31
 
 
32
 
 
33
namespace Kopete
 
34
{
 
35
class Protocol;
 
36
class Identity;
 
37
}
 
38
 
 
39
 
 
40
/**
 
41
 * @author Olivier Goffart <ogoffart@kde.org>
 
42
 */
 
43
class KOPETEADDACCOUNTWIZARD_EXPORT AddAccountWizard : public KAssistantDialog
 
44
{
 
45
        Q_OBJECT
 
46
 
 
47
public:
 
48
        explicit AddAccountWizard( QWidget *parent = 0, bool firstRun = false );
 
49
        ~AddAccountWizard();
 
50
 
 
51
        /**
 
52
         * Set the identity assigned to the account
 
53
         */
 
54
        void setIdentity( Kopete::Identity *identity );
 
55
 
 
56
private slots:
 
57
        void slotProtocolListClicked();
 
58
        void slotProtocolListDoubleClicked();
 
59
 
 
60
protected slots:
 
61
        virtual void back();
 
62
        virtual void next();
 
63
        virtual void accept();
 
64
        virtual void reject();
 
65
 
 
66
private:
 
67
        class Private;
 
68
        Private * const d;
 
69
};
 
70
 
 
71
#endif
 
72
 
 
73
// vim: set noet ts=4 sts=4 sw=4:
 
74