4
0
mirror of https://github.com/QuasarApp/qca.git synced 2025-05-09 09:19:33 +00:00

cms bytes written signal

svn path=/trunk/kdesupport/qca/; revision=699474
This commit is contained in:
Justin Karneges 2007-08-13 06:54:00 +00:00
parent 926f2bab06
commit c9cfdf7208

@ -5722,6 +5722,7 @@ public:
SecureMessage::Format format;
Operation op;
bool _finished;
QByteArray in, out;
QByteArray sig;
@ -5788,6 +5789,7 @@ public:
virtual void start(SecureMessage::Format f, Operation op)
{
format = f;
_finished = false;
// TODO: other operations
//if(op == Sign)
@ -5804,6 +5806,7 @@ public:
{
this->in.append(in);
total += in.size();
QMetaObject::invokeMethod(this, "updated", Qt::QueuedConnection);
}
virtual QByteArray read()
@ -5820,6 +5823,8 @@ public:
virtual void end()
{
_finished = true;
// sign
if(op == Sign)
{
@ -6136,8 +6141,7 @@ public:
virtual bool finished() const
{
// TODO
return true;
return _finished;
}
virtual bool waitForFinished(int msecs)