2018-01-19 14:48:17 +01:00
|
|
|
#ifdef __cplusplus
|
2023-07-19 22:29:17 +02:00
|
|
|
# include <boost/circular_buffer.hpp>
|
Sort and force grouping of includes (#4172)
This change enforces strict include grouping using IncludeCategories
In addition to adding this to the .clang-format file and applying it in the tests/src and src directories, I also did the following small changes:
In ChatterSet.hpp, I changed lrucache to a <>include
In Irc2.hpp, I change common/SignalVector.hpp to a "project-include"
In AttachedWindow.cpp, NativeMessaging.cpp, WindowsHelper.hpp, BaseWindow.cpp, and StreamerMode.cpp, I disabled clang-format for the windows-includes
In WindowDescriptors.hpp, I added the missing vector include. It was previously not needed because the include was handled by another file that was previously included first.
clang-format minimum version has been bumped, so Ubuntu version used in the check-formatting job has been bumped to 22.04 (which is the latest LTS)
2022-11-27 19:32:53 +01:00
|
|
|
# include <boost/current_function.hpp>
|
|
|
|
# include <boost/foreach.hpp>
|
2023-07-19 22:29:17 +02:00
|
|
|
# include <boost/signals2.hpp>
|
Sort and force grouping of includes (#4172)
This change enforces strict include grouping using IncludeCategories
In addition to adding this to the .clang-format file and applying it in the tests/src and src directories, I also did the following small changes:
In ChatterSet.hpp, I changed lrucache to a <>include
In Irc2.hpp, I change common/SignalVector.hpp to a "project-include"
In AttachedWindow.cpp, NativeMessaging.cpp, WindowsHelper.hpp, BaseWindow.cpp, and StreamerMode.cpp, I disabled clang-format for the windows-includes
In WindowDescriptors.hpp, I added the missing vector include. It was previously not needed because the include was handled by another file that was previously included first.
clang-format minimum version has been bumped, so Ubuntu version used in the check-formatting job has been bumped to 22.04 (which is the latest LTS)
2022-11-27 19:32:53 +01:00
|
|
|
# include <IrcCommand>
|
|
|
|
# include <IrcConnection>
|
2018-08-15 22:46:20 +02:00
|
|
|
# include <IrcMessage>
|
Sort and force grouping of includes (#4172)
This change enforces strict include grouping using IncludeCategories
In addition to adding this to the .clang-format file and applying it in the tests/src and src directories, I also did the following small changes:
In ChatterSet.hpp, I changed lrucache to a <>include
In Irc2.hpp, I change common/SignalVector.hpp to a "project-include"
In AttachedWindow.cpp, NativeMessaging.cpp, WindowsHelper.hpp, BaseWindow.cpp, and StreamerMode.cpp, I disabled clang-format for the windows-includes
In WindowDescriptors.hpp, I added the missing vector include. It was previously not needed because the include was handled by another file that was previously included first.
clang-format minimum version has been bumped, so Ubuntu version used in the check-formatting job has been bumped to 22.04 (which is the latest LTS)
2022-11-27 19:32:53 +01:00
|
|
|
# include <pajlada/serialize.hpp>
|
|
|
|
# include <pajlada/settings/setting.hpp>
|
|
|
|
# include <pajlada/settings/settinglistener.hpp>
|
|
|
|
# include <pajlada/signals/connection.hpp>
|
|
|
|
# include <pajlada/signals/signal.hpp>
|
2018-08-15 22:46:20 +02:00
|
|
|
# include <QAbstractListModel>
|
|
|
|
# include <QAction>
|
|
|
|
# include <QApplication>
|
|
|
|
# include <QBrush>
|
|
|
|
# include <QBuffer>
|
|
|
|
# include <QByteArray>
|
|
|
|
# include <QCheckBox>
|
|
|
|
# include <QClipboard>
|
|
|
|
# include <QColor>
|
|
|
|
# include <QComboBox>
|
|
|
|
# include <QDateTime>
|
|
|
|
# include <QDebug>
|
|
|
|
# include <QDesktopServices>
|
|
|
|
# include <QDialog>
|
|
|
|
# include <QDialogButtonBox>
|
|
|
|
# include <QDir>
|
|
|
|
# include <QElapsedTimer>
|
|
|
|
# include <QFile>
|
|
|
|
# include <QFileDialog>
|
|
|
|
# include <QFileInfo>
|
|
|
|
# include <QFlags>
|
|
|
|
# include <QFont>
|
|
|
|
# include <QFontMetrics>
|
|
|
|
# include <QFormLayout>
|
|
|
|
# include <QGroupBox>
|
|
|
|
# include <QHBoxLayout>
|
|
|
|
# include <QHeaderView>
|
|
|
|
# include <QIcon>
|
|
|
|
# include <QImageReader>
|
|
|
|
# include <QJsonArray>
|
|
|
|
# include <QJsonDocument>
|
|
|
|
# include <QJsonObject>
|
|
|
|
# include <QJsonValue>
|
|
|
|
# include <QKeyEvent>
|
|
|
|
# include <QLabel>
|
|
|
|
# include <QLayout>
|
|
|
|
# include <QLineEdit>
|
|
|
|
# include <QList>
|
|
|
|
# include <QListView>
|
|
|
|
# include <QListWidget>
|
|
|
|
# include <QMap>
|
|
|
|
# include <QMenu>
|
|
|
|
# include <QMessageBox>
|
|
|
|
# include <QMimeData>
|
|
|
|
# include <QMouseEvent>
|
|
|
|
# include <QMutex>
|
|
|
|
# include <QMutexLocker>
|
|
|
|
# include <QNetworkAccessManager>
|
|
|
|
# include <QNetworkReply>
|
|
|
|
# include <QNetworkRequest>
|
|
|
|
# include <QObject>
|
|
|
|
# include <QPainter>
|
|
|
|
# include <QPainterPath>
|
Sort and force grouping of includes (#4172)
This change enforces strict include grouping using IncludeCategories
In addition to adding this to the .clang-format file and applying it in the tests/src and src directories, I also did the following small changes:
In ChatterSet.hpp, I changed lrucache to a <>include
In Irc2.hpp, I change common/SignalVector.hpp to a "project-include"
In AttachedWindow.cpp, NativeMessaging.cpp, WindowsHelper.hpp, BaseWindow.cpp, and StreamerMode.cpp, I disabled clang-format for the windows-includes
In WindowDescriptors.hpp, I added the missing vector include. It was previously not needed because the include was handled by another file that was previously included first.
clang-format minimum version has been bumped, so Ubuntu version used in the check-formatting job has been bumped to 22.04 (which is the latest LTS)
2022-11-27 19:32:53 +01:00
|
|
|
# include <QPaintEvent>
|
2018-08-15 22:46:20 +02:00
|
|
|
# include <QPalette>
|
|
|
|
# include <QPixmap>
|
|
|
|
# include <QPoint>
|
|
|
|
# include <QProcess>
|
|
|
|
# include <QPropertyAnimation>
|
|
|
|
# include <QPushButton>
|
|
|
|
# include <QRadialGradient>
|
|
|
|
# include <QRect>
|
|
|
|
# include <QRegularExpression>
|
|
|
|
# include <QRunnable>
|
|
|
|
# include <QScroller>
|
|
|
|
# include <QShortcut>
|
|
|
|
# include <QSizePolicy>
|
|
|
|
# include <QSlider>
|
2020-12-06 13:04:49 +01:00
|
|
|
# include <QSpinBox>
|
2018-08-15 22:46:20 +02:00
|
|
|
# include <QStandardPaths>
|
|
|
|
# include <QString>
|
|
|
|
# include <QStyle>
|
|
|
|
# include <QStyleOption>
|
|
|
|
# include <QTabWidget>
|
|
|
|
# include <QTextEdit>
|
Sort and force grouping of includes (#4172)
This change enforces strict include grouping using IncludeCategories
In addition to adding this to the .clang-format file and applying it in the tests/src and src directories, I also did the following small changes:
In ChatterSet.hpp, I changed lrucache to a <>include
In Irc2.hpp, I change common/SignalVector.hpp to a "project-include"
In AttachedWindow.cpp, NativeMessaging.cpp, WindowsHelper.hpp, BaseWindow.cpp, and StreamerMode.cpp, I disabled clang-format for the windows-includes
In WindowDescriptors.hpp, I added the missing vector include. It was previously not needed because the include was handled by another file that was previously included first.
clang-format minimum version has been bumped, so Ubuntu version used in the check-formatting job has been bumped to 22.04 (which is the latest LTS)
2022-11-27 19:32:53 +01:00
|
|
|
# include <QtGlobal>
|
2018-08-15 22:46:20 +02:00
|
|
|
# include <QThread>
|
|
|
|
# include <QThreadPool>
|
|
|
|
# include <QTime>
|
|
|
|
# include <QTimer>
|
Sort and force grouping of includes (#4172)
This change enforces strict include grouping using IncludeCategories
In addition to adding this to the .clang-format file and applying it in the tests/src and src directories, I also did the following small changes:
In ChatterSet.hpp, I changed lrucache to a <>include
In Irc2.hpp, I change common/SignalVector.hpp to a "project-include"
In AttachedWindow.cpp, NativeMessaging.cpp, WindowsHelper.hpp, BaseWindow.cpp, and StreamerMode.cpp, I disabled clang-format for the windows-includes
In WindowDescriptors.hpp, I added the missing vector include. It was previously not needed because the include was handled by another file that was previously included first.
clang-format minimum version has been bumped, so Ubuntu version used in the check-formatting job has been bumped to 22.04 (which is the latest LTS)
2022-11-27 19:32:53 +01:00
|
|
|
# include <QUrl>
|
|
|
|
# include <QUuid>
|
|
|
|
# include <QVariant>
|
|
|
|
# include <QVBoxLayout>
|
|
|
|
# include <QVector>
|
|
|
|
# include <QWheelEvent>
|
|
|
|
# include <QWidget>
|
|
|
|
# include <rapidjson/document.h>
|
|
|
|
# include <rapidjson/error/en.h>
|
|
|
|
# include <rapidjson/error/error.h>
|
|
|
|
|
2018-08-15 22:46:20 +02:00
|
|
|
# include <algorithm>
|
|
|
|
# include <cassert>
|
|
|
|
# include <chrono>
|
|
|
|
# include <cinttypes>
|
|
|
|
# include <climits>
|
|
|
|
# include <cmath>
|
2024-07-16 16:35:44 +02:00
|
|
|
# include <concepts>
|
2018-08-15 22:46:20 +02:00
|
|
|
# include <cstdint>
|
|
|
|
# include <ctime>
|
|
|
|
# include <functional>
|
|
|
|
# include <future>
|
|
|
|
# include <list>
|
|
|
|
# include <map>
|
|
|
|
# include <memory>
|
|
|
|
# include <mutex>
|
2023-10-08 18:50:48 +02:00
|
|
|
# include <optional>
|
2018-08-15 22:46:20 +02:00
|
|
|
# include <random>
|
|
|
|
# include <set>
|
|
|
|
# include <string>
|
|
|
|
# include <thread>
|
|
|
|
# include <tuple>
|
|
|
|
# include <type_traits>
|
|
|
|
# include <unordered_map>
|
|
|
|
# include <unordered_set>
|
|
|
|
# include <vector>
|
2019-09-08 22:27:57 +02:00
|
|
|
|
2018-08-15 22:46:20 +02:00
|
|
|
# ifndef UNUSED
|
|
|
|
# define UNUSED(x) (void)(x)
|
|
|
|
# endif
|
2019-09-08 22:27:57 +02:00
|
|
|
|
2018-08-15 22:46:20 +02:00
|
|
|
# ifndef ATTR_UNUSED
|
|
|
|
# ifdef Q_OS_WIN
|
|
|
|
# define ATTR_UNUSED
|
|
|
|
# else
|
|
|
|
# define ATTR_UNUSED __attribute__((unused))
|
|
|
|
# endif
|
|
|
|
# endif
|
2019-09-08 22:27:57 +02:00
|
|
|
|
2018-01-19 14:48:17 +01:00
|
|
|
#endif
|