Add ability to disable precompiled headers with CMake (#2727)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include "widgets/BasePopup.hpp"
|
||||
|
||||
#include <QKeyEvent>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
BasePopup::BasePopup(FlagsEnum<Flags> _flags, QWidget *parent)
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
# include <Windows.h>
|
||||
#endif
|
||||
|
||||
#include <QPainter>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
TooltipWidget *TooltipWidget::instance()
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
|
||||
#include "providers/twitch/TwitchBadges.hpp"
|
||||
|
||||
#include <QDialogButtonBox>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
BadgePickerDialog::BadgePickerDialog(QList<DisplayBadge> badges,
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
|
||||
#include "util/DisplayBadge.hpp"
|
||||
|
||||
#include <QComboBox>
|
||||
#include <QDialog>
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
|
||||
#include "controllers/filters/parser/FilterParser.hpp"
|
||||
|
||||
#include <QLabel>
|
||||
#include <QPushButton>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <QComboBox>
|
||||
#include <QDialog>
|
||||
#include <QHBoxLayout>
|
||||
#include <QLineEdit>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
namespace chatterino {
|
||||
class ChannelFilterEditorDialog : public QDialog
|
||||
{
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
#include "providers/colors/ColorProvider.hpp"
|
||||
#include "singletons/Theme.hpp"
|
||||
|
||||
#include <QDialogButtonBox>
|
||||
#include <QLineEdit>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
ColorPickerDialog::ColorPickerDialog(const QColor &initial, QWidget *parent)
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
#include <array>
|
||||
|
||||
#include <QLabel>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
/**
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
#include "providers/irc/Irc2.hpp"
|
||||
#include "widgets/BaseWindow.hpp"
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
namespace Ui {
|
||||
class IrcConnectionEditor;
|
||||
}
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
#include <QDesktopWidget>
|
||||
#include <QScreen>
|
||||
|
||||
#include <QVBoxLayout>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
NotificationPopup::NotificationPopup()
|
||||
|
||||
@@ -20,6 +20,9 @@
|
||||
#include "providers/irc/Irc2.hpp"
|
||||
#include "widgets/helper/EditableModelView.hpp"
|
||||
|
||||
#include <QHeaderView>
|
||||
#include <QPushButton>
|
||||
|
||||
#define TAB_TWITCH 0
|
||||
#define TAB_IRC 1
|
||||
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
#include <QLabel>
|
||||
#include <QRadioButton>
|
||||
|
||||
#include <QLineEdit>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
class Notebook;
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
|
||||
#include "singletons/Settings.hpp"
|
||||
|
||||
#include <QCheckBox>
|
||||
#include <QLabel>
|
||||
#include <QPushButton>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
SelectChannelFiltersDialog::SelectChannelFiltersDialog(
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
#include <pajlada/settings/setting.hpp>
|
||||
#include "widgets/helper/SettingsDialogTab.hpp"
|
||||
|
||||
#include <QFrame>
|
||||
|
||||
class QLineEdit;
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include <QLineEdit>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
class GenericListView;
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <QPushButton>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
class ColorButton : public QPushButton
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
#include <QTableView>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
#include <QLabel>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
EditableModelView::EditableModelView(QAbstractTableModel *model, bool movable)
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
#include <QPainterPath>
|
||||
#include <QRadialGradient>
|
||||
|
||||
#include <QMimeData>
|
||||
|
||||
#define nuuls nullptr
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
@@ -14,6 +14,9 @@
|
||||
|
||||
#include <QApplication>
|
||||
#include <QDebug>
|
||||
#include <QDialogButtonBox>
|
||||
#include <QLabel>
|
||||
#include <QLineEdit>
|
||||
#include <QLinearGradient>
|
||||
#include <QMimeData>
|
||||
#include <QPainter>
|
||||
|
||||
@@ -38,6 +38,9 @@
|
||||
****************************************************************************/
|
||||
#include "widgets/helper/QColorPicker.hpp"
|
||||
|
||||
#include <QMouseEvent>
|
||||
#include <QPainter>
|
||||
|
||||
#include <qdrawutil.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -38,6 +38,7 @@
|
||||
****************************************************************************/
|
||||
#pragma once
|
||||
|
||||
#include <QFrame>
|
||||
#include <QSpinBox>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include <QColor>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
class ScrollbarHighlight
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
#include "BaseTheme.hpp"
|
||||
|
||||
#include <QPainterPath>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
TitleBarButton::TitleBarButton()
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <QIcon>
|
||||
#include <QPainter>
|
||||
#include <QRect>
|
||||
#include <QVariant>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
class GenericListItem
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#include "widgets/listview/GenericListItem.hpp"
|
||||
|
||||
#include <QAbstractListModel>
|
||||
#include <QWidget>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
class GenericListModel : public QAbstractListModel
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
#include "singletons/Theme.hpp"
|
||||
#include "widgets/listview/GenericListModel.hpp"
|
||||
|
||||
#include <QKeyEvent>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
GenericListView::GenericListView()
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
|
||||
#include <QTableView>
|
||||
|
||||
#include <QHeaderView>
|
||||
|
||||
#define FILTERS_DOCUMENTATION "https://wiki.chatterino.com/Filters/"
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
#include "widgets/helper/Line.hpp"
|
||||
#include "widgets/settingspages/GeneralPageView.hpp"
|
||||
|
||||
#include <QDesktopServices>
|
||||
#include <QFileDialog>
|
||||
|
||||
#define CHROME_EXTENSION_LINK \
|
||||
"https://chrome.google.com/webstore/detail/chatterino-native-host/" \
|
||||
"glknmaideaikkmemifbfkhnomoknepka"
|
||||
|
||||
@@ -7,6 +7,11 @@
|
||||
#include "singletons/WindowManager.hpp"
|
||||
#include "widgets/helper/SignalLabel.hpp"
|
||||
|
||||
#include <QCheckBox>
|
||||
#include <QComboBox>
|
||||
#include <QPushButton>
|
||||
#include <QSpinBox>
|
||||
|
||||
class QScrollArea;
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
|
||||
#include "singletons/Settings.hpp"
|
||||
|
||||
#include <QLabel>
|
||||
#include <QPainter>
|
||||
#include <QPushButton>
|
||||
|
||||
#define SETTINGS_PAGE_WIDGET_BOILERPLATE(type, parent) \
|
||||
class type : public parent \
|
||||
{ \
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
#include <pajlada/signals/signalholder.hpp>
|
||||
#include <vector>
|
||||
|
||||
#include <QElapsedTimer>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
class Button;
|
||||
|
||||
Reference in New Issue
Block a user