drop the dock part from plugin uri

--instead of org.kde.latte.dock, we now
ise org.kde.latte
v0.6
Michail Vourlakos 8 years ago
parent 890fe896b0
commit 7a4e3dc724

@ -26,7 +26,7 @@ import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.kquickcontrolsaddons 2.0
import org.kde.latte.dock 0.1 as Latte
import org.kde.latte 0.1 as Latte
Item{
id:barLine

@ -6,7 +6,7 @@ import org.kde.plasma.plasmoid 2.0
import org.kde.taskmanager 0.1 as TaskManager
import org.kde.latte.dock 0.1 as Latte
import org.kde.latte 0.1 as Latte
Item{
id: manager

@ -26,7 +26,7 @@ import org.kde.kquickcontrolsaddons 2.0
import org.kde.draganddrop 2.0 as DragDrop
import org.kde.plasma.plasmoid 2.0
import org.kde.latte.dock 0.1 as Latte
import org.kde.latte 0.1 as Latte
import "LayoutManager.js" as LayoutManager

@ -25,6 +25,6 @@ target_link_libraries(lattedockplugin
KF5::CoreAddons
)
install(TARGETS lattedockplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/latte/dock)
install(TARGETS lattedockplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/latte)
install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/latte/dock)
install(FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/latte)

@ -6,7 +6,7 @@
void LatteDockPlugin::registerTypes(const char *uri)
{
Q_ASSERT(uri == QLatin1String("org.kde.latte.dock"));
Q_ASSERT(uri == QLatin1String("org.kde.latte"));
qmlRegisterUncreatableType<Latte::Dock>(uri, 0, 1, "Dock", "Latte Dock Types uncreatable");

@ -1,2 +1,2 @@
module org.kde.latte.dock
module org.kde.latte
plugin lattedockplugin

@ -29,7 +29,7 @@ import org.kde.plasma.private.taskmanager 0.1 as TaskManagerApplet
import org.kde.activities 0.1 as Activities
import org.kde.latte.dock 0.1 as Latte
import org.kde.latte 0.1 as Latte
import "../code/tools.js" as TaskTools
import "../code/activitiesTools.js" as ActivitiesTools

@ -8,7 +8,7 @@ import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.plasmoid 2.0
import org.kde.latte.dock 0.1 as Latte
import org.kde.latte 0.1 as Latte
PlasmaCore.FrameSvgItem {
imagePath: "dialogs/background"

Loading…
Cancel
Save