X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fuistyle.h;h=9b9365d47b2f999beb8f0b45ef7f80c2f9b921ca;hp=5c6f09009166f5e2af9a3a6e55fd123e22ef0c00;hb=68cd9a2621c71005cda0ed4fb796bbf5fcbe007e;hpb=b243fc8b07e6cffff80af8844bbc4d5df7be7b0b diff --git a/src/uisupport/uistyle.h b/src/uisupport/uistyle.h index 5c6f0900..9b9365d4 100644 --- a/src/uisupport/uistyle.h +++ b/src/uisupport/uistyle.h @@ -103,8 +103,6 @@ public: class StyledMessage; - void loadStyleSheet(); - static FormatType formatType(Message::Type msgType); static StyledString styleString(const QString &string, quint32 baseFormat = None); static QString mircToInternal(const QString &); @@ -116,6 +114,12 @@ public: QList toTextLayoutList(const FormatList &, int textLength, quint32 messageLabel = 0); +public slots: + void loadStyleSheet(); + +signals: + void changed(); + protected: QString loadStyleSheet(const QString &name, bool shouldExist = false);