Silence some clazy warnings

This commit is contained in:
Sergio Martins
2019-04-24 18:02:31 +01:00
parent 7241bf6794
commit 49bb40e6b2
4 changed files with 5 additions and 4 deletions

View File

@@ -91,7 +91,7 @@ public Q_SLOTS:
#else
private Q_SLOTS:
#endif
FloatingWindow *morphIntoFloatingWindow();
KDDockWidgets::FloatingWindow *morphIntoFloatingWindow();
#if defined(DOCKS_DEVELOPER_MODE)
public:

View File

@@ -30,6 +30,7 @@ static QString name(QWidget *w)
qWarning() << w;
qFatal("Invalid Widget");
return QString();
}
struct WindowState {

View File

@@ -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<AnimatedRubberBand *> List;
explicit AnimatedRubberBand(DropIndicatorOverlayInterface::DropLocation, AnimatedIndicators *parent = nullptr);

View File

@@ -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;