Move all files under src/

remotes/origin/HEAD
Konstantinos Sideris 6 years ago
parent 96a2c614bf
commit 0e814da91c
  1. 2
      .ci/format.sh
  2. 259
      CMakeLists.txt
  3. 0
      cmake/version.h
  4. 2
      src/AvatarProvider.cpp
  5. 0
      src/AvatarProvider.h
  6. 1
      src/Cache.cpp
  7. 2
      src/Cache.h
  8. 8
      src/ChatPage.cpp
  9. 0
      src/ChatPage.h
  10. 2
      src/CommunitiesList.cpp
  11. 0
      src/CommunitiesList.h
  12. 6
      src/CommunitiesListItem.cpp
  13. 0
      src/CommunitiesListItem.h
  14. 0
      src/Config.h
  15. 4
      src/InviteeItem.cpp
  16. 0
      src/InviteeItem.h
  17. 2
      src/Logging.cpp
  18. 0
      src/Logging.h
  19. 10
      src/LoginPage.cpp
  20. 0
      src/LoginPage.h
  21. 12
      src/MainWindow.cpp
  22. 0
      src/MainWindow.h
  23. 0
      src/MatrixClient.cpp
  24. 0
      src/MatrixClient.h
  25. 4
      src/Olm.cpp
  26. 0
      src/Olm.h
  27. 1
      src/QuickSwitcher.cpp
  28. 4
      src/QuickSwitcher.h
  29. 10
      src/RegisterPage.cpp
  30. 0
      src/RegisterPage.h
  31. 8
      src/RoomInfoListItem.cpp
  32. 0
      src/RoomInfoListItem.h
  33. 4
      src/RoomList.cpp
  34. 0
      src/RoomList.h
  35. 0
      src/RunGuard.cpp
  36. 0
      src/RunGuard.h
  37. 6
      src/SideBarActions.cpp
  38. 6
      src/SideBarActions.h
  39. 2
      src/Splitter.cpp
  40. 0
      src/Splitter.h
  41. 13
      src/SuggestionsPopup.cpp
  42. 1
      src/SuggestionsPopup.h
  43. 2
      src/TextInputWidget.cpp
  44. 9
      src/TextInputWidget.h
  45. 8
      src/TopRoomBar.cpp
  46. 0
      src/TopRoomBar.h
  47. 0
      src/TrayIcon.cpp
  48. 0
      src/TrayIcon.h
  49. 0
      src/TypingDisplay.cpp
  50. 0
      src/TypingDisplay.h
  51. 6
      src/UserInfoWidget.cpp
  52. 0
      src/UserInfoWidget.h
  53. 6
      src/UserSettingsPage.cpp
  54. 0
      src/UserSettingsPage.h
  55. 0
      src/Utils.cpp
  56. 0
      src/Utils.h
  57. 2
      src/WelcomePage.cpp
  58. 0
      src/WelcomePage.h
  59. 12
      src/dialogs/CreateRoom.cpp
  60. 0
      src/dialogs/CreateRoom.h
  61. 3
      src/dialogs/ImageOverlay.cpp
  62. 0
      src/dialogs/ImageOverlay.h
  63. 8
      src/dialogs/InviteUsers.cpp
  64. 0
      src/dialogs/InviteUsers.h
  65. 10
      src/dialogs/JoinRoom.cpp
  66. 0
      src/dialogs/JoinRoom.h
  67. 8
      src/dialogs/LeaveRoom.cpp
  68. 0
      src/dialogs/LeaveRoom.h
  69. 8
      src/dialogs/Logout.cpp
  70. 0
      src/dialogs/Logout.h
  71. 10
      src/dialogs/MemberList.cpp
  72. 0
      src/dialogs/MemberList.h
  73. 6
      src/dialogs/PreviewUploadOverlay.cpp
  74. 2
      src/dialogs/PreviewUploadOverlay.h
  75. 10
      src/dialogs/ReCaptcha.cpp
  76. 0
      src/dialogs/ReCaptcha.h
  77. 10
      src/dialogs/ReadReceipts.cpp
  78. 0
      src/dialogs/ReadReceipts.h
  79. 27
      src/dialogs/RoomSettings.cpp
  80. 0
      src/dialogs/RoomSettings.h
  81. 0
      src/emoji/Category.cpp
  82. 0
      src/emoji/Category.h
  83. 0
      src/emoji/ItemDelegate.cpp
  84. 0
      src/emoji/ItemDelegate.h
  85. 4
      src/emoji/Panel.cpp
  86. 0
      src/emoji/Panel.h
  87. 0
      src/emoji/PickButton.cpp
  88. 2
      src/emoji/PickButton.h
  89. 0
      src/emoji/Provider.cpp
  90. 0
      src/emoji/Provider.h
  91. 6
      src/main.cpp
  92. 0
      src/notifications/Manager.h
  93. 8
      src/timeline/TimelineItem.cpp
  94. 0
      src/timeline/TimelineItem.h
  95. 8
      src/timeline/TimelineView.cpp
  96. 4
      src/timeline/TimelineView.h
  97. 2
      src/timeline/TimelineViewManager.cpp
  98. 0
      src/timeline/TimelineViewManager.h
  99. 2
      src/timeline/widgets/AudioItem.cpp
  100. 0
      src/timeline/widgets/AudioItem.h
  101. Some files were not shown because too many files have changed in this diff Show More

@ -9,6 +9,6 @@ set -o errexit
set -o pipefail
set -o nounset
FILES=`find include src -type f -type f \( -iname "*.cc" -o -iname "*.h" \)`
FILES=`find src -type f -type f \( -iname "*.cpp" -o -iname "*.h" \)`
clang-format -i $FILES && git diff --exit-code

@ -136,7 +136,7 @@ message(STATUS "Version: ${PROJECT_VERSION}")
cmake_host_system_information(RESULT BUILD_HOST QUERY HOSTNAME)
set(BUILD_USER $ENV{USER})
configure_file(cmake/version.hpp config/version.hpp)
configure_file(cmake/version.h config/version.h)
#
@ -144,82 +144,82 @@ configure_file(cmake/version.hpp config/version.hpp)
#
set(SRC_FILES
# Dialogs
src/dialogs/CreateRoom.cc
src/dialogs/ImageOverlay.cc
src/dialogs/PreviewUploadOverlay.cc
src/dialogs/InviteUsers.cc
src/dialogs/JoinRoom.cc
src/dialogs/CreateRoom.cpp
src/dialogs/ImageOverlay.cpp
src/dialogs/PreviewUploadOverlay.cpp
src/dialogs/InviteUsers.cpp
src/dialogs/JoinRoom.cpp
src/dialogs/MemberList.cpp
src/dialogs/LeaveRoom.cc
src/dialogs/Logout.cc
src/dialogs/ReadReceipts.cc
src/dialogs/LeaveRoom.cpp
src/dialogs/Logout.cpp
src/dialogs/ReadReceipts.cpp
src/dialogs/ReCaptcha.cpp
src/dialogs/RoomSettings.cpp
# Emoji
src/emoji/Category.cc
src/emoji/ItemDelegate.cc
src/emoji/Panel.cc
src/emoji/PickButton.cc
src/emoji/Provider.cc
src/emoji/Category.cpp
src/emoji/ItemDelegate.cpp
src/emoji/Panel.cpp
src/emoji/PickButton.cpp
src/emoji/Provider.cpp
# Timeline
src/timeline/TimelineViewManager.cc
src/timeline/TimelineItem.cc
src/timeline/TimelineView.cc
src/timeline/widgets/AudioItem.cc
src/timeline/widgets/FileItem.cc
src/timeline/widgets/ImageItem.cc
src/timeline/widgets/VideoItem.cc
src/timeline/TimelineViewManager.cpp
src/timeline/TimelineItem.cpp
src/timeline/TimelineView.cpp
src/timeline/widgets/AudioItem.cpp
src/timeline/widgets/FileItem.cpp
src/timeline/widgets/ImageItem.cpp
src/timeline/widgets/VideoItem.cpp
# UI components
src/ui/Avatar.cc
src/ui/Badge.cc
src/ui/LoadingIndicator.cc
src/ui/Avatar.cpp
src/ui/Badge.cpp
src/ui/LoadingIndicator.cpp
src/ui/InfoMessage.cpp
src/ui/FlatButton.cc
src/ui/FloatingButton.cc
src/ui/Label.cc
src/ui/OverlayModal.cc
src/ui/ScrollBar.cc
src/ui/SnackBar.cc
src/ui/RaisedButton.cc
src/ui/Ripple.cc
src/ui/RippleOverlay.cc
src/ui/OverlayWidget.cc
src/ui/TextField.cc
src/ui/ToggleButton.cc
src/ui/Theme.cc
src/ui/ThemeManager.cc
src/AvatarProvider.cc
src/Cache.cc
src/ChatPage.cc
src/CommunitiesListItem.cc
src/CommunitiesList.cc
src/InviteeItem.cc
src/LoginPage.cc
src/ui/FlatButton.cpp
src/ui/FloatingButton.cpp
src/ui/Label.cpp
src/ui/OverlayModal.cpp
src/ui/ScrollBar.cpp
src/ui/SnackBar.cpp
src/ui/RaisedButton.cpp
src/ui/Ripple.cpp
src/ui/RippleOverlay.cpp
src/ui/OverlayWidget.cpp
src/ui/TextField.cpp
src/ui/ToggleButton.cpp
src/ui/Theme.cpp
src/ui/ThemeManager.cpp
src/AvatarProvider.cpp
src/Cache.cpp
src/ChatPage.cpp
src/CommunitiesListItem.cpp
src/CommunitiesList.cpp
src/InviteeItem.cpp
src/LoginPage.cpp
src/Logging.cpp
src/MainWindow.cc
src/MatrixClient.cc
src/QuickSwitcher.cc
src/MainWindow.cpp
src/MatrixClient.cpp
src/QuickSwitcher.cpp
src/Olm.cpp
src/RegisterPage.cc
src/RoomInfoListItem.cc
src/RoomList.cc
src/RunGuard.cc
src/SideBarActions.cc
src/Splitter.cc
src/RegisterPage.cpp
src/RoomInfoListItem.cpp
src/RoomList.cpp
src/RunGuard.cpp
src/SideBarActions.cpp
src/Splitter.cpp
src/SuggestionsPopup.cpp
src/TextInputWidget.cc
src/TopRoomBar.cc
src/TrayIcon.cc
src/TypingDisplay.cc
src/Utils.cc
src/UserInfoWidget.cc
src/UserSettingsPage.cc
src/WelcomePage.cc
src/main.cc
src/TextInputWidget.cpp
src/TopRoomBar.cpp
src/TrayIcon.cpp
src/TypingDisplay.cpp
src/Utils.cpp
src/UserInfoWidget.cpp
src/UserSettingsPage.cpp
src/WelcomePage.cpp
src/main.cpp
)
# ExternalProject dependencies
@ -252,82 +252,81 @@ if(NOT TWEENY_INCLUDE_DIR)
endif()
include_directories(SYSTEM ${TWEENY_INCLUDE_DIR})
include_directories(include)
include_directories(include/ui)
include_directories(${CMAKE_SOURCE_DIR}/src)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/config)
qt5_wrap_cpp(MOC_HEADERS
# Dialogs
include/dialogs/CreateRoom.h
include/dialogs/ImageOverlay.h
include/dialogs/PreviewUploadOverlay.h
include/dialogs/InviteUsers.h
include/dialogs/JoinRoom.h
include/dialogs/MemberList.hpp
include/dialogs/LeaveRoom.h
include/dialogs/Logout.h
include/dialogs/ReadReceipts.h
include/dialogs/ReCaptcha.hpp
include/dialogs/RoomSettings.hpp
src/dialogs/CreateRoom.h
src/dialogs/ImageOverlay.h
src/dialogs/PreviewUploadOverlay.h
src/dialogs/InviteUsers.h
src/dialogs/JoinRoom.h
src/dialogs/MemberList.h
src/dialogs/LeaveRoom.h
src/dialogs/Logout.h
src/dialogs/ReadReceipts.h
src/dialogs/ReCaptcha.h
src/dialogs/RoomSettings.h
# Emoji
include/emoji/Category.h
include/emoji/ItemDelegate.h
include/emoji/Panel.h
include/emoji/PickButton.h
src/emoji/Category.h
src/emoji/ItemDelegate.h
src/emoji/Panel.h
src/emoji/PickButton.h
# Timeline
include/timeline/TimelineItem.h
include/timeline/TimelineView.h
include/timeline/TimelineViewManager.h
include/timeline/widgets/AudioItem.h
include/timeline/widgets/FileItem.h
include/timeline/widgets/ImageItem.h
include/timeline/widgets/VideoItem.h
src/timeline/TimelineItem.h
src/timeline/TimelineView.h
src/timeline/TimelineViewManager.h
src/timeline/widgets/AudioItem.h
src/timeline/widgets/FileItem.h
src/timeline/widgets/ImageItem.h
src/timeline/widgets/VideoItem.h
# UI components
include/ui/Avatar.h
include/ui/Badge.h
include/ui/LoadingIndicator.h
include/ui/InfoMessage.hpp
include/ui/FlatButton.h
include/ui/Label.h
include/ui/FloatingButton.h
include/ui/OverlayWidget.h
include/ui/ScrollBar.h
include/ui/SnackBar.h
include/ui/RaisedButton.h
include/ui/Ripple.h
include/ui/RippleOverlay.h
include/ui/TextField.h
include/ui/ToggleButton.h
include/ui/Theme.h
include/ui/ThemeManager.h
include/notifications/Manager.h
include/AvatarProvider.h
include/Cache.h
include/ChatPage.h
include/CommunitiesListItem.h
include/CommunitiesList.h
include/LoginPage.h
include/MainWindow.h
include/InviteeItem.h
include/QuickSwitcher.h
include/RegisterPage.h
include/RoomInfoListItem.h
include/RoomList.h
include/SideBarActions.h
include/Splitter.h
include/SuggestionsPopup.hpp
include/TextInputWidget.h
include/TopRoomBar.h
include/TrayIcon.h
include/TypingDisplay.h
include/UserInfoWidget.h
include/UserSettingsPage.h
include/WelcomePage.h
src/ui/Avatar.h
src/ui/Badge.h
src/ui/LoadingIndicator.h
src/ui/InfoMessage.h
src/ui/FlatButton.h
src/ui/Label.h
src/ui/FloatingButton.h
src/ui/OverlayWidget.h
src/ui/ScrollBar.h
src/ui/SnackBar.h
src/ui/RaisedButton.h
src/ui/Ripple.h
src/ui/RippleOverlay.h
src/ui/TextField.h
src/ui/ToggleButton.h
src/ui/Theme.h
src/ui/ThemeManager.h
src/notifications/Manager.h
src/AvatarProvider.h
src/Cache.h
src/ChatPage.h
src/CommunitiesListItem.h
src/CommunitiesList.h
src/LoginPage.h
src/MainWindow.h
src/InviteeItem.h
src/QuickSwitcher.h
src/RegisterPage.h
src/RoomInfoListItem.h
src/RoomList.h
src/SideBarActions.h
src/Splitter.h
src/SuggestionsPopup.h
src/TextInputWidget.h
src/TopRoomBar.h
src/TrayIcon.h
src/TypingDisplay.h
src/UserInfoWidget.h
src/UserSettingsPage.h
src/WelcomePage.h
)
#

@ -20,7 +20,7 @@
#include "AvatarProvider.h"
#include "Cache.h"
#include "Logging.hpp"
#include "Logging.h"
#include "MatrixClient.h"
namespace AvatarProvider {

@ -28,7 +28,6 @@
#include <variant.hpp>
#include "Cache.h"
#include "Logging.hpp"
#include "Utils.h"
//! Should be changed when a breaking change occurs in the cache format.

@ -31,7 +31,7 @@
#include <mtxclient/crypto/client.hpp>
#include <mutex>
#include "Logging.hpp"
#include "Logging.h"
using mtx::events::state::JoinRule;

@ -23,22 +23,22 @@
#include "AvatarProvider.h"
#include "Cache.h"
#include "ChatPage.h"
#include "Logging.hpp"
#include "Logging.h"
#include "MainWindow.h"
#include "MatrixClient.h"
#include "Olm.hpp"
#include "OverlayModal.h"
#include "Olm.h"
#include "QuickSwitcher.h"
#include "RoomList.h"
#include "SideBarActions.h"
#include "Splitter.h"
#include "TextInputWidget.h"
#include "Theme.h"
#include "TopRoomBar.h"
#include "TypingDisplay.h"
#include "UserInfoWidget.h"
#include "UserSettingsPage.h"
#include "Utils.h"
#include "ui/OverlayModal.h"
#include "ui/Theme.h"
#include "notifications/Manager.h"

@ -1,6 +1,6 @@
#include "CommunitiesList.h"
#include "Cache.h"
#include "Logging.hpp"
#include "Logging.h"
#include "MatrixClient.h"
#include <QLabel>

@ -1,8 +1,8 @@
#include "CommunitiesListItem.h"
#include "Painter.h"
#include "Ripple.h"
#include "RippleOverlay.h"
#include "Utils.h"
#include "ui/Painter.h"
#include "ui/Ripple.h"
#include "ui/RippleOverlay.h"
CommunitiesListItem::CommunitiesListItem(QString group_id, QWidget *parent)
: QWidget(parent)

@ -1,8 +1,8 @@
#include <QHBoxLayout>
#include "FlatButton.h"
#include "InviteeItem.h"
#include "Theme.h"
#include "ui/FlatButton.h"
#include "ui/Theme.h"
constexpr int SidePadding = 10;
constexpr int IconSize = 13;

@ -1,4 +1,4 @@
#include "Logging.hpp"
#include "Logging.h"
#include <iostream>
#include <spdlog/sinks/file_sinks.h>

@ -20,13 +20,13 @@
#include <mtx/identifiers.hpp>
#include "Config.h"
#include "FlatButton.h"
#include "LoadingIndicator.h"
#include "LoginPage.h"
#include "MatrixClient.h"
#include "OverlayModal.h"
#include "RaisedButton.h"
#include "TextField.h"
#include "ui/FlatButton.h"
#include "ui/LoadingIndicator.h"
#include "ui/OverlayModal.h"
#include "ui/RaisedButton.h"
#include "ui/TextField.h"
using namespace mtx::identifiers;

@ -24,25 +24,25 @@
#include "ChatPage.h"
#include "Config.h"
#include "LoadingIndicator.h"
#include "Logging.hpp"
#include "Logging.h"
#include "LoginPage.h"
#include "MainWindow.h"
#include "MatrixClient.h"
#include "OverlayModal.h"
#include "RegisterPage.h"
#include "SnackBar.h"
#include "TrayIcon.h"
#include "UserSettingsPage.h"
#include "WelcomePage.h"
#include "ui/LoadingIndicator.h"
#include "ui/OverlayModal.h"
#include "ui/SnackBar.h"
#include "dialogs/CreateRoom.h"
#include "dialogs/InviteUsers.h"
#include "dialogs/JoinRoom.h"
#include "dialogs/LeaveRoom.h"
#include "dialogs/Logout.h"
#include "dialogs/MemberList.hpp"
#include "dialogs/RoomSettings.hpp"
#include "dialogs/MemberList.h"
#include "dialogs/RoomSettings.h"
MainWindow *MainWindow::instance_ = nullptr;

@ -1,7 +1,7 @@
#include "Olm.hpp"
#include "Olm.h"
#include "Cache.h"
#include "Logging.hpp"
#include "Logging.h"
#include "MatrixClient.h"
using namespace mtx::crypto;

@ -23,6 +23,7 @@
#include <QtConcurrent>
#include "QuickSwitcher.h"
#include "SuggestionsPopup.h"
RoomSearchInput::RoomSearchInput(QWidget *parent)
: TextField(parent)

@ -22,8 +22,8 @@
#include <QVBoxLayout>
#include <QWidget>
#include "SuggestionsPopup.hpp"
#include "TextField.h"
#include "SuggestionsPopup.h"
#include "ui/TextField.h"
Q_DECLARE_METATYPE(std::vector<RoomSearchResult>)

@ -19,15 +19,15 @@
#include <QTimer>
#include "Config.h"
#include "FlatButton.h"
#include "Logging.hpp"
#include "Logging.h"
#include "MainWindow.h"
#include "MatrixClient.h"
#include "RaisedButton.h"
#include "RegisterPage.h"
#include "TextField.h"
#include "ui/FlatButton.h"
#include "ui/RaisedButton.h"
#include "ui/TextField.h"
#include "dialogs/ReCaptcha.hpp"
#include "dialogs/ReCaptcha.h"
RegisterPage::RegisterPage(QWidget *parent)
: QWidget(parent)

@ -24,12 +24,12 @@
#include "Cache.h"
#include "Config.h"
#include "Menu.h"
#include "Ripple.h"
#include "RippleOverlay.h"
#include "RoomInfoListItem.h"
#include "Theme.h"
#include "Utils.h"
#include "ui/Menu.h"
#include "ui/Ripple.h"
#include "ui/RippleOverlay.h"
#include "ui/Theme.h"
constexpr int MaxUnreadCountDisplayed = 99;

@ -21,14 +21,14 @@
#include <QTimer>
#include "Cache.h"
#include "Logging.hpp"
#include "Logging.h"
#include "MainWindow.h"
#include "MatrixClient.h"
#include "OverlayModal.h"
#include "RoomInfoListItem.h"
#include "RoomList.h"
#include "UserSettingsPage.h"
#include "Utils.h"
#include "ui/OverlayModal.h"
RoomList::RoomList(QSharedPointer<UserSettings> userSettings, QWidget *parent)
: QWidget(parent)

@ -5,9 +5,11 @@
#include "Config.h"
#include "MainWindow.h"
#include "OverlayModal.h"
#include "SideBarActions.h"
#include "Theme.h"
#include "ui/FlatButton.h"
#include "ui/Menu.h"
#include "ui/OverlayModal.h"
#include "ui/Theme.h"
SideBarActions::SideBarActions(QWidget *parent)
: QWidget{parent}

@ -5,15 +5,15 @@
#include <QResizeEvent>
#include <QWidget>
#include "FlatButton.h"
#include "Menu.h"
namespace mtx {
namespace requests {
struct CreateRoom;
}
}
class Menu;
class FlatButton;
class SideBarActions : public QWidget
{
Q_OBJECT

@ -23,7 +23,7 @@
#include "Config.h"
#include "Splitter.h"
#include "Theme.h"
#include "ui/Theme.h"
constexpr auto MaxWidth = (1 << 24) - 1;

@ -1,14 +1,13 @@
#include "Avatar.h"
#include "AvatarProvider.h"
#include "Config.h"
#include "DropShadow.h"
#include "SuggestionsPopup.hpp"
#include "Utils.h"
#include <QPaintEvent>
#include <QPainter>
#include <QStyleOption>
#include "Config.h"
#include "SuggestionsPopup.h"
#include "Utils.h"
#include "ui/Avatar.h"
#include "ui/DropShadow.h"
constexpr int PopupHMargin = 4;
constexpr int PopupItemMargin = 3;

@ -5,7 +5,6 @@
#include <QPoint>
#include <QWidget>
#include "Avatar.h"
#include "AvatarProvider.h"
#include "Cache.h"
#include "ChatPage.h"

@ -36,6 +36,8 @@
#include "Config.h"
#include "TextInputWidget.h"
#include "Utils.h"
#include "ui/FlatButton.h"
#include "ui/LoadingIndicator.h"
static constexpr size_t INPUT_HISTORY_SIZE = 127;
static constexpr int MAX_TEXTINPUT_HEIGHT = 120;

@ -28,12 +28,8 @@
#include <QTextEdit>
#include <QWidget>
#include "FlatButton.h"
#include "LoadingIndicator.h"
#include "SuggestionsPopup.hpp"
#include "SuggestionsPopup.h"
#include "dialogs/PreviewUploadOverlay.h"
#include "emoji/PickButton.h"
namespace dialogs {
@ -42,6 +38,9 @@ class PreviewUploadOverlay;
struct SearchResult;
class FlatButton;
class LoadingIndicator;
class FilteredTextEdit : public QTextEdit
{
Q_OBJECT

@ -18,14 +18,14 @@
#include <QDebug>
#include <QStyleOption>
#include "Avatar.h"
#include "Config.h"
#include "FlatButton.h"
#include "MainWindow.h"
#include "Menu.h"
#include "OverlayModal.h"
#include "TopRoomBar.h"
#include "Utils.h"
#include "ui/Avatar.h"
#include "ui/FlatButton.h"
#include "ui/Menu.h"
#include "ui/OverlayModal.h"
TopRoomBar::TopRoomBar(QWidget *parent)
: QWidget(parent)

@ -17,12 +17,12 @@
#include <QTimer>
#include "Avatar.h"
#include "Config.h"
#include "FlatButton.h"
#include "MainWindow.h"
#include "OverlayModal.h"
#include "UserInfoWidget.h"
#include "ui/Avatar.h"
#include "ui/FlatButton.h"
#include "ui/OverlayModal.h"
UserInfoWidget::UserInfoWidget(QWidget *parent)
: QWidget(parent)

@ -24,11 +24,11 @@
#include <QSettings>
#include "Config.h"
#include "FlatButton.h"
#include "UserSettingsPage.h"
#include <ToggleButton.h>
#include "ui/FlatButton.h"
#include "ui/ToggleButton.h"
#include "version.hpp"
#include "version.h"
UserSettings::UserSettings() { load(); }

@ -20,8 +20,8 @@
#include <QStyleOption>
#include "Config.h"
#include "RaisedButton.h"
#include "WelcomePage.h"
#include "ui/RaisedButton.h"
WelcomePage::WelcomePage(QWidget *parent)
: QWidget(parent)

@ -3,14 +3,14 @@
#include <QStyleOption>
#include <QVBoxLayout>
#include "Config.h"
#include "FlatButton.h"
#include "TextField.h"
#include "Theme.h"
#include "ToggleButton.h"
#include "dialogs/CreateRoom.h"
#include "Config.h"
#include "ui/FlatButton.h"
#include "ui/TextField.h"
#include "ui/Theme.h"
#include "ui/ToggleButton.h"
using namespace dialogs;
CreateRoom::CreateRoom(QWidget *parent)

@ -19,9 +19,10 @@
#include <QDesktopWidget>
#include <QPainter>
#include "Utils.h"
#include "dialogs/ImageOverlay.h"
#include "Utils.h"
using namespace dialogs;
ImageOverlay::ImageOverlay(QPixmap image, QWidget *parent)

@ -6,12 +6,12 @@
#include <QTimer>
#include <QVBoxLayout>
#include "Config.h"
#include "FlatButton.h"
#include "TextField.h"
#include "dialogs/InviteUsers.h"
#include "Config.h"
#include "InviteeItem.h"
#include "dialogs/InviteUsers.h"
#include "ui/FlatButton.h"
#include "ui/TextField.h"
#include "mtx.hpp"

@ -2,13 +2,13 @@
#include <QStyleOption>
#include <QVBoxLayout>
#include "Config.h"
#include "FlatButton.h"
#include "TextField.h"
#include "Theme.h"
#include "dialogs/JoinRoom.h"
#include "Config.h"
#include "ui/FlatButton.h"
#include "ui/TextField.h"
#include "ui/Theme.h"
using namespace dialogs;
JoinRoom::JoinRoom(QWidget *parent)

@ -2,12 +2,12 @@
#include <QStyleOption>
#include <QVBoxLayout>
#include "Config.h"
#include "FlatButton.h"
#include "Theme.h"
#include "dialogs/LeaveRoom.h"
#include "Config.h"
#include "ui/FlatButton.h"
#include "ui/Theme.h"
using namespace dialogs;
LeaveRoom::LeaveRoom(QWidget *parent)

@ -20,12 +20,12 @@
#include <QStyleOption>
#include <QVBoxLayout>
#include "Config.h"
#include "FlatButton.h"
#include "Theme.h"
#include "dialogs/Logout.h"
#include "Config.h"
#include "ui/FlatButton.h"
#include "ui/Theme.h"
using namespace dialogs;
Logout::Logout(QWidget *parent)

@ -3,15 +3,15 @@
#include <QStyleOption>
#include <QVBoxLayout>
#include "dialogs/MemberList.h"
#include "AvatarProvider.h"
#include "Cache.h"
#include "ChatPage.h"
#include "Config.h"
#include "FlatButton.h"
#include "Utils.h"
#include "Avatar.h"
#include "Cache.h"
#include "dialogs/MemberList.hpp"
#include "ui/Avatar.h"
#include "ui/FlatButton.h"
using namespace dialogs;

@ -23,13 +23,13 @@
#include <QMimeDatabase>
#include <QVBoxLayout>
#include "dialogs/PreviewUploadOverlay.h"
#include "Config.h"
#include "Logging.hpp"
#include "Logging.h"
#include "MainWindow.h"
#include "Utils.h"
#include "dialogs/PreviewUploadOverlay.h"
using namespace dialogs;
constexpr const char *DEFAULT = "Upload %1?";

@ -22,7 +22,7 @@
#include <QPixmap>
#include <QWidget>
#include "FlatButton.h"
#include "ui/FlatButton.h"
class QMimeData;

@ -4,13 +4,13 @@
#include <QStyleOption>
#include <QVBoxLayout>
#include "dialogs/ReCaptcha.h"
#include "Config.h"
#include "FlatButton.h"
#include "MatrixClient.h"
#include "RaisedButton.h"
#include "Theme.h"
#include "dialogs/ReCaptcha.hpp"
#include "ui/FlatButton.h"
#include "ui/RaisedButton.h"
#include "ui/Theme.h"
using namespace dialogs;

@ -6,14 +6,14 @@
#include <QTimer>
#include <QVBoxLayout>
#include "ChatPage.h"
#include "Config.h"
#include "Utils.h"
#include "dialogs/ReadReceipts.h"
#include "Avatar.h"
#include "AvatarProvider.h"
#include "Cache.h"
#include "dialogs/ReadReceipts.h"
#include "ChatPage.h"
#include "Config.h"
#include "Utils.h"
#include "ui/Avatar.h"
using namespace dialogs;

@ -1,16 +1,3 @@
#include "Avatar.h"
#include "ChatPage.h"
#include "Config.h"
#include "FlatButton.h"
#include "Logging.hpp"
#include "MatrixClient.h"
#include "Painter.h"
#include "TextField.h"
#include "Theme.h"
#include "Utils.h"
#include "dialogs/RoomSettings.hpp"
#include "ui/ToggleButton.h"
#include <QApplication>
#include <QComboBox>
#include <QLabel>
@ -22,6 +9,20 @@
#include <QStyleOption>
#include <QVBoxLayout>
#include "dialogs/RoomSettings.h"
#include "ChatPage.h"
#include "Config.h"
#include "Logging.h"
#include "MatrixClient.h"
#include "Utils.h"
#include "ui/Avatar.h"
#include "ui/FlatButton.h"
#include "ui/Painter.h"
#include "ui/TextField.h"
#include "ui/Theme.h"
#include "ui/ToggleButton.h"
using namespace dialogs;
using namespace mtx::events;

@ -19,8 +19,8 @@
#include <QScrollBar>
#include <QVBoxLayout>
#include "DropShadow.h"
#include "FlatButton.h"
#include "ui/DropShadow.h"
#include "ui/FlatButton.h"
#include "emoji/Category.h"
#include "emoji/Panel.h"

@ -21,7 +21,7 @@
#include <QTimer>
#include <QWidget>
#include "FlatButton.h"
#include "ui/FlatButton.h"
namespace emoji {

@ -32,12 +32,12 @@
#include <QTranslator>
#include "Config.h"
#include "Logging.hpp"
#include "Logging.h"
#include "MainWindow.h"
#include "MatrixClient.h"
#include "RaisedButton.h"
#include "RunGuard.h"
#include "version.hpp"
#include "ui/RaisedButton.h"
#include "version.h"
#if defined(Q_OS_LINUX)
#include <boost/stacktrace.hpp>

@ -20,12 +20,12 @@
#include <QMenu>
#include <QTimer>
#include "Avatar.h"
#include "ChatPage.h"
#include "Config.h"
#include "Logging.hpp"
#include "Olm.hpp"
#include "Painter.h"
#include "Logging.h"
#include "Olm.h"
#include "ui/Avatar.h"
#include "ui/Painter.h"
#include "timeline/TimelineItem.h"
#include "timeline/widgets/AudioItem.h"

@ -22,12 +22,12 @@
#include "Cache.h"
#include "ChatPage.h"
#include "Config.h"
#include "FloatingButton.h"
#include "InfoMessage.hpp"
#include "Logging.hpp"
#include "Olm.hpp"
#include "Logging.h"
#include "Olm.h"
#include "UserSettingsPage.h"
#include "Utils.h"
#include "ui/FloatingButton.h"
#include "ui/InfoMessage.h"
#include "timeline/TimelineView.h"
#include "timeline/widgets/AudioItem.h"

@ -30,8 +30,8 @@
#include <mtx/responses/messages.hpp>
#include "MatrixClient.h"
#include "ScrollBar.h"
#include "TimelineItem.h"
#include "timeline/TimelineItem.h"
#include "ui/ScrollBar.h"
class StateKeeper
{

@ -22,7 +22,7 @@
#include <QSettings>
#include "Cache.h"
#include "Logging.hpp"
#include "Logging.h"
#include "timeline/TimelineView.h"
#include "timeline/TimelineViewManager.h"
#include "timeline/widgets/AudioItem.h"

@ -22,7 +22,7 @@
#include <QPainter>
#include <QPixmap>
#include "Logging.hpp"
#include "Logging.h"
#include "MatrixClient.h"
#include "Utils.h"

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save