Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qsavefile_p.h
Go to the documentation of this file.
1// Copyright (C) 2013 David Faure <faure@kde.org>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QSAVEFILE_P_H
5#define QSAVEFILE_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtCore/qglobal.h>
19
20#if QT_CONFIG(temporaryfile)
21
22#include "private/qfiledevice_p.h"
23
25
26class QSaveFilePrivate : public QFileDevicePrivate
27{
28 Q_DECLARE_PUBLIC(QSaveFile)
29
30protected:
31 QSaveFilePrivate();
32 ~QSaveFilePrivate();
33
35 QString finalFileName; // fileName with symbolic links resolved
36
37 QFileDevice::FileError writeError;
38
39 bool useTemporaryFile;
40 bool directWriteFallback;
41};
42
44
45#endif // QT_CONFIG(temporaryfile)
46
47#endif // QSAVEFILE_P_H
FileError
This enum describes the errors that may be returned by the error() function.
Definition qfiledevice.h:39
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.