summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qsavefile.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2016-12-30 16:06:31 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2017-01-02 12:51:37 +0000
commit79bf4e8f1c4415d92ab335c5a72b9e4c9332fdd3 (patch)
treef4a62a13437d945b18840c882c5951767ad4b4ec /src/corelib/io/qsavefile.h
parent59ae55e12e075005ceae6e353ef1ee00817ec751 (diff)
Added QSaveFile to the bootstrap library
It's quite a simple addition and required for the ahead of time compilation tool for qtdeclarative. Change-Id: Iba85ae5182919cdb5ab15a0b643e57c103eae632 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/io/qsavefile.h')
-rw-r--r--src/corelib/io/qsavefile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/io/qsavefile.h b/src/corelib/io/qsavefile.h
index 0a6af91261..09d6e29272 100644
--- a/src/corelib/io/qsavefile.h
+++ b/src/corelib/io/qsavefile.h
@@ -58,14 +58,18 @@ class QSaveFilePrivate;
class Q_CORE_EXPORT QSaveFile : public QFileDevice
{
+#ifndef QT_NO_QOBJECT
Q_OBJECT
+#endif
Q_DECLARE_PRIVATE(QSaveFile)
public:
explicit QSaveFile(const QString &name);
+#ifndef QT_NO_QOBJECT
explicit QSaveFile(QObject *parent = Q_NULLPTR);
explicit QSaveFile(const QString &name, QObject *parent);
+#endif
~QSaveFile();
QString fileName() const Q_DECL_OVERRIDE;