Show invite menu in wlm chat window immediately
[kdenetwork.git] / kopete / plugins / alias / aliasplugin.cpp
blobdc466e0ad61458f995b79f747279629b5dc43b09
1 /***************************************************************************
2 * *
3 * This program is free software; you can redistribute it and/or modify *
4 * it under the terms of the GNU General Public License as published by *
5 * the Free Software Foundation; either version 2 of the License, or *
6 * (at your option) any later version. *
7 * *
8 ***************************************************************************/
10 #include <kgenericfactory.h>
12 #include "kopetechatsessionmanager.h"
14 #include "aliasplugin.h"
16 K_PLUGIN_FACTORY( AliasPluginFactory, registerPlugin<AliasPlugin>(); )
17 K_EXPORT_PLUGIN( AliasPluginFactory( "kopete_alias" ) )
19 AliasPlugin * AliasPlugin::pluginStatic_ = 0L;
21 AliasPlugin::AliasPlugin( QObject *parent, const QVariantList & )
22 : Kopete::Plugin( AliasPluginFactory::componentData(), parent )
24 if( !pluginStatic_ )
25 pluginStatic_ = this;
29 AliasPlugin::~AliasPlugin()
31 pluginStatic_ = 0L;
34 AliasPlugin * AliasPlugin::plugin()
36 return pluginStatic_ ;
39 #include "aliasplugin.moc"