summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qiodevice.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-06-28 23:33:34 +0200
committerQt by Nokia <qt-info@nokia.com>2011-06-29 15:10:14 +0200
commit6fa1bbdce09bbbee2ea50b9360c821e54c81be51 (patch)
tree98796b534428c36023bf107b1c0b1e49ae75f755 /src/corelib/io/qiodevice.cpp
parent369696dc231450c774a5cc253d061aad2f3b6a19 (diff)
remove QT3_SUPPORT in corelib/io
Change-Id: Ia9ad0bebacc538a7392afb0fdcca40e8a2bb687b Reviewed-on: http://codereview.qt.nokia.com/865 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Liang Qi <liang.qi@nokia.com>
Diffstat (limited to 'src/corelib/io/qiodevice.cpp')
-rw-r--r--src/corelib/io/qiodevice.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/corelib/io/qiodevice.cpp b/src/corelib/io/qiodevice.cpp
index ea00cb4a1f..4371d9cbef 100644
--- a/src/corelib/io/qiodevice.cpp
+++ b/src/corelib/io/qiodevice.cpp
@@ -1790,31 +1790,6 @@ QString QIODevice::errorString() const
Use write(\a data) instead.
*/
-#if defined QT3_SUPPORT
-QIODevice::Status QIODevice::status() const
-{
-#if !defined(QT_NO_QOBJECT)
- const QFile *f = qobject_cast<const QFile *>(this);
- if (f) return (int) f->error();
-#endif
- return isOpen() ? 0 /* IO_Ok */ : 8 /* IO_UnspecifiedError */;
-}
-
-/*!
- For device specific error handling, please refer to the
- individual device documentation.
-
- \sa qobject_cast()
-*/
-void QIODevice::resetStatus()
-{
-#if !defined(QT_NO_QOBJECT)
- QFile *f = qobject_cast<QFile *>(this);
- if (f) f->unsetError();
-#endif
-}
-#endif
-
#if !defined(QT_NO_DEBUG_STREAM)
QDebug operator<<(QDebug debug, QIODevice::OpenMode modes)
{