Fix compilation for namespaced Qt.

Reviewed-by: Oswald Buddenhagen
This commit is contained in:
Christian Kandeler
2010-11-17 17:42:56 +01:00
parent 79c95e4603
commit 6e1c4c8e9c

View File

@@ -695,14 +695,18 @@ typedef struct {
// complex expressions within the quoted string.
bool dquote;
} MxState;
QT_BEGIN_NAMESPACE
Q_DECLARE_TYPEINFO(MxState, Q_PRIMITIVE_TYPE);
QT_END_NAMESPACE
// Pushed state for the case where a $(()) expansion turns out bogus
typedef struct {
QString str;
int pos, varPos;
} MxSave;
QT_BEGIN_NAMESPACE
Q_DECLARE_TYPEINFO(MxSave, Q_MOVABLE_TYPE);
QT_END_NAMESPACE
#include <QtCore/QStack>