Changeset View
Changeset View
Standalone View
Standalone View
src/kontactplugin/knotes_plugin.cpp
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | |||||
45 | #include <QIcon> | 45 | #include <QIcon> | ||
46 | #include <KLocalizedString> | 46 | #include <KLocalizedString> | ||
47 | #include <KMessageBox> | 47 | #include <KMessageBox> | ||
48 | #include <QTimeZone> | 48 | #include <QTimeZone> | ||
49 | 49 | | |||
50 | #include <QDropEvent> | 50 | #include <QDropEvent> | ||
51 | #include <QStandardPaths> | 51 | #include <QStandardPaths> | ||
52 | 52 | | |||
53 | EXPORT_KONTACT_PLUGIN(KNotesPlugin, knotes) | 53 | EXPORT_KONTACT_PLUGIN_WITH_JSON(KNotesPlugin, knotes, "knotesplugin.json") | ||
54 | 54 | | |||
55 | KNotesPlugin::KNotesPlugin(KontactInterface::Core *core, const QVariantList &) | 55 | KNotesPlugin::KNotesPlugin(KontactInterface::Core *core, const QVariantList &) | ||
56 | : KontactInterface::Plugin(core, core, "knotes") | 56 | : KontactInterface::Plugin(core, core, "knotes") | ||
57 | { | 57 | { | ||
58 | setComponentName(QStringLiteral("knotes"), i18n("KNotes")); | 58 | setComponentName(QStringLiteral("knotes"), i18n("KNotes")); | ||
59 | 59 | | |||
60 | QAction *action | 60 | QAction *action | ||
61 | = new QAction(QIcon::fromTheme(QStringLiteral("knotes")), | 61 | = new QAction(QIcon::fromTheme(QStringLiteral("knotes")), | ||
▲ Show 20 Lines • Show All 171 Lines • Show Last 20 Lines |