QAmqpTable arguments derives from channel private.
This commit is contained in:
parent
9d567c4aff
commit
20c9d69875
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include <QPointer>
|
||||
#include "qamqpframe_p.h"
|
||||
#include "qamqptable.h"
|
||||
|
||||
#define METHOD_ID_ENUM(name, id) name = id, name ## Ok
|
||||
|
||||
|
|
@ -77,6 +78,7 @@ public:
|
|||
|
||||
Q_DECLARE_PUBLIC(QAmqpChannel)
|
||||
QAmqpChannel * const q_ptr;
|
||||
QAmqpTable arguments;
|
||||
};
|
||||
|
||||
#endif // QAMQPCHANNEL_P_H
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ public:
|
|||
|
||||
QString type;
|
||||
QAmqpExchange::ExchangeOptions options;
|
||||
QAmqpTable arguments;
|
||||
bool delayedDeclare;
|
||||
bool declared;
|
||||
qlonglong nextDeliveryTag;
|
||||
|
|
|
|||
|
|
@ -328,7 +328,7 @@ int QAmqpQueue::options() const
|
|||
return d->options;
|
||||
}
|
||||
|
||||
void QAmqpQueue::declare(int options, const QAmqpTable arguments)
|
||||
void QAmqpQueue::declare(int options, const QAmqpTable &arguments)
|
||||
{
|
||||
Q_D(QAmqpQueue);
|
||||
d->options = options;
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ Q_SIGNALS:
|
|||
|
||||
public Q_SLOTS:
|
||||
// AMQP Queue
|
||||
void declare(int options = Durable|AutoDelete, const QAmqpTable& arguments);
|
||||
void declare(int options = Durable|AutoDelete, const QAmqpTable &arguments = QAmqpTable());
|
||||
void bind(const QString &exchangeName, const QString &key);
|
||||
void bind(QAmqpExchange *exchange, const QString &key);
|
||||
void unbind(const QString &exchangeName, const QString &key);
|
||||
|
|
|
|||
Loading…
Reference in New Issue