Commit f621cd0c authored by Albert Astals Cid's avatar Albert Astals Cid Committed by Albert Astals Cid

Add a few overrides

parent 8944660c
......@@ -23,7 +23,7 @@ namespace Mobi {
Converter();
~Converter();
virtual QTextDocument *convert( const QString &fileName );
QTextDocument *convert( const QString &fileName ) override;
private:
void handleMetadata(const QMap<Mobipocket::Document::MetaKey, QString> metadata);
};
......
......@@ -20,7 +20,7 @@ class MobiGenerator : public Okular::TextDocumentGenerator
~MobiGenerator() {}
// [INHERITED] reparse configuration
void addPages( KConfigDialog* dlg );
void addPages( KConfigDialog* dlg ) override;
};
#endif
......@@ -30,7 +30,7 @@ namespace Mobi {
Mobipocket::Document* mobi() const { return doc; }
protected:
virtual QVariant loadResource(int type, const QUrl &name);
QVariant loadResource(int type, const QUrl &name) override;
private:
QString fixMobiMarkup(const QString& data);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment