Files
neochat/src/settings/CMakeLists.txt
Joshua Goins 069e0d8f16 Add informational Keyboard Shortcuts settings page
While we don't have customizable keyboard shortcuts (yet!) we have been
asked before for some way to view all of NeoChat's keyboard shortcuts.
2025-10-28 10:29:55 -04:00

80 lines
2.2 KiB
CMake

# SPDX-FileCopyrightText: 2024 James Graham <james.h.graham@protonmail.com>
# SPDX-License-Identifier: BSD-2-Clause
qt_add_library(Settings STATIC)
set_source_files_properties(
RoomSettingsView.qml
NeoChatSettingsView.qml
PROPERTIES
QT_QML_SINGLETON_TYPE TRUE
)
ecm_add_qml_module(Settings GENERATE_PLUGIN_SOURCE
URI org.kde.neochat.settings
OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/src/org/kde/neochat/settings
QML_FILES
NeoChatSettingsView.qml
RoomSettingsView.qml
AccountsPage.qml
AccountEditorPage.qml
AppearanceSettingsPage.qml
DevicesPage.qml
EmoticonsPage.qml
EmoticonEditorPage.qml
GlobalNotificationsPage.qml
NeoChatGeneralPage.qml
NeoChatSecurityPage.qml
NetworkProxyPage.qml
Permissions.qml
PushNotification.qml
RoomGeneralPage.qml
RoomSecurityPage.qml
ColorScheme.qml
ConfirmDeactivateAccountDialog.qml
ConfirmEncryptionDialog.qml
DevicesCard.qml
DeviceDelegate.qml
EmoticonFormCard.qml
IdentityServerDelegate.qml
IgnoredUsersDialog.qml
NotificationRuleItem.qml
PasswordSheet.qml
PowerLevelDialog.qml
SelectParentDialog.qml
SelectSpacesDialog.qml
ThemeRadioButton.qml
ThreePIdCard.qml
ImportKeysDialog.qml
ExportKeysDialog.qml
RoomSortParameterDialog.qml
RoomProfile.qml
RoomAdvancedPage.qml
KeyboardShortcutsPage.qml
SOURCES
colorschemer.cpp
threepidaddhelper.cpp
threepidbindhelper.cpp
models/accountemoticonmodel.cpp
models/devicesmodel.cpp
models/devicesproxymodel.cpp
models/emoticonfiltermodel.cpp
models/permissionsmodel.cpp
models/pushrulemodel.cpp
models/roomsortparametermodel.cpp
models/threepidmodel.cpp
DEPENDENCIES
QtCore
io.github.quotient_im.libquotient
org.kde.neochat.libneochat
)
target_include_directories(Settings PRIVATE ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/models)
target_link_libraries(Settings PRIVATE
KF6::ColorScheme
KF6::I18n
QuotientQt6
LibNeoChat
)