aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2023-01-03 22:17:05 +0100
committerLinus Jahn <lnj@kaidan.im>2023-01-03 22:19:33 +0100
commit381f83764d84ffff73ba05e07498e0dafd8844f5 (patch)
tree478ff493b6ddb9a75fa2bb96bf2bfe9116217668
parenta71be82575ff250acd82206ffa192e0f2c936696 (diff)
downloadqxmpp-381f83764d84ffff73ba05e07498e0dafd8844f5.tar.gz
Rename TuneItem to UserTuneItem
Closes #524.
-rw-r--r--src/CMakeLists.txt4
-rw-r--r--src/base/QXmppUserTuneItem.cpp (renamed from src/base/QXmppTuneItem.cpp)2
-rw-r--r--src/base/QXmppUserTuneItem.h (renamed from src/base/QXmppTuneItem.h)6
-rw-r--r--src/client/QXmppUserTuneManager.cpp2
-rw-r--r--tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp2
-rw-r--r--tests/qxmppusertunemanager/tst_qxmppusertunemanager.cpp2
6 files changed, 9 insertions, 9 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2a542732..1b44e011 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -77,7 +77,7 @@ set(INSTALL_HEADER_FILES
base/QXmppTrustMessageElement.h
base/QXmppTrustMessageKeyOwner.h
base/QXmppTrustMessages.h
- base/QXmppTuneItem.h
+ base/QXmppUserTuneItem.h
base/QXmppUtils.h
base/QXmppVCardIq.h
base/QXmppVersionIq.h
@@ -208,7 +208,7 @@ set(SOURCE_FILES
base/QXmppTask.cpp
base/QXmppThumbnail.cpp
base/QXmppTrustMessages.cpp
- base/QXmppTuneItem.cpp
+ base/QXmppUserTuneItem.cpp
base/QXmppUtils.cpp
base/QXmppVCardIq.cpp
base/QXmppVersionIq.cpp
diff --git a/src/base/QXmppTuneItem.cpp b/src/base/QXmppUserTuneItem.cpp
index 8bb935fc..6d8fb8bf 100644
--- a/src/base/QXmppTuneItem.cpp
+++ b/src/base/QXmppUserTuneItem.cpp
@@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: LGPL-2.1-or-later
-#include "QXmppTuneItem.h"
+#include "QXmppUserTuneItem.h"
#include "QXmppConstants_p.h"
#include "QXmppUtils.h"
diff --git a/src/base/QXmppTuneItem.h b/src/base/QXmppUserTuneItem.h
index f70a9266..03bafb1e 100644
--- a/src/base/QXmppTuneItem.h
+++ b/src/base/QXmppUserTuneItem.h
@@ -2,8 +2,8 @@
//
// SPDX-License-Identifier: LGPL-2.1-or-later
-#ifndef QXMPPTUNEITEM_H
-#define QXMPPTUNEITEM_H
+#ifndef QXMPPUSERTUNEITEM_H
+#define QXMPPUSERTUNEITEM_H
#include "QXmppPubSubItem.h"
@@ -90,4 +90,4 @@ private:
Q_DECLARE_METATYPE(QXmppTuneItem)
-#endif // QXMPPTUNEITEM_H
+#endif // QXMPPUSERTUNEITEM_H
diff --git a/src/client/QXmppUserTuneManager.cpp b/src/client/QXmppUserTuneManager.cpp
index ab46db64..e9ca42cf 100644
--- a/src/client/QXmppUserTuneManager.cpp
+++ b/src/client/QXmppUserTuneManager.cpp
@@ -6,7 +6,7 @@
#include "QXmppConstants_p.h"
#include "QXmppPep_p.h"
-#include "QXmppTuneItem.h"
+#include "QXmppUserTuneItem.h"
using namespace QXmpp::Private;
diff --git a/tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp b/tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp
index 251d57b5..0e316c9f 100644
--- a/tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp
+++ b/tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp
@@ -12,7 +12,7 @@
#include "QXmppPubSubManager.h"
#include "QXmppPubSubPublishOptions.h"
#include "QXmppPubSubSubscribeOptions.h"
-#include "QXmppTuneItem.h"
+#include "QXmppUserTuneItem.h"
#include "TestClient.h"
#include "util.h"
diff --git a/tests/qxmppusertunemanager/tst_qxmppusertunemanager.cpp b/tests/qxmppusertunemanager/tst_qxmppusertunemanager.cpp
index 9445dfdb..e61a05fd 100644
--- a/tests/qxmppusertunemanager/tst_qxmppusertunemanager.cpp
+++ b/tests/qxmppusertunemanager/tst_qxmppusertunemanager.cpp
@@ -4,7 +4,7 @@
// SPDX-License-Identifier: LGPL-2.1-or-later
#include "QXmppPubSubManager.h"
-#include "QXmppTuneItem.h"
+#include "QXmppUserTuneItem.h"
#include "QXmppUserTuneManager.h"
#include "TestClient.h"