Port things from MSN to WLM plugin:
[kdenetwork.git] / kopete / protocols / oscar / icqcontactbase.h
blob765b979db04db2e6582f3d8f31e7607d158c096e
1 /*
2 icqcontactbase.h - ICQ Contact Base
4 Copyright (c) 2003 by Stefan Gehn <metz@gehn.net>
5 Copyright (c) 2003 by Olivier Goffart <ogoffart@kde.org>
6 Copyright (c) 2004 by Richard Smith <kde@metafoo.co.uk>
7 Copyright (c) 2006 by Roman Jarosz <kedgedev@centrum.cz>
8 Kopete (c) 2002-2006 by the Kopete developers <kopete-devel@kde.org>
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 *************************************************************************
20 #ifndef ICQCONTACTBASE_H
21 #define ICQCONTACTBASE_H
23 #include "oscarcontact.h"
24 #include "kopete_export.h"
26 /**
27 * Base class for ICQ contact over Oscar protocol
28 * @author Stefan Gehn
29 * @author Richard Smith
30 * @author Matt Rogers
33 class OSCAR_EXPORT ICQContactBase : public OscarContact
35 Q_OBJECT
37 public:
39 /** Normal ICQ constructor */
40 ICQContactBase( Kopete::Account *account, const QString &name, Kopete::MetaContact *parent,
41 const QString& icon = QString() );
42 virtual ~ICQContactBase();
44 protected slots:
45 virtual void slotSendMsg(Kopete::Message& message, Kopete::ChatSession *);
47 private slots:
48 void receivedXStatusMessage( const QString& contact, int icon, const QString& description, const QString& message );
52 #endif
53 //kate: tab-width 4; indent-mode csands; space-indent off; replace-tabs off;