diff options
author | Michele Calgaro <[email protected]> | 2023-07-12 10:09:31 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-13 09:57:37 +0900 |
commit | b5ae045e4d4ec4a3736719acc3d078f227653889 (patch) | |
tree | 169e1af71482b365d2b2c45717b43343ca858951 /kicker-applets | |
parent | 900386ad4615a3dbbc04501ef24c5a43385c6078 (diff) | |
download | tdeaddons-b5ae045e4d4ec4a3736719acc3d078f227653889.tar.gz tdeaddons-b5ae045e4d4ec4a3736719acc3d078f227653889.zip |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit f07dd2b54f701253bd03c34e4d8896ab912ea5cf)
Diffstat (limited to 'kicker-applets')
-rw-r--r-- | kicker-applets/mediacontrol/amarokInterface.cpp | 2 | ||||
-rw-r--r-- | kicker-applets/mediacontrol/jukInterface.cpp | 2 | ||||
-rw-r--r-- | kicker-applets/mediacontrol/kscdInterface.cpp | 6 | ||||
-rw-r--r-- | kicker-applets/mediacontrol/noatunInterface.cpp | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/kicker-applets/mediacontrol/amarokInterface.cpp b/kicker-applets/mediacontrol/amarokInterface.cpp index e2265a7..f52ae4b 100644 --- a/kicker-applets/mediacontrol/amarokInterface.cpp +++ b/kicker-applets/mediacontrol/amarokInterface.cpp @@ -242,7 +242,7 @@ const TQString AmarokInterface::getTrackTitle() const else { TQDataStream reply(replyData, IO_ReadOnly); - if (replyType == TQSTRING_OBJECT_NAME_STRING) + if (replyType == "TQString") { reply >> title; return title; diff --git a/kicker-applets/mediacontrol/jukInterface.cpp b/kicker-applets/mediacontrol/jukInterface.cpp index e19ef3f..ce9de9f 100644 --- a/kicker-applets/mediacontrol/jukInterface.cpp +++ b/kicker-applets/mediacontrol/jukInterface.cpp @@ -265,7 +265,7 @@ const TQString JuKInterface::getTrackTitle() const replyType, replyData)) { TQDataStream reply(replyData, IO_ReadOnly); - if (replyType == TQSTRING_OBJECT_NAME_STRING) + if (replyType == "TQString") { reply >> title; return title; diff --git a/kicker-applets/mediacontrol/kscdInterface.cpp b/kicker-applets/mediacontrol/kscdInterface.cpp index 710674d..5b846c9 100644 --- a/kicker-applets/mediacontrol/kscdInterface.cpp +++ b/kicker-applets/mediacontrol/kscdInterface.cpp @@ -213,7 +213,7 @@ const TQString KsCDInterface::getTrackTitle() const replyType, replyData)) { TQDataStream reply(replyData, IO_ReadOnly); - if (replyType == TQSTRING_OBJECT_NAME_STRING) + if (replyType == "TQString") { reply >> title; } @@ -224,7 +224,7 @@ const TQString KsCDInterface::getTrackTitle() const replyType, replyData)) { TQDataStream reply(replyData, IO_ReadOnly); - if (replyType == TQSTRING_OBJECT_NAME_STRING) + if (replyType == "TQString") { reply >> album; } @@ -235,7 +235,7 @@ const TQString KsCDInterface::getTrackTitle() const replyType, replyData)) { TQDataStream reply(replyData, IO_ReadOnly); - if (replyType == TQSTRING_OBJECT_NAME_STRING) + if (replyType == "TQString") { reply >> artist; } diff --git a/kicker-applets/mediacontrol/noatunInterface.cpp b/kicker-applets/mediacontrol/noatunInterface.cpp index 409ead8..61b7b14 100644 --- a/kicker-applets/mediacontrol/noatunInterface.cpp +++ b/kicker-applets/mediacontrol/noatunInterface.cpp @@ -259,7 +259,7 @@ const TQString NoatunInterface::getTrackTitle() const replyData, false, 200)) { TQDataStream reply(replyData, IO_ReadOnly); - if (replyType == TQSTRING_OBJECT_NAME_STRING) + if (replyType == "TQString") reply >> title; } return title; |