From feadcc6869f14bbc7d7e3b1b444110db48564a57 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Fri, 9 Jun 2023 10:51:40 +0200 Subject: [PATCH] Move storageview example into tests/manual The code is mostly an implementation of a model based on QStorageInfo, shown in an otherwise uninteresting tree view. Change-Id: Id6ce70d71ddc9bcd6e82a9ee12f5e1af159eac7a Reviewed-by: Richard Moe Gustavsen (cherry picked from commit a89f575be3a410a06165dc19961b1a260a67464d) Reviewed-by: Qt Cherry-pick Bot --- examples/widgets/itemviews/CMakeLists.txt | 1 - examples/widgets/itemviews/itemviews.pro | 3 +-- .../examples}/widgets/itemviews/storageview/CMakeLists.txt | 0 .../manual/examples}/widgets/itemviews/storageview/main.cpp | 0 .../examples}/widgets/itemviews/storageview/storagemodel.cpp | 0 .../examples}/widgets/itemviews/storageview/storagemodel.h | 0 .../examples}/widgets/itemviews/storageview/storageview.pro | 0 7 files changed, 1 insertion(+), 3 deletions(-) rename {examples => tests/manual/examples}/widgets/itemviews/storageview/CMakeLists.txt (100%) rename {examples => tests/manual/examples}/widgets/itemviews/storageview/main.cpp (100%) rename {examples => tests/manual/examples}/widgets/itemviews/storageview/storagemodel.cpp (100%) rename {examples => tests/manual/examples}/widgets/itemviews/storageview/storagemodel.h (100%) rename {examples => tests/manual/examples}/widgets/itemviews/storageview/storageview.pro (100%) diff --git a/examples/widgets/itemviews/CMakeLists.txt b/examples/widgets/itemviews/CMakeLists.txt index 8a6a448924..4a30dc3729 100644 --- a/examples/widgets/itemviews/CMakeLists.txt +++ b/examples/widgets/itemviews/CMakeLists.txt @@ -18,7 +18,6 @@ qt_internal_add_example(simplewidgetmapper) qt_internal_add_example(spinboxdelegate) qt_internal_add_example(spreadsheet) qt_internal_add_example(stardelegate) -qt_internal_add_example(storageview) if(QT_FEATURE_draganddrop) qt_internal_add_example(puzzle) endif() diff --git a/examples/widgets/itemviews/itemviews.pro b/examples/widgets/itemviews/itemviews.pro index 68ffd21b74..3f941679c7 100644 --- a/examples/widgets/itemviews/itemviews.pro +++ b/examples/widgets/itemviews/itemviews.pro @@ -17,7 +17,6 @@ SUBDIRS = addressbook \ simplewidgetmapper \ spinboxdelegate \ spreadsheet \ - stardelegate \ - storageview + stardelegate !qtConfig(draganddrop): SUBDIRS -= puzzle !qtHaveModule(xml): SUBDIRS -= simpledommodel diff --git a/examples/widgets/itemviews/storageview/CMakeLists.txt b/tests/manual/examples/widgets/itemviews/storageview/CMakeLists.txt similarity index 100% rename from examples/widgets/itemviews/storageview/CMakeLists.txt rename to tests/manual/examples/widgets/itemviews/storageview/CMakeLists.txt diff --git a/examples/widgets/itemviews/storageview/main.cpp b/tests/manual/examples/widgets/itemviews/storageview/main.cpp similarity index 100% rename from examples/widgets/itemviews/storageview/main.cpp rename to tests/manual/examples/widgets/itemviews/storageview/main.cpp diff --git a/examples/widgets/itemviews/storageview/storagemodel.cpp b/tests/manual/examples/widgets/itemviews/storageview/storagemodel.cpp similarity index 100% rename from examples/widgets/itemviews/storageview/storagemodel.cpp rename to tests/manual/examples/widgets/itemviews/storageview/storagemodel.cpp diff --git a/examples/widgets/itemviews/storageview/storagemodel.h b/tests/manual/examples/widgets/itemviews/storageview/storagemodel.h similarity index 100% rename from examples/widgets/itemviews/storageview/storagemodel.h rename to tests/manual/examples/widgets/itemviews/storageview/storagemodel.h diff --git a/examples/widgets/itemviews/storageview/storageview.pro b/tests/manual/examples/widgets/itemviews/storageview/storageview.pro similarity index 100% rename from examples/widgets/itemviews/storageview/storageview.pro rename to tests/manual/examples/widgets/itemviews/storageview/storageview.pro