2
ircaddcontactpage.h - IRC Add Contact Widget
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>
8
Kopete (c) 2002-2007 by the Kopete developers <kopete-devel@kde.org>
10
*************************************************************************
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. *
17
*************************************************************************
20
#ifndef IRCADDCONTACTPAGE_H
21
#define IRCADDCONTACTPAGE_H
23
#include "addcontactpage.h"
24
#include "ui_ircadd.h"
26
namespace Kopete { class MetaContact; }
31
*@author Nick Betcher <nbetcher@kde.org>
33
class IRCAddContactPage
34
: public AddContactPage, public Ui::ircAddUI
38
explicit IRCAddContactPage(QWidget *parent=0, IRCAccount* account = 0);
42
virtual bool apply(Kopete::Account *account, Kopete::MetaContact *m);
45
virtual bool validateData();
46
void slotChannelSelected( const QString &channel );
47
void slotChannelDoubleClicked( const QString &channel );