summary refs log tree commit diff
path: root/include/EmojiCategory.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/EmojiCategory.h')
-rw-r--r--include/EmojiCategory.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/EmojiCategory.h b/include/EmojiCategory.h

index 3a4e4e1e..e17b110b 100644 --- a/include/EmojiCategory.h +++ b/include/EmojiCategory.h
@@ -29,32 +29,32 @@ class EmojiCategory : public QWidget { - Q_OBJECT + Q_OBJECT public: - EmojiCategory(QString category, QList<Emoji> emoji, QWidget *parent = nullptr); - ~EmojiCategory(); + EmojiCategory(QString category, QList<Emoji> emoji, QWidget *parent = nullptr); + ~EmojiCategory(); signals: - void emojiSelected(const QString &emoji); + void emojiSelected(const QString &emoji); private slots: - inline void clickIndex(const QModelIndex &); + inline void clickIndex(const QModelIndex &); private: - QVBoxLayout *mainLayout_; + QVBoxLayout *mainLayout_; - QStandardItemModel *itemModel_; - QListView *emojiListView_; + QStandardItemModel *itemModel_; + QListView *emojiListView_; - Emoji *data_; - EmojiItemDelegate *delegate_; + Emoji *data_; + EmojiItemDelegate *delegate_; - QLabel *category_; + QLabel *category_; }; inline void EmojiCategory::clickIndex(const QModelIndex &index) { - emit emojiSelected(index.data(Qt::UserRole).toString()); + emit emojiSelected(index.data(Qt::UserRole).toString()); }