summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qiodevice.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-04-20 08:26:23 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-04-21 15:01:13 +0200
commit1b1844afef81520520ba75146f835a7dbbbb5fd6 (patch)
tree376d805ed499e3c8c4704c723be7797de0b7e84e /src/corelib/io/qiodevice.h
parented82e1304d327bd663926be6301aae28b02323c0 (diff)
Documentation: Fix broken links to QIODeviceBase::OpenMode
Previously, QIODeviceBase was not visible in the documentation and the links from QIODevice::open() were broken. Fix by fully qualifying the arguments. Pick-to: 6.1 6.0 Change-Id: I43960ac2ff436251cc3bfad862d82f937b9bd4b1 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/corelib/io/qiodevice.h')
-rw-r--r--src/corelib/io/qiodevice.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/io/qiodevice.h b/src/corelib/io/qiodevice.h
index e4388b8972..fd97e8d1e5 100644
--- a/src/corelib/io/qiodevice.h
+++ b/src/corelib/io/qiodevice.h
@@ -78,7 +78,7 @@ public:
#endif
virtual ~QIODevice();
- OpenMode openMode() const;
+ QIODeviceBase::OpenMode openMode() const;
void setTextModeEnabled(bool enabled);
bool isTextModeEnabled() const;
@@ -95,7 +95,7 @@ public:
int currentWriteChannel() const;
void setCurrentWriteChannel(int channel);
- virtual bool open(OpenMode mode);
+ virtual bool open(QIODeviceBase::OpenMode mode);
virtual void close();
// ### Qt 7 - QTBUG-76492: pos() and seek() should not be virtual, and
@@ -159,7 +159,7 @@ protected:
virtual qint64 skipData(qint64 maxSize);
virtual qint64 writeData(const char *data, qint64 len) = 0;
- void setOpenMode(OpenMode openMode);
+ void setOpenMode(QIODeviceBase::OpenMode openMode);
void setErrorString(const QString &errorString);