From 3b78d12f9c960c2afd2c7c11fd61492b9c88f8c4 Mon Sep 17 00:00:00 2001 From: miruka Date: Mon, 9 Dec 2019 09:29:57 -0400 Subject: [PATCH] Rename HTabbedBoxes to HTabContainer --- src/qml/Base/{HTabbedBoxes.qml => HTabContainer.qml} | 2 +- src/qml/Pages/AddAccount/AddAccount.qml | 2 +- src/qml/Pages/AddChat/AddChat.qml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/qml/Base/{HTabbedBoxes.qml => HTabContainer.qml} (93%) diff --git a/src/qml/Base/HTabbedBoxes.qml b/src/qml/Base/HTabContainer.qml similarity index 93% rename from src/qml/Base/HTabbedBoxes.qml rename to src/qml/Base/HTabContainer.qml index 1aef2722..30274d2c 100644 --- a/src/qml/Base/HTabbedBoxes.qml +++ b/src/qml/Base/HTabContainer.qml @@ -10,7 +10,7 @@ HColumnLayout { property alias tabIndex: tabBar.currentIndex property alias tabModel: tabRepeater.model - default property alias boxes: swipeView.contentData + default property alias data: swipeView.contentData HTabBar { id: tabBar diff --git a/src/qml/Pages/AddAccount/AddAccount.qml b/src/qml/Pages/AddAccount/AddAccount.qml index b9dc3590..0cdd1fd7 100644 --- a/src/qml/Pages/AddAccount/AddAccount.qml +++ b/src/qml/Pages/AddAccount/AddAccount.qml @@ -3,7 +3,7 @@ import QtQuick.Layouts 1.12 import "../../Base" HPage { - HTabbedBoxes { + HTabContainer { tabModel: [ qsTr("Sign in"), qsTr("Register"), qsTr("Reset"), ] diff --git a/src/qml/Pages/AddChat/AddChat.qml b/src/qml/Pages/AddChat/AddChat.qml index d932aa7f..13860a30 100644 --- a/src/qml/Pages/AddChat/AddChat.qml +++ b/src/qml/Pages/AddChat/AddChat.qml @@ -13,7 +13,7 @@ HPage { Utils.getItem(modelSources["Account"] || [], "user_id", userId) - HTabbedBoxes { + HTabContainer { tabModel: [ qsTr("Find someone"), qsTr("Join room"), qsTr("Create room"), ]