summaryrefslogtreecommitdiffstats
path: root/src/kmplayer_asx.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 06:10:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 06:10:56 +0000
commit769e63d24adf5c844137484f06a972fcce732d6a (patch)
tree5185797dcb3ff4b1b3cb71d367123bf89eb2410f /src/kmplayer_asx.cpp
parent0a8af92185eac74d48da1225e6053a0d66c078f5 (diff)
downloadkmplayer-769e63d24adf5c844137484f06a972fcce732d6a.tar.gz
kmplayer-769e63d24adf5c844137484f06a972fcce732d6a.zip
TQt4 port kmplayer
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmplayer@1238840 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kmplayer_asx.cpp')
-rw-r--r--src/kmplayer_asx.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kmplayer_asx.cpp b/src/kmplayer_asx.cpp
index 9ab333a..26869f3 100644
--- a/src/kmplayer_asx.cpp
+++ b/src/kmplayer_asx.cpp
@@ -24,14 +24,14 @@
using namespace KMPlayer;
-static QString getAsxAttribute (Element * e, const QString & attr) {
+static TQString getAsxAttribute (Element * e, const TQString & attr) {
for (AttributePtr a = e->attributes ()->first (); a; a = a->nextSibling ())
if (attr == a->name ().toString ().lower ())
return a->value ();
- return QString ();
+ return TQString ();
}
-KDE_NO_EXPORT NodePtr ASX::Asx::childFromTag (const QString & tag) {
+KDE_NO_EXPORT NodePtr ASX::Asx::childFromTag (const TQString & tag) {
const char * name = tag.latin1 ();
if (!strcasecmp (name, "entry"))
return new ASX::Entry (m_doc);
@@ -59,7 +59,7 @@ KDE_NO_EXPORT Node::PlayType ASX::Asx::playType () {
//-----------------------------------------------------------------------------
-KDE_NO_EXPORT NodePtr ASX::Entry::childFromTag (const QString & tag) {
+KDE_NO_EXPORT NodePtr ASX::Entry::childFromTag (const TQString & tag) {
const char * name = tag.latin1 ();
if (!strcasecmp (name, "ref"))
return new ASX::Ref (m_doc);
@@ -105,7 +105,7 @@ KDE_NO_EXPORT void ASX::Entry::activate () {
for (NodePtr e = firstChild (); e; e = e->nextSibling ())
if (e->id == id_node_param) {
Element * elm = convertNode <Element> (e);
- if (getAsxAttribute(elm,"name").lower() == QString("clipsummary")) {
+ if (getAsxAttribute(elm,"name").lower() == TQString("clipsummary")) {
PlayListNotify * n = document ()->notify_listener;
if (n)
n->setInfoMessage (KURL::decode_string (
@@ -119,7 +119,7 @@ KDE_NO_EXPORT void ASX::Entry::activate () {
KDE_NO_EXPORT void ASX::Entry::deactivate () {
PlayListNotify * n = document ()->notify_listener;
if (n)
- n->setInfoMessage (QString ());
+ n->setInfoMessage (TQString ());
}
KDE_NO_EXPORT bool ASX::Entry::expose () const {