]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Build with QT_NO_KEYWORDS
authorNicolas Fella <nicolas.fella@gmx.de>
Mon, 8 Feb 2021 22:09:59 +0000 (23:09 +0100)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Tue, 9 Feb 2021 20:39:50 +0000 (20:39 +0000)
83 files changed:
src/CMakeLists.txt
src/dolphinmainwindow.h
src/dolphinnewfilemenu.h
src/dolphinrecenttabsmenu.h
src/dolphintabbar.h
src/dolphintabpage.h
src/dolphintabwidget.h
src/dolphinurlnavigator.h
src/dolphinurlnavigatorscontroller.h
src/dolphinviewcontainer.h
src/filterbar/filterbar.h
src/kitemviews/kfileitemlistview.h
src/kitemviews/kfileitemmodel.h
src/kitemviews/kfileitemmodelrolesupdater.h
src/kitemviews/kitemlistcontainer.h
src/kitemviews/kitemlistcontroller.h
src/kitemviews/kitemlistheader.h
src/kitemviews/kitemlistselectionmanager.h
src/kitemviews/kitemlistview.h
src/kitemviews/kitemlistwidget.h
src/kitemviews/kitemmodelbase.h
src/kitemviews/kstandarditemlistwidget.h
src/kitemviews/private/kdirectorycontentscounter.h
src/kitemviews/private/kdirectorycontentscounterworker.h
src/kitemviews/private/kfileitemclipboard.h
src/kitemviews/private/kfileitemmodeldirlister.h
src/kitemviews/private/kitemlistheaderwidget.h
src/kitemviews/private/kitemlistkeyboardsearchmanager.h
src/kitemviews/private/kitemlistroleeditor.h
src/kitemviews/private/kitemlistrubberband.h
src/kitemviews/private/kitemlistsmoothscroller.h
src/kitemviews/private/kitemlistviewanimation.h
src/middleclickactioneventfilter.h
src/panels/folders/folderspanel.h
src/panels/folders/treeviewcontextmenu.h
src/panels/information/informationpanel.h
src/panels/information/informationpanelcontent.h
src/panels/information/phononwidget.h
src/panels/panel.h
src/panels/places/placesitemmodel.h
src/panels/places/placesitemsignalhandler.h
src/panels/places/placespanel.h
src/panels/terminal/terminalpanel.h
src/search/dolphinfacetswidget.h
src/search/dolphinsearchbox.h
src/settings/applyviewpropsjob.h
src/settings/contextmenu/contextmenusettingspage.h
src/settings/dolphinsettingsdialog.h
src/settings/general/previewssettingspage.h
src/settings/serviceitemdelegate.h
src/settings/settingspagebase.h
src/settings/startup/startupsettingspage.h
src/settings/viewmodes/dolphinfontrequester.h
src/settings/viewmodes/viewsettingstab.h
src/settings/viewpropertiesdialog.h
src/settings/viewpropsprogressinfo.h
src/statusbar/dolphinstatusbar.h
src/statusbar/mountpointobserver.h
src/statusbar/mountpointobservercache.h
src/statusbar/spaceinfoobserver.h
src/statusbar/statusbarspaceinfo.h
src/tests/dolphinmainwindowtest.cpp
src/tests/dolphinquerytest.cpp
src/tests/dolphinsearchboxtest.cpp
src/tests/draganddrophelpertest.cpp
src/tests/kfileitemlistviewtest.cpp
src/tests/kfileitemmodelbenchmark.cpp
src/tests/kfileitemmodeltest.cpp
src/tests/kitemlistcontrollertest.cpp
src/tests/kitemlistkeyboardsearchmanagertest.cpp
src/tests/kitemlistselectionmanagertest.cpp
src/tests/kitemrangetest.cpp
src/tests/kitemsettest.cpp
src/tests/kstandarditemmodeltest.cpp
src/tests/placesitemmodeltest.cpp
src/tests/viewpropertiestest.cpp
src/trash/dolphintrash.h
src/views/dolphinnewfilemenuobserver.h
src/views/dolphinview.h
src/views/tooltips/dolphinfilemetadatawidget.h
src/views/tooltips/tooltipmanager.h
src/views/versioncontrol/versioncontrolobserver.h
src/views/viewmodecontroller.h

index fd3e771b7ae9a9ccfbe405781f922ae7c00daca3..3f3ecfff26067b6f080ceba7604b1bc834eb986c 100644 (file)
@@ -15,11 +15,8 @@ add_definitions(
 )
 remove_definitions(
     -DQT_NO_CAST_FROM_BYTEARRAY
-    -DQT_NO_SIGNALS_SLOTS_KEYWORDS
     -DQT_NO_CAST_FROM_ASCII
     -DQT_NO_CAST_TO_ASCII
-    -DQT_NO_FOREACH
-    -DQT_NO_KEYWORDS
 )
 
 ##########################################
index 883d92b699327d7463ef4424c5efdb28138abee5..921f5a4c94e1444cf332252c08fb2f5c4f4bf379 100644 (file)
@@ -111,7 +111,7 @@ public:
     bool isFoldersPanelEnabled() const;
     bool isInformationPanelEnabled() const;
 
-public slots:
+public Q_SLOTS:
     /**
      * Opens each directory in \p dirs in a separate tab. If \a splitView is set,
      * 2 directories are collected within one tab.
@@ -174,7 +174,7 @@ public slots:
      */
     void openNewTab(const QUrl& url);
 
-signals:
+Q_SIGNALS:
     /**
      * Is sent if the selection of the currently active view has
      * been changed.
@@ -216,7 +216,7 @@ protected:
     /** Handles QWhatsThisClickedEvent and passes all others on. */
     bool eventFilter(QObject*, QEvent*) override;
 
-protected slots:
+protected Q_SLOTS:
     /**
      * Calls the base method KXmlGuiWindow::saveNewToolbarConfig().
      * Is also used to set toolbar constraints and UrlNavigator position
@@ -224,7 +224,7 @@ protected slots:
      */
     void saveNewToolbarConfig() override;
 
-private slots:
+private Q_SLOTS:
     /**
      * Refreshes the views of the main window by recreating them according to
      * the given Dolphin settings.
index 5b2cc5e7555c2a3ffd14a23a3fee79f77eac866d..650863cb11179c0b6f191c40e8fc524790a37765 100644 (file)
@@ -28,10 +28,10 @@ public:
     DolphinNewFileMenu(KActionCollection* collection, QObject* parent);
     ~DolphinNewFileMenu() override;
 
-signals:
+Q_SIGNALS:
     void errorMessage(const QString& error);
 
-protected slots:
+protected Q_SLOTS:
     /** @see KNewFileMenu::slotResult() */
     void slotResult(KJob* job) override;
 };
index 61073569342b7c5cc14bd3c129200a178ffe1d31..74a7727d337f6ac03434848e3aa1b008ad2996f6 100644 (file)
@@ -20,15 +20,15 @@ class DolphinRecentTabsMenu : public KActionMenu
 public:
     explicit DolphinRecentTabsMenu(QObject* parent);
 
-public slots:
+public Q_SLOTS:
     void rememberClosedTab(const QUrl& url, const QByteArray& state);
     void undoCloseTab();
 
-signals:
+Q_SIGNALS:
     void restoreClosedTab(const QByteArray& state);
     void closedTabsCountChanged(unsigned int count);
 
-private slots:
+private Q_SLOTS:
     void handleAction(QAction* action);
 
 private:
index 88366c97c6a986098617e29b2ecbfdb2c182169a..d601b0a9c397dd97597a091273918a23ad8c68b6 100644 (file)
@@ -16,7 +16,7 @@ class DolphinTabBar : public QTabBar
 public:
     explicit DolphinTabBar(QWidget* parent);
 
-signals:
+Q_SIGNALS:
     void openNewActivatedTab(int index);
     void tabDropEvent(int index, QDropEvent* event);
     void tabDetachRequested(int index);
@@ -35,7 +35,7 @@ protected:
      */
     void contextMenuEvent(QContextMenuEvent* event) override;
 
-private slots:
+private Q_SLOTS:
     void slotAutoActivationTimeout();
 
 private:
index a3659aa184fc4dce62ba8935a6beb9fb5443ce8a..512ac22fed5c02734460d51630e40910da32da28 100644 (file)
@@ -149,12 +149,12 @@ public:
      */
     void setActive(bool active);
 
-signals:
+Q_SIGNALS:
     void activeViewChanged(DolphinViewContainer* viewContainer);
     void activeViewUrlChanged(const QUrl& url);
     void splitterMoved(int pos, int index);
 
-private slots:
+private Q_SLOTS:
     /**
      * Deletes all zombie viewContainers that were used for the animation
      * and resets the minimum size of the others to a sane value.
index fbfe283026bc63549e5096a7b71af2fc34eb3dcf..e0146d7c71bb5d25671a7d63c2c2da9c311359bb 100644 (file)
@@ -65,7 +65,7 @@ public:
      */
     bool isUrlOpen(const QUrl& url) const;
 
-signals:
+Q_SIGNALS:
     /**
      * Is emitted when the active view has been changed, by changing the current
      * tab or by activating another view when split view is enabled in the current
@@ -90,7 +90,7 @@ signals:
      */
     void currentUrlChanged(const QUrl& url);
 
-public slots:
+public Q_SLOTS:
     /**
      * Opens a new view with the current URL that is part of a tab and activates
      * the tab.
@@ -167,7 +167,7 @@ public slots:
     /** Moves all selected items to the inactive view. */
     void moveToInactiveSplitView();
 
-private slots:
+private Q_SLOTS:
     /**
      * Opens the tab with the index \a index in a new Dolphin instance and closes
      * this tab.
index 1962e2f06269c994bd0c30c4eda9e03fc2c0383f..2ae67352aeeac92e7ce196b556c04ed90196f4d2 100644 (file)
@@ -76,7 +76,7 @@ public:
      */
     void setPlaceholderText(const QString &text);
 
-public slots:
+public Q_SLOTS:
     /**
      * Switches to "breadcrumb" mode if the editable mode is not set to be
      * preferred in the Dolphin settings.
index 797cbf4f98751545923676991cd4c28bd4f2c2e0..4f6802725fc38a84b299658e0e3f3aa325e82322 100644 (file)
@@ -30,7 +30,7 @@ class DolphinUrlNavigatorsController : public QObject
 public:
     DolphinUrlNavigatorsController() = delete;
 
-public slots:
+public Q_SLOTS:
     /**
      * Refreshes all DolphinUrlNavigators to get synchronized with the
      * Dolphin settings if they were changed.
@@ -57,7 +57,7 @@ private:
      */
     static void unregisterDolphinUrlNavigator(DolphinUrlNavigator *dolphinUrlNavigator);
 
-private slots:
+private Q_SLOTS:
     /**
      * Sets the completion mode for all DolphinUrlNavigators and saves it in settings.
      */
index 77b74d18999b2bda5dac5ae960d8413a47a8ca89..eeb9204c1353c0eb4c8db7b77aff0f5ed6504b8b 100644 (file)
@@ -175,7 +175,7 @@ public:
      */
     QString caption() const;
 
-public slots:
+public Q_SLOTS:
     /**
      * Sets the current active URL, where all actions are applied. The
      * URL navigator is synchronized with this URL. The signals
@@ -198,7 +198,7 @@ public slots:
      */
     void setSearchModeEnabled(bool enabled);
 
-signals:
+Q_SIGNALS:
     /**
      * Is emitted whenever the filter bar has changed its visibility state.
      */
@@ -215,7 +215,7 @@ signals:
      */
     void writeStateChanged(bool isFolderWritable);
 
-private slots:
+private Q_SLOTS:
     /**
      * Updates the number of items (= number of files + number of
      * directories) in the statusbar. If files are selected, the number
index 74c8457fcff7a9aa279c5652a4284d03ada29b0b..d6ca402afd0b0acc1fa736c32b01887a45abd52d 100644 (file)
@@ -35,7 +35,7 @@ public:
      */
     void selectAll();
 
-public slots:
+public Q_SLOTS:
     /** Clears the input field. */
     void clear();
     /** Clears the input field if the "lock button" is disabled. */
@@ -43,7 +43,7 @@ public slots:
     /** The input field is cleared also if the "lock button" is released. */
     void slotToggleLockButton(bool checked);
 
-signals:
+Q_SIGNALS:
     /**
      * Signal that reports the name filter has been
      * changed to \a nameFilter.
index 9226531521da42dca8a0434c7ebee1d391185908..8ef524a2df6628c884b66b6febab4f8c81ad7b34 100644 (file)
@@ -94,11 +94,11 @@ protected:
     void onTransactionEnd() override;
     void resizeEvent(QGraphicsSceneResizeEvent* event) override;
 
-protected slots:
+protected Q_SLOTS:
     void slotItemsRemoved(const KItemRangeList& itemRanges) override;
     void slotSortRoleChanged(const QByteArray& current, const QByteArray& previous) override;
 
-private slots:
+private Q_SLOTS:
     void triggerVisibleIndexRangeUpdate();
     void updateVisibleIndexRange();
 
index 8444354348fa527963e4294ed0669239066c2eca..886a1c6de52e72b3e0651b2797d6717256905a36 100644 (file)
@@ -185,7 +185,7 @@ public:
      */
     static QList<RoleInfo> rolesInformation();
 
-signals:
+Q_SIGNALS:
     /**
      * Is emitted if the loading of a directory has been started. It is
      * assured that a signal directoryLoadingCompleted() will be send after
@@ -250,7 +250,7 @@ protected:
     void onSortRoleChanged(const QByteArray& current, const QByteArray& previous, bool resortItems = true) override;
     void onSortOrderChanged(Qt::SortOrder current, Qt::SortOrder previous) override;
 
-private slots:
+private Q_SLOTS:
     /**
      * Resorts all items dependent on the set sortRole(), sortOrder()
      * and foldersFirst() settings.
index 09706a54a41da41b321587fc22ef1a3f2b83d93b..8e1e1fcbebf8ab1d28855bd02613b35d74bdf99c 100644 (file)
@@ -159,7 +159,7 @@ public:
     void setScanDirectories(bool enabled);
     bool scanDirectories() const;
 
-private slots:
+private Q_SLOTS:
     void slotItemsInserted(const KItemRangeList& itemRanges);
     void slotItemsRemoved(const KItemRangeList& itemRanges);
     void slotItemsMoved(const KItemRange& itemRange, const QList<int> &movedToIndexes);
index 537bab142048683d7cd217a54ea53c3e60d319f7..9d96d2ce0cf5e0da36fb51ee755022907d504d26 100644 (file)
@@ -51,7 +51,7 @@ protected:
     void scrollContentsBy(int dx, int dy) override;
     void wheelEvent(QWheelEvent* event) override;
 
-private slots:
+private Q_SLOTS:
     void slotScrollOrientationChanged(Qt::Orientation current, Qt::Orientation previous);
     void slotModelChanged(KItemModelBase* current, KItemModelBase* previous);
     void slotViewChanged(KItemListView* current, KItemListView* previous);
index cdbc5b47042055cc6be30a36f4be5eb5817a5184..24339134e717ebf696ca6d4ffd23639b0a6015fc 100644 (file)
@@ -126,7 +126,7 @@ public:
 
     bool processEvent(QEvent* event, const QTransform& transform);
 
-signals:
+Q_SIGNALS:
     /**
      * Is emitted if exactly one item has been activated by e.g. a mouse-click
      * or by pressing Return/Enter.
@@ -217,10 +217,10 @@ signals:
     void decreaseZoom();
     void swipeUp();
 
-public slots:
+public Q_SLOTS:
     void slotStateChanged(QScroller::State newState);
 
-private slots:
+private Q_SLOTS:
     void slotViewScrollOffsetChanged(qreal current, qreal previous);
 
     /**
index e8cfc420aaa7939e658b831f0dc85b76284e0ced..6875a0f5e75cd804a51a72c2d27bf9b8a35f696c 100644 (file)
@@ -58,7 +58,7 @@ public:
      */
     qreal preferredColumnWidth(const QByteArray& role) const;
 
-signals:
+Q_SIGNALS:
     /**
      * Is emitted if the width of a column has been adjusted by the user with the mouse
      * (no signal is emitted if KItemListHeader::setColumnWidth() is invoked).
index 2be5783997ac9af507b72eec0e211118548cf2ff..2fc5061fea149861c997f51b95120c1f06559474 100644 (file)
@@ -63,7 +63,7 @@ public:
 
     KItemModelBase* model() const;
 
-signals:
+Q_SIGNALS:
     void currentChanged(int current, int previous);
     void selectionChanged(const KItemSet& current, const KItemSet& previous);
 
index e6bf5ad90809fdc60b25759f6e9fe09bca305356..a847943350b18a1804952706350f38ed25b0ec14 100644 (file)
@@ -270,7 +270,7 @@ public:
 
     void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr) override;
 
-signals:
+Q_SIGNALS:
     void scrollOrientationChanged(Qt::Orientation current, Qt::Orientation previous);
     void scrollOffsetChanged(qreal current, qreal previous);
     void maximumScrollOffsetChanged(qreal current, qreal previous);
@@ -378,7 +378,7 @@ protected:
     virtual void updateFont();
     virtual void updatePalette();
 
-protected slots:
+protected Q_SLOTS:
     virtual void slotItemsInserted(const KItemRangeList& itemRanges);
     virtual void slotItemsRemoved(const KItemRangeList& itemRanges);
     virtual void slotItemsMoved(const KItemRange& itemRange, const QList<int>& movedToIndexes);
@@ -392,7 +392,7 @@ protected slots:
     virtual void slotCurrentChanged(int current, int previous);
     virtual void slotSelectionChanged(const KItemSet& current, const KItemSet& previous);
 
-private slots:
+private Q_SLOTS:
     void slotAnimationFinished(QGraphicsWidget* widget,
                                KItemListViewAnimation::AnimationType type);
     void slotLayoutTimerFinished();
index aad499853ff16ad739155e88ea960a60bc477cf5..86bbcaf14ec7969f26ef59016ecb2122c9aa93ff 100644 (file)
@@ -173,7 +173,7 @@ public:
      */
     virtual QPixmap createDragPixmap(const QStyleOptionGraphicsItem* option, QWidget* widget = nullptr);
 
-signals:
+Q_SIGNALS:
     void roleEditingCanceled(int index, const QByteArray& role, const QVariant& value);
     void roleEditingFinished(int index, const QByteArray& role, const QVariant& value);
 
@@ -198,7 +198,7 @@ protected:
 
     const KItemListWidgetInformant* informant() const;
 
-private slots:
+private Q_SLOTS:
     void slotHoverAnimationFinished();
 
 private:
index d68eab568e4ec4379385ad8756e0b1ec3ee07971..2ce4c9fd315bbac4c5e07f2ba8bab65c3ff987fd 100644 (file)
@@ -183,7 +183,7 @@ public:
      * @return Parent directory of the items that are shown
      */
     virtual QUrl directory() const;
-signals:
+Q_SIGNALS:
     /**
      * Is emitted if one or more items have been inserted. Each item-range consists
      * of:
index c19f1759db4302b3d4644326bba0ae841eca9505..1c3c61c3831ca18d1732ce9a0f2b7e48776ba754 100644 (file)
@@ -177,10 +177,10 @@ protected:
         QStaticText staticText;
     };
 
-public slots:
+public Q_SLOTS:
     void finishRoleEditing();
 
-private slots:
+private Q_SLOTS:
     void slotCutItemsChanged();
     void slotRoleEditingCanceled(const QByteArray& role, const QVariant& value);
     void slotRoleEditingFinished(const QByteArray& role, const QVariant& value);
index cc8616ff7915a6c7e441046c55dbc2497300bc37..c90925e445d9800a825efe2e95a8f761b2512ea0 100644 (file)
@@ -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();
index 8e6359746ceeacc9b452581a0785d9614a774526..48a2d1ff9b37d01e8cf2ebbc04c1fe665bf6d7ea 100644 (file)
@@ -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.
index 7495c32ddd745879ed5835bc26b2cb01a708bdbc..81820130871fa76c915b3628c3be868f1847f4f6 100644 (file)
@@ -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:
index c44c136b0df635b880f6c0b861202b2927daee4f..5636959757d1232398d4b0b57a6661aead5f3767 100644 (file)
@@ -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);
 
index ca85f2139551048019ed92fb05ba97432d3ced02..44adc23c5b263028b43e133dc110e1074dc11c6d 100644 (file)
@@ -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);
 
index 27c9a203fdc127c00f2f32392de21082caeb09d3..72f5695ce54e2554dac7d80a4c91a7a3aec66538 100644 (file)
@@ -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.
index a636806241a9f157c7f0119a5c7f1bbe57cd45bf..070cf5ce95062026417f9b0e9f35cf7246310943 100644 (file)
@@ -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.
index 7886b1e846ccd7f49a145fcbd183f5bd0ddad592..11febcf7eba32dc8d1257089e3e378c4ebf53ba7 100644 (file)
@@ -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);
index c0e02491eea96a625b059d8ee54b737d45ecffbf..55548219ed803c41b8ba67e67b302a0c26acf19a 100644 (file)
@@ -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);
 
index 3f6772b8bbe91a8136689a03da9527bc20e90442..8d11dbf89bfdd814d678156abbd4e2b96eef67cd 100644 (file)
@@ -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:
index 6943b53cecca8cd6b6e5277f0300597db35ecff3..d5765a346f9c7f796d426837bbc99fa3a5933d1c 100644 (file)
@@ -25,7 +25,7 @@ public:
     explicit MiddleClickActionEventFilter(QObject *parent);
     ~MiddleClickActionEventFilter() override;
 
-signals:
+Q_SIGNALS:
     void actionMiddleClicked(QAction *action);
 
 protected:
index 3ece6d3d4d2d2613ba9611a9bf316bfb6da9558d..26c8e4cb9590d5bd60d42f9772bde0705ebb5646 100644 (file)
@@ -40,7 +40,7 @@ public:
 
     void rename(const KFileItem& item);
 
-signals:
+Q_SIGNALS:
     void folderActivated(const QUrl& url);
     void folderMiddleClicked(const QUrl& url);
     void errorMessage(const QString& error);
@@ -55,7 +55,7 @@ protected:
     /** @see QWidget::keyPressEvent() */
     void keyPressEvent(QKeyEvent* event) override;
 
-private slots:
+private Q_SLOTS:
     void slotItemActivated(int index);
     void slotItemMiddleClicked(int index);
     void slotItemContextMenuRequested(int index, const QPointF& pos);
index 519e3a0ef7f8cb0e9bcc9d166c9ca66324b55572..35f44e90bfbc92822603683957e786a43e342578 100644 (file)
@@ -38,7 +38,7 @@ public:
     /** Opens the context menu modal. */
     void open(const QPoint& pos);
 
-private slots:
+private Q_SLOTS:
     /** Cuts the item m_fileItem. */
     void cut();
 
index 31a48332b45ec4e52b3502d585bf58ef7813bc37..baeb6e875d9c9f69dbf158cc8f6b8d38484a211c 100644 (file)
@@ -28,10 +28,10 @@ public:
     explicit InformationPanel(QWidget* parent = nullptr);
     ~InformationPanel() override;
 
-signals:
+Q_SIGNALS:
     void urlActivated(const QUrl& url);
 
-public slots:
+public Q_SLOTS:
     /**
      * This is invoked to inform the panel that the user has selected a new
      * set of items.
@@ -59,7 +59,7 @@ protected:
     /** @see QWidget::contextMenuEvent() */
     void contextMenuEvent(QContextMenuEvent* event) override;
 
-private slots:
+private Q_SLOTS:
     /**
      * Shows the information for the item of the URL which has been provided by
      * InformationPanel::requestDelayedItemInfo() and provides default actions.
index abdfdeb354453f0b213880ba119725b6f260869b..78fcf3cd08c6b2e83cc783ae2f196c98cfd4c713 100644 (file)
@@ -76,12 +76,12 @@ public:
      */
     void setPreviewAutoPlay(bool autoPlay);
 
-signals:
+Q_SIGNALS:
     void urlActivated( const QUrl& url );
     void configurationFinished();
     void contextMenuRequested(const QPoint& pos);
 
-public slots:
+public Q_SLOTS:
     /**
      * Is invoked after the file meta data configuration dialog has been
      * closed and refreshes the displayed meta data by the panel.
@@ -94,7 +94,7 @@ protected:
 
     bool event(QEvent * event) override;
 
-private slots:
+private Q_SLOTS:
     /**
      * Is invoked if no preview is available for the item. In this
      * case the icon will be shown.
index b21b0cdc76a25a333776d2772d948f57162e57ed..5510b05442adc0c5bf6c32177c691fe51979d87d 100644 (file)
@@ -48,7 +48,7 @@ class PhononWidget : public QWidget
         void setAutoPlay(bool autoPlay);
         bool eventFilter(QObject *object, QEvent *event) override;
 
-    signals:
+    Q_SIGNALS:
         /**
          * Is emitted whenever the video-state
          * has changed: If true is returned, a video
@@ -59,14 +59,14 @@ class PhononWidget : public QWidget
          */
         void hasVideoChanged(bool hasVideo);
 
-    public slots:
+    public Q_SLOTS:
         void play();
 
     protected:
         void showEvent(QShowEvent *event) override;
         void hideEvent(QHideEvent *event) override;
 
-    private slots:
+    private Q_SLOTS:
         void stateChanged(Phonon::State newstate);
         void stop();
         void finished();
index 3a61a41f071af6f365aabfe6e34e82af81959c59..5932ae6af5eea8409e7515a6fc884853b39b8dfa 100644 (file)
@@ -38,7 +38,7 @@ public:
 
     QSize sizeHint() const override;
 
-public slots:
+public Q_SLOTS:
     /**
      * This is invoked every time the folder being displayed in the
      * active Dolphin view changes.
index 2b1f3bc14f67c2420c40fc23a0af7d5ba1f76308..cd4079a73a0adcd9ebe47d2d2ca9fae9a9e3d7eb 100644 (file)
@@ -125,7 +125,7 @@ public:
     bool isGroupHidden(KFilePlacesModel::GroupType type) const;
     void setGroupHidden(KFilePlacesModel::GroupType type, bool hidden);
 
-signals:
+Q_SIGNALS:
     void errorMessage(const QString& message);
     void storageSetupDone(int index, bool success);
     void storageTearDownRequested(const QString& mountPath);
@@ -137,7 +137,7 @@ protected:
     void onItemRemoved(int index, KStandardItem* removedItem) override;
     void onItemChanged(int index, const QSet<QByteArray>& changedRoles) override;
 
-private slots:
+private Q_SLOTS:
     void slotStorageTearDownDone(Solid::ErrorType error, const QVariant& errorData);
     void slotStorageSetupDone(Solid::ErrorType error, const QVariant& errorData, const QString& udi);
 
index d0e236af461016acd8bf64dfea358214111bf930..da478391550fe892d7332264cd41341f91f40945 100644 (file)
@@ -37,7 +37,7 @@ public:
     explicit PlacesItemSignalHandler(PlacesItem* item, QObject* parent = nullptr);
     ~PlacesItemSignalHandler() override;
 
-public slots:
+public Q_SLOTS:
     /**
      * Calls PlacesItem::onAccessibilityChanged()
      */
@@ -47,7 +47,7 @@ public slots:
 
     void onTrashEmptinessChanged(bool isTrashEmpty);
 
-signals:
+Q_SIGNALS:
     void tearDownExternallyRequested(const QString& udi);
 
 private:
index 67b484c652bdef2db5c3d7bc325e515602c51b04..39f8da36562c7732d5d9c104bbc8f143e16e7db3 100644 (file)
@@ -33,7 +33,7 @@ public:
 
     bool eventFilter(QObject *obj, QEvent *event) override;
 
-signals:
+Q_SIGNALS:
     void placeActivated(const QUrl& url);
     void placeMiddleClicked(const QUrl& url);
     void errorMessage(const QString& error);
@@ -46,12 +46,12 @@ protected:
     bool urlChanged() override;
     void showEvent(QShowEvent* event) override;
 
-public slots:
+public Q_SLOTS:
     void readSettings() override;
     void showHiddenEntries(bool shown);
     int hiddenListCount();
 
-private slots:
+private Q_SLOTS:
     void slotItemActivated(int index);
     void slotItemMiddleClicked(int index);
     void slotItemContextMenuRequested(int index, const QPointF& pos);
index 35de108df3641d66899f4ca43adfc84cdfd3c60c..dc6605da6bd03695bf7281a4d16d00c16825265a 100644 (file)
@@ -48,11 +48,11 @@ public:
     bool hasProgramRunning() const;
     QString runningProgramName() const;
 
-public slots:
+public Q_SLOTS:
     void terminalExited();
     void dockVisibilityChanged();
 
-signals:
+Q_SIGNALS:
     void hideTerminalPanel();
 
     /**
@@ -65,7 +65,7 @@ protected:
 
     void showEvent(QShowEvent* event) override;
 
-private slots:
+private Q_SLOTS:
     void slotMostLocalUrlResult(KJob* job);
     void slotKonsolePartCurrentDirectoryChanged(const QString& dir);
 
index 21eb47360165f417f2182fe8b89f498e432a26da..83345b34444fcd36b7988e40068be03521fb5045 100644 (file)
@@ -48,13 +48,13 @@ public:
 
     void setFacetType(const QString& type);
 
-signals:
+Q_SIGNALS:
     void facetChanged();
 
 protected:
     void changeEvent(QEvent* event) override;
 
-private slots:
+private Q_SLOTS:
     void updateTagsMenu();
     void updateTagsMenuItems(const QUrl&, const KFileItemList& items);
 
index f0fe2a4242765f5fd1b3809d940eeccbd1c9e58f..1bd21f17b78725a445ad688bc0ad5f2308fa9116 100644 (file)
@@ -93,7 +93,7 @@ protected:
     void keyReleaseEvent(QKeyEvent* event) override;
     bool eventFilter(QObject* obj, QEvent* event) override;
 
-signals:
+Q_SIGNALS:
     /**
      * Is emitted when a searching should be triggered.
      */
@@ -118,7 +118,7 @@ signals:
     void activated();
     void focusViewRequest();
 
-private slots:
+private Q_SLOTS:
     void emitSearchRequest();
     void emitCloseRequest();
     void slotConfigurationChanged();
index e1e9c948836dbb5e5e49ede01589a32f0099cd4a..0e5b83f7ade2fb0804374a445015a6ab37642305 100644 (file)
@@ -51,7 +51,7 @@ public:
     ~ApplyViewPropsJob() override;
     int progress() const;
 
-private slots:
+private Q_SLOTS:
     void slotResult(KJob* job) override;
     void slotEntries(KIO::Job*, const KIO::UDSEntryList&);
 
index 88b42770fbccf7cf36737005c04be3dcd9a7d3e3..a8fae08f67e09abe0fb7fdbd117d0a3ce1acb1dc 100644 (file)
@@ -39,7 +39,7 @@ public:
 protected:
     void showEvent(QShowEvent* event) override;
 
-private slots:
+private Q_SLOTS:
     /**
      * Loads locally installed services.
      */
index 1f1a5145649079a347f2a506b0b8877895036339..65ce95274edf3f8cb8ebac9c77e5453781cfc6a3 100644 (file)
@@ -26,10 +26,10 @@ public:
     explicit DolphinSettingsDialog(const QUrl& url, QWidget* parent = nullptr, KActionCollection* actions = {});
     ~DolphinSettingsDialog() override;
 
-signals:
+Q_SIGNALS:
     void settingsChanged();
 
-private slots:
+private Q_SLOTS:
     /** Enables the Apply button. */
     void enableApply();
     void applySettings();
index 606b43cba74e71136369753461919c8e57083816..1e61aa24dc1e54fb3a24c6bbd6c1484e04a429bb 100644 (file)
@@ -37,7 +37,7 @@ public:
 protected:
     void showEvent(QShowEvent* event) override;
 
-private slots:
+private Q_SLOTS:
     void configureService(const QModelIndex& index);
 
 private:
index dc810e3a8b3d053f1b3a583b302f41a509c1ff41..5c516916f7a9454cee387633bf2449b054bd438d 100644 (file)
@@ -35,10 +35,10 @@ public:
                                    const QStyleOptionViewItem& option,
                                    const QPersistentModelIndex& index) const override;
 
-signals:
+Q_SIGNALS:
     void requestServiceConfiguration(const QModelIndex& index);
 
-private slots:
+private Q_SLOTS:
     void slotCheckBoxClicked(bool checked);
     void slotConfigureButtonClicked();
 };
index 8b230a9c76ba2493dfae1dce85ed47c26be3ba23..c6842dec47d5c878d3174b7920bb2872e93691c2 100644 (file)
@@ -32,7 +32,7 @@ public:
      */
     virtual void restoreDefaults() = 0;
 
-signals:
+Q_SIGNALS:
     /** Is emitted if a setting has been changed. */
     void changed();
 };
index 1090e0822be4ddba2bcefc4cbcebf978faae2dba..51e7e90c95a352c2adf30b4c221cf8701cddae65 100644 (file)
@@ -34,7 +34,7 @@ public:
     /** @see SettingsPageBase::restoreDefaults() */
     void restoreDefaults() override;
 
-private slots:
+private Q_SLOTS:
     void slotSettingsChanged();
     void updateInitialViewOptions();
     void selectHomeUrl();
index 1613184b210cf0a96f99283606b3eea90975f866..56b28f9b60224c4e9d57c4c4796a61c667916e16 100644 (file)
@@ -43,11 +43,11 @@ public:
     void setCustomFont(const QFont& font);
     QFont customFont() const;
 
-signals:
+Q_SIGNALS:
     /** Is emitted, if the font has been changed. */
     void changed();
 
-private slots:
+private Q_SLOTS:
     void openFontDialog();
     void changeMode(int index);
 
index d5756bb3aa917d595e02f21488664c5a56fe6b1a..798968345c2885e647d8e51eb8e4b0fcc03d4bc5 100644 (file)
@@ -39,10 +39,10 @@ public:
     void applySettings();
     void restoreDefaultSettings();
 
-signals:
+Q_SIGNALS:
     void changed();
 
-private slots:
+private Q_SLOTS:
 
     void slotDefaultSliderMoved(int value);
     void slotPreviewSliderMoved(int value);
index b03d3c75ad360c352ce0df070bc0557af541045a..f07bb8088f00df2abe7465865d27923bd94d6822 100644 (file)
@@ -36,10 +36,10 @@ public:
     explicit ViewPropertiesDialog(DolphinView* dolphinView);
     ~ViewPropertiesDialog() override;
 
-public slots:
+public Q_SLOTS:
     void accept() override;
 
-private slots:
+private Q_SLOTS:
     void slotApply();
     void slotViewModeChanged(int index);
     void slotSortingChanged(int index);
@@ -51,7 +51,7 @@ private slots:
     void slotItemChanged(QListWidgetItem *item);
     void markAsDirty(bool isDirty);
 
-signals:
+Q_SIGNALS:
     void isDirtyChanged(bool isDirty);
 
 private:
index 262b5a9ed05b54e51fb71c2b72f0f85cac13ce2b..61c358f39029e7beb355b503a5d33f0ed8b641cc 100644 (file)
@@ -45,10 +45,10 @@ public:
 protected:
     void closeEvent(QCloseEvent* event) override;
 
-public slots:
+public Q_SLOTS:
     void reject() override;
 
-private slots:
+private Q_SLOTS:
     void updateProgress();
     void applyViewProperties();
 
index 30968be6e3fa818ed5a6a7fe04c8aaefca4f93da..7b4434539c47141d1bc424f228d819c0514dea01 100644 (file)
@@ -79,12 +79,12 @@ public:
      */
     void updateSpaceInfo();
 
-public slots:
+public Q_SLOTS:
     void setText(const QString& text);
     void setUrl(const QUrl& url);
     void setZoomLevel(int zoomLevel);
 
-signals:
+Q_SIGNALS:
     /**
      * Is emitted if the stop-button has been pressed during showing a progress.
      */
@@ -95,7 +95,7 @@ signals:
 protected:
     void contextMenuEvent(QContextMenuEvent* event) override;
 
-private slots:
+private Q_SLOTS:
     void showZoomSliderToolTip(int zoomLevel);
     void updateProgressInfo();
 
index 30d5f8f7d426c013a7e5cdc07c3fb600b3c67427..9f5346d496a1f79b8330e296b4d910a2e277a135 100644 (file)
@@ -68,20 +68,20 @@ public:
      */
     static MountPointObserver* observerForUrl(const QUrl& url);
 
-signals:
+Q_SIGNALS:
     /**
      * This signal is emitted when the size has been retrieved.
      */
     void spaceInfoChanged(quint64 size, quint64 available);
 
-public slots:
+public Q_SLOTS:
     /**
      * If this slot is invoked, MountPointObserver starts a new driveSize job
      * to get the drive's size.
      */
     void update();
 
-private slots:
+private Q_SLOTS:
     void freeSpaceResult(KIO::Job* job, KIO::filesize_t size, KIO::filesize_t available);
 
 private:
index aeb117cbbf8b4b04cff1f608ba7fcc1a577d0c1a..ab16fa760b46680007ddee6094b50d9a58463ccf 100644 (file)
@@ -28,7 +28,7 @@ public:
      */
     MountPointObserver* observerForUrl(const QUrl& url);
 
-private slots:
+private Q_SLOTS:
     /**
      * Removes the given \a observer from the cache.
      */
index ac55a9f49fe58c2bf8ca7a001df868b8cd166b73..4f3ecde3567bfd7f53935a88325b69bf28315353 100644 (file)
@@ -27,16 +27,16 @@ public:
 
     void setUrl(const QUrl& url);
 
-public slots:
+public Q_SLOTS:
     void update();
 
-signals:
+Q_SIGNALS:
     /**
      * This signal is emitted when the size or available space changes.
      */
     void valuesChanged();
 
-private slots:
+private Q_SLOTS:
     void spaceInfoChanged(quint64 size, quint64 available);
 
 private:
index 7cc5c49e2e74a0a9a66b2e6bfd5b74d95aec39ff..5b16942a400ca7dc0879174ff07bb66e5622ee93 100644 (file)
@@ -42,7 +42,7 @@ protected:
     void hideEvent(QHideEvent* event) override;
     void mousePressEvent(QMouseEvent* event) override;
 
-private slots:
+private Q_SLOTS:
     void slotValuesChanged();
 
 private:
index a307eb495e0353cf553ba57799a609c63bb3a181..40f8f6bcd8620c40d263cc03aefee470fe4e37fe 100644 (file)
@@ -20,7 +20,7 @@ class DolphinMainWindowTest : public QObject
 {
     Q_OBJECT
 
-private slots:
+private Q_SLOTS:
     void initTestCase();
     void init();
     void testClosingTabsWithSearchBoxVisible();
index 46440405812969786d078439201e77070d4a1264..dfee3dbd5b0fde4ce27f46f04b9713c50074af75 100644 (file)
@@ -18,7 +18,7 @@ class DolphinSearchBoxTest : public QObject
 {
     Q_OBJECT
 
-private slots:
+private Q_SLOTS:
     void testBalooSearchParsing_data();
     void testBalooSearchParsing();
 };
index 1210679f10bf96843c3253adfdfb056c7823ed4f..0a2113facb66d65196a01751564379d621207f2f 100644 (file)
@@ -12,7 +12,7 @@ class DolphinSearchBoxTest : public QObject
 {
     Q_OBJECT
 
-private slots:
+private Q_SLOTS:
     void init();
     void cleanup();
 
index 584b7098b575ac86fa74d88a5073b4e125c2f095..9379347f0a0bd716e972fce294e731167510e079 100644 (file)
@@ -11,7 +11,7 @@ class DragAndDropHelperTest : public QObject
 {
     Q_OBJECT
 
-private slots:
+private Q_SLOTS:
     void testUrlListMatchesUrl_data();
     void testUrlListMatchesUrl();
 };
index 8d6a49c6b784e2844f8d10c0d9164b596e64af19..2aa9941c7dd6ade2aea1ba2c7c61df3d710fd2fa 100644 (file)
@@ -17,7 +17,7 @@ class KFileItemListViewTest : public QObject
 {
     Q_OBJECT
 
-private slots:
+private Q_SLOTS:
     void init();
     void cleanup();
     void testGroupedItemChanges();
index 37874cea8a205019b5d6c0918820d8c8097258c6..5c44a354f613b4eb4cfa60ccf3db30211a7b2bba 100644 (file)
@@ -43,7 +43,7 @@ class KFileItemModelBenchmark : public QObject
 public:
     KFileItemModelBenchmark();
 
-private slots:
+private Q_SLOTS:
     void insertAndRemoveManyItems_data();
     void insertAndRemoveManyItems();
 
index 8fd1883ac665d79e268165e4325d53007c925f9d..bf3ce8aed706fb1131fcf1cad71995a722502fe3 100644 (file)
@@ -45,7 +45,7 @@ class KFileItemModelTest : public QObject
 {
     Q_OBJECT
 
-private slots:
+private Q_SLOTS:
     void init();
     void cleanup();
 
index 80b88c03eea90e3a79f3fdefc18a381984beacd8..eb938728d5c1415322dfcb0c8c374859a23ae3d4 100644 (file)
@@ -68,7 +68,7 @@ class KItemListControllerTest : public QObject
 {
     Q_OBJECT
 
-private slots:
+private Q_SLOTS:
     void initTestCase();
     void cleanupTestCase();
 
index 10cf3ab1c389aa46091f371149392329b1721b11..2005c9ccafcdd06433bba6ad9d349fa9c9718f23 100644 (file)
@@ -13,7 +13,7 @@ class KItemListKeyboardSearchManagerTest : public QObject
 {
     Q_OBJECT
 
-private slots:
+private Q_SLOTS:
     void init();
 
     void testBasicKeyboardSearch();
index d6e0e2c96b7ffce3ba9c01b938e3e0c03d86283b..b1e3f54f817125ef54b3cfba606778e6d7106a4b 100644 (file)
@@ -51,7 +51,7 @@ class KItemListSelectionManagerTest : public QObject
 {
     Q_OBJECT
 
-private slots:
+private Q_SLOTS:
     void init();
     void cleanup();
 
index 023f180f59e7aa9774948499e9c5e7daed7a66e7..2ebca2308185a04c09c0a0cb2f4a5686ea5ce337 100644 (file)
@@ -15,7 +15,7 @@ class KItemRangeTest : public QObject
 {
     Q_OBJECT
 
-private slots:
+private Q_SLOTS:
     void testFromSortedContainer_data();
     void testFromSortedContainer();
 };
index d19752c3366f19b01df0c60c8c47238789b4207e..9b40e150dc1d81cc07607ab7dc101832187e74d2 100644 (file)
@@ -84,7 +84,7 @@ class KItemSetTest : public QObject
 {
     Q_OBJECT
 
-private slots:
+private Q_SLOTS:
     void initTestCase();
 
     void testConstruction_data();
index c263c012832e8de01c49806c4de95e08fb758dde..c04e71524b057eb58c1f50aca49b6a156e552a33 100644 (file)
@@ -16,7 +16,7 @@ class KStandardItemModelTest : public QObject
 {
     Q_OBJECT
 
-private slots:
+private Q_SLOTS:
     void init();
     void cleanup();
 
index d289b390d2a525b6ae777db993cb7d38b0708f4e..15a494691db6bdd603571ad5c1f59f31f0f21296 100644 (file)
@@ -34,7 +34,7 @@ class PlacesItemModelTest : public QObject
 {
     Q_OBJECT
 
-private slots:
+private Q_SLOTS:
     void init();
     void cleanup();
 
index a9588cb19225fcf4eb1b5f9a54dfb6c36cca55b6..fb3023db5574eeb97624df92393b5bc087fd46da 100644 (file)
@@ -14,7 +14,7 @@ class ViewPropertiesTest : public QObject
 {
     Q_OBJECT
 
-private slots:
+private Q_SLOTS:
     void init();
     void cleanup();
 
index 2120059efe1f17824bfaaa4cd64528bfb860a2ad..1ef7d7d0241c0ebb51de9cd87ccc001b64e682a4 100644 (file)
@@ -28,7 +28,7 @@ public:
     static KIO::Job* empty(QWidget *window);
     static bool isEmpty();
 
-signals:
+Q_SIGNALS:
     void emptinessChanged(bool isEmpty);
 
 private:
index b95bdac46f8f03dcc4aff7f4da942a9168aa6879..82f09daa2615ce8548ca15104da614be886219f8 100644 (file)
@@ -29,7 +29,7 @@ public:
     void attach(const DolphinNewFileMenu* menu);
     void detach(const DolphinNewFileMenu* menu);
 
-signals:
+Q_SIGNALS:
     void itemCreated(const QUrl& url);
     void errorMessage(const QString& error);
 
index ab3e86f15cd4aedc30e7e9bbdf4c77ca3f265beb..be8263917dea4dfde9ca9f0919a8d64ee99759c1 100644 (file)
@@ -315,7 +315,7 @@ public:
      */
     void hideToolTip(const ToolTipManager::HideBehavior behavior = ToolTipManager::HideBehavior::Later);
 
-public slots:
+public Q_SLOTS:
     /**
      * Changes the directory to \a url. If the current directory is equal to
      * \a url, nothing will be done (use DolphinView::reload() instead).
@@ -409,7 +409,7 @@ public slots:
     /** Activates the view if the item list container gets focus. */
     bool eventFilter(QObject* watched, QEvent* event) override;
 
-signals:
+Q_SIGNALS:
     /**
      * Is emitted if the view has been activated by e. g. a mouse click.
      */
@@ -600,7 +600,7 @@ protected:
     void hideEvent(QHideEvent* event) override;
     bool event(QEvent* event) override;
 
-private slots:
+private Q_SLOTS:
     /**
      * Marks the view as active (DolphinView:isActive() will return true)
      * and emits the 'activated' signal if it is not already active.
index 87ee87a588cca2aafad8b216bda97ac088673c26..63a20f170f77ea7bd2a9c293e07e9318d94704c6 100644 (file)
@@ -46,7 +46,7 @@ public:
     void setItems(const KFileItemList& items);
     KFileItemList items() const;
 
-signals:
+Q_SIGNALS:
     /**
      * Is emitted after the meta data has been received for the items
      * set by DolphinFileMetaDataWidget::setItems().
index 6dfc750a9d3f489c0dea9b75e45e93f7608ca0ff..3688e815caa64a69fff976d7dbc2afbc50a9f1f7 100644 (file)
@@ -50,14 +50,14 @@ public:
      */
     void hideToolTip(const HideBehavior behavior = HideBehavior::Later);
 
-signals:
+Q_SIGNALS:
     /**
      * Is emitted when the user clicks a tag or a link
      * in the metadata widget.
      */
     void urlActivated(const QUrl& url);
 
-private slots:
+private Q_SLOTS:
     void startContentRetrieval();
     void setPreviewPix(const KFileItem& item, const QPixmap& pix);
     void previewFailed();
index 5f425fe8523628320201f63ed7b2269229352beb..6e3977fb2a6d1f6fdb4e61709363c300014d9252 100644 (file)
@@ -50,7 +50,7 @@ public:
 
     QList<QAction*> actions(const KFileItemList& items) const;
 
-signals:
+Q_SIGNALS:
     /**
      * Is emitted if an information message with the content \a msg
      * should be shown.
@@ -69,7 +69,7 @@ signals:
      */
     void operationCompletedMessage(const QString& msg);
 
-private slots:
+private Q_SLOTS:
     /**
      * Invokes verifyDirectory() with a small delay. If delayedDirectoryVerification()
      * is invoked before the delay has been exceeded, the delay will be reset. This
index 31594328bcc187bf7dce83958e465743abee936a..bd92a60a245f9026c9bf5dd1f9755d56ebc5253e 100644 (file)
@@ -61,14 +61,14 @@ public:
     void setNameFilter(const QString& nameFilter);
     QString nameFilter() const;
 
-public slots:
+public Q_SLOTS:
     /**
      * Sets the URL to \a url and emits the signals cancelPreviews() and
      * urlChanged() if \a url is different for the current URL.
      */
     void setUrl(const QUrl& url);
 
-signals:
+Q_SIGNALS:
     /**
      * Is emitted if the URL has been changed by ViewModeController::setUrl().
      */