summary refs log tree commit diff
path: root/src/ui
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2024-03-16 01:24:33 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2024-03-16 01:34:23 +0100
commit06927cd3c256949fb0622889506cc3bd3a2e286e (patch)
tree0f1922dd6dd5cdb30dc047d1d77a05e7b88df304 /src/ui
parentworkaround broken platform dialogs on macos (diff)
downloadnheko-06927cd3c256949fb0622889506cc3bd3a2e286e.tar.xz
Include moc files for a tiny speedup on incremental builds
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/EventExpiry.cpp2
-rw-r--r--src/ui/HiddenEvents.cpp2
-rw-r--r--src/ui/MxcAnimatedImage.cpp2
-rw-r--r--src/ui/MxcMediaProxy.cpp2
-rw-r--r--src/ui/NhekoCursorShape.cpp2
-rw-r--r--src/ui/NhekoDropArea.cpp2
-rw-r--r--src/ui/NhekoDropArea.h2
-rw-r--r--src/ui/NhekoGlobalObject.cpp2
-rw-r--r--src/ui/RoomSettings.cpp2
-rw-r--r--src/ui/RoomSummary.cpp2
-rw-r--r--src/ui/Theme.cpp2
-rw-r--r--src/ui/UIA.cpp2
-rw-r--r--src/ui/UserProfile.cpp2
13 files changed, 26 insertions, 0 deletions
diff --git a/src/ui/EventExpiry.cpp b/src/ui/EventExpiry.cpp

index afacd2cd..8065c397 100644 --- a/src/ui/EventExpiry.cpp +++ b/src/ui/EventExpiry.cpp
@@ -123,3 +123,5 @@ EventExpiry::setExpireStateEvents(bool val) this->event.exclude_state_events = !val; emit expireEventsAfterCountChanged(); } + +#include "moc_EventExpiry.cpp" diff --git a/src/ui/HiddenEvents.cpp b/src/ui/HiddenEvents.cpp
index f92b992d..78bb72d6 100644 --- a/src/ui/HiddenEvents.cpp +++ b/src/ui/HiddenEvents.cpp
@@ -104,3 +104,5 @@ HiddenEvents::save() } }); } + +#include "moc_HiddenEvents.cpp" diff --git a/src/ui/MxcAnimatedImage.cpp b/src/ui/MxcAnimatedImage.cpp
index f536b39f..e58f2e6e 100644 --- a/src/ui/MxcAnimatedImage.cpp +++ b/src/ui/MxcAnimatedImage.cpp
@@ -208,3 +208,5 @@ MxcAnimatedImage::updatePaintNode(QSGNode *oldNode, QQuickItem::UpdatePaintNodeD return n; } + +#include "moc_MxcAnimatedImage.cpp" diff --git a/src/ui/MxcMediaProxy.cpp b/src/ui/MxcMediaProxy.cpp
index 39fdb155..1b7a31be 100644 --- a/src/ui/MxcMediaProxy.cpp +++ b/src/ui/MxcMediaProxy.cpp
@@ -172,3 +172,5 @@ MxcMediaProxy::startDownload(bool onlyCached) } }); } + +#include "moc_MxcMediaProxy.cpp" diff --git a/src/ui/NhekoCursorShape.cpp b/src/ui/NhekoCursorShape.cpp
index 76a5e097..626470cd 100644 --- a/src/ui/NhekoCursorShape.cpp +++ b/src/ui/NhekoCursorShape.cpp
@@ -28,3 +28,5 @@ NhekoCursorShape::setCursorShape(Qt::CursorShape cursorShape) setCursor(cursorShape); emit cursorShapeChanged(); } + +#include "moc_NhekoCursorShape.cpp" diff --git a/src/ui/NhekoDropArea.cpp b/src/ui/NhekoDropArea.cpp
index 571ccf69..6751a729 100644 --- a/src/ui/NhekoDropArea.cpp +++ b/src/ui/NhekoDropArea.cpp
@@ -40,3 +40,5 @@ NhekoDropArea::dropEvent(QDropEvent *event) } } } + +#include "moc_NhekoDropArea.cpp" diff --git a/src/ui/NhekoDropArea.h b/src/ui/NhekoDropArea.h
index 46a02da5..63a1be4c 100644 --- a/src/ui/NhekoDropArea.h +++ b/src/ui/NhekoDropArea.h
@@ -2,6 +2,8 @@ // // SPDX-License-Identifier: GPL-3.0-or-later +#pragma once + #include <QQuickItem> class NhekoDropArea : public QQuickItem diff --git a/src/ui/NhekoGlobalObject.cpp b/src/ui/NhekoGlobalObject.cpp
index 54c4c1c9..591eed3c 100644 --- a/src/ui/NhekoGlobalObject.cpp +++ b/src/ui/NhekoGlobalObject.cpp
@@ -212,3 +212,5 @@ Nheko::setWindowRole([[maybe_unused]] QWindow *win, [[maybe_unused]] QString new role.data()); #endif } + +#include "moc_NhekoGlobalObject.cpp" diff --git a/src/ui/RoomSettings.cpp b/src/ui/RoomSettings.cpp
index 073b27d0..b61cab26 100644 --- a/src/ui/RoomSettings.cpp +++ b/src/ui/RoomSettings.cpp
@@ -811,3 +811,5 @@ RoomSettings::applyAllowedFromModel() this->allowedRoomsModified_ = true; emit allowedRoomsModifiedChanged(); } + +#include "moc_RoomSettings.cpp" diff --git a/src/ui/RoomSummary.cpp b/src/ui/RoomSummary.cpp
index a56c228a..edef8339 100644 --- a/src/ui/RoomSummary.cpp +++ b/src/ui/RoomSummary.cpp
@@ -95,3 +95,5 @@ RoomSummary::promptJoin() else ChatPage::instance()->joinRoomVia(roomIdOrAlias, vias, true, reason_); } + +#include "moc_RoomSummary.cpp" diff --git a/src/ui/Theme.cpp b/src/ui/Theme.cpp
index 159fc2ae..4d46db13 100644 --- a/src/ui/Theme.cpp +++ b/src/ui/Theme.cpp
@@ -84,3 +84,5 @@ Theme::Theme(QStringView theme) error_ = QColor(0xdd, 0x3d, 0x3d); } } + +#include "moc_Theme.cpp" diff --git a/src/ui/UIA.cpp b/src/ui/UIA.cpp
index 4c1d35b9..f212fc1d 100644 --- a/src/ui/UIA.cpp +++ b/src/ui/UIA.cpp
@@ -285,3 +285,5 @@ UIA::submit3pidToken(const QString &token) this->submit_url.clear(); }); } + +#include "moc_UIA.cpp" diff --git a/src/ui/UserProfile.cpp b/src/ui/UserProfile.cpp
index c7254e23..6f5fbc61 100644 --- a/src/ui/UserProfile.cpp +++ b/src/ui/UserProfile.cpp
@@ -627,3 +627,5 @@ UserProfile::openGlobalProfile() { emit manager->openGlobalUserProfile(userid_); } + +#include "moc_UserProfile.cpp"