summaryrefslogtreecommitdiffstats
path: root/kmrml/kmrml/mrml.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kmrml/kmrml/mrml.cpp
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmrml/kmrml/mrml.cpp')
-rw-r--r--kmrml/kmrml/mrml.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmrml/kmrml/mrml.cpp b/kmrml/kmrml/mrml.cpp
index 1d998476..8fdcce29 100644
--- a/kmrml/kmrml/mrml.cpp
+++ b/kmrml/kmrml/mrml.cpp
@@ -214,13 +214,13 @@ bool Mrml::startSession( const KURL& url )
// desired collection-id
// Wolfgang says, we shouldn't create an own session-id here, as gcc 2.95
- // apparently makes problems in exception handling somehow. So we simply
+ // aptqparently makes problems in exception handling somehow. So we simply
// accept the server's session-id.
- TQString msg = mrmlString( TQString::null ).arg(
+ TQString msg = mrmlString( TQString() ).tqarg(
"<open-session user-name=\"%1\" session-name=\"kio_mrml session\" /> \
<get-algorithms /> \
<get-collections /> \
- </mrml>" ).arg( user( url ));
+ </mrml>" ).tqarg( user( url ));
TQCString utf8 = msg.utf8();
// qDebug(":::Writing: %s", utf8.data());
@@ -240,13 +240,13 @@ TQString Mrml::mrmlString( const TQString& sessionId, const TQString& transactio
</mrml>";
if ( sessionId.isEmpty() ) // when we don't have one yet
- return msg.arg( "<mrml>%1" );
+ return msg.tqarg( "<mrml>%1" );
if ( transactionId.isNull() )
- return msg.arg( "<mrml session-id=\"%1\">%1" ).arg( sessionId );
+ return msg.tqarg( "<mrml session-id=\"%1\">%1" ).tqarg( sessionId );
else
- return msg.arg( "<mrml session-id=\"%1\" transaction-id=\"%1\">%1")
- .arg( sessionId ).arg( transactionId );
+ return msg.tqarg( "<mrml session-id=\"%1\" transaction-id=\"%1\">%1")
+ .tqarg( sessionId ).tqarg( transactionId );
}
void Mrml::emitData( const TQCString& msg )