Skip to content
Snippets Groups Projects
Commit 7e47fa52 authored by Pierre Lamot's avatar Pierre Lamot Committed by Hugo Beauzée-Luyssen
Browse files

qt: add missing virtual destructor

parent 643fee9b
No related branches found
No related tags found
1 merge request!1690qt: add missing virtual destructor
Pipeline #205919 passed with stage
in 16 minutes and 6 seconds
......@@ -149,6 +149,7 @@ public:
VLMAWidget( VLMWrapper *, const QString& name, const QString& input,
const QString& inputOptions, const QString& output,
bool _enable, VLMDialog *parent, int _type = QVLM_Broadcast );
virtual ~VLMAWidget() = default;
virtual void update() = 0;
protected:
QLabel *nameLabel;
......
......@@ -94,6 +94,7 @@ public:
class QmlUISurface
{
public:
virtual ~QmlUISurface() = default;
virtual QQmlEngine* engine() const = 0;
virtual void setContent(QQmlComponent *component, QQuickItem *item) = 0;
......
......@@ -218,6 +218,7 @@ class RunOnMLThreadBaseRunner : public QObject, public QRunnable
{
Q_OBJECT
public:
virtual ~RunOnMLThreadBaseRunner() = default;
virtual void runUICallback() = 0;
virtual void cancel() = 0;
signals:
......
......@@ -55,6 +55,7 @@ public:
};
MLFoldersBaseModel( QObject *parent = nullptr );
virtual ~MLFoldersBaseModel() = default;
void setCtx(MainCtx* ctx);
inline MainCtx* getCtx() { return m_ctx; }
......
......@@ -150,6 +150,8 @@ template <typename T>
class AsyncTask : public BaseAsyncTask
{
public:
virtual ~AsyncTask() = default;
virtual T execute() = 0;
/**
......
......@@ -32,6 +32,8 @@ public:
SelectableListModel(QObject *parent = nullptr) :
QAbstractListModel(parent) {}
virtual ~SelectableListModel() = default;
Q_INVOKABLE bool isSelected(int index) const;
Q_INVOKABLE void setSelected(int index, bool selected);
Q_INVOKABLE void toggleSelected(int index);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment