aboutsummaryrefslogtreecommitdiff
path: root/lib/events/event.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-07-07 19:32:34 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-09 10:18:37 +0900
commit27ca32a1e5a56e09b9cc1d94224d2831004dcf3d (patch)
treef2e8d19705a13e39bd9484d13098f323c8d30194 /lib/events/event.h
parent7a5b359b8823646ce97cbaf05c251cb04c291466 (diff)
downloadlibquotient-27ca32a1e5a56e09b9cc1d94224d2831004dcf3d.tar.gz
libquotient-27ca32a1e5a56e09b9cc1d94224d2831004dcf3d.zip
Namespace: QMatrixClient -> Quotient (with back comp alias)
Diffstat (limited to 'lib/events/event.h')
-rw-r--r--lib/events/event.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/events/event.h b/lib/events/event.h
index 686bd8e0..e96d6897 100644
--- a/lib/events/event.h
+++ b/lib/events/event.h
@@ -25,7 +25,7 @@
# define USE_EVENTTYPE_ALIAS 1
#endif
-namespace QMatrixClient {
+namespace Quotient {
// === event_ptr_tt<> and type casting facilities ===
template <typename EventT>
@@ -292,7 +292,7 @@ using Events = EventsArray<Event>;
// provide matrixTypeId() and typeId().
#define DEFINE_EVENT_TYPEID(_Id, _Type) \
static constexpr event_mtype_t matrixTypeId() { return _Id; } \
- static auto typeId() { return QMatrixClient::typeId<_Type>(); } \
+ static auto typeId() { return Quotient::typeId<_Type>(); } \
// End of macro
// This macro should be put after an event class definition (in .h or .cpp)
@@ -406,6 +406,6 @@ visit(const BaseEventT& event, FnT1&& visitor1, FnT2&& visitor2,
return visit(event, std::forward<FnT2>(visitor2),
std::forward<FnTs>(visitors)...);
}
-} // namespace QMatrixClient
-Q_DECLARE_METATYPE(QMatrixClient::Event*)
-Q_DECLARE_METATYPE(const QMatrixClient::Event*)
+} // namespace Quotient
+Q_DECLARE_METATYPE(Quotient::Event*)
+Q_DECLARE_METATYPE(const Quotient::Event*)