diff options
| author | Méven Car <[email protected]> | 2026-01-22 17:41:58 +0100 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2026-01-22 17:41:58 +0100 |
| commit | fed0b393668fc743741d65ddf8ed49135b51adf5 (patch) | |
| tree | 40661fcdddea9d8bdd424fca48db25136b06043a /src | |
| parent | 881a5470697bdaf23d8692d3ee852a15c90b1af3 (diff) | |
clang-tidy: modernize-use-using
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinmainwindow.h | 2 | ||||
| -rw-r--r-- | src/views/dolphinview.h | 2 | ||||
| -rw-r--r-- | src/views/versioncontrol/versioncontrolobserver.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 9c21e291b..a03d566d0 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -31,7 +31,7 @@ #include <QUrl> #include <QVector> -typedef KIO::FileUndoManager::CommandType CommandType; +using CommandType = KIO::FileUndoManager::CommandType; class DiskSpaceUsageMenu; class DolphinBookmarkHandler; diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index 5a2907df7..e3f83979c 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -25,7 +25,7 @@ #include <memory> -typedef KIO::FileUndoManager::CommandType CommandType; +using CommandType = KIO::FileUndoManager::CommandType; class QVBoxLayout; class DolphinItemListView; class KFileItemModel; diff --git a/src/views/versioncontrol/versioncontrolobserver.h b/src/views/versioncontrol/versioncontrolobserver.h index 13d4d8b0d..50065569c 100644 --- a/src/views/versioncontrol/versioncontrolobserver.h +++ b/src/views/versioncontrol/versioncontrolobserver.h @@ -100,7 +100,7 @@ private Q_SLOTS: void slotThreadFinished(); private: - typedef QPair<KFileItem, KVersionControlPlugin::ItemVersion> ItemState; + using ItemState = QPair<KFileItem, KVersionControlPlugin::ItemVersion>; void updateItemStates(); |
