summaryrefslogtreecommitdiffstats
path: root/src/xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml')
-rw-r--r--src/xml/sax/qxml.cpp23
-rw-r--r--src/xml/sax/qxml.h5
2 files changed, 0 insertions, 28 deletions
diff --git a/src/xml/sax/qxml.cpp b/src/xml/sax/qxml.cpp
index 2f5384b902..671adafcbd 100644
--- a/src/xml/sax/qxml.cpp
+++ b/src/xml/sax/qxml.cpp
@@ -1324,29 +1324,6 @@ QXmlInputSource::QXmlInputSource(QIODevice *dev)
d->inputDevice->setTextModeEnabled(false);
}
-#ifdef QT3_SUPPORT
-/*!
- Use the QXmlInputSource(QIODevice *) constructor instead, with
- the device used by \a stream.
-
- \sa QTextStream::device()
-*/
-QXmlInputSource::QXmlInputSource(QTextStream& stream)
-{
- init();
- d->inputStream = &stream;
-}
-
-/*!
- Use QXmlInputSource(&\a file) instead.
-*/
-QXmlInputSource::QXmlInputSource(QFile& file)
-{
- init();
- d->inputDevice = &file;
-}
-#endif
-
/*!
Destructor.
*/
diff --git a/src/xml/sax/qxml.h b/src/xml/sax/qxml.h
index 8b402dfedb..52eea6ce76 100644
--- a/src/xml/sax/qxml.h
+++ b/src/xml/sax/qxml.h
@@ -172,11 +172,6 @@ public:
static const ushort EndOfData;
static const ushort EndOfDocument;
-#ifdef QT3_SUPPORT
- QT3_SUPPORT_CONSTRUCTOR QXmlInputSource(QFile& file);
- QT3_SUPPORT_CONSTRUCTOR QXmlInputSource(QTextStream& stream);
-#endif
-
protected:
virtual QString fromRawData(const QByteArray &data, bool beginning = false);