mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Update QtQuick versions to match Qt 5.10
This commit is contained in:
parent
a8877c39f4
commit
74e32dd96b
41 changed files with 84 additions and 78 deletions
|
@ -8,10 +8,16 @@
|
|||
set -eu
|
||||
|
||||
FILES=$(find src -type f -type f \( -iname "*.cpp" -o -iname "*.h" \))
|
||||
QML_FILES=$(find resources -type f -iname "*.qml")
|
||||
|
||||
for f in $FILES
|
||||
do
|
||||
clang-format -i "$f"
|
||||
done;
|
||||
|
||||
for f in $QML_FILES
|
||||
do
|
||||
qmlformat -i $f
|
||||
done;
|
||||
|
||||
git diff --exit-code
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import "./ui"
|
||||
import QtGraphicalEffects 1.0
|
||||
import QtQuick 2.6
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import im.nheko 1.0
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import "./ui"
|
||||
import QtQuick 2.9
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
|
||||
Popup {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.5
|
||||
import QtQuick.Controls 2.1
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import im.nheko 1.0
|
||||
|
||||
Rectangle {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import "./ui"
|
||||
import QtQuick 2.3
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
|
||||
AbstractButton {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import QtQuick 2.5
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import im.nheko 1.0
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import "./voip"
|
||||
import QtQuick 2.9
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtQuick.Window 2.2
|
||||
import QtQuick.Layouts 1.10
|
||||
import QtQuick.Window 2.10
|
||||
import im.nheko 1.0
|
||||
|
||||
Rectangle {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import "./delegates"
|
||||
import QtGraphicalEffects 1.0
|
||||
import QtQuick 2.9
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtQuick.Window 2.2
|
||||
import QtQuick.Layouts 1.10
|
||||
import QtQuick.Window 2.10
|
||||
import im.nheko 1.0
|
||||
|
||||
ListView {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import QtQuick 2.9
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtQuick.Layouts 1.10
|
||||
|
||||
BusyIndicator {
|
||||
id: control
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.6
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import im.nheko 1.0
|
||||
|
||||
// This class is for showing Reactions in the timeline row, not for
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import "./delegates/"
|
||||
import QtQuick 2.9
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
|
||||
Rectangle {
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
* qquickwheelarea.cpp in qtquickcontrols
|
||||
*/
|
||||
|
||||
import QtQuick 2.9
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
|
||||
MouseArea {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.5
|
||||
import QtQuick.Controls 2.1
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import im.nheko 1.0
|
||||
|
||||
Rectangle {
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import "./delegates"
|
||||
import "./emoji"
|
||||
import QtQuick 2.6
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtQuick.Window 2.2
|
||||
import QtQuick.Layouts 1.10
|
||||
import QtQuick.Window 2.10
|
||||
import im.nheko 1.0
|
||||
|
||||
Item {
|
||||
|
|
|
@ -3,10 +3,10 @@ import "./device-verification"
|
|||
import "./emoji"
|
||||
import "./voip"
|
||||
import QtGraphicalEffects 1.0
|
||||
import QtQuick 2.9
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.3
|
||||
import QtQuick.Window 2.2
|
||||
import QtQuick.Layouts 1.10
|
||||
import QtQuick.Window 2.10
|
||||
import im.nheko 1.0
|
||||
import im.nheko.EmojiModel 1.0
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import QtQuick 2.9
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
|
||||
Rectangle {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import QtQuick 2.9
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
|
||||
Item {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import "./device-verification"
|
||||
import QtQuick 2.9
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtQuick.Window 2.3
|
||||
import QtQuick.Layouts 1.10
|
||||
import QtQuick.Window 2.10
|
||||
import im.nheko 1.0
|
||||
|
||||
ApplicationWindow {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.6
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
|
||||
Item {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import QtQuick 2.6
|
||||
import QtQuick 2.10
|
||||
import im.nheko 1.0
|
||||
|
||||
Item {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import QtQuick 2.6
|
||||
import QtQuick 2.10
|
||||
import im.nheko 1.0
|
||||
|
||||
Item {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import QtQuick 2.5
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.1
|
||||
|
||||
Label {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import QtMultimedia 5.6
|
||||
import QtQuick 2.6
|
||||
import QtQuick.Controls 2.1
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtMultimedia 5.10
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
|
||||
Rectangle {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import QtQuick 2.6
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtQuick.Window 2.2
|
||||
import QtQuick.Layouts 1.10
|
||||
import QtQuick.Window 2.10
|
||||
import im.nheko 1.0
|
||||
|
||||
Item {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.3
|
||||
import QtQuick.Controls 2.10
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Window 2.10
|
||||
import im.nheko 1.0
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.3
|
||||
import QtQuick.Controls 2.10
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.3
|
||||
import QtQuick.Controls 2.10
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.10
|
||||
|
||||
Rectangle {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.3
|
||||
import QtQuick.Controls 2.10
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.3
|
||||
import QtQuick.Controls 2.10
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.3
|
||||
import QtQuick.Controls 2.10
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.3
|
||||
import QtQuick.Controls 2.10
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.10
|
||||
|
||||
Pane {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import QtQuick 2.3
|
||||
import QtQuick.Controls 2.10
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import "../"
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.1
|
||||
import QtQuick.Controls 2.3
|
||||
import im.nheko 1.0
|
||||
import im.nheko.EmojiModel 1.0
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import "../"
|
||||
import QtGraphicalEffects 1.0
|
||||
import QtQuick 2.9
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.3
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
import im.nheko.EmojiModel 1.0
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import "../"
|
||||
import QtQuick 2.9
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
|
||||
Rectangle {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import QtQuick 2.9
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
|
||||
Popup {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import "../"
|
||||
import QtQuick 2.9
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
|
||||
Rectangle {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import QtQuick 2.9
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
|
||||
Popup {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import "../"
|
||||
import QtQuick 2.9
|
||||
import QtQuick 2.10
|
||||
import QtQuick.Controls 2.3
|
||||
import QtQuick.Layouts 1.2
|
||||
import QtQuick.Layouts 1.10
|
||||
import im.nheko 1.0
|
||||
|
||||
Popup {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import QtQuick 2.9
|
||||
import QtQuick 2.10
|
||||
import org.freedesktop.gstreamer.GLVideoItem 1.0
|
||||
|
||||
GstGLVideoItem {
|
||||
|
|
Loading…
Reference in a new issue