/***************************************************************************
- * 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 *
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);