aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt8
-rw-r--r--examples/qmc-example.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index cd5e15ed..1f512958 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -48,8 +48,8 @@ endforeach ()
find_package(Qt5 5.6 REQUIRED Network Gui Multimedia)
get_filename_component(Qt5_Prefix "${Qt5_DIR}/../../../.." ABSOLUTE)
-find_package(QMatrixClient REQUIRED)
-get_filename_component(QMC_Prefix "${QMatrixClient_DIR}/../.." ABSOLUTE)
+find_package(Quotient REQUIRED)
+get_filename_component(QMC_Prefix "${Quotient_DIR}/../.." ABSOLUTE)
message( STATUS "qmc-example configuration:" )
if (CMAKE_BUILD_TYPE)
@@ -57,12 +57,12 @@ if (CMAKE_BUILD_TYPE)
endif(CMAKE_BUILD_TYPE)
message( STATUS " Compiler: ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}" )
message( STATUS " Qt: ${Qt5_VERSION} at ${Qt5_Prefix}" )
-message( STATUS " QMatrixClient: ${QMatrixClient_VERSION} at ${QMC_Prefix}" )
+message( STATUS " Quotient: ${Quotient_VERSION} at ${QMC_Prefix}" )
set(example_SRCS qmc-example.cpp)
add_executable(qmc-example ${example_SRCS})
-target_link_libraries(qmc-example Qt5::Core QMatrixClient)
+target_link_libraries(qmc-example Qt5::Core Quotient)
# Installation
diff --git a/examples/qmc-example.cpp b/examples/qmc-example.cpp
index f649ac3f..bf4d04c7 100644
--- a/examples/qmc-example.cpp
+++ b/examples/qmc-example.cpp
@@ -19,7 +19,7 @@
#include <functional>
#include <iostream>
-using namespace QMatrixClient;
+using namespace Quotient;
using std::cout;
using std::endl;
using namespace std::placeholders;
@@ -435,7 +435,7 @@ void QMCTest::setTopic()
void QMCTest::addAndRemoveTag()
{
running.push_back("Tagging test");
- static const auto TestTag = QStringLiteral("org.qmatrixclient.test");
+ static const auto TestTag = QStringLiteral("org.quotient.test");
// Pre-requisite
if (targetRoom->tags().contains(TestTag))
targetRoom->removeTag(TestTag);