void QPlatformInputContext::invokeAction(QInputPanel::Action action, int cursorPosition)
{
+ Q_UNUSED(cursorPosition)
// Default behavior for simple ephemeral input contexts. Some
// complex input contexts should not be reset here.
if (action == QInputPanel::Click)
bool QPlatformInputContext::filterEvent(const QEvent *event)
{
+ Q_UNUSED(event)
return false;
}
*/
QVariantMap QPlatformNativeInterface::windowProperties(QPlatformWindow *window) const
{
+ Q_UNUSED(window)
return QVariantMap();
}
QHttpNetworkConnectionPrivate::QHttpNetworkConnectionPrivate(const QString &hostName, quint16 port, bool encrypt)
: state(RunningState),
+ networkLayerState(Unknown),
hostName(hostName), port(port), encrypt(encrypt),
- channelCount(defaultChannelCount),
- networkLayerState(Unknown)
+ channelCount(defaultChannelCount)
#ifndef QT_NO_NETWORKPROXY
, networkProxy(QNetworkProxy::NoProxy)
#endif
}
QHttpNetworkConnectionPrivate::QHttpNetworkConnectionPrivate(quint16 channelCount, const QString &hostName, quint16 port, bool encrypt)
-: state(RunningState),
+: state(RunningState), networkLayerState(Unknown),
hostName(hostName), port(port), encrypt(encrypt),
- channelCount(channelCount),
- networkLayerState(Unknown)
+ channelCount(channelCount)
#ifndef QT_NO_NETWORKPROXY
, networkProxy(QNetworkProxy::NoProxy)
#endif
enum ConnectionState {
RunningState = 0,
- PausedState = 1,
+ PausedState = 1
};
enum NetworkLayerPreferenceState {
, ignoreAllSslErrors(false)
#endif
, pipeliningSupported(PipeliningSupportUnknown)
- , connection(0)
, networkLayerPreference(QAbstractSocket::AnyIPProtocol)
+ , connection(0)
{
// Inlining this function in the header leads to compiler error on
// release-armv5, on at least timebox 9.2 and 10.1.
out << prot;
switch (address.protocol()) {
case QAbstractSocket::UnknownNetworkLayerProtocol:
+ case QAbstractSocket::AnyIPProtocol:
break;
case QAbstractSocket::IPv4Protocol:
out << address.toIPv4Address();
/*! \reimp */
QString QAccessibleAbstractSpinBox::text(Text t, int child) const
{
+ Q_UNUSED(child)
if (t == QAccessible::Value)
return abstractSpinBox()->text();
return QAccessibleWidget::text(t, 0);
/*! \reimp */
bool QAccessibleAbstractSpinBox::doAction(int action, int child, const QVariantList ¶ms)
{
+ Q_UNUSED(child)
if (!widget()->isEnabled())
return false;
return QAccessibleWidget::doAction(action, 0, params);
/*! \reimp */
bool QAccessibleSpinBox::doAction(int action, int child, const QVariantList ¶ms)
{
+ Q_UNUSED(child)
if (!widget()->isEnabled())
return false;
/*! \reimp */
QString QAccessibleDoubleSpinBox::text(Text textType, int child) const
{
+ Q_UNUSED(child)
if (textType == Value)
return doubleSpinBox()->textFromValue(doubleSpinBox()->value());
return QAccessibleWidget::text(textType, 0);
QString QTDSDriver::escapeIdentifier(const QString &identifier, IdentifierType type) const
{
+ Q_UNUSED(type)
QString res = identifier;
if(!identifier.isEmpty() && !identifier.startsWith(QLatin1Char('"')) && !identifier.endsWith(QLatin1Char('"')) ) {
res.replace(QLatin1Char('"'), QLatin1String("\"\""));