forked from qt-creator/qt-creator
Use Q_DECLARE_INTERFACE et al. This provides a way to have the dependency on code pasting optional in the using plugins (VCS, diff editor), while still being able to use a nice API to perform the pasting itself. Change-Id: Ia61e0066d552e45031f4aa7fd1f6693b68f92384 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
45 lines
1.0 KiB
QML
45 lines
1.0 KiB
QML
import qbs 1.0
|
|
|
|
QtcPlugin {
|
|
name: "DiffEditor"
|
|
|
|
Depends { name: "Qt.widgets" }
|
|
Depends { name: "Utils" }
|
|
|
|
Depends { name: "Core" }
|
|
Depends { name: "TextEditor" }
|
|
|
|
pluginRecommends: [
|
|
"CodePaster"
|
|
]
|
|
|
|
files: [
|
|
"diffeditor.cpp",
|
|
"diffeditor.h",
|
|
"diffeditor.qrc",
|
|
"diffeditor_global.h",
|
|
"diffeditorconstants.h",
|
|
"diffeditorcontroller.cpp",
|
|
"diffeditorcontroller.h",
|
|
"diffeditordocument.cpp",
|
|
"diffeditordocument.h",
|
|
"diffeditorfactory.cpp",
|
|
"diffeditorfactory.h",
|
|
"diffeditorplugin.cpp",
|
|
"diffeditorplugin.h",
|
|
"differ.cpp",
|
|
"differ.h",
|
|
"diffutils.cpp",
|
|
"diffutils.h",
|
|
"diffview.cpp",
|
|
"diffview.h",
|
|
"selectabletexteditorwidget.cpp",
|
|
"selectabletexteditorwidget.h",
|
|
"sidebysidediffeditorwidget.cpp",
|
|
"sidebysidediffeditorwidget.h",
|
|
"unifieddiffeditorwidget.cpp",
|
|
"unifieddiffeditorwidget.h",
|
|
]
|
|
}
|
|
|