Show invite menu in wlm chat window immediately
[kdenetwork.git] / kopete / plugins / autoreplace / autoreplaceplugin.h
blob617e99affd4f45640db268978c7db0571a8fe1a3
1 /***************************************************************************
2 autoreplaceplugin.h - description
3 -------------------
4 begin : 20030425
5 copyright : (C) 2003 by Roberto Pariset
6 email : victorheremita@fastwebnet.it
7 ***************************************************************************/
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 ***************************************************************************/
18 #ifndef AutoReplacePLUGIN_H
19 #define AutoReplacePLUGIN_H
21 #include <qobject.h>
22 #include <qmap.h>
23 #include <qstring.h>
24 #include <qregexp.h>
26 #include "kopetemessage.h"
27 #include "kopeteplugin.h"
29 namespace Kopete {
30 class Message;
31 class MetaContact;
32 class ChatSession;
33 class SimpleMessageHandlerFactory;
35 class AutoReplaceConfig;
37 class AutoReplacePlugin : public Kopete::Plugin
39 Q_OBJECT
41 public:
42 static AutoReplacePlugin *plugin();
44 AutoReplacePlugin( QObject *parent, const QVariantList &args );
45 ~AutoReplacePlugin();
47 private slots:
48 void slotInterceptMessage( Kopete::Message &msg );
50 void slotSettingsChanged();
52 private:
53 static AutoReplacePlugin * pluginStatic_;
55 AutoReplaceConfig *m_prefs;
57 Kopete::SimpleMessageHandlerFactory * mInboundHandler;
60 #endif
62 // vim: set noet ts=4 sts=4 sw=4: