mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
cleanup
This commit is contained in:
parent
e01467e386
commit
326fd655cb
|
@ -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();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user