6 #ifndef WOLF_TRANSACTION_PH
7 #define WOLF_TRANSACTION_PH
13 #include "WTransaction"
28 Log(
WTransaction*parent,
const QString&request,
const QString&interface=QString());
33 void setRequ(
const QString&,
const QString&);
35 void setResp(
const QString&,
const QString&);
37 void setError(
const QString&);
39 void setInfo(
const QString&);
46 void outStr(
const QString&);
98 LogWrap(
WTransaction*parent,
const QString&request,
const QString&interface=QString());
101 void setRequ(
const QString&,
const QString&);
103 void setResp(
const QString&,
const QString&);
105 void setError(
const QString&);
107 void setInfo(
const QString&);
120 virtual void detach(){refctr--;
if(refctr==0)
delete this;}
QPointer< QTimer > m_qtimeout
Definition: transaction_p.h:82
QPointer< QNetworkReply > m_rsp
Definition: transaction_p.h:80
QString m_errtype
Definition: transaction_p.h:78
Stage
Definition: transaction.h:37
virtual ~WTransaction_Private()
Definition: transaction.cpp:418
WTransaction::Stage m_stage
Definition: transaction_p.h:77
QString m_errstr
Definition: transaction_p.h:78
QByteArray m_rspdata
Definition: transaction_p.h:81
virtual void webTimeout()
Definition: transaction.cpp:229
virtual void webError()
Definition: transaction.cpp:248
virtual void detach()
Definition: transaction_p.h:120
WTransaction_Private * attach(WTransaction *)
attach this private object to a master
Definition: transaction.cpp:423
virtual void startQuery(QString, QByteArray)
Definition: transaction.cpp:79
void detach(QObject *)
detach this object from a master, delete it if there are no more masters
Definition: transaction.cpp:431
virtual void endQuery()
Definition: transaction.cpp:140
virtual void attach()
Definition: transaction_p.h:119
virtual QByteArray executeQuery(QString, QByteArray)
Definition: transaction.cpp:190
Definition: transaction.h:20
WTransaction_Private(WTransaction *)
Definition: transaction.cpp:408
Definition: transaction_p.h:50
QString m_iface
Definition: transaction_p.h:78
Log(WTransaction *parent, const QString &request, const QString &interface=QString())
WTransaction::Log * m_log
Definition: transaction_p.h:79
#define WOLF_BASE_EXPORT
Definition: exception.h:13
virtual void webReady()
Definition: transaction.cpp:239
Definition: transaction_p.h:112
QString m_wobstatus
Definition: transaction_p.h:78