~neon/kdenetwork/trunk

« back to all changes in this revision

Viewing changes to kopete/protocols/irc/ui/ircaddcontactpage.h

  • Committer: uwolfer
  • Date: 2013-06-08 10:12:41 UTC
  • Revision ID: svn-v4:283d02a7-25f6-0310-bc7c-ecb5cbfe19da:trunk/KDE/kdenetwork:1357331
kdenetwork has moved to Git

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
    ircaddcontactpage.h - IRC Add Contact Widget
3
 
 
4
 
    Copyright (c) 2002      by Nick Betcher <nbetcher@kde.org>
5
 
    Copyright (c) 2003-2007 by Michel Hermier <michel.hermier@gmail.com>
6
 
    Copyright     2006      by Tommi Rantala <tommi.rantala@cs.helsinki.fi>
7
 
 
8
 
    Kopete    (c) 2002-2007 by the Kopete developers <kopete-devel@kde.org>
9
 
 
10
 
    *************************************************************************
11
 
    *                                                                       *
12
 
    * This program is free software; you can redistribute it and/or modify  *
13
 
    * it under the terms of the GNU General Public License as published by  *
14
 
    * the Free Software Foundation; either version 2 of the License, or     *
15
 
    * (at your option) any later version.                                   *
16
 
    *                                                                       *
17
 
    *************************************************************************
18
 
*/
19
 
 
20
 
#ifndef IRCADDCONTACTPAGE_H
21
 
#define IRCADDCONTACTPAGE_H
22
 
 
23
 
#include "addcontactpage.h"
24
 
#include "ui_ircadd.h"
25
 
 
26
 
namespace Kopete { class MetaContact; }
27
 
 
28
 
class IRCAccount;
29
 
 
30
 
/**
31
 
  *@author Nick Betcher <nbetcher@kde.org>
32
 
  */
33
 
class IRCAddContactPage
34
 
        : public AddContactPage, public Ui::ircAddUI
35
 
{
36
 
        Q_OBJECT
37
 
public:
38
 
        explicit IRCAddContactPage(QWidget *parent=0, IRCAccount* account = 0);
39
 
        ~IRCAddContactPage();
40
 
 
41
 
public slots:
42
 
        virtual bool apply(Kopete::Account *account, Kopete::MetaContact *m);
43
 
 
44
 
private slots:
45
 
        virtual bool validateData();
46
 
        void slotChannelSelected( const QString &channel );
47
 
        void slotChannelDoubleClicked( const QString &channel );
48
 
 
49
 
private:
50
 
        struct Private;
51
 
        Private* d;
52
 
};
53
 
 
54
 
#endif