X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fqssparser.h;h=4b2ee137fd03da74e2bb406b1a891759bef714d3;hp=1370c10540f81f04d8ce94d3cc1c6b71ce96975c;hb=aec9c711900a443bfa7860fa86c6e9c86b81a3e7;hpb=ac7a58dd970833da2336f6ce035ec55515bac0f1 diff --git a/src/uisupport/qssparser.h b/src/uisupport/qssparser.h index 1370c105..4b2ee137 100644 --- a/src/uisupport/qssparser.h +++ b/src/uisupport/qssparser.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -50,8 +50,11 @@ protected: QTextCharFormat parseFormat(const QString &qss); + // Parse boolean properties + bool parseBoolean(const QString &str, bool *ok = nullptr) const; + // Parse color/brush-related properties - QBrush parseBrush(const QString &str, bool *ok = 0); + QBrush parseBrush(const QString &str, bool *ok = nullptr); QColor parseColor(const QString &str); ColorTuple parseColorTuple(const QString &str); QGradientStops parseGradientStops(const QString &str);