diff options
Diffstat (limited to 'src/kitemviews/private')
10 files changed, 17 insertions, 17 deletions
diff --git a/src/kitemviews/private/kdirectorycontentscounter.h b/src/kitemviews/private/kdirectorycontentscounter.h index cc8616ff7..c90925e44 100644 --- a/src/kitemviews/private/kdirectorycontentscounter.h +++ b/src/kitemviews/private/kdirectorycontentscounter.h @@ -38,7 +38,7 @@ public: */ void scanDirectory(const QString& path); -signals: +Q_SIGNALS: /** * Signals that the directory \a path contains \a count items of size \a * Size calculation depends on parameter DetailsModeSettings::recursiveDirectorySizeLimit @@ -47,7 +47,7 @@ signals: void requestDirectoryContentsCount(const QString& path, KDirectoryContentsCounterWorker::Options options); -private slots: +private Q_SLOTS: void slotResult(const QString& path, int count, long size); void slotDirWatchDirty(const QString& path); void slotItemsRemoved(); diff --git a/src/kitemviews/private/kdirectorycontentscounterworker.h b/src/kitemviews/private/kdirectorycontentscounterworker.h index 8e6359746..48a2d1ff9 100644 --- a/src/kitemviews/private/kdirectorycontentscounterworker.h +++ b/src/kitemviews/private/kdirectorycontentscounterworker.h @@ -42,13 +42,13 @@ public: */ static CountResult subItemsCount(const QString& path, Options options); -signals: +Q_SIGNALS: /** * Signals that the directory \a path contains \a count items and optionally the size of its content. */ void result(const QString& path, int count, long size); -public slots: +public Q_SLOTS: /** * Requests the number of items inside the directory \a path using the * options \a options. The result is announced via the signal \a result. diff --git a/src/kitemviews/private/kfileitemclipboard.h b/src/kitemviews/private/kfileitemclipboard.h index 7495c32dd..818201308 100644 --- a/src/kitemviews/private/kfileitemclipboard.h +++ b/src/kitemviews/private/kfileitemclipboard.h @@ -29,13 +29,13 @@ public: QList<QUrl> cutItems() const; -signals: +Q_SIGNALS: void cutItemsChanged(); protected: ~KFileItemClipboard() override; -private slots: +private Q_SLOTS: void updateCutItems(); private: diff --git a/src/kitemviews/private/kfileitemmodeldirlister.h b/src/kitemviews/private/kfileitemmodeldirlister.h index c44c136b0..563695975 100644 --- a/src/kitemviews/private/kfileitemmodeldirlister.h +++ b/src/kitemviews/private/kfileitemmodeldirlister.h @@ -26,7 +26,7 @@ public: explicit KFileItemModelDirLister(QObject* parent = nullptr); ~KFileItemModelDirLister() override; -signals: +Q_SIGNALS: /** Is emitted whenever an error has occurred. */ void errorMessage(const QString& msg); diff --git a/src/kitemviews/private/kitemlistheaderwidget.h b/src/kitemviews/private/kitemlistheaderwidget.h index ca85f2139..44adc23c5 100644 --- a/src/kitemviews/private/kitemlistheaderwidget.h +++ b/src/kitemviews/private/kitemlistheaderwidget.h @@ -54,7 +54,7 @@ public: void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override; -signals: +Q_SIGNALS: /** * Is emitted if the width of a visible role has been adjusted by the user with the mouse * (no signal is emitted if KItemListHeader::setVisibleRoleWidth() is invoked). @@ -100,7 +100,7 @@ protected: void hoverLeaveEvent(QGraphicsSceneHoverEvent* event) override; void hoverMoveEvent(QGraphicsSceneHoverEvent* event) override; -private slots: +private Q_SLOTS: void slotSortRoleChanged(const QByteArray& current, const QByteArray& previous); void slotSortOrderChanged(Qt::SortOrder current, Qt::SortOrder previous); diff --git a/src/kitemviews/private/kitemlistkeyboardsearchmanager.h b/src/kitemviews/private/kitemlistkeyboardsearchmanager.h index 27c9a203f..72f5695ce 100644 --- a/src/kitemviews/private/kitemlistkeyboardsearchmanager.h +++ b/src/kitemviews/private/kitemlistkeyboardsearchmanager.h @@ -48,12 +48,12 @@ public: void cancelSearch(); bool shouldClearSearchIfInputTimeReached(); -public slots: +public Q_SLOTS: void slotCurrentChanged(int current, int previous); void slotSelectionChanged(const KItemSet& current, const KItemSet& previous); -signals: +Q_SIGNALS: /** * Is emitted if the current item should be changed corresponding * to \a text. diff --git a/src/kitemviews/private/kitemlistroleeditor.h b/src/kitemviews/private/kitemlistroleeditor.h index a63680624..070cf5ce9 100644 --- a/src/kitemviews/private/kitemlistroleeditor.h +++ b/src/kitemviews/private/kitemlistroleeditor.h @@ -33,7 +33,7 @@ public: bool eventFilter(QObject* watched, QEvent* event) override; -signals: +Q_SIGNALS: void roleEditingFinished(const QByteArray& role, const QVariant& value); void roleEditingCanceled(const QByteArray& role, const QVariant& value); @@ -41,7 +41,7 @@ protected: bool event(QEvent* event) override; void keyPressEvent(QKeyEvent* event) override; -private slots: +private Q_SLOTS: /** * Increases the size of the editor in case if there is not * enough room for the text. diff --git a/src/kitemviews/private/kitemlistrubberband.h b/src/kitemviews/private/kitemlistrubberband.h index 7886b1e84..11febcf7e 100644 --- a/src/kitemviews/private/kitemlistrubberband.h +++ b/src/kitemviews/private/kitemlistrubberband.h @@ -33,7 +33,7 @@ public: void setActive(bool active); bool isActive() const; -signals: +Q_SIGNALS: void activationChanged(bool active); void startPositionChanged(const QPointF& current, const QPointF& previous); void endPositionChanged(const QPointF& current, const QPointF& previous); diff --git a/src/kitemviews/private/kitemlistsmoothscroller.h b/src/kitemviews/private/kitemlistsmoothscroller.h index c0e02491e..55548219e 100644 --- a/src/kitemviews/private/kitemlistsmoothscroller.h +++ b/src/kitemviews/private/kitemlistsmoothscroller.h @@ -72,7 +72,7 @@ public: protected: bool eventFilter(QObject* obj, QEvent* event) override; -private slots: +private Q_SLOTS: void slotAnimationStateChanged(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); diff --git a/src/kitemviews/private/kitemlistviewanimation.h b/src/kitemviews/private/kitemlistviewanimation.h index 3f6772b8b..8d11dbf89 100644 --- a/src/kitemviews/private/kitemlistviewanimation.h +++ b/src/kitemviews/private/kitemlistviewanimation.h @@ -72,10 +72,10 @@ public: */ bool isStarted(QGraphicsWidget* widget) const; -signals: +Q_SIGNALS: void finished(QGraphicsWidget* widget, KItemListViewAnimation::AnimationType type); -private slots: +private Q_SLOTS: void slotFinished(); private: |
