summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <[email protected]>2017-11-03 15:20:01 +0100
committerAlbert Astals Cid <[email protected]>2017-11-03 15:20:01 +0100
commitf621cd0c424b8b538015560ea9bd64dad423a493 (patch)
tree9c7b446fdfa92ce116b150cc015fb1b8189bd7b9
parent8944660ce73e52350104c2618e332a4e1e0a5b97 (diff)
Add a few overrides
-rw-r--r--generators/mobipocket/converter.h2
-rw-r--r--generators/mobipocket/generator_mobi.h2
-rw-r--r--generators/mobipocket/mobidocument.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/generators/mobipocket/converter.h b/generators/mobipocket/converter.h
index f97b639..b6d8d07 100644
--- a/generators/mobipocket/converter.h
+++ b/generators/mobipocket/converter.h
@@ -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);
};
diff --git a/generators/mobipocket/generator_mobi.h b/generators/mobipocket/generator_mobi.h
index 84fb954..1024ccf 100644
--- a/generators/mobipocket/generator_mobi.h
+++ b/generators/mobipocket/generator_mobi.h
@@ -20,7 +20,7 @@ class MobiGenerator : public Okular::TextDocumentGenerator
~MobiGenerator() {}
// [INHERITED] reparse configuration
- void addPages( KConfigDialog* dlg );
+ void addPages( KConfigDialog* dlg ) override;
};
#endif
diff --git a/generators/mobipocket/mobidocument.h b/generators/mobipocket/mobidocument.h
index 1d1b9bf..de43984 100644
--- a/generators/mobipocket/mobidocument.h
+++ b/generators/mobipocket/mobidocument.h
@@ -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);