spelling cleanups
This commit is contained in:
parent
46e974aeb8
commit
566de2e4d4
|
|
@ -74,8 +74,6 @@ bool ExchangePrivate::_q_method(const Frame::Method &frame)
|
||||||
case miDeleteOk:
|
case miDeleteOk:
|
||||||
deleteOk(frame);
|
deleteOk(frame);
|
||||||
break;
|
break;
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
@ -86,7 +84,7 @@ void ExchangePrivate::declareOk(const Frame::Method &frame)
|
||||||
Q_UNUSED(frame)
|
Q_UNUSED(frame)
|
||||||
|
|
||||||
Q_Q(Exchange);
|
Q_Q(Exchange);
|
||||||
qAmqpDebug() << "Declared exchange: " << name;
|
qAmqpDebug() << "declared exchange: " << name;
|
||||||
declared = true;
|
declared = true;
|
||||||
Q_EMIT q->declared();
|
Q_EMIT q->declared();
|
||||||
}
|
}
|
||||||
|
|
@ -96,7 +94,7 @@ void ExchangePrivate::deleteOk(const Frame::Method &frame)
|
||||||
Q_UNUSED(frame)
|
Q_UNUSED(frame)
|
||||||
|
|
||||||
Q_Q(Exchange);
|
Q_Q(Exchange);
|
||||||
qAmqpDebug() << "Deleted exchange: " << name;
|
qAmqpDebug() << "deleted exchange: " << name;
|
||||||
declared = false;
|
declared = false;
|
||||||
Q_EMIT q->removed();
|
Q_EMIT q->removed();
|
||||||
}
|
}
|
||||||
|
|
@ -104,7 +102,7 @@ void ExchangePrivate::deleteOk(const Frame::Method &frame)
|
||||||
void ExchangePrivate::_q_disconnected()
|
void ExchangePrivate::_q_disconnected()
|
||||||
{
|
{
|
||||||
ChannelPrivate::_q_disconnected();
|
ChannelPrivate::_q_disconnected();
|
||||||
qAmqpDebug() << "Exchange " << name << " disconnected";
|
qAmqpDebug() << "exchange " << name << " disconnected";
|
||||||
delayedDeclare = false;
|
delayedDeclare = false;
|
||||||
declared = false;
|
declared = false;
|
||||||
}
|
}
|
||||||
|
|
@ -135,7 +133,7 @@ void Exchange::channelClosed()
|
||||||
remove(true, true);
|
remove(true, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
Exchange::ExchangeOptions Exchange::option() const
|
Exchange::ExchangeOptions Exchange::options() const
|
||||||
{
|
{
|
||||||
Q_D(const Exchange);
|
Q_D(const Exchange);
|
||||||
return d->options;
|
return d->options;
|
||||||
|
|
|
||||||
|
|
@ -13,9 +13,9 @@ class ExchangePrivate;
|
||||||
class QAMQP_EXPORT Exchange : public Channel
|
class QAMQP_EXPORT Exchange : public Channel
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_PROPERTY(QString type READ type)
|
Q_PROPERTY(QString type READ type CONSTANT)
|
||||||
Q_PROPERTY(ExchangeOptions option READ option)
|
Q_PROPERTY(ExchangeOptions options READ options CONSTANT)
|
||||||
Q_ENUMS(ExchangeOption)
|
Q_ENUMS(ExchangeOptions)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum ExchangeType {
|
enum ExchangeType {
|
||||||
|
|
@ -35,8 +35,7 @@ public:
|
||||||
NoWait = 0x10
|
NoWait = 0x10
|
||||||
};
|
};
|
||||||
Q_DECLARE_FLAGS(ExchangeOptions, ExchangeOption)
|
Q_DECLARE_FLAGS(ExchangeOptions, ExchangeOption)
|
||||||
|
ExchangeOptions options() const;
|
||||||
ExchangeOptions option() const;
|
|
||||||
|
|
||||||
virtual ~Exchange();
|
virtual ~Exchange();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue