Commit 4a601acf authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove virtual keyword

parent ab6411d5
......@@ -58,7 +58,7 @@ class AppsModel : public AbstractModel
int rowCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE;
Q_INVOKABLE virtual bool trigger(int row, const QString &actionId, const QVariant &argument) Q_DECL_OVERRIDE;
Q_INVOKABLE bool trigger(int row, const QString &actionId, const QVariant &argument) Q_DECL_OVERRIDE;
Q_INVOKABLE AbstractModel *modelForRow(int row) Q_DECL_OVERRIDE;
Q_INVOKABLE int rowForModel(AbstractModel *model) Q_DECL_OVERRIDE;
......
......@@ -70,7 +70,7 @@ class RootModel : public AppsModel, public QQmlParserStatus
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE;
Q_INVOKABLE virtual bool trigger(int row, const QString &actionId, const QVariant &argument) Q_DECL_OVERRIDE;
Q_INVOKABLE bool trigger(int row, const QString &actionId, const QVariant &argument) Q_DECL_OVERRIDE;
bool autoPopulate() const;
void setAutoPopulate(bool populate);
......
......@@ -35,7 +35,7 @@ class QDBusServiceWatcher;
class XcbEventFilter : public QAbstractNativeEventFilter
{
public:
virtual bool nativeEventFilter(const QByteArray &eventType, void* message, long int* result) override;
bool nativeEventFilter(const QByteArray &eventType, void* message, long int* result) override;
};
class App : public QGuiApplication {
......
......@@ -121,7 +121,7 @@ protected:
// bool x11Event(XEvent * e);
virtual bool processOtherEvents(xcb_generic_event_t* e);
virtual bool processXkbEvents(xcb_generic_event_t* e);
virtual bool nativeEventFilter(const QByteArray &eventType, void *message, long *) Q_DECL_OVERRIDE;
bool nativeEventFilter(const QByteArray &eventType, void *message, long *) Q_DECL_OVERRIDE;
private:
int registerForXkbEvents(Display* display);
......
......@@ -32,13 +32,13 @@ class ActionEditor : public QDialog
{
Q_OBJECT
public:
ActionEditor(QWidget *parent = 0);
explicit ActionEditor(QWidget *parent = nullptr);
~ActionEditor();
void setActionToEdit( ActionItem * item );
public slots:
virtual void accept() Q_DECL_OVERRIDE;
void accept() Q_DECL_OVERRIDE;
private:
SolidActionData * actionData();
......
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