diff options
| author | Nicolas Fella <[email protected]> | 2021-02-08 23:09:59 +0100 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2021-02-09 20:39:50 +0000 |
| commit | f65b0899c3666561cafac14f67ab0bb8a5bfa00a (patch) | |
| tree | 0215aa223236bc85b739cecf9bfd47f4832f2cf8 /src/panels | |
| parent | 7dc863add76dd31f162487487257225a0b4f1fd3 (diff) | |
Build with QT_NO_KEYWORDS
Diffstat (limited to 'src/panels')
| -rw-r--r-- | src/panels/folders/folderspanel.h | 4 | ||||
| -rw-r--r-- | src/panels/folders/treeviewcontextmenu.h | 2 | ||||
| -rw-r--r-- | src/panels/information/informationpanel.h | 6 | ||||
| -rw-r--r-- | src/panels/information/informationpanelcontent.h | 6 | ||||
| -rw-r--r-- | src/panels/information/phononwidget.h | 6 | ||||
| -rw-r--r-- | src/panels/panel.h | 2 | ||||
| -rw-r--r-- | src/panels/places/placesitemmodel.h | 4 | ||||
| -rw-r--r-- | src/panels/places/placesitemsignalhandler.h | 4 | ||||
| -rw-r--r-- | src/panels/places/placespanel.h | 6 | ||||
| -rw-r--r-- | src/panels/terminal/terminalpanel.h | 6 |
10 files changed, 23 insertions, 23 deletions
diff --git a/src/panels/folders/folderspanel.h b/src/panels/folders/folderspanel.h index 3ece6d3d4..26c8e4cb9 100644 --- a/src/panels/folders/folderspanel.h +++ b/src/panels/folders/folderspanel.h @@ -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); diff --git a/src/panels/folders/treeviewcontextmenu.h b/src/panels/folders/treeviewcontextmenu.h index 519e3a0ef..35f44e90b 100644 --- a/src/panels/folders/treeviewcontextmenu.h +++ b/src/panels/folders/treeviewcontextmenu.h @@ -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(); diff --git a/src/panels/information/informationpanel.h b/src/panels/information/informationpanel.h index 31a48332b..baeb6e875 100644 --- a/src/panels/information/informationpanel.h +++ b/src/panels/information/informationpanel.h @@ -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. diff --git a/src/panels/information/informationpanelcontent.h b/src/panels/information/informationpanelcontent.h index abdfdeb35..78fcf3cd0 100644 --- a/src/panels/information/informationpanelcontent.h +++ b/src/panels/information/informationpanelcontent.h @@ -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. diff --git a/src/panels/information/phononwidget.h b/src/panels/information/phononwidget.h index b21b0cdc7..5510b0544 100644 --- a/src/panels/information/phononwidget.h +++ b/src/panels/information/phononwidget.h @@ -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(); diff --git a/src/panels/panel.h b/src/panels/panel.h index 3a61a41f0..5932ae6af 100644 --- a/src/panels/panel.h +++ b/src/panels/panel.h @@ -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. diff --git a/src/panels/places/placesitemmodel.h b/src/panels/places/placesitemmodel.h index 2b1f3bc14..cd4079a73 100644 --- a/src/panels/places/placesitemmodel.h +++ b/src/panels/places/placesitemmodel.h @@ -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); diff --git a/src/panels/places/placesitemsignalhandler.h b/src/panels/places/placesitemsignalhandler.h index d0e236af4..da4783915 100644 --- a/src/panels/places/placesitemsignalhandler.h +++ b/src/panels/places/placesitemsignalhandler.h @@ -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: diff --git a/src/panels/places/placespanel.h b/src/panels/places/placespanel.h index 67b484c65..39f8da365 100644 --- a/src/panels/places/placespanel.h +++ b/src/panels/places/placespanel.h @@ -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); diff --git a/src/panels/terminal/terminalpanel.h b/src/panels/terminal/terminalpanel.h index 35de108df..dc6605da6 100644 --- a/src/panels/terminal/terminalpanel.h +++ b/src/panels/terminal/terminalpanel.h @@ -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); |
