summary refs log tree commit diff
path: root/src/ui
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-09-25 20:05:08 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-09-25 20:05:08 +0200
commit851333a50da846cc458356d763d524750b432ccb (patch)
tree0ff682353637708e8952444662e2890228c66b8b /src/ui
parentAccepted... not Approved (diff)
downloadnheko-851333a50da846cc458356d763d524750b432ccb.tar.xz
Switch to clang-format14
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/HiddenEvents.h3
-rw-r--r--src/ui/NhekoCursorShape.cpp3
-rw-r--r--src/ui/UIA.h3
-rw-r--r--src/ui/UserProfile.h12
4 files changed, 14 insertions, 7 deletions
diff --git a/src/ui/HiddenEvents.h b/src/ui/HiddenEvents.h

index e61cac0a..3c0e0c67 100644 --- a/src/ui/HiddenEvents.h +++ b/src/ui/HiddenEvents.h
@@ -18,7 +18,8 @@ class HiddenEvents : public QObject public: explicit HiddenEvents(QObject *p = nullptr) : QObject(p) - {} + { + } Q_INVOKABLE void toggle(int type); Q_INVOKABLE void save(); diff --git a/src/ui/NhekoCursorShape.cpp b/src/ui/NhekoCursorShape.cpp
index 10a6ddab..1c5918b4 100644 --- a/src/ui/NhekoCursorShape.cpp +++ b/src/ui/NhekoCursorShape.cpp
@@ -10,7 +10,8 @@ NhekoCursorShape::NhekoCursorShape(QQuickItem *parent) : QQuickItem(parent) , currentShape_(Qt::CursorShape::ArrowCursor) -{} +{ +} Qt::CursorShape NhekoCursorShape::cursorShape() const diff --git a/src/ui/UIA.h b/src/ui/UIA.h
index c7c88675..9c10dade 100644 --- a/src/ui/UIA.h +++ b/src/ui/UIA.h
@@ -20,7 +20,8 @@ public: UIA(QObject *parent = nullptr) : QObject(parent) - {} + { + } mtx::http::UIAHandler genericHandler(QString context); diff --git a/src/ui/UserProfile.h b/src/ui/UserProfile.h
index 0f94914d..1675c0e5 100644 --- a/src/ui/UserProfile.h +++ b/src/ui/UserProfile.h
@@ -39,7 +39,8 @@ class UserProfileFetchProxy : public QObject public: UserProfileFetchProxy(QObject *p = nullptr) : QObject(p) - {} + { + } signals: void profileFetched(mtx::responses::Profile); @@ -58,7 +59,8 @@ public: , verification_status(verification_status_) , lastIp(lastIp_) , lastTs(lastTs_) - {} + { + } DeviceInfo(const QString deviceID, const QString displayName, verification::Status verification_status_) @@ -66,10 +68,12 @@ public: , display_name(displayName) , verification_status(verification_status_) , lastTs(0) - {} + { + } DeviceInfo() : verification_status(verification::UNVERIFIED) - {} + { + } QString device_id; QString display_name;