mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-30 11:43:36 +02:00
misc: move JamiTheme and JamiStrings to net.jami.Constants namespace
Change-Id: Ief728a8bd36f6c29a906686988b28b0640b2065c
This commit is contained in:
parent
b77b963e39
commit
7bd7b2e9ee
120 changed files with 135 additions and 76 deletions
|
@ -7,6 +7,7 @@ import QtGraphicalEffects 1.14
|
|||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Enums 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "mainview"
|
||||
import "wizardview"
|
||||
|
|
|
@ -24,8 +24,8 @@ import QtQuick.Layouts 1.14
|
|||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../constant"
|
||||
import "../wizardview/components"
|
||||
|
||||
// Account Migration Dialog for migrating account
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
import QtQuick 2.14
|
||||
import QtQuick.Controls 2.14
|
||||
import QtQuick.Window 2.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
import QtQuick 2.14
|
||||
import QtQuick.Controls 2.14
|
||||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
Menu {
|
||||
id: root
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
import QtQuick 2.14
|
||||
import QtQuick.Dialogs 1.3
|
||||
|
||||
import "../constant"
|
||||
|
||||
Dialog {
|
||||
id: root
|
||||
|
||||
|
|
|
@ -22,8 +22,8 @@ import QtQuick.Layouts 1.14
|
|||
import QtQuick.Controls.Styles 1.4
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../constant"
|
||||
import "../commoncomponents"
|
||||
|
||||
BaseDialog {
|
||||
|
|
|
@ -18,8 +18,7 @@
|
|||
|
||||
import QtQuick 2.14
|
||||
import QtQuick.Controls 1.4
|
||||
|
||||
import "../constant"
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
Label {
|
||||
id: root
|
||||
|
|
|
@ -20,7 +20,7 @@ import QtQuick 2.14
|
|||
import QtQuick.Controls 2.14
|
||||
import QtQuick.Layouts 1.14
|
||||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
// General menu item.
|
||||
// Can control top, bottom, left, right border width.
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
import QtQuick 2.14
|
||||
import QtQuick.Controls 2.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
MenuSeparator {
|
||||
id: menuSeparator
|
||||
|
|
|
@ -2,8 +2,7 @@ import QtQuick 2.14
|
|||
import QtQuick.Controls 2.14
|
||||
import QtQuick.Layouts 1.14
|
||||
import QtQuick.Controls.Styles 1.4
|
||||
|
||||
import "../constant"
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
TextField{
|
||||
enum BorderColorMode{
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
import QtQuick 2.14
|
||||
import Qt.labs.platform 1.1
|
||||
import "../constant"
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
FileDialog {
|
||||
id: root
|
||||
|
|
|
@ -22,7 +22,7 @@ import QtQuick.Controls.Universal 2.14
|
|||
import QtQuick.Layouts 1.14
|
||||
import QtGraphicalEffects 1.14
|
||||
import QtQuick.Controls.Styles 1.4
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
Rectangle {
|
||||
id: listViewBackground
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
import QtQuick 2.14
|
||||
import QtQuick.Layouts 1.14
|
||||
import QtQuick.Controls 2.14
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
Label {
|
||||
id: lookupStatusLabel
|
||||
|
|
|
@ -20,8 +20,7 @@ import QtQuick 2.14
|
|||
import QtQuick.Controls 2.14
|
||||
import QtGraphicalEffects 1.14
|
||||
import QtQuick.Window 2.14
|
||||
|
||||
import "../constant"
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
Button {
|
||||
id: root
|
||||
|
|
|
@ -20,8 +20,7 @@ import QtQuick 2.14
|
|||
import QtQuick.Controls 2.14
|
||||
import QtQuick.Layouts 1.14
|
||||
import QtGraphicalEffects 1.14
|
||||
|
||||
import "../constant"
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
TextField {
|
||||
enum BorderColorMode {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
import QtQuick 2.14
|
||||
import QtQuick.Controls 2.14
|
||||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
Popup {
|
||||
id: root
|
||||
|
|
|
@ -20,10 +20,8 @@ import QtQuick 2.14
|
|||
import QtQuick.Controls 2.14
|
||||
import QtQuick.Layouts 1.14
|
||||
import QtQuick.Controls.Styles 1.4
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
|
||||
import "../constant"
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
// PasswordDialog for changing password and exporting account
|
||||
BaseDialog {
|
||||
|
|
|
@ -6,6 +6,7 @@ import Qt.labs.platform 1.1
|
|||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
ColumnLayout {
|
||||
property int photoState: PhotoboothView.PhotoState.Default
|
||||
|
|
|
@ -26,6 +26,7 @@ import Qt.labs.platform 1.1
|
|||
import QtQuick.Dialogs 1.3
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../commoncomponents"
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
import QtQuick 2.14
|
||||
import QtQuick.Controls 2.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
// Serves as either account or contact presence indicator.
|
||||
// TODO: this should be part of an avatar component at some point.
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
import QtQuick 2.14
|
||||
import QtQuick.Controls 2.14
|
||||
import QtGraphicalEffects 1.14
|
||||
import "../constant"
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
//
|
||||
// PushButton contains the following configurable properties:
|
||||
|
|
|
@ -22,8 +22,7 @@ import QtQuick.Controls.Universal 2.14
|
|||
import QtQuick.Layouts 1.14
|
||||
import QtGraphicalEffects 1.14
|
||||
import QtQuick.Controls.Styles 1.4
|
||||
|
||||
import "../constant"
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
ComboBox {
|
||||
id: root
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
import QtQuick 2.14
|
||||
import QtQuick.Controls 2.14
|
||||
import QtQuick.Layouts 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
BaseDialog {
|
||||
id: root
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
import QtQuick 2.14
|
||||
import QtQuick.Controls 2.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
MaterialButton {
|
||||
id: root
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
|
||||
import QtQuick 2.14
|
||||
import QtQuick.Controls 2.14
|
||||
import net.jami.Models 1.0
|
||||
|
||||
Button {
|
||||
id: tintedButton
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// JamiTheme as a singleton is to provide global strings entries.
|
||||
// JamiStrings as a singleton is to provide global strings entries.
|
||||
pragma Singleton
|
||||
|
||||
import QtQuick 2.14
|
||||
|
|
|
@ -24,6 +24,7 @@ import QtQuick.Controls.Universal 2.14
|
|||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
// Import qml component files.
|
||||
import "components"
|
||||
|
|
|
@ -19,10 +19,10 @@
|
|||
import QtQuick 2.14
|
||||
import QtQuick.Controls 2.14
|
||||
import QtQuick.Layouts 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Models 1.0 //Albert
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../constant"
|
||||
import "../../commoncomponents"
|
||||
|
||||
ModalPopup {
|
||||
|
|
|
@ -23,6 +23,7 @@ import QtQuick.Layouts 1.14
|
|||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ import QtQuick.Layouts 1.14
|
|||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ import QtQuick.Layouts 1.14
|
|||
import QtQuick.Controls.Universal 2.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ import QtQuick.Controls 2.14
|
|||
import QtQuick.Layouts 1.14
|
||||
import QtQuick.Controls.Universal 2.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ import QtQuick.Controls.Universal 2.14
|
|||
import QtQml 2.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../js/contactpickercreation.js" as ContactPickerCreation
|
||||
import "../js/mediahandlerpickercreation.js" as MediaHandlerPickerCreation
|
||||
|
|
|
@ -23,6 +23,7 @@ import QtQuick.Layouts 1.14
|
|||
import QtQuick.Controls.Universal 2.14
|
||||
import QtQml 2.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ import QtQuick.Controls 2.14
|
|||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
import "../../commoncomponents/js/contextmenugenerator.js" as ContextMenuGenerator
|
||||
|
|
|
@ -21,6 +21,7 @@ import QtQuick.Controls 2.14
|
|||
import QtQuick.Layouts 1.14
|
||||
import QtQuick.Controls.Universal 2.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ import QtQuick 2.14
|
|||
import QtQuick.Controls 2.14
|
||||
import QtQuick.Layouts 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ import QtQuick.Controls 2.14
|
|||
import QtQuick.Layouts 1.14
|
||||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
Rectangle {
|
||||
id: contactSearchBarRect
|
||||
|
|
|
@ -21,6 +21,7 @@ import QtQuick.Controls 2.14
|
|||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
import "../../commoncomponents/js/contextmenugenerator.js" as ContextMenuGenerator
|
||||
|
|
|
@ -21,6 +21,7 @@ import QtQuick.Controls 2.14
|
|||
import QtQuick.Layouts 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -20,8 +20,10 @@ import QtQuick 2.14
|
|||
import QtQuick.Controls 2.14
|
||||
import QtQuick.Layouts 1.14
|
||||
import QtQuick.Controls.Universal 2.14
|
||||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ import QtQuick.Layouts 1.14
|
|||
import QtGraphicalEffects 1.14
|
||||
import QtQuick.Controls.Styles 1.4
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ import QtQuick.Layouts 1.14
|
|||
import QtQuick.Controls.Universal 2.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ import QtWebEngine 1.10
|
|||
import QtWebChannel 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ import QtQuick 2.14
|
|||
import QtQuick.Controls 2.14
|
||||
import QtQuick.Layouts 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ import QtQuick.Layouts 1.14
|
|||
import QtQuick.Controls.Universal 2.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ import QtQuick 2.14
|
|||
import QtQuick.Controls 2.14
|
||||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
import "../../commoncomponents/js/contextmenugenerator.js" as ContextMenuGenerator
|
||||
|
|
|
@ -22,6 +22,7 @@ import QtQuick.Layouts 1.14
|
|||
import QtQuick.Controls.Universal 2.14
|
||||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ import QtQuick 2.14
|
|||
import QtQuick.Controls 2.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
ScrollView {
|
||||
id: projectCreditsScrollView
|
||||
|
|
|
@ -24,6 +24,7 @@ import QtGraphicalEffects 1.14
|
|||
import QtQuick.Shapes 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ import QtQuick.Controls 2.14
|
|||
import QtQuick.Layouts 1.14
|
||||
import QtQuick.Controls.Universal 2.14
|
||||
import net.jami.Models 1.0
|
||||
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
// ScreenRubberBand as a seperate frameless window,
|
||||
// is to simulate the whole screen area and provide the user
|
||||
|
|
|
@ -22,6 +22,7 @@ import QtQuick.Controls 2.14
|
|||
import QtQuick.Layouts 1.14
|
||||
import QtQuick.Controls.Universal 2.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../js/screenrubberbandcreation.js" as ScreenRubberBandCreation
|
||||
import "../../commoncomponents"
|
||||
|
|
|
@ -22,6 +22,7 @@ import QtQuick.Layouts 1.14
|
|||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -23,6 +23,8 @@ import QtQuick.Layouts 1.14
|
|||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
TabBar {
|
||||
|
|
|
@ -21,6 +21,7 @@ import QtQuick.Controls 2.14
|
|||
import QtQuick.Layouts 1.14
|
||||
import QtQuick.Controls.Universal 2.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ import QtQuick.Layouts 1.14
|
|||
import QtQuick.Controls.Universal 2.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
import QtQuick 2.14
|
||||
import QtQuick.Controls 2.14
|
||||
import QtQuick.Layouts 1.14
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../constant"
|
||||
import "../../commoncomponents"
|
||||
|
||||
BaseDialog {
|
||||
|
|
|
@ -24,6 +24,7 @@ import QtQuick.Controls.Universal 2.14
|
|||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
import QtQuick 2.14
|
||||
import QtQuick.Controls 2.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ import QtQuick.Controls 2.14
|
|||
import QtQuick.Layouts 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@ import QtQuick.Layouts 1.14
|
|||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
|
||||
import "../../constant"
|
||||
import "../../commoncomponents"
|
||||
|
||||
ModalPopup {
|
||||
|
|
|
@ -72,8 +72,8 @@
|
|||
return P; \
|
||||
});
|
||||
|
||||
#define QML_REGISTERSINGLETONTYPE_URL(URL, T, MAJ, MIN) \
|
||||
qmlRegisterSingletonType(QUrl(QStringLiteral(URL)), "net.jami.Models", MAJ, MIN, #T);
|
||||
#define QML_REGISTERSINGLETONTYPE_URL(N, URL, T, MAJ, MIN) \
|
||||
qmlRegisterSingletonType(QUrl(QStringLiteral(URL)), N, MAJ, MIN, #T);
|
||||
|
||||
#define QML_REGISTERTYPE(N, T, MAJ, MIN) qmlRegisterType<T>(N, MAJ, MIN, #T);
|
||||
|
||||
|
@ -144,9 +144,9 @@ registerTypes()
|
|||
/*
|
||||
* Qml singleton components
|
||||
*/
|
||||
QML_REGISTERSINGLETONTYPE_URL("qrc:/src/constant/JamiTheme.qml", JamiTheme, 1, 0);
|
||||
QML_REGISTERSINGLETONTYPE_URL("qrc:/src/constant/JamiQmlUtils.qml", JamiQmlUtils, 1, 0);
|
||||
QML_REGISTERSINGLETONTYPE_URL("qrc:/src/constant/JamiStrings.qml", JamiStrings, 1, 0);
|
||||
QML_REGISTERSINGLETONTYPE_URL("net.jami.Constants", "qrc:/src/constant/JamiTheme.qml", JamiTheme, 1, 0);
|
||||
QML_REGISTERSINGLETONTYPE_URL("net.jami.Models", "qrc:/src/constant/JamiQmlUtils.qml", JamiQmlUtils, 1, 0);
|
||||
QML_REGISTERSINGLETONTYPE_URL("net.jami.Constants", "qrc:/src/constant/JamiStrings.qml", JamiStrings, 1, 0);
|
||||
|
||||
/*
|
||||
* C++ singletons
|
||||
|
|
|
@ -24,6 +24,7 @@ import QtQuick.Layouts 1.14
|
|||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "components"
|
||||
|
||||
|
|
|
@ -22,9 +22,10 @@ import QtQuick.Controls 2.14
|
|||
import QtQuick.Controls.Universal 2.14
|
||||
import QtGraphicalEffects 1.14
|
||||
import QtQuick.Controls.Styles 1.4
|
||||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import Qt.labs.platform 1.1
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -25,9 +25,9 @@ import QtQuick.Controls.Styles 1.4
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
import "../../constant"
|
||||
|
||||
ColumnLayout {
|
||||
id: root
|
||||
|
|
|
@ -25,9 +25,9 @@ import QtQuick.Controls.Styles 1.4
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
import "../../constant"
|
||||
|
||||
ColumnLayout {
|
||||
id: root
|
||||
|
|
|
@ -25,9 +25,9 @@ import QtQuick.Controls.Styles 1.4
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
import "../../constant"
|
||||
|
||||
ColumnLayout {
|
||||
id: root
|
||||
|
|
|
@ -25,9 +25,9 @@ import QtQuick.Controls.Styles 1.4
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
import "../../constant"
|
||||
|
||||
ColumnLayout {
|
||||
id: root
|
||||
|
|
|
@ -25,6 +25,7 @@ import QtQuick.Controls.Styles 1.4
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -25,9 +25,9 @@ import QtQuick.Controls.Styles 1.4
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
import "../../constant"
|
||||
|
||||
ColumnLayout {
|
||||
id: root
|
||||
|
|
|
@ -25,9 +25,9 @@ import QtQuick.Controls.Styles 1.4
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
import "../../constant"
|
||||
|
||||
ColumnLayout {
|
||||
id: root
|
||||
|
|
|
@ -26,9 +26,9 @@ import QtQuick.Dialogs 1.3
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
import "../../constant"
|
||||
|
||||
ColumnLayout {
|
||||
id: root
|
||||
|
|
|
@ -25,6 +25,7 @@ import QtQuick.Controls.Styles 1.4
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -25,9 +25,9 @@ import QtQuick.Controls.Styles 1.4
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
import "../../constant"
|
||||
|
||||
ColumnLayout {
|
||||
id: root
|
||||
|
|
|
@ -25,9 +25,9 @@ import QtQuick.Controls.Styles 1.4
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
import "../../constant"
|
||||
|
||||
ColumnLayout {
|
||||
id: root
|
||||
|
|
|
@ -26,6 +26,7 @@ import Qt.labs.platform 1.1
|
|||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Enums 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@ import QtGraphicalEffects 1.14
|
|||
import QtQuick.Controls.Styles 1.4
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ import QtQuick.Controls.Styles 1.4
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ import QtQuick.Layouts 1.14
|
|||
import QtGraphicalEffects 1.14
|
||||
import QtQuick.Controls.Styles 1.4
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -22,10 +22,11 @@ import QtQuick.Controls.Universal 2.14
|
|||
import QtQuick.Layouts 1.14
|
||||
import QtGraphicalEffects 1.14
|
||||
import QtQuick.Controls.Styles 1.4
|
||||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Enums 1.0
|
||||
import Qt.labs.platform 1.1
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -26,9 +26,9 @@ import QtQuick.Dialogs 1.3
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
import "../../constant"
|
||||
|
||||
Rectangle {
|
||||
id: root
|
||||
|
|
|
@ -24,6 +24,7 @@ import QtGraphicalEffects 1.14
|
|||
import QtQuick.Controls.Styles 1.4
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ import QtGraphicalEffects 1.14
|
|||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Enums 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ import QtQuick.Controls.Styles 1.4
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import QtQuick 2.14
|
||||
import QtQuick.Controls 2.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
Item {
|
||||
property alias text: shortcutText.text
|
||||
|
|
|
@ -22,8 +22,8 @@ import QtQuick.Controls 1.4
|
|||
import QtQuick.Controls.Styles 1.4
|
||||
import QtQuick.Layouts 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../constant"
|
||||
import "../../commoncomponents"
|
||||
|
||||
BaseDialog {
|
||||
|
|
|
@ -23,8 +23,8 @@ import QtQuick.Layouts 1.14
|
|||
import QtQuick.Controls.Styles 1.4
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../constant"
|
||||
import "../../commoncomponents"
|
||||
|
||||
BaseDialog {
|
||||
|
|
|
@ -26,6 +26,7 @@ import QtQuick.Controls.Styles 1.4
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ import QtQuick.Layouts 1.14
|
|||
import QtGraphicalEffects 1.14
|
||||
import QtQuick.Controls.Styles 1.4
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
ItemDelegate {
|
||||
id: root
|
||||
|
|
|
@ -25,9 +25,9 @@ import QtQuick.Controls.Styles 1.4
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
import "../../constant"
|
||||
|
||||
ColumnLayout {
|
||||
id: root
|
||||
|
|
|
@ -23,8 +23,8 @@ import QtQuick.Layouts 1.14
|
|||
import QtQuick.Controls.Styles 1.4
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../constant"
|
||||
import "../../commoncomponents"
|
||||
|
||||
BaseDialog {
|
||||
|
|
|
@ -23,6 +23,7 @@ import QtQuick.Layouts 1.14
|
|||
import QtGraphicalEffects 1.14
|
||||
import QtQuick.Controls.Styles 1.4
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -24,6 +24,8 @@ import Qt.labs.platform 1.1
|
|||
import QtQuick.Dialogs 1.3
|
||||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
Rectangle {
|
||||
|
|
|
@ -24,6 +24,7 @@ import Qt.labs.platform 1.1
|
|||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ import QtQuick.Layouts 1.14
|
|||
import Qt.labs.platform 1.1
|
||||
import QtGraphicalEffects 1.14
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -22,9 +22,10 @@ import QtQuick.Controls.Universal 2.14
|
|||
import QtQuick.Layouts 1.14
|
||||
import QtGraphicalEffects 1.14
|
||||
import QtQuick.Controls.Styles 1.4
|
||||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import Qt.labs.platform 1.1
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -21,8 +21,8 @@ import QtQuick 2.14
|
|||
import QtQuick.Controls 2.14
|
||||
import QtQuick.Layouts 1.14
|
||||
import QtQuick.Controls.Styles 1.4
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../constant"
|
||||
import "../../commoncomponents"
|
||||
|
||||
BaseDialog {
|
||||
|
|
|
@ -25,6 +25,7 @@ import QtQuick.Controls.Styles 1.4
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
|
||||
|
|
|
@ -23,11 +23,11 @@ import QtQuick.Controls.Universal 2.14
|
|||
import QtGraphicalEffects 1.14
|
||||
import QtQuick.Controls.Styles 1.4
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import Qt.labs.platform 1.1
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
import "../../constant"
|
||||
|
||||
RowLayout {
|
||||
id: root
|
||||
|
|
|
@ -25,9 +25,9 @@ import QtQuick.Controls.Styles 1.4
|
|||
import Qt.labs.platform 1.1
|
||||
import net.jami.Models 1.0
|
||||
import net.jami.Adapters 1.0
|
||||
import net.jami.Constants 1.0
|
||||
|
||||
import "../../commoncomponents"
|
||||
import "../../constant"
|
||||
|
||||
RowLayout {
|
||||
id: root
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue