2019-09-08 22:27:57 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
# include <irccommand.h>
|
|
|
|
# include <ircconnection.h>
|
|
|
|
# include <rapidjson/document.h>
|
|
|
|
# include <rapidjson/error/en.h>
|
|
|
|
# include <rapidjson/error/error.h>
|
|
|
|
# include <IrcMessage>
|
|
|
|
# include <QAbstractListModel>
|
|
|
|
# include <QAbstractNativeEventFilter>
|
|
|
|
# include <QAction>
|
|
|
|
# include <QApplication>
|
|
|
|
# include <QBrush>
|
|
|
|
# include <QBuffer>
|
|
|
|
# include <QButtonGroup>
|
|
|
|
# include <QByteArray>
|
|
|
|
# include <QCheckBox>
|
|
|
|
# include <QClipboard>
|
|
|
|
# include <QColor>
|
|
|
|
# include <QComboBox>
|
|
|
|
# include <QCompleter>
|
|
|
|
# include <QCoreApplication>
|
|
|
|
# include <QDateTime>
|
|
|
|
# include <QDebug>
|
|
|
|
# include <QDesktopServices>
|
|
|
|
# include <QDialog>
|
|
|
|
# include <QDialogButtonBox>
|
|
|
|
# include <QDir>
|
|
|
|
# include <QDockWidget>
|
|
|
|
# include <QDrag>
|
|
|
|
# include <QDragEnterEvent>
|
|
|
|
# include <QElapsedTimer>
|
|
|
|
# include <QEventLoop>
|
|
|
|
# include <QFile>
|
|
|
|
# include <QFileDialog>
|
|
|
|
# include <QFileInfo>
|
|
|
|
# include <QFlags>
|
|
|
|
# include <QFont>
|
|
|
|
# include <QFontDatabase>
|
|
|
|
# include <QFontDialog>
|
|
|
|
# include <QFontMetrics>
|
|
|
|
# include <QFormLayout>
|
|
|
|
# include <QGraphicsBlurEffect>
|
|
|
|
# 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 <QLibrary>
|
|
|
|
# include <QLineEdit>
|
|
|
|
# include <QList>
|
|
|
|
# include <QListView>
|
|
|
|
# include <QListWidget>
|
|
|
|
# include <QMap>
|
|
|
|
# include <QMediaPlayer>
|
|
|
|
# include <QMenu>
|
|
|
|
# include <QMessageBox>
|
|
|
|
# include <QMimeData>
|
|
|
|
# include <QMouseEvent>
|
|
|
|
# include <QMutex>
|
|
|
|
# include <QMutexLocker>
|
|
|
|
# include <QNetworkAccessManager>
|
|
|
|
# include <QNetworkReply>
|
|
|
|
# include <QNetworkRequest>
|
|
|
|
# include <QObject>
|
|
|
|
# include <QPaintEvent>
|
|
|
|
# include <QPainter>
|
|
|
|
# include <QPainterPath>
|
|
|
|
# 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>
|
2019-09-08 22:27:57 +02:00
|
|
|
# include <QStackedLayout>
|
|
|
|
# include <QStandardPaths>
|
|
|
|
# include <QString>
|
|
|
|
# include <QStyle>
|
|
|
|
# include <QStyleOption>
|
|
|
|
# include <QTabWidget>
|
|
|
|
# include <QTextEdit>
|
|
|
|
# include <QThread>
|
|
|
|
# include <QThreadPool>
|
|
|
|
# include <QTime>
|
|
|
|
# include <QTimer>
|
|
|
|
# include <QUrl>
|
|
|
|
# include <QUuid>
|
|
|
|
# include <QVBoxLayout>
|
|
|
|
# include <QVariant>
|
|
|
|
# include <QVector>
|
|
|
|
# include <QWheelEvent>
|
|
|
|
# include <QWidget>
|
|
|
|
# include <QtCore/QVariant>
|
|
|
|
# include <QtGlobal>
|
|
|
|
# include <QtWidgets/QAction>
|
|
|
|
# include <QtWidgets/QApplication>
|
|
|
|
# include <QtWidgets/QButtonGroup>
|
|
|
|
# include <QtWidgets/QDialog>
|
|
|
|
# include <QtWidgets/QDialogButtonBox>
|
|
|
|
# include <QtWidgets/QFormLayout>
|
|
|
|
# include <QtWidgets/QHBoxLayout>
|
|
|
|
# include <QtWidgets/QHeaderView>
|
|
|
|
# include <QtWidgets/QLabel>
|
|
|
|
# include <QtWidgets/QLineEdit>
|
|
|
|
# include <QtWidgets/QPushButton>
|
|
|
|
# include <QtWidgets/QTabWidget>
|
|
|
|
# include <QtWidgets/QVBoxLayout>
|
|
|
|
# include <algorithm>
|
|
|
|
# include <boost/current_function.hpp>
|
|
|
|
# include <boost/foreach.hpp>
|
|
|
|
# include <boost/noncopyable.hpp>
|
|
|
|
# include <boost/optional.hpp>
|
|
|
|
# include <cassert>
|
|
|
|
# include <chrono>
|
|
|
|
# include <cinttypes>
|
|
|
|
# include <climits>
|
|
|
|
# include <cmath>
|
|
|
|
# include <cstdint>
|
|
|
|
# include <ctime>
|
|
|
|
# include <functional>
|
|
|
|
# include <future>
|
|
|
|
# include <list>
|
|
|
|
# include <map>
|
|
|
|
# include <memory>
|
|
|
|
# include <mutex>
|
|
|
|
# include <pajlada/serialize.hpp>
|
|
|
|
# include <pajlada/settings/setting.hpp>
|
|
|
|
# include <pajlada/settings/settinglistener.hpp>
|
|
|
|
# include <pajlada/signals/connection.hpp>
|
|
|
|
# include <pajlada/signals/signal.hpp>
|
|
|
|
# include <random>
|
|
|
|
# include <set>
|
|
|
|
# include <string>
|
|
|
|
# include <thread>
|
|
|
|
# include <tuple>
|
|
|
|
# include <type_traits>
|
|
|
|
# include <unordered_map>
|
|
|
|
# include <unordered_set>
|
|
|
|
# include <vector>
|
|
|
|
|
|
|
|
# ifndef UNUSED
|
|
|
|
# define UNUSED(x) (void)(x)
|
|
|
|
# endif
|
|
|
|
|
|
|
|
# ifndef ATTR_UNUSED
|
|
|
|
# ifdef Q_OS_WIN
|
|
|
|
# define ATTR_UNUSED
|
|
|
|
# else
|
|
|
|
# define ATTR_UNUSED __attribute__((unused))
|
|
|
|
# endif
|
|
|
|
# endif
|
|
|
|
|
|
|
|
#endif
|