Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2026 UnionTech Software Technology Co., Ltd.
#
# SPDX-License-Identifier: LGPL-3.0-or-later

cmake_minimum_required(VERSION 3.10)

file(READ "${CMAKE_CURRENT_SOURCE_DIR}/VERSION" FILE_VERSION)
Expand Down Expand Up @@ -39,6 +43,8 @@ list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set(CMAKE_INSTALL_PREFIX /usr)
endif()
add_compile_definitions(QT_NO_KEYWORDS)

include(GNUInstallDirs)
include(CMakePackageConfigHelpers)

Expand Down
6 changes: 3 additions & 3 deletions src/dquickwindow.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2020 - 2026 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later

Expand Down Expand Up @@ -736,7 +736,7 @@ void DQuickWindowAttached::setThemeType(const DTK_GUI_NAMESPACE::DGuiApplication
d->ensurePalette();
d->_q_onPaletteChanged();

emit themeTypeChanged();
Q_EMIT themeTypeChanged();
}

void DQuickWindowAttached::resetThemeType()
Expand All @@ -758,7 +758,7 @@ void DQuickWindowAttached::resetThemeType()

if (d->themeType != DGuiApplicationHelper::UnknownType) {
d->themeType = DGuiApplicationHelper::UnknownType;
emit themeTypeChanged();
Q_EMIT themeTypeChanged();
}
QQuickWindowPrivate::get(window())->resetPalette();
}
Expand Down
4 changes: 2 additions & 2 deletions tests/ut_dblitframebuffernode.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2023-2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later

Expand Down Expand Up @@ -59,7 +59,7 @@ class DBlitFramebufferNodeItem : public QQuickItem
return node;
}

signals:
Q_SIGNALS:
void callbackCalled();

public:
Expand Down
4 changes: 2 additions & 2 deletions tests/ut_dblurimagenode.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
// SPDX-FileCopyrightText: 2023-2026 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later

Expand Down Expand Up @@ -82,7 +82,7 @@ class DSGBlurImageNodeItem : public QQuickItem
return node;
}

signals:
Q_SIGNALS:
void callbackCalled();

public:
Expand Down
Loading