Show invite menu in wlm chat window immediately
[kdenetwork.git] / kopete / plugins / highlight / highlightplugin.h
blobaa5e3f5f9b404ca6a90c9258af3377be036240c7
1 /*
2 highlightplugin.h - description
4 Copyright (c) 2003 by Olivier Goffart <ogoffart@kde.org>
6 Kopete (c) 2002-2007 by the Kopete developers <kopete-devel@kde.org>
8 ***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************
18 #ifndef HighlightPLUGIN_H
19 #define HighlightPLUGIN_H
21 #include <qobject.h>
22 #include <qmap.h>
23 #include <qstring.h>
25 #include "kopetemessage.h"
26 #include "kopeteplugin.h"
28 class QStringList;
29 class QString;
31 namespace Kopete { class Message; }
32 namespace Kopete { class MetaContact; }
33 namespace Kopete { class ChatSession; }
35 class HighlightConfig;
37 /**
38 * @author Olivier Goffart
41 class HighlightPlugin : public Kopete::Plugin
43 Q_OBJECT
45 public:
46 static HighlightPlugin *plugin();
48 HighlightPlugin( QObject *parent, const QVariantList &args );
49 ~HighlightPlugin();
51 public slots:
52 void slotIncomingMessage( Kopete::Message& msg );
53 void slotSettingsChanged();
56 private:
57 static HighlightPlugin* pluginStatic_;
58 HighlightConfig *m_config;
61 #endif