diff options
Diffstat (limited to 'source/fb2read.hpp')
-rw-r--r-- | source/fb2read.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/fb2read.hpp b/source/fb2read.hpp index affc1bc..19bf6d9 100644 --- a/source/fb2read.hpp +++ b/source/fb2read.hpp @@ -15,7 +15,7 @@ class FbReadThread : public QThread Q_OBJECT public: - static void execute(QObject *parent, QXmlInputSource *source, QIODevice *device); + static void execute(QObject *parent, QString *source, QIODevice *device); virtual ~FbReadThread(); signals: @@ -27,12 +27,12 @@ protected: void run(); private: - explicit FbReadThread(QObject *parent, QXmlInputSource *source, QIODevice *device); + explicit FbReadThread(QObject *parent, QString *source, QIODevice *device); bool parse(); private: QIODevice *m_device; - QXmlInputSource *m_source; + QString *m_source; FbStore *m_store; QString m_html; }; @@ -42,7 +42,7 @@ class FbReadHandler : public FbXmlHandler Q_OBJECT public: - static bool load(QObject *page, QXmlInputSource &source, QString &html); + static bool load(QObject *page, QString &source, QString &html); explicit FbReadHandler(QXmlStreamWriter &writer); virtual ~FbReadHandler(); virtual bool comment(const QString& ch); |