SigningTS/client/buffer.cpp
author John Kern <johnk@symbian.org>
Wed, 12 May 2010 09:44:30 -0700
changeset 17 cad8819de653
permissions -rw-r--r--
adding preliminary code; very much a work in progress; it is too difficult to work on the file system any longer
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17
cad8819de653 adding preliminary code; very much a work in progress; it is too difficult to work on the file system any longer
John Kern <johnk@symbian.org>
parents:
diff changeset
     1
#include <QNetworkReply>
cad8819de653 adding preliminary code; very much a work in progress; it is too difficult to work on the file system any longer
John Kern <johnk@symbian.org>
parents:
diff changeset
     2
#include <QtDebug>
cad8819de653 adding preliminary code; very much a work in progress; it is too difficult to work on the file system any longer
John Kern <johnk@symbian.org>
parents:
diff changeset
     3
#include "buffer.h"
cad8819de653 adding preliminary code; very much a work in progress; it is too difficult to work on the file system any longer
John Kern <johnk@symbian.org>
parents:
diff changeset
     4
cad8819de653 adding preliminary code; very much a work in progress; it is too difficult to work on the file system any longer
John Kern <johnk@symbian.org>
parents:
diff changeset
     5
void Buffer::replyFinished(QNetworkReply *reply)
cad8819de653 adding preliminary code; very much a work in progress; it is too difficult to work on the file system any longer
John Kern <johnk@symbian.org>
parents:
diff changeset
     6
{
cad8819de653 adding preliminary code; very much a work in progress; it is too difficult to work on the file system any longer
John Kern <johnk@symbian.org>
parents:
diff changeset
     7
    QByteArray data = reply->readAll();
cad8819de653 adding preliminary code; very much a work in progress; it is too difficult to work on the file system any longer
John Kern <johnk@symbian.org>
parents:
diff changeset
     8
    qDebug() << "result: " << data << endl;
cad8819de653 adding preliminary code; very much a work in progress; it is too difficult to work on the file system any longer
John Kern <johnk@symbian.org>
parents:
diff changeset
     9
    reply->deleteLater();
cad8819de653 adding preliminary code; very much a work in progress; it is too difficult to work on the file system any longer
John Kern <johnk@symbian.org>
parents:
diff changeset
    10
}
cad8819de653 adding preliminary code; very much a work in progress; it is too difficult to work on the file system any longer
John Kern <johnk@symbian.org>
parents:
diff changeset
    11
cad8819de653 adding preliminary code; very much a work in progress; it is too difficult to work on the file system any longer
John Kern <johnk@symbian.org>
parents:
diff changeset
    12
Buffer::Buffer(QObject *parent) :
cad8819de653 adding preliminary code; very much a work in progress; it is too difficult to work on the file system any longer
John Kern <johnk@symbian.org>
parents:
diff changeset
    13
    QObject(parent)
cad8819de653 adding preliminary code; very much a work in progress; it is too difficult to work on the file system any longer
John Kern <johnk@symbian.org>
parents:
diff changeset
    14
{
cad8819de653 adding preliminary code; very much a work in progress; it is too difficult to work on the file system any longer
John Kern <johnk@symbian.org>
parents:
diff changeset
    15
}