2017-01-05 20:49:13 +01:00
|
|
|
#ifndef APPSETTINGS_H
|
|
|
|
#define APPSETTINGS_H
|
|
|
|
|
2017-01-05 20:49:33 +01:00
|
|
|
#include "word.h"
|
2017-01-05 20:49:13 +01:00
|
|
|
|
|
|
|
class AppSettings
|
|
|
|
{
|
|
|
|
public:
|
2017-01-06 23:28:48 +01:00
|
|
|
static Word::Type wordTypeMask() {
|
2017-01-05 20:49:33 +01:00
|
|
|
return m_wordTypeMask;
|
|
|
|
}
|
|
|
|
|
2017-01-06 23:28:48 +01:00
|
|
|
static bool isIgnoredEmote(const QString& emote);
|
2017-01-11 01:08:20 +01:00
|
|
|
static qreal emoteScale() {
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
static qreal badgeScale() {
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
static bool scaleEmotesByLineHeight() {
|
|
|
|
return false;
|
|
|
|
}
|
2017-01-06 23:28:48 +01:00
|
|
|
|
2017-01-05 20:49:33 +01:00
|
|
|
private:
|
2017-01-05 20:49:13 +01:00
|
|
|
AppSettings();
|
2017-01-06 23:28:48 +01:00
|
|
|
static Word::Type m_wordTypeMask;
|
2017-01-05 20:49:13 +01:00
|
|
|
};
|
|
|
|
|
2017-01-05 20:49:33 +01:00
|
|
|
#endif // APPSETTINGS_H
|