Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit c53338af authored by Laurent Montel's avatar Laurent Montel 😁


parent 73c99097
......@@ -31,10 +31,10 @@ class TextPlugin : public Milou::PreviewPlugin
explicit TextPlugin(QObject* parent, const QVariantList&);
virtual QStringList mimetypes() {
QStringList mimetypes() Q_DECL_OVERRIDE {
return QStringList() << QLatin1String("text/");
virtual void generatePreview();
void generatePreview() Q_DECL_OVERRIDE;
#endif // TEXTVIEW_H
......@@ -30,8 +30,8 @@ class QmlPlugins : public QQmlExtensionPlugin
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
virtual void initializeEngine(QQmlEngine *engine, const char *uri);
virtual void registerTypes(const char *uri);
void initializeEngine(QQmlEngine *engine, const char *uri) Q_DECL_OVERRIDE;
void registerTypes(const char *uri) Q_DECL_OVERRIDE;
......@@ -57,9 +57,9 @@ public:
virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const;
virtual int rowCount(const QModelIndex& parent = QModelIndex()) const;
virtual bool hasChildren(const QModelIndex&) const {
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE;
int rowCount(const QModelIndex& parent = QModelIndex()) const Q_DECL_OVERRIDE;
bool hasChildren(const QModelIndex&) const Q_DECL_OVERRIDE {
return false;
......@@ -72,7 +72,7 @@ public:
QString queryString() const;
int queryLimit() const;
virtual QHash<int, QByteArray> roleNames() const;
QHash<int, QByteArray> roleNames() const Q_DECL_OVERRIDE;
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