spelling cleanups

This commit is contained in:
Matt Broadstone 2014-06-10 21:23:08 -04:00
parent 46e974aeb8
commit 566de2e4d4
2 changed files with 8 additions and 11 deletions

View File

@ -74,8 +74,6 @@ bool ExchangePrivate::_q_method(const Frame::Method &frame)
case miDeleteOk:
deleteOk(frame);
break;
default:
break;
}
return true;
@ -86,7 +84,7 @@ void ExchangePrivate::declareOk(const Frame::Method &frame)
Q_UNUSED(frame)
Q_Q(Exchange);
qAmqpDebug() << "Declared exchange: " << name;
qAmqpDebug() << "declared exchange: " << name;
declared = true;
Q_EMIT q->declared();
}
@ -96,7 +94,7 @@ void ExchangePrivate::deleteOk(const Frame::Method &frame)
Q_UNUSED(frame)
Q_Q(Exchange);
qAmqpDebug() << "Deleted exchange: " << name;
qAmqpDebug() << "deleted exchange: " << name;
declared = false;
Q_EMIT q->removed();
}
@ -104,7 +102,7 @@ void ExchangePrivate::deleteOk(const Frame::Method &frame)
void ExchangePrivate::_q_disconnected()
{
ChannelPrivate::_q_disconnected();
qAmqpDebug() << "Exchange " << name << " disconnected";
qAmqpDebug() << "exchange " << name << " disconnected";
delayedDeclare = false;
declared = false;
}
@ -135,7 +133,7 @@ void Exchange::channelClosed()
remove(true, true);
}
Exchange::ExchangeOptions Exchange::option() const
Exchange::ExchangeOptions Exchange::options() const
{
Q_D(const Exchange);
return d->options;

View File

@ -13,9 +13,9 @@ class ExchangePrivate;
class QAMQP_EXPORT Exchange : public Channel
{
Q_OBJECT
Q_PROPERTY(QString type READ type)
Q_PROPERTY(ExchangeOptions option READ option)
Q_ENUMS(ExchangeOption)
Q_PROPERTY(QString type READ type CONSTANT)
Q_PROPERTY(ExchangeOptions options READ options CONSTANT)
Q_ENUMS(ExchangeOptions)
public:
enum ExchangeType {
@ -35,8 +35,7 @@ public:
NoWait = 0x10
};
Q_DECLARE_FLAGS(ExchangeOptions, ExchangeOption)
ExchangeOptions option() const;
ExchangeOptions options() const;
virtual ~Exchange();