From fed0b393668fc743741d65ddf8ed49135b51adf5 Mon Sep 17 00:00:00 2001 From: Méven Car Date: Thu, 22 Jan 2026 17:41:58 +0100 Subject: clang-tidy: modernize-use-using --- src/dolphinmainwindow.h | 2 +- src/views/dolphinview.h | 2 +- src/views/versioncontrol/versioncontrolobserver.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 #include -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 -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 ItemState; + using ItemState = QPair; void updateItemStates(); -- cgit v1.3