42 #ifndef QDECLARATIVEGLOBAL_H 43 #define QDECLARATIVEGLOBAL_H 45 #include <QtCore/qglobal.h> 46 #include <QtCore/QObject> 54 #define DEFINE_BOOL_CONFIG_OPTION(name, var) \ 57 static enum { Yes, No, Unknown } status = Unknown; \ 58 if (status == Unknown) { \ 59 QByteArray v = qgetenv(#var); \ 60 bool value = !v.isEmpty() && v != "0" && v != "false"; \ 61 if (value) status = Yes; \ 64 return status == Yes; \ 68 #define Q_DECLARATIVE_PRIVATE_EXPORT Q_AUTOTEST_EXPORT 70 #define Q_DECLARATIVE_PRIVATE_EXPORT Q_DECLARATIVE_EXPORT 110 #endif // QDECLARATIVEGLOBAL_H void setParent_noEvent(QObject *parent)
#define QT_END_NAMESPACE
This macro expands to.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
void setParent(QObject *)
Makes the object a child of parent.
bool QDeclarative_isFileCaseCorrect(const QString &fileName)
Returns true if the case of fileName is equivalent to the file case of fileName on disk...
#define QT_BEGIN_NAMESPACE
This macro expands to.
void QDeclarative_setParent_noEvent(QObject *object, QObject *parent)
Makes the object a child of parent.
QObject * parent() const
Returns a pointer to the parent object.
QScopedPointer< QObjectData > d_ptr
static QString fileName(const QString &fileUrl)