mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Clean up headers
This commit is contained in:
parent
845228ac6a
commit
a17b6dffaf
71 changed files with 193 additions and 192 deletions
|
@ -18,12 +18,11 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
#include <QObject>
|
|
||||||
#include <QSharedPointer>
|
#include <QSharedPointer>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
|
|
||||||
#include "MatrixClient.h"
|
class MatrixClient;
|
||||||
#include "TimelineItem.h"
|
class TimelineItem;
|
||||||
|
|
||||||
class AvatarProvider : public QObject
|
class AvatarProvider : public QObject
|
||||||
{
|
{
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <lmdb++.h>
|
#include <lmdb++.h>
|
||||||
|
|
||||||
#include "RoomState.h"
|
class RoomState;
|
||||||
|
|
||||||
class Cache
|
class Cache
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,23 +17,27 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <QHBoxLayout>
|
||||||
|
#include <QMap>
|
||||||
#include <QPixmap>
|
#include <QPixmap>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "Cache.h"
|
class Cache;
|
||||||
#include "MatrixClient.h"
|
class MatrixClient;
|
||||||
#include "QuickSwitcher.h"
|
class OverlayModal;
|
||||||
#include "RoomList.h"
|
class QuickSwitcher;
|
||||||
#include "RoomSettings.h"
|
class RoomList;
|
||||||
#include "RoomState.h"
|
class RoomSettings;
|
||||||
#include "SideBarActions.h"
|
class RoomState;
|
||||||
#include "Splitter.h"
|
class SideBarActions;
|
||||||
#include "TextInputWidget.h"
|
class Splitter;
|
||||||
#include "TimelineViewManager.h"
|
class SyncResponse;
|
||||||
#include "TopRoomBar.h"
|
class TextInputWidget;
|
||||||
#include "TypingDisplay.h"
|
class TimelineViewManager;
|
||||||
#include "UserInfoWidget.h"
|
class TopRoomBar;
|
||||||
|
class TypingDisplay;
|
||||||
|
class UserInfoWidget;
|
||||||
|
|
||||||
constexpr int CONSENSUS_TIMEOUT = 1000;
|
constexpr int CONSENSUS_TIMEOUT = 1000;
|
||||||
constexpr int SHOW_CONTENT_TIMEOUT = 3000;
|
constexpr int SHOW_CONTENT_TIMEOUT = 3000;
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
|
|
||||||
#include <QJsonDocument>
|
#include <QJsonDocument>
|
||||||
#include <QJsonObject>
|
#include <QJsonObject>
|
||||||
#include <QJsonValue>
|
|
||||||
|
|
||||||
class DeserializationException : public std::exception
|
class DeserializationException : public std::exception
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,15 +17,14 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QHBoxLayout>
|
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
|
#include <QLayout>
|
||||||
#include <QListView>
|
#include <QListView>
|
||||||
#include <QStandardItemModel>
|
#include <QStandardItemModel>
|
||||||
#include <QVBoxLayout>
|
|
||||||
#include <QWidget>
|
|
||||||
|
|
||||||
#include "EmojiItemDelegate.h"
|
#include "EmojiItemDelegate.h"
|
||||||
#include "EmojiProvider.h"
|
|
||||||
|
class EmojiProvider;
|
||||||
|
|
||||||
class EmojiCategory : public QWidget
|
class EmojiCategory : public QWidget
|
||||||
{
|
{
|
||||||
|
|
|
@ -20,11 +20,11 @@
|
||||||
#include <QGraphicsOpacityEffect>
|
#include <QGraphicsOpacityEffect>
|
||||||
#include <QPropertyAnimation>
|
#include <QPropertyAnimation>
|
||||||
#include <QScrollArea>
|
#include <QScrollArea>
|
||||||
#include <QWidget>
|
|
||||||
|
|
||||||
#include "EmojiCategory.h"
|
|
||||||
#include "EmojiProvider.h"
|
#include "EmojiProvider.h"
|
||||||
|
|
||||||
|
class EmojiCategory;
|
||||||
|
|
||||||
class EmojiPanel : public QWidget
|
class EmojiPanel : public QWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
|
@ -20,9 +20,10 @@
|
||||||
#include <QEvent>
|
#include <QEvent>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "EmojiPanel.h"
|
|
||||||
#include "FlatButton.h"
|
#include "FlatButton.h"
|
||||||
|
|
||||||
|
class EmojiPanel;
|
||||||
|
|
||||||
class EmojiPickButton : public FlatButton
|
class EmojiPickButton : public FlatButton
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
|
@ -17,9 +17,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QFile>
|
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QMap>
|
|
||||||
|
|
||||||
struct Emoji
|
struct Emoji
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
|
|
||||||
#include "Image.h"
|
#include "Image.h"
|
||||||
#include "MatrixClient.h"
|
#include "MatrixClient.h"
|
||||||
|
#include "MessageEvent.h"
|
||||||
|
|
||||||
namespace events = matrix::events;
|
namespace events = matrix::events;
|
||||||
namespace msgs = matrix::events::messages;
|
namespace msgs = matrix::events::messages;
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QRegExp>
|
|
||||||
#include <QRegExpValidator>
|
#include <QRegExpValidator>
|
||||||
|
|
||||||
class InputValidator
|
class InputValidator
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#include <QFrame>
|
#include <QFrame>
|
||||||
#include <QLineEdit>
|
#include <QLineEdit>
|
||||||
|
|
||||||
#include "FlatButton.h"
|
class FlatButton;
|
||||||
|
|
||||||
class JoinRoomDialog : public QFrame
|
class JoinRoomDialog : public QFrame
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#include <QFrame>
|
#include <QFrame>
|
||||||
|
|
||||||
#include "FlatButton.h"
|
class FlatButton;
|
||||||
|
|
||||||
class LeaveRoomDialog : public QFrame
|
class LeaveRoomDialog : public QFrame
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,18 +17,17 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QHBoxLayout>
|
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
|
#include <QLayout>
|
||||||
#include <QSharedPointer>
|
#include <QSharedPointer>
|
||||||
#include <QVBoxLayout>
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "FlatButton.h"
|
class FlatButton;
|
||||||
#include "LoadingIndicator.h"
|
class LoadingIndicator;
|
||||||
#include "MatrixClient.h"
|
class MatrixClient;
|
||||||
#include "OverlayModal.h"
|
class OverlayModal;
|
||||||
#include "RaisedButton.h"
|
class RaisedButton;
|
||||||
#include "TextField.h"
|
class TextField;
|
||||||
|
|
||||||
class LoginPage : public QWidget
|
class LoginPage : public QWidget
|
||||||
{
|
{
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#include <QFrame>
|
#include <QFrame>
|
||||||
|
|
||||||
#include "FlatButton.h"
|
class FlatButton;
|
||||||
|
|
||||||
class LogoutDialog : public QFrame
|
class LogoutDialog : public QFrame
|
||||||
{
|
{
|
||||||
|
|
|
@ -19,16 +19,18 @@
|
||||||
|
|
||||||
#include <QMainWindow>
|
#include <QMainWindow>
|
||||||
#include <QSharedPointer>
|
#include <QSharedPointer>
|
||||||
|
#include <QStackedWidget>
|
||||||
|
#include <QSystemTrayIcon>
|
||||||
|
|
||||||
#include "ChatPage.h"
|
class ChatPage;
|
||||||
#include "LoadingIndicator.h"
|
class LoadingIndicator;
|
||||||
#include "LoginPage.h"
|
class LoginPage;
|
||||||
#include "MatrixClient.h"
|
class MatrixClient;
|
||||||
#include "OverlayModal.h"
|
class OverlayModal;
|
||||||
#include "RegisterPage.h"
|
class RegisterPage;
|
||||||
#include "SnackBar.h"
|
class SnackBar;
|
||||||
#include "TrayIcon.h"
|
class TrayIcon;
|
||||||
#include "WelcomePage.h"
|
class WelcomePage;
|
||||||
|
|
||||||
class MainWindow : public QMainWindow
|
class MainWindow : public QMainWindow
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,12 +17,13 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QtNetwork/QNetworkAccessManager>
|
#include <QNetworkAccessManager>
|
||||||
|
|
||||||
#include "MessageEvent.h"
|
#include "MessageEvent.h"
|
||||||
#include "Profile.h"
|
|
||||||
#include "RoomMessages.h"
|
class SyncResponse;
|
||||||
#include "Sync.h"
|
class Profile;
|
||||||
|
class RoomMessages;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* MatrixClient provides the high level API to communicate with
|
* MatrixClient provides the high level API to communicate with
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include <QJsonDocument>
|
#include <QJsonDocument>
|
||||||
#include <QUrl>
|
#include <QUrl>
|
||||||
|
|
||||||
#include "Deserializable.h"
|
class Deserializable;
|
||||||
|
|
||||||
class ProfileResponse : public Deserializable
|
class ProfileResponse : public Deserializable
|
||||||
{
|
{
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#include <QJsonDocument>
|
#include <QJsonDocument>
|
||||||
|
|
||||||
#include "Deserializable.h"
|
class Deserializable;
|
||||||
|
|
||||||
class RegisterRequest
|
class RegisterRequest
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,17 +17,15 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QHBoxLayout>
|
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
|
#include <QLayout>
|
||||||
#include <QSharedPointer>
|
#include <QSharedPointer>
|
||||||
#include <QVBoxLayout>
|
|
||||||
#include <QWidget>
|
|
||||||
|
|
||||||
#include "Avatar.h"
|
class Avatar;
|
||||||
#include "FlatButton.h"
|
class FlatButton;
|
||||||
#include "MatrixClient.h"
|
class MatrixClient;
|
||||||
#include "RaisedButton.h"
|
class RaisedButton;
|
||||||
#include "TextField.h"
|
class TextField;
|
||||||
|
|
||||||
class RegisterPage : public QWidget
|
class RegisterPage : public QWidget
|
||||||
{
|
{
|
||||||
|
|
|
@ -21,11 +21,12 @@
|
||||||
#include <QSharedPointer>
|
#include <QSharedPointer>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "Menu.h"
|
|
||||||
#include "RippleOverlay.h"
|
|
||||||
#include "RoomSettings.h"
|
|
||||||
#include "RoomState.h"
|
#include "RoomState.h"
|
||||||
|
|
||||||
|
class Menu;
|
||||||
|
class RippleOverlay;
|
||||||
|
class RoomSettings;
|
||||||
|
|
||||||
struct DescInfo
|
struct DescInfo
|
||||||
{
|
{
|
||||||
QString username;
|
QString username;
|
||||||
|
|
|
@ -17,19 +17,22 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <QMap>
|
||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
#include <QScrollArea>
|
#include <QScrollArea>
|
||||||
#include <QSharedPointer>
|
#include <QSharedPointer>
|
||||||
#include <QVBoxLayout>
|
#include <QVBoxLayout>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
#include "JoinRoomDialog.h"
|
class JoinRoomDialog;
|
||||||
#include "LeaveRoomDialog.h"
|
class LeaveRoomDialog;
|
||||||
#include "MatrixClient.h"
|
class MatrixClient;
|
||||||
#include "OverlayModal.h"
|
class OverlayModal;
|
||||||
#include "RoomInfoListItem.h"
|
class RoomInfoListItem;
|
||||||
#include "RoomState.h"
|
class RoomSettings;
|
||||||
#include "Sync.h"
|
class RoomState;
|
||||||
|
class Sync;
|
||||||
|
struct DescInfo;
|
||||||
|
|
||||||
class RoomList : public QWidget
|
class RoomList : public QWidget
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include <QHBoxLayout>
|
#include <QHBoxLayout>
|
||||||
#include <QResizeEvent>
|
#include <QResizeEvent>
|
||||||
|
#include <QWidget>
|
||||||
|
|
||||||
#include <FlatButton.h>
|
#include "FlatButton.h"
|
||||||
|
|
||||||
class SideBarActions : public QWidget
|
class SideBarActions : public QWidget
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,9 +18,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QJsonArray>
|
#include <QJsonArray>
|
||||||
#include <QJsonDocument>
|
|
||||||
#include <QMap>
|
#include <QMap>
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
#include "Deserializable.h"
|
#include "Deserializable.h"
|
||||||
|
|
||||||
|
|
|
@ -19,12 +19,7 @@
|
||||||
|
|
||||||
#include <QHBoxLayout>
|
#include <QHBoxLayout>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QWidget>
|
|
||||||
|
|
||||||
#include "ImageItem.h"
|
|
||||||
#include "Sync.h"
|
|
||||||
|
|
||||||
#include "Avatar.h"
|
|
||||||
#include "Emote.h"
|
#include "Emote.h"
|
||||||
#include "Image.h"
|
#include "Image.h"
|
||||||
#include "MessageEvent.h"
|
#include "MessageEvent.h"
|
||||||
|
@ -32,6 +27,9 @@
|
||||||
#include "RoomInfoListItem.h"
|
#include "RoomInfoListItem.h"
|
||||||
#include "Text.h"
|
#include "Text.h"
|
||||||
|
|
||||||
|
class ImageItem;
|
||||||
|
class Avatar;
|
||||||
|
|
||||||
namespace events = matrix::events;
|
namespace events = matrix::events;
|
||||||
namespace msgs = matrix::events::messages;
|
namespace msgs = matrix::events::messages;
|
||||||
|
|
||||||
|
|
|
@ -17,24 +17,23 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QHBoxLayout>
|
#include <QLayout>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QScrollArea>
|
#include <QScrollArea>
|
||||||
#include <QVBoxLayout>
|
|
||||||
#include <QWidget>
|
|
||||||
|
|
||||||
#include "ScrollBar.h"
|
|
||||||
#include "Sync.h"
|
|
||||||
#include "TimelineItem.h"
|
|
||||||
|
|
||||||
#include "Emote.h"
|
#include "Emote.h"
|
||||||
#include "Image.h"
|
#include "Image.h"
|
||||||
#include "MessageEvent.h"
|
#include "MessageEvent.h"
|
||||||
#include "Notice.h"
|
#include "Notice.h"
|
||||||
#include "RoomInfoListItem.h"
|
|
||||||
#include "Text.h"
|
#include "Text.h"
|
||||||
|
|
||||||
class FloatingButton;
|
class FloatingButton;
|
||||||
|
class MatrixClient;
|
||||||
|
class RoomMessages;
|
||||||
|
class ScrollBar;
|
||||||
|
class Timeline;
|
||||||
|
class TimelineItem;
|
||||||
|
struct DescInfo;
|
||||||
|
|
||||||
namespace msgs = matrix::events::messages;
|
namespace msgs = matrix::events::messages;
|
||||||
namespace events = matrix::events;
|
namespace events = matrix::events;
|
||||||
|
|
|
@ -17,16 +17,16 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QMap>
|
||||||
#include <QSharedPointer>
|
#include <QSharedPointer>
|
||||||
#include <QStackedWidget>
|
#include <QStackedWidget>
|
||||||
#include <QWidget>
|
|
||||||
|
|
||||||
#include "MatrixClient.h"
|
class JoinedRoom;
|
||||||
#include "MessageEvent.h"
|
class MatrixClient;
|
||||||
#include "RoomInfoListItem.h"
|
class RoomInfoListItem;
|
||||||
#include "Sync.h"
|
class Rooms;
|
||||||
#include "TimelineView.h"
|
class TimelineView;
|
||||||
|
struct DescInfo;
|
||||||
|
|
||||||
class TimelineViewManager : public QStackedWidget
|
class TimelineViewManager : public QStackedWidget
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,22 +18,21 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QAction>
|
#include <QAction>
|
||||||
#include <QDebug>
|
|
||||||
#include <QIcon>
|
#include <QIcon>
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
|
#include <QMenu>
|
||||||
#include <QPaintEvent>
|
#include <QPaintEvent>
|
||||||
#include <QSharedPointer>
|
#include <QSharedPointer>
|
||||||
#include <QVBoxLayout>
|
#include <QVBoxLayout>
|
||||||
#include <QWidget>
|
|
||||||
|
|
||||||
#include "Avatar.h"
|
class Avatar;
|
||||||
#include "FlatButton.h"
|
class FlatButton;
|
||||||
#include "Label.h"
|
class Label;
|
||||||
#include "LeaveRoomDialog.h"
|
class LeaveRoomDialog;
|
||||||
#include "Menu.h"
|
class Menu;
|
||||||
#include "OverlayModal.h"
|
class OverlayModal;
|
||||||
#include "RoomSettings.h"
|
class RoomSettings;
|
||||||
|
|
||||||
static const QString URL_HTML = "<a href=\"\\1\" style=\"color: #333333\">\\1</a>";
|
static const QString URL_HTML = "<a href=\"\\1\" style=\"color: #333333\">\\1</a>";
|
||||||
static const QRegExp URL_REGEX("((?:https?|ftp)://\\S+)");
|
static const QRegExp URL_REGEX("((?:https?|ftp)://\\S+)");
|
||||||
|
|
|
@ -20,7 +20,6 @@
|
||||||
#include <QAction>
|
#include <QAction>
|
||||||
#include <QIcon>
|
#include <QIcon>
|
||||||
#include <QIconEngine>
|
#include <QIconEngine>
|
||||||
#include <QMenu>
|
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QRect>
|
#include <QRect>
|
||||||
#include <QSystemTrayIcon>
|
#include <QSystemTrayIcon>
|
||||||
|
|
|
@ -17,15 +17,13 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <QtWidgets/QHBoxLayout>
|
#include <QLabel>
|
||||||
#include <QtWidgets/QLabel>
|
#include <QLayout>
|
||||||
#include <QtWidgets/QVBoxLayout>
|
|
||||||
#include <QtWidgets/QWidget>
|
|
||||||
|
|
||||||
#include "Avatar.h"
|
class Avatar;
|
||||||
#include "FlatButton.h"
|
class FlatButton;
|
||||||
#include "LogoutDialog.h"
|
class LogoutDialog;
|
||||||
#include "OverlayModal.h"
|
class OverlayModal;
|
||||||
|
|
||||||
class UserInfoWidget : public QWidget
|
class UserInfoWidget : public QWidget
|
||||||
{
|
{
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include <QJsonDocument>
|
#include <QJsonDocument>
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
|
||||||
#include "Deserializable.h"
|
class Deserializable;
|
||||||
|
|
||||||
class VersionsResponse : public Deserializable
|
class VersionsResponse : public Deserializable
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,7 +17,9 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "RaisedButton.h"
|
#include <QWidget>
|
||||||
|
|
||||||
|
class RaisedButton;
|
||||||
|
|
||||||
class WelcomePage : public QWidget
|
class WelcomePage : public QWidget
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
#include <QStateMachine>
|
#include <QStateMachine>
|
||||||
|
|
||||||
#include "RippleOverlay.h"
|
|
||||||
#include "Theme.h"
|
#include "Theme.h"
|
||||||
|
|
||||||
|
class RippleOverlay;
|
||||||
class FlatButton;
|
class FlatButton;
|
||||||
|
|
||||||
class FlatButtonStateMachine : public QStateMachine
|
class FlatButtonStateMachine : public QStateMachine
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "AvatarProvider.h"
|
#include "AvatarProvider.h"
|
||||||
|
#include "MatrixClient.h"
|
||||||
|
#include "TimelineItem.h"
|
||||||
|
|
||||||
QSharedPointer<MatrixClient> AvatarProvider::client_;
|
QSharedPointer<MatrixClient> AvatarProvider::client_;
|
||||||
|
|
||||||
|
|
|
@ -18,12 +18,12 @@
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QDir>
|
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QStandardPaths>
|
#include <QStandardPaths>
|
||||||
|
|
||||||
#include "Cache.h"
|
#include "Cache.h"
|
||||||
#include "MemberEventContent.h"
|
#include "MemberEventContent.h"
|
||||||
|
#include "RoomState.h"
|
||||||
|
|
||||||
namespace events = matrix::events;
|
namespace events = matrix::events;
|
||||||
|
|
||||||
|
|
|
@ -21,16 +21,26 @@
|
||||||
#include <QtConcurrent>
|
#include <QtConcurrent>
|
||||||
|
|
||||||
#include "AvatarProvider.h"
|
#include "AvatarProvider.h"
|
||||||
|
#include "Cache.h"
|
||||||
#include "ChatPage.h"
|
#include "ChatPage.h"
|
||||||
#include "MainWindow.h"
|
#include "MainWindow.h"
|
||||||
|
#include "MatrixClient.h"
|
||||||
|
#include "OverlayModal.h"
|
||||||
|
#include "QuickSwitcher.h"
|
||||||
|
#include "RoomList.h"
|
||||||
|
#include "RoomSettings.h"
|
||||||
|
#include "RoomState.h"
|
||||||
|
#include "SideBarActions.h"
|
||||||
#include "Splitter.h"
|
#include "Splitter.h"
|
||||||
|
#include "StateEvent.h"
|
||||||
#include "Sync.h"
|
#include "Sync.h"
|
||||||
|
#include "TextInputWidget.h"
|
||||||
#include "Theme.h"
|
#include "Theme.h"
|
||||||
#include "TimelineViewManager.h"
|
#include "TimelineViewManager.h"
|
||||||
|
#include "TopRoomBar.h"
|
||||||
|
#include "TypingDisplay.h"
|
||||||
#include "UserInfoWidget.h"
|
#include "UserInfoWidget.h"
|
||||||
|
|
||||||
#include "StateEvent.h"
|
|
||||||
|
|
||||||
constexpr int MAX_INITIAL_SYNC_FAILURES = 5;
|
constexpr int MAX_INITIAL_SYNC_FAILURES = 5;
|
||||||
constexpr int SYNC_RETRY_TIMEOUT = 10000;
|
constexpr int SYNC_RETRY_TIMEOUT = 10000;
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QJsonDocument>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
|
|
||||||
#include "Deserializable.h"
|
#include "Deserializable.h"
|
||||||
|
|
||||||
DeserializationException::DeserializationException(const std::string &msg)
|
DeserializationException::DeserializationException(const std::string &msg)
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QDebug>
|
|
||||||
#include <QScrollBar>
|
#include <QScrollBar>
|
||||||
|
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
|
|
|
@ -16,11 +16,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
#include <QScrollArea>
|
|
||||||
#include <QScrollBar>
|
#include <QScrollBar>
|
||||||
#include <QVBoxLayout>
|
#include <QVBoxLayout>
|
||||||
|
|
||||||
#include "Avatar.h"
|
|
||||||
#include "DropShadow.h"
|
#include "DropShadow.h"
|
||||||
#include "EmojiCategory.h"
|
#include "EmojiCategory.h"
|
||||||
#include "EmojiPanel.h"
|
#include "EmojiPanel.h"
|
||||||
|
|
|
@ -15,8 +15,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QDebug>
|
#include "EmojiPanel.h"
|
||||||
|
|
||||||
#include "EmojiPickButton.h"
|
#include "EmojiPickButton.h"
|
||||||
|
|
||||||
EmojiPickButton::EmojiPickButton(QWidget *parent)
|
EmojiPickButton::EmojiPickButton(QWidget *parent)
|
||||||
|
|
|
@ -16,11 +16,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QByteArray>
|
#include <QByteArray>
|
||||||
#include <QDebug>
|
|
||||||
#include <QFile>
|
|
||||||
#include <QJsonArray>
|
|
||||||
#include <QJsonDocument>
|
|
||||||
#include <QJsonObject>
|
|
||||||
|
|
||||||
#include "EmojiProvider.h"
|
#include "EmojiProvider.h"
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
#include <QImage>
|
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QPixmap>
|
#include <QPixmap>
|
||||||
|
|
||||||
|
|
|
@ -16,11 +16,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QDebug>
|
|
||||||
#include <QDesktopWidget>
|
#include <QDesktopWidget>
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QScreen>
|
|
||||||
#include <QTimer>
|
|
||||||
|
|
||||||
#include "ImageOverlayDialog.h"
|
#include "ImageOverlayDialog.h"
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#include <QVBoxLayout>
|
#include <QVBoxLayout>
|
||||||
|
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
|
#include "FlatButton.h"
|
||||||
#include "JoinRoomDialog.h"
|
#include "JoinRoomDialog.h"
|
||||||
#include "Theme.h"
|
#include "Theme.h"
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
#include <QVBoxLayout>
|
#include <QVBoxLayout>
|
||||||
|
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
|
#include "FlatButton.h"
|
||||||
#include "LeaveRoomDialog.h"
|
#include "LeaveRoomDialog.h"
|
||||||
#include "Theme.h"
|
#include "Theme.h"
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QJsonDocument>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
|
|
||||||
#include "Deserializable.h"
|
#include "Deserializable.h"
|
||||||
#include "Login.h"
|
#include "Login.h"
|
||||||
|
|
||||||
|
|
|
@ -15,11 +15,15 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QDebug>
|
|
||||||
|
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
|
#include "FlatButton.h"
|
||||||
#include "InputValidator.h"
|
#include "InputValidator.h"
|
||||||
|
#include "LoadingIndicator.h"
|
||||||
#include "LoginPage.h"
|
#include "LoginPage.h"
|
||||||
|
#include "MatrixClient.h"
|
||||||
|
#include "OverlayModal.h"
|
||||||
|
#include "RaisedButton.h"
|
||||||
|
#include "TextField.h"
|
||||||
|
|
||||||
LoginPage::LoginPage(QSharedPointer<MatrixClient> client, QWidget *parent)
|
LoginPage::LoginPage(QSharedPointer<MatrixClient> client, QWidget *parent)
|
||||||
: QWidget(parent)
|
: QWidget(parent)
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#include <QVBoxLayout>
|
#include <QVBoxLayout>
|
||||||
|
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
|
#include "FlatButton.h"
|
||||||
#include "LogoutDialog.h"
|
#include "LogoutDialog.h"
|
||||||
#include "Theme.h"
|
#include "Theme.h"
|
||||||
|
|
||||||
|
|
|
@ -15,15 +15,23 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "MainWindow.h"
|
|
||||||
#include "Config.h"
|
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QLayout>
|
#include <QLayout>
|
||||||
#include <QNetworkReply>
|
#include <QNetworkReply>
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
#include <QShortcut>
|
#include <QShortcut>
|
||||||
#include <QSystemTrayIcon>
|
|
||||||
|
#include "ChatPage.h"
|
||||||
|
#include "Config.h"
|
||||||
|
#include "LoadingIndicator.h"
|
||||||
|
#include "LoginPage.h"
|
||||||
|
#include "MainWindow.h"
|
||||||
|
#include "MatrixClient.h"
|
||||||
|
#include "OverlayModal.h"
|
||||||
|
#include "RegisterPage.h"
|
||||||
|
#include "SnackBar.h"
|
||||||
|
#include "TrayIcon.h"
|
||||||
|
#include "WelcomePage.h"
|
||||||
|
|
||||||
MainWindow *MainWindow::instance_ = nullptr;
|
MainWindow *MainWindow::instance_ = nullptr;
|
||||||
|
|
||||||
|
|
|
@ -30,8 +30,11 @@
|
||||||
|
|
||||||
#include "Login.h"
|
#include "Login.h"
|
||||||
#include "MatrixClient.h"
|
#include "MatrixClient.h"
|
||||||
|
#include "MessageEvent.h"
|
||||||
#include "Profile.h"
|
#include "Profile.h"
|
||||||
#include "Register.h"
|
#include "Register.h"
|
||||||
|
#include "RoomMessages.h"
|
||||||
|
#include "Sync.h"
|
||||||
#include "Versions.h"
|
#include "Versions.h"
|
||||||
|
|
||||||
MatrixClient::MatrixClient(QString server, QObject *parent)
|
MatrixClient::MatrixClient(QString server, QObject *parent)
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QUrl>
|
|
||||||
|
|
||||||
#include "Deserializable.h"
|
#include "Deserializable.h"
|
||||||
#include "Profile.h"
|
#include "Profile.h"
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QCompleter>
|
#include <QCompleter>
|
||||||
#include <QDebug>
|
|
||||||
#include <QStringListModel>
|
#include <QStringListModel>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,6 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QJsonDocument>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
|
|
||||||
#include "Deserializable.h"
|
#include "Deserializable.h"
|
||||||
#include "Register.h"
|
#include "Register.h"
|
||||||
|
|
||||||
|
|
|
@ -15,12 +15,14 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QDebug>
|
#include "Avatar.h"
|
||||||
#include <QToolTip>
|
|
||||||
|
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
|
#include "FlatButton.h"
|
||||||
#include "InputValidator.h"
|
#include "InputValidator.h"
|
||||||
|
#include "MatrixClient.h"
|
||||||
|
#include "RaisedButton.h"
|
||||||
#include "RegisterPage.h"
|
#include "RegisterPage.h"
|
||||||
|
#include "TextField.h"
|
||||||
|
|
||||||
RegisterPage::RegisterPage(QSharedPointer<MatrixClient> client, QWidget *parent)
|
RegisterPage::RegisterPage(QSharedPointer<MatrixClient> client, QWidget *parent)
|
||||||
: QWidget(parent)
|
: QWidget(parent)
|
||||||
|
|
|
@ -15,14 +15,15 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QDebug>
|
|
||||||
#include <QMouseEvent>
|
#include <QMouseEvent>
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
|
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
|
#include "Menu.h"
|
||||||
#include "Ripple.h"
|
#include "Ripple.h"
|
||||||
|
#include "RippleOverlay.h"
|
||||||
#include "RoomInfoListItem.h"
|
#include "RoomInfoListItem.h"
|
||||||
#include "RoomState.h"
|
#include "RoomSettings.h"
|
||||||
#include "Theme.h"
|
#include "Theme.h"
|
||||||
|
|
||||||
RoomInfoListItem::RoomInfoListItem(QSharedPointer<RoomSettings> settings,
|
RoomInfoListItem::RoomInfoListItem(QSharedPointer<RoomSettings> settings,
|
||||||
|
|
|
@ -16,12 +16,16 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QJsonArray>
|
|
||||||
#include <QRegularExpression>
|
|
||||||
|
|
||||||
|
#include "JoinRoomDialog.h"
|
||||||
|
#include "LeaveRoomDialog.h"
|
||||||
#include "MainWindow.h"
|
#include "MainWindow.h"
|
||||||
|
#include "MatrixClient.h"
|
||||||
|
#include "OverlayModal.h"
|
||||||
#include "RoomInfoListItem.h"
|
#include "RoomInfoListItem.h"
|
||||||
#include "RoomList.h"
|
#include "RoomList.h"
|
||||||
|
#include "RoomSettings.h"
|
||||||
|
#include "RoomState.h"
|
||||||
#include "Sync.h"
|
#include "Sync.h"
|
||||||
|
|
||||||
RoomList::RoomList(QSharedPointer<MatrixClient> client, QWidget *parent)
|
RoomList::RoomList(QSharedPointer<MatrixClient> client, QWidget *parent)
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QDebug>
|
|
||||||
#include <QJsonArray>
|
#include <QJsonArray>
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
#include <QDebug>
|
|
||||||
#include <QIcon>
|
#include <QIcon>
|
||||||
|
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
|
#include "SideBarActions.h"
|
||||||
#include "Theme.h"
|
#include "Theme.h"
|
||||||
#include <SideBarActions.h>
|
|
||||||
|
|
||||||
SideBarActions::SideBarActions(QWidget *parent)
|
SideBarActions::SideBarActions(QWidget *parent)
|
||||||
: QWidget{ parent }
|
: QWidget{ parent }
|
||||||
|
|
|
@ -16,12 +16,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QJsonArray>
|
|
||||||
#include <QJsonDocument>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
|
|
||||||
#include "Deserializable.h"
|
|
||||||
#include "Sync.h"
|
#include "Sync.h"
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -16,14 +16,16 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QDateTime>
|
#include <QDateTime>
|
||||||
#include <QDebug>
|
|
||||||
#include <QFontDatabase>
|
#include <QFontDatabase>
|
||||||
#include <QRegExp>
|
#include <QRegExp>
|
||||||
|
#include <QSettings>
|
||||||
#include <QTextEdit>
|
#include <QTextEdit>
|
||||||
|
|
||||||
|
#include "Avatar.h"
|
||||||
#include "AvatarProvider.h"
|
#include "AvatarProvider.h"
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
#include "ImageItem.h"
|
#include "ImageItem.h"
|
||||||
|
#include "Sync.h"
|
||||||
#include "TimelineItem.h"
|
#include "TimelineItem.h"
|
||||||
#include "TimelineViewManager.h"
|
#include "TimelineViewManager.h"
|
||||||
|
|
||||||
|
|
|
@ -17,21 +17,16 @@
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QJsonArray>
|
|
||||||
#include <QScrollBar>
|
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
#include <QtWidgets/QLabel>
|
#include <QTimer>
|
||||||
#include <QtWidgets/QSpacerItem>
|
|
||||||
|
|
||||||
#include "Event.h"
|
|
||||||
#include "MessageEvent.h"
|
|
||||||
#include "MessageEventContent.h"
|
|
||||||
|
|
||||||
#include "FloatingButton.h"
|
#include "FloatingButton.h"
|
||||||
#include "ImageItem.h"
|
#include "ImageItem.h"
|
||||||
|
#include "RoomMessages.h"
|
||||||
|
#include "ScrollBar.h"
|
||||||
|
#include "Sync.h"
|
||||||
#include "TimelineItem.h"
|
#include "TimelineItem.h"
|
||||||
#include "TimelineView.h"
|
#include "TimelineView.h"
|
||||||
#include "TimelineViewManager.h"
|
|
||||||
|
|
||||||
namespace events = matrix::events;
|
namespace events = matrix::events;
|
||||||
namespace msgs = matrix::events::messages;
|
namespace msgs = matrix::events::messages;
|
||||||
|
|
|
@ -21,9 +21,9 @@
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
#include <QStackedWidget>
|
|
||||||
#include <QWidget>
|
|
||||||
|
|
||||||
|
#include "MatrixClient.h"
|
||||||
|
#include "Sync.h"
|
||||||
#include "TimelineView.h"
|
#include "TimelineView.h"
|
||||||
#include "TimelineViewManager.h"
|
#include "TimelineViewManager.h"
|
||||||
|
|
||||||
|
|
|
@ -17,8 +17,15 @@
|
||||||
|
|
||||||
#include <QStyleOption>
|
#include <QStyleOption>
|
||||||
|
|
||||||
|
#include "Avatar.h"
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
|
#include "FlatButton.h"
|
||||||
|
#include "Label.h"
|
||||||
|
#include "LeaveRoomDialog.h"
|
||||||
#include "MainWindow.h"
|
#include "MainWindow.h"
|
||||||
|
#include "Menu.h"
|
||||||
|
#include "OverlayModal.h"
|
||||||
|
#include "RoomSettings.h"
|
||||||
#include "TopRoomBar.h"
|
#include "TopRoomBar.h"
|
||||||
|
|
||||||
TopRoomBar::TopRoomBar(QWidget *parent)
|
TopRoomBar::TopRoomBar(QWidget *parent)
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
|
#include <QMenu>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
||||||
#include "TrayIcon.h"
|
#include "TrayIcon.h"
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#include <QDebug>
|
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QPoint>
|
#include <QPoint>
|
||||||
|
|
||||||
|
|
|
@ -15,12 +15,14 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QDebug>
|
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
||||||
|
#include "Avatar.h"
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
#include "FlatButton.h"
|
#include "FlatButton.h"
|
||||||
|
#include "LogoutDialog.h"
|
||||||
#include "MainWindow.h"
|
#include "MainWindow.h"
|
||||||
|
#include "OverlayModal.h"
|
||||||
#include "UserInfoWidget.h"
|
#include "UserInfoWidget.h"
|
||||||
|
|
||||||
UserInfoWidget::UserInfoWidget(QWidget *parent)
|
UserInfoWidget::UserInfoWidget(QWidget *parent)
|
||||||
|
|
|
@ -16,9 +16,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QJsonArray>
|
#include <QJsonArray>
|
||||||
#include <QJsonDocument>
|
|
||||||
#include <QJsonObject>
|
|
||||||
#include <QJsonValue>
|
|
||||||
#include <QRegExp>
|
#include <QRegExp>
|
||||||
|
|
||||||
#include "Deserializable.h"
|
#include "Deserializable.h"
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#include <QLayout>
|
#include <QLayout>
|
||||||
|
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
|
#include "RaisedButton.h"
|
||||||
#include "WelcomePage.h"
|
#include "WelcomePage.h"
|
||||||
|
|
||||||
WelcomePage::WelcomePage(QWidget *parent)
|
WelcomePage::WelcomePage(QWidget *parent)
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#include <QDesktopWidget>
|
#include <QDesktopWidget>
|
||||||
#include <QFontDatabase>
|
#include <QFontDatabase>
|
||||||
#include <QLibraryInfo>
|
#include <QLibraryInfo>
|
||||||
|
#include <QSettings>
|
||||||
#include <QTranslator>
|
#include <QTranslator>
|
||||||
|
|
||||||
#include "MainWindow.h"
|
#include "MainWindow.h"
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
#include <QIcon>
|
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QWidget>
|
|
||||||
|
|
||||||
#include "Avatar.h"
|
#include "Avatar.h"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#include "LoadingIndicator.h"
|
#include "LoadingIndicator.h"
|
||||||
|
|
||||||
#include <QDebug>
|
|
||||||
#include <QPoint>
|
#include <QPoint>
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <QDebug>
|
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QVBoxLayout>
|
#include <QVBoxLayout>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue