qtextracomponents->kquickcontrolsaddons

This commit is contained in:
Marco Martin 2014-03-25 17:10:25 +01:00
parent c8844799eb
commit 91642b0868
25 changed files with 39 additions and 27 deletions

View File

@ -21,7 +21,7 @@ import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
// ButtonsPage

View File

@ -22,7 +22,7 @@ import QtQuick.Window 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
// DialogContent

View File

@ -22,7 +22,7 @@ import QtQuick.Window 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
// DialogsPage

View File

@ -21,7 +21,7 @@ import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
import org.kde.draganddrop 2.0 as DragAndDrop

View File

@ -21,7 +21,7 @@ import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
import org.kde.draganddrop 2.0 as DragAndDrop

View File

@ -21,7 +21,7 @@ import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
// IconTab
@ -77,7 +77,7 @@ PlasmaComponents.Page {
width: _h
height: width
}
QtExtras.QIconItem {
KQuickControlsAddons.QIconItem {
icon: "preferences-desktop-icons"
width: _h
height: width

View File

@ -21,7 +21,7 @@ import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
// MousePage
@ -36,7 +36,7 @@ PlasmaComponents.Page {
text: "MouseEventListener"
anchors { left: parent.left; right: parent.right; top: parent.top }
}
QtExtras.MouseEventListener {
KQuickControlsAddons.MouseEventListener {
id: mel
hoverEnabled: true
anchors { left: parent.left; right: parent.right; top: mellabel.bottom; bottom: parent.bottom; }

View File

@ -20,7 +20,7 @@ import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
// PlasmoidPage

View File

@ -20,7 +20,7 @@ import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
// PlasmoidPage

View File

@ -21,7 +21,7 @@ import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
// IconTab

View File

@ -23,7 +23,7 @@ import org.kde.plasma.plasmoid 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
Item {
id: root

View File

@ -21,7 +21,7 @@ import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
// ButtonsPage

View File

@ -21,7 +21,7 @@ import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
// VertexPage

View File

@ -21,7 +21,7 @@ import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
// VertexPage

View File

@ -21,7 +21,7 @@ import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
Item {
id: root

View File

@ -21,7 +21,7 @@ import QtQuick 2.1
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
Item {
@ -125,7 +125,7 @@ Item {
width: units.iconSizes.huge
height: width
}
// QtExtras.QIconItem {
// KQuickControlsAddons.QIconItem {
// icon: "preferences-desktop-icons"
// width: units.iconSizes.enormous
// height: width

View File

@ -21,7 +21,7 @@ import QtQuick 2.1
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
// IconTab

View File

@ -22,7 +22,7 @@ import QtQuick.Layouts 1.1
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
// import org.kde.plasma.extras 2.0 as PlasmaExtras
// import org.kde.qtextracomponents 2.0 as QtExtras
// import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons
Item {
id: root

View File

@ -22,7 +22,7 @@ import QtQuick.Layouts 1.1
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras
import org.kde.qtextracomponents 2.0 as QtExtras
import org.kde.kquickcontrolsaddons 2.0 as KQuickControlsAddons

View File

@ -19,7 +19,7 @@
import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.qtextracomponents 2.0
import org.kde.kquickcontrolsaddons 2.0
PlasmaCore.FrameSvgItem {
id: editBubble

View File

@ -19,7 +19,7 @@
import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.qtextracomponents 2.0
import org.kde.kquickcontrolsaddons 2.0
import "EditBubble.js" as EditBubbleHelper
Item {

View File

@ -19,7 +19,7 @@
import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.qtextracomponents 2.0
import org.kde.kquickcontrolsaddons 2.0
import "EditBubble.js" as EditBubbleHelper
Item {

View File

@ -20,7 +20,7 @@
import QtQuick 2.1
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.qtextracomponents 2.0
import org.kde.kquickcontrolsaddons 2.0
/**
* Simple progressBar using the plasma theme.

View File

@ -55,7 +55,7 @@ Properties:
**/
import QtQuick 2.1
import org.kde.qtextracomponents 2.0
import org.kde.kquickcontrolsaddons 2.0
import "AppManager.js" as Utils
Item {

View File

@ -154,3 +154,15 @@ for FS in `find $PWD -type f -name '*main.qml'`; do
perl -p -i -e 's/QtQuick 2.0/QtQuick 2.0\nimport org.kde.plasma.plasmoid 2.0/g' $FS
done
for FS in `find $PWD -name '*.qml'`; do
perl -p -i -e 's/org.kde.qtextracomponents/org.kde.kquickcontrolsaddons/g' $FS
done
for FS in `find $PWD -name '*.qml'`; do
perl -p -i -e 's/QtExtras/KQuickControlsAddons/g' $FS
done
for FS in `find $PWD -name '*.qml'`; do
perl -p -i -e 's/QtExtra/KQuickControlsAddons/g' $FS
done