Changeset View
Changeset View
Standalone View
Standalone View
plugins/documentswitcher/documentswitcherplugin.cpp
Show All 33 Lines | |||||
34 | #include <interfaces/iuicontroller.h> | 34 | #include <interfaces/iuicontroller.h> | ||
35 | #include <sublime/controller.h> | 35 | #include <sublime/controller.h> | ||
36 | #include <sublime/view.h> | 36 | #include <sublime/view.h> | ||
37 | #include <sublime/area.h> | 37 | #include <sublime/area.h> | ||
38 | #include <sublime/mainwindow.h> | 38 | #include <sublime/mainwindow.h> | ||
39 | #include <sublime/document.h> | 39 | #include <sublime/document.h> | ||
40 | 40 | | |||
41 | #include "documentswitchertreeview.h" | 41 | #include "documentswitchertreeview.h" | ||
42 | #include "debug.h" | ||||
42 | #include <interfaces/iprojectcontroller.h> | 43 | #include <interfaces/iprojectcontroller.h> | ||
43 | #include <interfaces/idocument.h> | 44 | #include <interfaces/idocument.h> | ||
44 | #include <interfaces/iproject.h> | 45 | #include <interfaces/iproject.h> | ||
45 | 46 | | |||
46 | #include <algorithm> | 47 | #include <algorithm> | ||
47 | 48 | | |||
48 | Q_LOGGING_CATEGORY(PLUGIN_DOCUMENTSWITCHER, "kdevplatform.plugins.documentswitcher") | | |||
49 | K_PLUGIN_FACTORY_WITH_JSON(DocumentSwitcherFactory, "kdevdocumentswitcher.json", registerPlugin<DocumentSwitcherPlugin>();) | 49 | K_PLUGIN_FACTORY_WITH_JSON(DocumentSwitcherFactory, "kdevdocumentswitcher.json", registerPlugin<DocumentSwitcherPlugin>();) | ||
50 | 50 | | |||
51 | //TODO: Show frame around view's widget while walking through | 51 | //TODO: Show frame around view's widget while walking through | ||
52 | //TODO: Make the widget transparent | 52 | //TODO: Make the widget transparent | ||
53 | 53 | | |||
54 | DocumentSwitcherPlugin::DocumentSwitcherPlugin(QObject *parent, const QVariantList &/*args*/) | 54 | DocumentSwitcherPlugin::DocumentSwitcherPlugin(QObject *parent, const QVariantList &/*args*/) | ||
55 | :KDevelop::IPlugin(QStringLiteral("kdevdocumentswitcher"), parent), view(nullptr) | 55 | :KDevelop::IPlugin(QStringLiteral("kdevdocumentswitcher"), parent), view(nullptr) | ||
56 | { | 56 | { | ||
▲ Show 20 Lines • Show All 340 Lines • Show Last 20 Lines |