diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-08-09 23:02:17 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-08-09 23:02:17 +0900 |
commit | 01570f70926c716441cdb62928231a35af72ebc3 (patch) | |
tree | 832bbdc4c75247fb93ce18e76eed02c6674bf55c /lib/util.h | |
parent | b0f259c3aa4ca619a6998184d16f9ab2daf5b5f4 (diff) | |
parent | 38f063e75757e97bfe1fda9655ab460454ba99db (diff) | |
download | libquotient-01570f70926c716441cdb62928231a35af72ebc3.tar.gz libquotient-01570f70926c716441cdb62928231a35af72ebc3.zip |
Merge branch 'renaming'
Diffstat (limited to 'lib/util.h')
-rw-r--r-- | lib/util.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -63,7 +63,7 @@ static void qAsConst(const T&&) Q_DECL_EQ_DELETE; # define BROKEN_INITIALIZER_LISTS #endif -namespace QMatrixClient { +namespace Quotient { // The below enables pretty-printing of enums in logs #if (QT_VERSION >= QT_VERSION_CHECK(5, 5, 0)) # define REGISTER_ENUM(EnumName) Q_ENUM(EnumName) @@ -326,8 +326,10 @@ QString cacheLocation(const QString& dirName); * Naming and range are the same as QColor's hueF method: * https://doc.qt.io/qt-5/qcolor.html#integer-vs-floating-point-precision */ -qreal stringToHueF(const QString& string); +qreal stringToHueF(const QString& s); /** Extract the serverpart from MXID */ QString serverPart(const QString& mxId); -} // namespace QMatrixClient +} // namespace Quotient +/// \deprecated Use namespace Quotient instead +namespace QMatrixClient = Quotient;
\ No newline at end of file |