1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
This commit is contained in:
krepa098 2014-07-25 15:01:15 +02:00
parent e01467e386
commit 326fd655cb

View File

@ -26,7 +26,7 @@ class SmileyPack : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:
explicit SmileyPack(); SmileyPack();
SmileyPack(SmileyPack&) = delete; SmileyPack(SmileyPack&) = delete;
SmileyPack& operator=(const SmileyPack&) = delete; SmileyPack& operator=(const SmileyPack&) = delete;
@ -35,7 +35,7 @@ public:
bool load(const QString &filename); bool load(const QString &filename);
QString replaceEmoticons(const QString& msg) const; QString replaceEmoticons(const QString& msg) const;
protected: protected:
QHash<QString, QString> lookupTable; // matches an emoticon with it's corresponding smiley QHash<QString, QString> lookupTable; // matches an emoticon with its corresponding smiley
private slots: private slots:
void onSmileyPackChanged(); void onSmileyPackChanged();
}; };