diff --git a/src/DockWidget.h b/src/DockWidget.h index 22de18f6..0a69294c 100644 --- a/src/DockWidget.h +++ b/src/DockWidget.h @@ -91,7 +91,7 @@ public Q_SLOTS: #else private Q_SLOTS: #endif - FloatingWindow *morphIntoFloatingWindow(); + KDDockWidgets::FloatingWindow *morphIntoFloatingWindow(); #if defined(DOCKS_DEVELOPER_MODE) public: diff --git a/src/LayoutSaver.cpp b/src/LayoutSaver.cpp index eaf6f3c2..21f751fc 100644 --- a/src/LayoutSaver.cpp +++ b/src/LayoutSaver.cpp @@ -30,6 +30,7 @@ static QString name(QWidget *w) qWarning() << w; qFatal("Invalid Widget"); + return QString(); } struct WindowState { diff --git a/src/indicators/AnimatedIndicators_p.h b/src/indicators/AnimatedIndicators_p.h index d63449ed..3b043656 100644 --- a/src/indicators/AnimatedIndicators_p.h +++ b/src/indicators/AnimatedIndicators_p.h @@ -35,7 +35,7 @@ class AnimatedIndicators; class AnimatedRubberBand : public QRubberBand { Q_OBJECT - Q_PROPERTY(QVariant length READ length WRITE setLength) + Q_PROPERTY(QVariant length READ length WRITE setLength) // clazy:exclude=qproperty-without-notify public: typedef QList List; explicit AnimatedRubberBand(DropIndicatorOverlayInterface::DropLocation, AnimatedIndicators *parent = nullptr); diff --git a/src/multisplitter/MultiSplitter_p.h b/src/multisplitter/MultiSplitter_p.h index 192532bd..4bdde745 100644 --- a/src/multisplitter/MultiSplitter_p.h +++ b/src/multisplitter/MultiSplitter_p.h @@ -197,8 +197,8 @@ public: Q_SIGNALS: void widgetCountChanged(int count); void visibleWidgetCountChanged(int count); - void widgetAdded(Item*); - void aboutToDumpDebug() const; + void widgetAdded(KDDockWidgets::Item*); + void aboutToDumpDebug() const; // clazy:exclude=const-signal-or-slot protected: void resizeEvent(QResizeEvent *) override;