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 b8eb10c0 authored by Laurent Montel's avatar Laurent Montel 😁 Committed by Pali Rohár

Use resource for xmlgui file

parent ec4c41ba
......@@ -8,6 +8,8 @@ ${KOPETE_INCLUDES}
set(kopete_contactnotes_PART_SRCS contactnotesplugin.cpp contactnotesedit.cpp )
qt5_add_resources(kopete_contactnotes_PART_SRCS contactnotes.qrc)
add_library(kopete_contactnotes MODULE ${kopete_contactnotes_PART_SRCS})
......@@ -19,8 +21,6 @@ install(TARGETS kopete_contactnotes DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
install( FILES kopete_contactnotes.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install( FILES contactnotesui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kopete)
<!DOCTYPE RCC>
<RCC version="1.0">
<qresource prefix="/kxmlgui5/contactnotes">
<file>contactnotesui.rc</file>
</qresource>
</RCC>
......@@ -40,7 +40,7 @@ ContactNotesPlugin::ContactNotesPlugin(QObject *parent, const QVariantList & /*
} else {
pluginStatic_ = this;
}
setComponentName(QStringLiteral("kopete"), i18n("Kopete"));
setComponentName(QStringLiteral("contactnotes"), i18n("Kopete"));
QAction *m_actionEdit = new QAction(QIcon::fromTheme(QStringLiteral("user-identity")), i18n("&Notes"), this);
actionCollection()->addAction(QStringLiteral("editContactNotes"), m_actionEdit);
connect(m_actionEdit, SIGNAL(triggered(bool)), this, SLOT(slotEditInfo()));
......
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