Skip to content

Commit

Permalink
chore: Normalize imports to Qt 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
geiseri authored and iBelieve committed Oct 29, 2015
1 parent 7ecc219 commit 3c9f4e1
Show file tree
Hide file tree
Showing 106 changed files with 135 additions and 135 deletions.
2 changes: 1 addition & 1 deletion demo/BottomSheetDemo.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import QtQuick 2.4
import Material 0.1
import Material.ListItems 0.1

Expand Down
4 changes: 2 additions & 2 deletions demo/ButtonDemo.qml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import QtQuick 2.0
import QtQuick 2.4
import Material 0.1
import QtQuick.Controls 1.2 as Controls
import QtQuick.Controls 1.3 as Controls

Item {

Expand Down
2 changes: 1 addition & 1 deletion demo/CheckBoxDemo.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import QtQuick 2.0
import QtQuick 2.4
import QtQuick.Layouts 1.1
import Material 0.1

Expand Down
2 changes: 1 addition & 1 deletion demo/ColorPaletteDemo.qml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import QtQuick 2.0
import QtQuick 2.4
import QtQuick.Layouts 1.1
import Material 0.1

Expand Down
2 changes: 1 addition & 1 deletion demo/CustomIconsDemo.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import QtQuick 2.4
import Material 0.1
import Material.ListItems 0.1 as ListItem

Expand Down
2 changes: 1 addition & 1 deletion demo/DatePickerDemo.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import QtQuick 2.0
import QtQuick 2.4
import QtQuick.Layouts 1.1
import Material 0.1
import Material.ListItems 0.1 as ListItem
Expand Down
4 changes: 2 additions & 2 deletions demo/DialogDemo.qml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import QtQuick 2.0
import QtQuick.Controls 1.2 as QuickControls
import QtQuick 2.4
import QtQuick.Controls 1.3 as QuickControls
import Material 0.1
import Material.Extras 0.1

Expand Down
2 changes: 1 addition & 1 deletion demo/FormsDemo.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import QtQuick 2.0
import QtQuick 2.4
import QtQuick.Layouts 1.1
import Material 0.1
import Material.ListItems 0.1 as ListItem
Expand Down
2 changes: 1 addition & 1 deletion demo/IconsDemo.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import QtQuick 2.0
import QtQuick 2.4
import Material 0.1
import Material.ListItems 0.1 as ListItem
import Material.Extras 0.1
Expand Down
2 changes: 1 addition & 1 deletion demo/ListItemsDemo.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import QtQuick 2.0
import QtQuick 2.4
import Material 0.1
import Material.ListItems 0.1 as ListItem
import Material.Extras 0.1
Expand Down
2 changes: 1 addition & 1 deletion demo/PageStackDemo.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import QtQuick 2.0
import QtQuick 2.4
import Material 0.1
import Material.Extras 0.1

Expand Down
2 changes: 1 addition & 1 deletion demo/ProgressBarDemo.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import QtQuick 2.0
import QtQuick 2.4
import QtQuick.Layouts 1.1
import Material 0.1

Expand Down
4 changes: 2 additions & 2 deletions demo/RadioButtonDemo.qml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import QtQuick 2.0
import QtQuick 2.4
import QtQuick.Layouts 1.1
import QtQuick.Controls 1.2 as QuickControls
import QtQuick.Controls 1.3 as QuickControls
import Material 0.1

ColumnLayout {
Expand Down
2 changes: 1 addition & 1 deletion demo/SliderDemo.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import QtQuick 2.0
import QtQuick 2.4
import QtQuick.Layouts 1.1
import Material 0.1

Expand Down
2 changes: 1 addition & 1 deletion demo/SubPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.2
import QtQuick 2.4
import Material 0.1
import Material.ListItems 0.1 as ListItem

Expand Down
2 changes: 1 addition & 1 deletion demo/SwitchDemo.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import QtQuick 2.0
import QtQuick 2.4
import QtQuick.Layouts 1.1
import Material 0.1

Expand Down
2 changes: 1 addition & 1 deletion demo/TextFieldDemo.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import QtQuick 2.0
import QtQuick 2.4
import QtQuick.Layouts 1.1
import Material 0.1

Expand Down
2 changes: 1 addition & 1 deletion demo/TimePickerDemo.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import QtQuick 2.0
import QtQuick 2.4
import Material 0.1


Expand Down
2 changes: 1 addition & 1 deletion demo/main.qml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import QtQuick 2.2
import QtQuick 2.4
import Material 0.1
import Material.ListItems 0.1 as ListItem

Expand Down
4 changes: 2 additions & 2 deletions modules/Material/Action.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import QtQuick.Controls 1.2 as Controls
import QtQuick 2.4
import QtQuick.Controls 1.3 as Controls
/*!
\qmltype Action
\inqmlmodule Material 0.1
Expand Down
2 changes: 1 addition & 1 deletion modules/Material/ActionBar.qml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import QtQuick 2.4
import QtQuick.Layouts 1.1
import Material 0.1
import Material.Extras 0.1
Expand Down
6 changes: 3 additions & 3 deletions modules/Material/ActionButton.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import QtQuick.Controls 1.2 as Controls
import QtQuick.Controls.Styles 1.2 as ControlStyles
import QtQuick 2.4
import QtQuick.Controls 1.3 as Controls
import QtQuick.Controls.Styles 1.3 as ControlStyles
import Material 0.1
import QtGraphicalEffects 1.0

Expand Down
2 changes: 1 addition & 1 deletion modules/Material/AppTheme.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import QtQuick 2.4
import Material 0.1

/*!
Expand Down
8 changes: 4 additions & 4 deletions modules/Material/ApplicationWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import QtQuick.Controls 1.2 as Controls
import QtQuick.Window 2.0
import QtQuick 2.4
import QtQuick.Controls 1.3 as Controls
import QtQuick.Window 2.2
import Material 0.1
import Material.Extras 0.1

Expand All @@ -33,7 +33,7 @@ import Material.Extras 0.1
Here is a short working example of an application:
\qml
import QtQuick 2.0
import QtQuick 2.4
import Material 0.1
ApplicationWindow {
Expand Down
2 changes: 1 addition & 1 deletion modules/Material/AwesomeIcon.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import QtQuick 2.4
import Material 0.1
import 'awesome.js' as Awesome

Expand Down
2 changes: 1 addition & 1 deletion modules/Material/BottomActionSheet.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import QtQuick 2.4
import Material 0.1
import Material.ListItems 0.1 as ListItem

Expand Down
2 changes: 1 addition & 1 deletion modules/Material/BottomSheet.qml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import QtQuick 2.4
import Material 0.1

/*!
Expand Down
4 changes: 2 additions & 2 deletions modules/Material/Button.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import QtQuick.Controls 1.2 as Controls
import QtQuick 2.4
import QtQuick.Controls 1.3 as Controls
import QtQuick.Controls.Styles.Material 0.1 as MaterialStyle
import Material 0.1

Expand Down
2 changes: 1 addition & 1 deletion modules/Material/Card.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import QtQuick 2.4
import Material 0.1

/*!
Expand Down
4 changes: 2 additions & 2 deletions modules/Material/CheckBox.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import QtQuick.Controls 1.2 as Controls
import QtQuick 2.4
import QtQuick.Controls 1.3 as Controls
import QtQuick.Controls.Styles.Material 0.1 as MaterialStyle
import Material 0.1

Expand Down
2 changes: 1 addition & 1 deletion modules/Material/DatePicker.qml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import QtQuick 2.4
import QtQuick.Layouts 1.1
import QtQuick.Controls 1.3 as Controls
import QtQuick.Controls.Styles.Material 0.1 as MaterialStyle
import QtQuick.Controls.Styles 1.2
import QtQuick.Controls.Styles 1.3
import QtQuick.Controls.Private 1.0
import Material 0.1

Expand Down
2 changes: 1 addition & 1 deletion modules/Material/Device.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import QtQuick 2.4

pragma Singleton

Expand Down
2 changes: 1 addition & 1 deletion modules/Material/Dialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import QtQuick 2.0
import QtQuick 2.4
import QtQuick.Layouts 1.1
import Material 0.1
import Material.Extras 0.1
Expand Down
2 changes: 1 addition & 1 deletion modules/Material/Dropdown.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import QtQuick 2.4
import QtQuick.Window 2.2
import Material 0.1
import Material.Extras 0.1
Expand Down
2 changes: 1 addition & 1 deletion modules/Material/Extras/AutomaticGrid.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import QtQuick 2.0
import QtQuick 2.4

Grid {
id: grid
Expand Down
2 changes: 1 addition & 1 deletion modules/Material/Extras/CircleImage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import QtQuick 2.3
import QtQuick 2.4
import Material.Extras 0.1 as Extras
import QtGraphicalEffects 1.0

Expand Down
2 changes: 1 addition & 1 deletion modules/Material/Extras/CircleMask.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import QtQuick 2.3
import QtQuick 2.4
import QtGraphicalEffects 1.0

Item {
Expand Down
2 changes: 1 addition & 1 deletion modules/Material/Extras/ColumnFlow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import QtQuick 2.0
import QtQuick 2.4

/*
example usage:
Expand Down
2 changes: 1 addition & 1 deletion modules/Material/Extras/Document.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import QtQuick 2.0
import QtQuick 2.4

Object {
id: document
Expand Down
2 changes: 1 addition & 1 deletion modules/Material/Extras/Image.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import QtQuick 2.3
import QtQuick 2.4

Image {
id: image
Expand Down
2 changes: 1 addition & 1 deletion modules/Material/Extras/Object.qml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import QtQuick 2.0
import QtQuick 2.4

QtObject {
id: object
Expand Down
2 changes: 1 addition & 1 deletion modules/Material/Extras/js/httplib.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function request(path, call, args, timeout) {

if(timeout !== undefined) {
console.log("Creating timer.");
timer = Qt.createQmlObject("import QtQuick 2.3; Timer {interval: " + timeout + "; repeat: false; running: true;}", Qt.application, "XHRTimer");
timer = Qt.createQmlObject("import QtQuick 2.4; Timer {interval: " + timeout + "; repeat: false; running: true;}", Qt.application, "XHRTimer");
timer.triggered.connect(function() {
doc.hasTimeout = true;
doc.abort();
Expand Down
2 changes: 1 addition & 1 deletion modules/Material/Extras/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

.pragma library
.import QtQuick 2.0 as QtQuick
.import QtQuick 2.4 as QtQuick

function generateID() {
var guid = (function() {
Expand Down
4 changes: 2 additions & 2 deletions modules/Material/Icon.qml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.3
import QtQuick.Window 2.0
import QtQuick 2.4
import QtQuick.Window 2.2
import Material 0.1
import QtGraphicalEffects 1.0

Expand Down
2 changes: 1 addition & 1 deletion modules/Material/IconButton.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import QtQuick 2.0
import QtQuick 2.4
import Material 0.1
import Material.Extras 0.1

Expand Down
Loading

0 comments on commit 3c9f4e1

Please sign in to comment.