[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    [kdebase trunk] kio_media: replace Q3CString with QByteArray
From:       Dave Rowe <dave () roweware ! com>
Date:       2005-10-26 4:11:30
Message-ID: 200510252311.30158.dave () roweware ! com
[Download RAW message or body]

Hello,

Attached is a patch replacing Q3CString with QByteArray as noted by Trolltech 
documentation for the following files:

kioslave/media/kio_media.cpp
kioslave/media/kio_media.h

Please review for glaring errors, and reply to me with any comments or 
suggestions.

Thanks,
Dave Rowe
dave@roweware.com

["kio_media.patch" (text/x-diff)]

Index: kio_media.cpp
===================================================================
--- kio_media.cpp	(revision 474310)
+++ kio_media.cpp	(working copy)
@@ -27,7 +27,7 @@
 
 #include <qeventloop.h>
 //Added by qt3to4:
-#include <Q3CString>
+#include <QByteArray>
 
 #include "kio_media.h"
 
@@ -59,8 +59,8 @@
 }
 
 
-MediaProtocol::MediaProtocol(const Q3CString &protocol,
-                             const Q3CString &pool, const Q3CString &app)
+MediaProtocol::MediaProtocol(const QByteArray &protocol,
+                             const QByteArray &pool, const QByteArray &app)
 	: ForwardingSlaveBase(protocol, pool, app)
 {
 	connect( &m_impl, SIGNAL( warning( const QString & ) ),
Index: kio_media.h
===================================================================
--- kio_media.h	(revision 474310)
+++ kio_media.h	(working copy)
@@ -28,8 +28,8 @@
 {
 Q_OBJECT
 public:
-	MediaProtocol(const Q3CString &protocol, const Q3CString &pool,
-	              const Q3CString &app);
+	MediaProtocol(const QByteArray &protocol, const QByteArray &pool,
+	              const QByteArray &app);
 	virtual ~MediaProtocol();
 
 	virtual bool rewriteURL(const KURL &url, KURL &newUrl);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic