Commit 5ab1b510 authored by Laurent Montel's avatar Laurent Montel 😁 Committed by Pali Rohár

Use qrc for ui.rc

parent afbed8fe
......@@ -11,6 +11,8 @@ set(kopete_statistics_PART_SRCS
ki18n_wrap_ui(kopete_statistics_PART_SRCS statisticswidgetbase.ui )
qt5_add_resources(kopete_statistics_PART_SRCS statistics.qrc)
qt5_add_dbus_adaptor(kopete_statistics_PART_SRCS org.kde.kopete.Statistics.xml
statisticsplugin.h StatisticsPlugin)
......@@ -25,4 +27,3 @@ install(TARGETS kopete_statistics DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES org.kde.kopete.Statistics.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR} )
install( FILES kopete_statistics.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install( FILES statisticsui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kopete)
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource prefix="/kxmlgui5/statistics">
<file>statisticsui.rc</file>
</qresource>
</RCC>
......@@ -75,7 +75,7 @@ StatisticsPlugin::StatisticsPlugin(QObject *parent, const QVariantList & /*args*
connect(Kopete::ContactList::self(), SIGNAL(metaContactRemoved(Kopete::MetaContact *)),
this, SLOT(slotMetaContactRemoved(Kopete::MetaContact *)));
setComponentName(QStringLiteral("kopete"), i18n("Kopete"));
setComponentName(QStringLiteral("statistics"), i18n("Kopete"));
setXMLFile(QStringLiteral("statisticsui.rc"));
/* Initialization reads the database, so it could be a bit time-consuming
......
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