make use of QT_REQUIRE_CONFIG() in platformsupport modules
Change-Id: I26fbe75c65c10d68454e64e306f7155367e66cf6 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
parent
f25afef61d
commit
d976cee1e5
@ -1,7 +1,7 @@
|
|||||||
TARGET = QtAccessibilitySupport
|
TARGET = QtAccessibilitySupport
|
||||||
MODULE = accessibility_support
|
MODULE = accessibility_support
|
||||||
|
|
||||||
QT = core-private gui
|
QT = core-private gui-private
|
||||||
CONFIG += static internal_module
|
CONFIG += static internal_module
|
||||||
|
|
||||||
DEFINES += QT_NO_CAST_FROM_ASCII
|
DEFINES += QT_NO_CAST_FROM_ASCII
|
||||||
|
@ -39,8 +39,6 @@
|
|||||||
#include "qaccessiblebridgeutils_p.h"
|
#include "qaccessiblebridgeutils_p.h"
|
||||||
#include <QtCore/qmath.h>
|
#include <QtCore/qmath.h>
|
||||||
|
|
||||||
#ifndef QT_NO_ACCESSIBILITY
|
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
namespace QAccessibleBridgeUtils {
|
namespace QAccessibleBridgeUtils {
|
||||||
@ -113,5 +111,3 @@ bool performEffectiveAction(QAccessibleInterface *iface, const QString &actionNa
|
|||||||
} //namespace
|
} //namespace
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif
|
|
||||||
|
@ -51,10 +51,12 @@
|
|||||||
// We mean it.
|
// We mean it.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#include <QtGui/private/qtguiglobal_p.h>
|
||||||
|
|
||||||
#include <QtCore/qstringlist.h>
|
#include <QtCore/qstringlist.h>
|
||||||
#include <QtGui/qaccessible.h>
|
#include <QtGui/qaccessible.h>
|
||||||
|
|
||||||
#ifndef QT_NO_ACCESSIBILITY
|
QT_REQUIRE_CONFIG(accessibility);
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
@ -65,6 +67,4 @@ namespace QAccessibleBridgeUtils {
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif //QACCESSIBLEBRIDGEUTILS_H
|
#endif //QACCESSIBLEBRIDGEUTILS_H
|
||||||
|
@ -51,12 +51,13 @@
|
|||||||
// We mean it.
|
// We mean it.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#include <QtGui/private/qtguiglobal_p.h>
|
||||||
#include <QtCore/QPointer>
|
#include <QtCore/QPointer>
|
||||||
#include <QtCore/QQueue>
|
#include <QtCore/QQueue>
|
||||||
#include <QtDBus/QDBusConnection>
|
#include <QtDBus/QDBusConnection>
|
||||||
#include <QtGui/QAccessibleInterface>
|
#include <QtGui/QAccessibleInterface>
|
||||||
|
|
||||||
#ifndef QT_NO_ACCESSIBILITY
|
QT_REQUIRE_CONFIG(accessibility);
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
@ -94,6 +95,4 @@ private:
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif //QT_NO_ACCESSIBILITY
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -54,6 +54,7 @@
|
|||||||
|
|
||||||
#include <atspi/atspi-constants.h>
|
#include <atspi/atspi-constants.h>
|
||||||
|
|
||||||
|
#include <QtGui/private/qtguiglobal_p.h>
|
||||||
#include <QtCore/qsharedpointer.h>
|
#include <QtCore/qsharedpointer.h>
|
||||||
#include <QtDBus/qdbusvirtualobject.h>
|
#include <QtDBus/qdbusvirtualobject.h>
|
||||||
#include <QtGui/qaccessible.h>
|
#include <QtGui/qaccessible.h>
|
||||||
@ -61,7 +62,8 @@
|
|||||||
#include "dbusconnection_p.h"
|
#include "dbusconnection_p.h"
|
||||||
#include "struct_marshallers_p.h"
|
#include "struct_marshallers_p.h"
|
||||||
|
|
||||||
#ifndef QT_NO_ACCESSIBILITY
|
QT_REQUIRE_CONFIG(accessibility);
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
class QAccessibleInterface;
|
class QAccessibleInterface;
|
||||||
@ -222,6 +224,5 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
#endif //QT_NO_ACCESSIBILITY
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -52,12 +52,14 @@
|
|||||||
// We mean it.
|
// We mean it.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#include <QtGui/private/qtguiglobal_p.h>
|
||||||
#include <QtDBus/qdbusconnection.h>
|
#include <QtDBus/qdbusconnection.h>
|
||||||
#include <qpa/qplatformaccessibility.h>
|
#include <qpa/qplatformaccessibility.h>
|
||||||
|
|
||||||
class DeviceEventControllerAdaptor;
|
class DeviceEventControllerAdaptor;
|
||||||
|
|
||||||
#ifndef QT_NO_ACCESSIBILITY
|
QT_REQUIRE_CONFIG(accessibility);
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
class DBusConnection;
|
class DBusConnection;
|
||||||
@ -89,6 +91,5 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
#endif //QT_NO_ACCESSIBILITY
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -52,10 +52,12 @@
|
|||||||
// We mean it.
|
// We mean it.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#include <QtGui/private/qtguiglobal_p.h>
|
||||||
#include <QtCore/QObject>
|
#include <QtCore/QObject>
|
||||||
#include "struct_marshallers_p.h"
|
#include "struct_marshallers_p.h"
|
||||||
|
|
||||||
#ifndef QT_NO_ACCESSIBILITY
|
QT_REQUIRE_CONFIG(accessibility);
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
class QSpiDBusCache : public QObject
|
class QSpiDBusCache : public QObject
|
||||||
@ -76,6 +78,5 @@ public Q_SLOTS:
|
|||||||
};
|
};
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
#endif //QT_NO_ACCESSIBILITY
|
|
||||||
|
|
||||||
#endif /* Q_SPI_CACHE_H */
|
#endif /* Q_SPI_CACHE_H */
|
||||||
|
@ -58,10 +58,11 @@
|
|||||||
|
|
||||||
#include "struct_marshallers_p.h"
|
#include "struct_marshallers_p.h"
|
||||||
|
|
||||||
|
#include <QtGui/private/qtguiglobal_p.h>
|
||||||
#include <QtGui/QAccessible>
|
#include <QtGui/QAccessible>
|
||||||
#include <atspi/atspi-constants.h>
|
#include <atspi/atspi-constants.h>
|
||||||
|
|
||||||
#ifndef QT_NO_ACCESSIBILITY
|
QT_REQUIRE_CONFIG(accessibility);
|
||||||
|
|
||||||
// interface names from at-spi2-core/atspi/atspi-misc-private.h
|
// interface names from at-spi2-core/atspi/atspi-misc-private.h
|
||||||
#define ATSPI_DBUS_NAME_REGISTRY "org.a11y.atspi.Registry"
|
#define ATSPI_DBUS_NAME_REGISTRY "org.a11y.atspi.Registry"
|
||||||
@ -141,6 +142,5 @@ QSpiUIntList spiStateSetFromSpiStates(quint64 states);
|
|||||||
AtspiRelationType qAccessibleRelationToAtSpiRelation(QAccessible::Relation relation);
|
AtspiRelationType qAccessibleRelationToAtSpiRelation(QAccessible::Relation relation);
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
#endif //QT_NO_ACCESSIBILITY
|
|
||||||
|
|
||||||
#endif /* Q_SPI_CONSTANT_MAPPINGS_H */
|
#endif /* Q_SPI_CONSTANT_MAPPINGS_H */
|
||||||
|
@ -52,13 +52,15 @@
|
|||||||
// We mean it.
|
// We mean it.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#include <QtGui/private/qtguiglobal_p.h>
|
||||||
#include <QtCore/qvector.h>
|
#include <QtCore/qvector.h>
|
||||||
#include <QtCore/qpair.h>
|
#include <QtCore/qpair.h>
|
||||||
#include <QtDBus/QDBusArgument>
|
#include <QtDBus/QDBusArgument>
|
||||||
#include <QtDBus/QDBusConnection>
|
#include <QtDBus/QDBusConnection>
|
||||||
#include <QtDBus/QDBusObjectPath>
|
#include <QtDBus/QDBusObjectPath>
|
||||||
|
|
||||||
#ifndef QT_NO_ACCESSIBILITY
|
QT_REQUIRE_CONFIG(accessibility);
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
typedef QVector<int> QSpiIntList;
|
typedef QVector<int> QSpiIntList;
|
||||||
@ -192,5 +194,4 @@ Q_DECLARE_METATYPE(QSpiAttributeSet)
|
|||||||
Q_DECLARE_METATYPE(QSpiAppUpdate)
|
Q_DECLARE_METATYPE(QSpiAppUpdate)
|
||||||
Q_DECLARE_METATYPE(QSpiDeviceEvent)
|
Q_DECLARE_METATYPE(QSpiDeviceEvent)
|
||||||
|
|
||||||
#endif //QT_NO_ACCESSIBILITY
|
|
||||||
#endif /* Q_SPI_STRUCT_MARSHALLERS_H */
|
#endif /* Q_SPI_STRUCT_MARSHALLERS_H */
|
||||||
|
@ -52,9 +52,9 @@
|
|||||||
// We mean it.
|
// We mean it.
|
||||||
//
|
//
|
||||||
|
|
||||||
#include <QtCore/qglobal.h>
|
#include <QtGui/private/qtguiglobal_p.h>
|
||||||
|
|
||||||
#ifndef QT_NO_SYSTEMTRAYICON
|
QT_REQUIRE_CONFIG(systemtrayicon);
|
||||||
|
|
||||||
#include <QIcon>
|
#include <QIcon>
|
||||||
#include <QTemporaryFile>
|
#include <QTemporaryFile>
|
||||||
@ -165,5 +165,4 @@ private:
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // QT_NO_SYSTEMTRAYICON
|
|
||||||
#endif // QDBUSTRAYICON_H
|
#endif // QDBUSTRAYICON_H
|
||||||
|
@ -52,7 +52,9 @@
|
|||||||
// We mean it.
|
// We mean it.
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef QT_NO_SYSTEMTRAYICON
|
#include <QtGui/private/qtguiglobal_p.h>
|
||||||
|
|
||||||
|
QT_REQUIRE_CONFIG(systemtrayicon);
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
@ -104,5 +106,4 @@ Q_DECLARE_METATYPE(QXdgDBusImageStruct)
|
|||||||
Q_DECLARE_METATYPE(QXdgDBusImageVector)
|
Q_DECLARE_METATYPE(QXdgDBusImageVector)
|
||||||
Q_DECLARE_METATYPE(QXdgDBusToolTipStruct)
|
Q_DECLARE_METATYPE(QXdgDBusToolTipStruct)
|
||||||
|
|
||||||
#endif // QT_NO_SYSTEMTRAYICON
|
|
||||||
#endif // QDBUSTRAYTYPES_P_H
|
#endif // QDBUSTRAYTYPES_P_H
|
||||||
|
@ -62,9 +62,9 @@
|
|||||||
// We mean it.
|
// We mean it.
|
||||||
//
|
//
|
||||||
|
|
||||||
#include <QtCore/qglobal.h>
|
#include <QtGui/private/qtguiglobal_p.h>
|
||||||
|
|
||||||
#ifndef QT_NO_SYSTEMTRAYICON
|
QT_REQUIRE_CONFIG(systemtrayicon);
|
||||||
|
|
||||||
#include <QtCore/QObject>
|
#include <QtCore/QObject>
|
||||||
#include <QtDBus/QtDBus>
|
#include <QtDBus/QtDBus>
|
||||||
@ -200,5 +200,5 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
#endif // QT_NO_SYSTEMTRAYICON
|
|
||||||
#endif // QSTATUSNOTIFIERITEMADAPTER_P_H
|
#endif // QSTATUSNOTIFIERITEMADAPTER_P_H
|
||||||
|
Loading…
Reference in New Issue
Block a user