diff options
Diffstat (limited to 'Swift/QtUI/QtEmojiCell.h')
-rw-r--r-- | Swift/QtUI/QtEmojiCell.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Swift/QtUI/QtEmojiCell.h b/Swift/QtUI/QtEmojiCell.h index 62f989b..250b10d 100644 --- a/Swift/QtUI/QtEmojiCell.h +++ b/Swift/QtUI/QtEmojiCell.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Isode Limited. + * Copyright (c) 2016-2017 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -20,11 +20,16 @@ namespace Swift { public: QtEmojiCell(const QtEmojiCell& b); QtEmojiCell(QString shortname, QString text, QWidget* parent = nullptr); + QtEmojiCell(QIcon icon, QString text, QWidget* parent = nullptr); ~QtEmojiCell(); + signals: void emojiClicked(QString emojiAsText); private slots: void handleEmojiClicked(); + + private: + QString text_; }; } |