Commit 72f3748a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Warning--

parent 06ceacee
......@@ -29,7 +29,7 @@ class AccessPortal : public QDBusAbstractAdaptor
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "org.freedesktop.impl.portal.Access")
public:
AccessPortal(QObject *parent);
explicit AccessPortal(QObject *parent);
~AccessPortal();
public Q_SLOTS:
......
......@@ -32,7 +32,7 @@ class AccessDialog : public QDialog
{
Q_OBJECT
public:
AccessDialog(QDialog *parent = nullptr, Qt::WindowFlags flags = 0);
explicit AccessDialog(QDialog *parent = nullptr, Qt::WindowFlags flags = 0);
~AccessDialog();
void setAcceptLabel(const QString &label);
......
......@@ -29,7 +29,7 @@ class AppChooserPortal : public QDBusAbstractAdaptor
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "org.freedesktop.impl.portal.AppChooser")
public:
AppChooserPortal(QObject *parent);
explicit AppChooserPortal(QObject *parent);
~AppChooserPortal();
public Q_SLOTS:
......
......@@ -29,8 +29,8 @@ class AppChooserDialogItem : public QToolButton
{
Q_OBJECT
public:
AppChooserDialogItem(const QString &applicationName, const QString &icon, const QString &applicationExec, QToolButton *parent = nullptr);
~AppChooserDialogItem();
explicit AppChooserDialogItem(const QString &applicationName, const QString &icon, const QString &applicationExec, QToolButton *parent = nullptr);
~AppChooserDialogItem() override;
QString applicationName() const;
......
......@@ -29,7 +29,7 @@ class EmailPortal : public QDBusAbstractAdaptor
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "org.freedesktop.impl.portal.Email")
public:
EmailPortal(QObject *parent);
explicit EmailPortal(QObject *parent);
~EmailPortal();
public Q_SLOTS:
......
......@@ -31,7 +31,7 @@ class InhibitPortal : public QDBusAbstractAdaptor
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "org.freedesktop.impl.portal.Inhibit")
public:
InhibitPortal(QObject *parent);
explicit InhibitPortal(QObject *parent);
~InhibitPortal();
public Q_SLOTS:
......
......@@ -31,7 +31,7 @@ class NotificationPortal : public QDBusAbstractAdaptor
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "org.freedesktop.impl.portal.Notification")
public:
NotificationPortal(QObject *parent);
explicit NotificationPortal(QObject *parent);
~NotificationPortal();
public Q_SLOTS:
......
......@@ -32,7 +32,7 @@ class PrintPortal : public QDBusAbstractAdaptor
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "org.freedesktop.impl.portal.Print")
public:
PrintPortal(QObject *parent);
explicit PrintPortal(QObject *parent);
~PrintPortal();
public Q_SLOTS:
......
......@@ -29,7 +29,7 @@ class Request : public QDBusVirtualObject
Q_OBJECT
public:
explicit Request(QObject *parent = nullptr, const QString &portalName = QString(), const QVariant &data = QVariant());
~Request();
~Request() Q_DECL_OVERRIDE;
bool handleMessage(const QDBusMessage &message, const QDBusConnection &connection) Q_DECL_OVERRIDE;
QString introspect(const QString &path) const Q_DECL_OVERRIDE;
......
......@@ -29,7 +29,7 @@ class ScreenshotPortal : public QDBusAbstractAdaptor
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "org.freedesktop.impl.portal.Screenshot")
public:
ScreenshotPortal(QObject *parent);
explicit ScreenshotPortal(QObject *parent);
~ScreenshotPortal();
public Q_SLOTS:
......
......@@ -32,7 +32,7 @@ class ScreenshotDialog : public QDialog
{
Q_OBJECT
public:
ScreenshotDialog(QDialog *parent = nullptr, Qt::WindowFlags flags = 0);
explicit ScreenshotDialog(QDialog *parent = nullptr, Qt::WindowFlags flags = 0);
~ScreenshotDialog();
QImage image() const;
......
Supports Markdown
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