Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 1c5910a9 authored by R. Harish Navnit's avatar R. Harish Navnit Committed by Pali Rohár

Port the privacy plugin to KF5

parent 9ea40cda
......@@ -34,7 +34,7 @@ class PrivacyPlugin;
PrivacyGUIClient::PrivacyGUIClient(Kopete::ChatSession *parent)
: QObject(parent), KXMLGUIClient(parent)
{
setComponentData(PrivacyPlugin::plugin()->componentData());
//setComponentData(PrivacyPlugin::plugin()->componentData());
m_manager = parent;
......
......@@ -40,12 +40,11 @@
#include <kactioncollection.h>
K_PLUGIN_FACTORY( PrivacyPluginFactory, registerPlugin<PrivacyPlugin>(); )
K_EXPORT_PLUGIN( PrivacyPluginFactory( "kopete_privacy" ) )
PrivacyPlugin * PrivacyPlugin::pluginStatic_ = 0L;
PrivacyPlugin::PrivacyPlugin( QObject *parent, const QVariantList & )
: Kopete::Plugin( PrivacyPluginFactory::componentData(), parent )
: Kopete::Plugin( parent )
{
kDebug(14313) ;
if( !pluginStatic_ )
......
......@@ -36,10 +36,9 @@
#include "privacyaccountlistmodel.h"
K_PLUGIN_FACTORY( PrivacyPreferencesFactory, registerPlugin<PrivacyPreferences>(); )
K_EXPORT_PLUGIN( PrivacyPreferencesFactory( "kcm_kopete_privacy" ) )
PrivacyPreferences::PrivacyPreferences(QWidget *parent, const QVariantList &args)
: KCModule(PrivacyPreferencesFactory::componentData(), parent, args)
: KCModule(parent, args)
{
kDebug(14313) << "called.";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment