diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-07-07 19:32:34 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-08-09 10:18:37 +0900 |
commit | 27ca32a1e5a56e09b9cc1d94224d2831004dcf3d (patch) | |
tree | f2e8d19705a13e39bd9484d13098f323c8d30194 /lib/util.h | |
parent | 7a5b359b8823646ce97cbaf05c251cb04c291466 (diff) | |
download | libquotient-27ca32a1e5a56e09b9cc1d94224d2831004dcf3d.tar.gz libquotient-27ca32a1e5a56e09b9cc1d94224d2831004dcf3d.zip |
Namespace: QMatrixClient -> Quotient (with back comp alias)
Diffstat (limited to 'lib/util.h')
-rw-r--r-- | lib/util.h | 6 |
1 files changed, 4 insertions, 2 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) @@ -330,4 +330,6 @@ qreal stringToHueF(const QString& string); /** 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 |