summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativetextinput_p.h
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@nokia.com>2010-07-29 09:18:37 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-07-29 09:18:37 (GMT)
commita542b798e468f775ab09a7846c8fe185eece6ab3 (patch)
tree1b138b3ad9e8f9a48316992f6901d87f856965e0 /src/declarative/graphicsitems/qdeclarativetextinput_p.h
parent3643d21756a6bd9ed06a409457d6e8c93aba3b43 (diff)
downloadQt-a542b798e468f775ab09a7846c8fe185eece6ab3.zip
Qt-a542b798e468f775ab09a7846c8fe185eece6ab3.tar.gz
Qt-a542b798e468f775ab09a7846c8fe185eece6ab3.tar.bz2
Fix compilation - disable TextInput when QT_NO_LINEEDIT is defined
Merge-request: 739 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetextinput_p.h')
-rw-r--r--src/declarative/graphicsitems/qdeclarativetextinput_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput_p.h b/src/declarative/graphicsitems/qdeclarativetextinput_p.h
index ba3f5b1..06f77e5 100644
--- a/src/declarative/graphicsitems/qdeclarativetextinput_p.h
+++ b/src/declarative/graphicsitems/qdeclarativetextinput_p.h
@@ -48,6 +48,8 @@
#include <QGraphicsSceneMouseEvent>
#include <QIntValidator>
+#ifndef QT_NO_LINEEDIT
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
@@ -263,4 +265,6 @@ QML_DECLARE_TYPE(QRegExpValidator)
QT_END_HEADER
+#endif // QT_NO_LINEEDIT
+
#endif // QDECLARATIVETEXTINPUT_H