summary refs log tree commit diff
path: root/src/emoji
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-05-25 13:03:49 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-05-26 22:54:51 +0200
commit4ee9e5c27ce1788db42728ace2df2b4c6aa9ceed (patch)
tree74cc4879b9d0d9dca7ecd26f5937ef92f7806a82 /src/emoji
parentOptionally use precompiled headers (diff)
downloadnheko-4ee9e5c27ce1788db42728ace2df2b4c6aa9ceed.tar.xz
Improve compile times a tiny bit
Diffstat (limited to 'src/emoji')
-rw-r--r--src/emoji/Category.cpp3
-rw-r--r--src/emoji/Category.h9
2 files changed, 8 insertions, 4 deletions
diff --git a/src/emoji/Category.cpp b/src/emoji/Category.cpp

index e674e9db..5197c474 100644 --- a/src/emoji/Category.cpp +++ b/src/emoji/Category.cpp
@@ -15,9 +15,12 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <QLabel> +#include <QListView> #include <QPainter> #include <QScrollBar> #include <QStyleOption> +#include <QVBoxLayout> #include "Config.h" diff --git a/src/emoji/Category.h b/src/emoji/Category.h
index 2f39d621..79e616ee 100644 --- a/src/emoji/Category.h +++ b/src/emoji/Category.h
@@ -18,13 +18,14 @@ #pragma once #include <QColor> -#include <QLabel> -#include <QLayout> -#include <QListView> -#include <QStandardItemModel> #include "ItemDelegate.h" +class QLabel; +class QListView; +class QStandardItemModel; +class QVBoxLayout; + namespace emoji { class Category : public QWidget