Commit be8b5934 authored by Pino Toscano's avatar Pino Toscano
Browse files

less deprecated

svn path=/branches/work/kde4/playground/graphics/okular/; revision=543726
parent 7049feb8
......@@ -55,7 +55,7 @@ extern "C"
}
}
ProtocolMSITS::ProtocolMSITS (const Q3CString &pool_socket, const Q3CString &app_socket)
ProtocolMSITS::ProtocolMSITS (const QByteArray &pool_socket, const QByteArray &app_socket)
: SlaveBase ("kio_msits", pool_socket, app_socket)
{
m_chmFile = 0;
......@@ -102,7 +102,7 @@ void ProtocolMSITS::get( const KUrl& url )
return;
}
QByteArray buf (ui.length);
QByteArray buf (ui.length, '\0');
if ( RetrieveObject (&ui, (unsigned char*) buf.data(), 0, ui.length) == 0 )
{
......
......@@ -26,8 +26,8 @@
#include <kio/slavebase.h>
#include <kurl.h>
#include <qbytearray.h>
#include <qstring.h>
#include <q3cstring.h>
#include "chm_lib.h"
......@@ -35,7 +35,7 @@
class ProtocolMSITS : public KIO::SlaveBase
{
public:
ProtocolMSITS ( const Q3CString&, const Q3CString& );
ProtocolMSITS ( const QByteArray&, const QByteArray& );
virtual ~ProtocolMSITS();
virtual void get ( const KUrl& );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment