[vlc-commits] qt: move about/help dialogs component to its own folder

Pierre Lamot git at videolan.org
Tue Dec 17 15:37:21 CET 2019


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Tue Oct 15 15:02:19 2019 +0200| [c1258f024f633ed35405a73205e61f469c63978e] | committer: Jean-Baptiste Kempf

qt: move about/help dialogs component to its own folder

  no functionnal changes

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c1258f024f633ed35405a73205e61f469c63978e
---

 modules/gui/qt/Makefile.am                           | 20 ++++++++++----------
 modules/gui/qt/{ui => dialogs/help}/about.ui         |  0
 .../qt/{components => dialogs/help}/aboutmodel.cpp   |  0
 .../qt/{components => dialogs/help}/aboutmodel.hpp   |  0
 modules/gui/qt/dialogs/{ => help}/help.cpp           |  2 +-
 modules/gui/qt/dialogs/{ => help}/help.hpp           |  4 ++--
 .../gui/qt/{qml/about => dialogs/help/qml}/About.qml |  0
 modules/gui/qt/{ui => dialogs/help}/update.ui        |  0
 modules/gui/qt/dialogs_provider.cpp                  |  2 +-
 modules/gui/qt/main_interface.cpp                    |  2 +-
 modules/gui/qt/qt.cpp                                |  2 +-
 modules/gui/qt/vlc.qrc                               |  2 +-
 po/POTFILES.in                                       |  8 ++++----
 13 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/modules/gui/qt/Makefile.am b/modules/gui/qt/Makefile.am
index aa171b4f5e..6242d483e6 100644
--- a/modules/gui/qt/Makefile.am
+++ b/modules/gui/qt/Makefile.am
@@ -63,7 +63,7 @@ libqt_plugin_la_SOURCES = \
 	gui/qt/dialogs/plugins/addons_manager.cpp gui/qt/dialogs/plugins/addons_manager.hpp \
 	gui/qt/dialogs/sout.cpp gui/qt/dialogs/sout.hpp \
 	gui/qt/dialogs/convert.cpp gui/qt/dialogs/convert.hpp \
-	gui/qt/dialogs/help.cpp gui/qt/dialogs/help.hpp \
+	gui/qt/dialogs/help/help.cpp gui/qt/dialogs/help/help.hpp \
 	gui/qt/dialogs/gototime.cpp gui/qt/dialogs/gototime.hpp \
 	gui/qt/dialogs/toolbar.cpp gui/qt/dialogs/toolbar.hpp \
 	gui/qt/dialogs/toolbareditor.cpp gui/qt/dialogs/toolbareditor.hpp \
@@ -81,8 +81,8 @@ libqt_plugin_la_SOURCES = \
 	gui/qt/dialogs/fingerprint/chromaprint.hpp \
 	gui/qt/components/qml_main_context.cpp \
 	gui/qt/components/qml_main_context.hpp \
-	gui/qt/components/aboutmodel.cpp \
-	gui/qt/components/aboutmodel.hpp \
+	gui/qt/dialogs/help/aboutmodel.cpp \
+	gui/qt/dialogs/help/aboutmodel.hpp \
 	gui/qt/components/dialogmodel.cpp \
 	gui/qt/components/dialogmodel.hpp \
 	gui/qt/components/extended_panels.cpp \
@@ -245,7 +245,7 @@ nodist_libqt_plugin_la_SOURCES = \
 	gui/qt/dialogs/plugins/plugins.moc.cpp \
 	gui/qt/dialogs/sout.moc.cpp \
 	gui/qt/dialogs/convert.moc.cpp \
-	gui/qt/dialogs/help.moc.cpp \
+	gui/qt/dialogs/help/help.moc.cpp \
 	gui/qt/dialogs/gototime.moc.cpp \
 	gui/qt/dialogs/toolbar.moc.cpp \
 	gui/qt/dialogs/toolbareditor.moc.cpp \
@@ -258,7 +258,7 @@ nodist_libqt_plugin_la_SOURCES = \
 	gui/qt/dialogs/fingerprint/fingerprintdialog.moc.cpp \
 	gui/qt/dialogs/fingerprint/chromaprint.moc.cpp \
 	gui/qt/components/qml_main_context.moc.cpp \
-	gui/qt/components/aboutmodel.moc.cpp \
+	gui/qt/dialogs/help/aboutmodel.moc.cpp \
 	gui/qt/components/dialogmodel.moc.cpp \
 	gui/qt/components/extended_panels.moc.cpp \
 	gui/qt/components/info_panels.moc.cpp \
@@ -349,8 +349,8 @@ nodist_libqt_plugin_la_SOURCES += \
 	gui/qt/dialogs/preferences/ui_sprefs_video.h \
 	gui/qt/ui/ui_streampanel.h \
 	gui/qt/ui/ui_messages_panel.h \
-	gui/qt/ui/ui_about.h \
-	gui/qt/ui/ui_update.h \
+	gui/qt/dialogs/help/ui_about.h \
+	gui/qt/dialogs/help/ui_update.h \
 	gui/qt/dialogs/fingerprint/ui_fingerprintdialog.h \
 	gui/qt/ui/ui_sout.h
 
@@ -388,8 +388,8 @@ libqt_plugin_la_UI = \
 	gui/qt/dialogs/preferences/sprefs_video.ui \
 	gui/qt/ui/streampanel.ui \
 	gui/qt/ui/messages_panel.ui \
-	gui/qt/ui/about.ui \
-	gui/qt/ui/update.ui \
+	gui/qt/dialogs/help/about.ui \
+	gui/qt/dialogs/help/update.ui \
 	gui/qt/ui/sout.ui \
 	gui/qt/ui/vlm.ui \
 	gui/qt/dialogs/fingerprint/fingerprintdialog.ui
@@ -564,7 +564,7 @@ libqt_plugin_la_RES = \
 libqt_plugin_la_QML = \
 	gui/qt/qml/MainInterface.qml \
 	gui/qt/qml/BannerSources.qml \
-	gui/qt/qml/about/About.qml \
+	gui/qt/dialogs/help/qml/About.qml \
 	gui/qt/player/qml/Player.qml \
 	gui/qt/player/qml/TrackInfo.qml \
 	gui/qt/player/qml/ControlBar.qml \
diff --git a/modules/gui/qt/ui/about.ui b/modules/gui/qt/dialogs/help/about.ui
similarity index 100%
rename from modules/gui/qt/ui/about.ui
rename to modules/gui/qt/dialogs/help/about.ui
diff --git a/modules/gui/qt/components/aboutmodel.cpp b/modules/gui/qt/dialogs/help/aboutmodel.cpp
similarity index 100%
rename from modules/gui/qt/components/aboutmodel.cpp
rename to modules/gui/qt/dialogs/help/aboutmodel.cpp
diff --git a/modules/gui/qt/components/aboutmodel.hpp b/modules/gui/qt/dialogs/help/aboutmodel.hpp
similarity index 100%
rename from modules/gui/qt/components/aboutmodel.hpp
rename to modules/gui/qt/dialogs/help/aboutmodel.hpp
diff --git a/modules/gui/qt/dialogs/help.cpp b/modules/gui/qt/dialogs/help/help.cpp
similarity index 99%
rename from modules/gui/qt/dialogs/help.cpp
rename to modules/gui/qt/dialogs/help/help.cpp
index 8f12c40149..cd4f8baedc 100644
--- a/modules/gui/qt/dialogs/help.cpp
+++ b/modules/gui/qt/dialogs/help/help.cpp
@@ -26,7 +26,7 @@
 #endif
 
 #include "qt.hpp"
-#include "dialogs/help.hpp"
+#include "help.hpp"
 #include "util/qt_dirs.hpp"
 
 #include <vlc_about.h>
diff --git a/modules/gui/qt/dialogs/help.hpp b/modules/gui/qt/dialogs/help/help.hpp
similarity index 97%
rename from modules/gui/qt/dialogs/help.hpp
rename to modules/gui/qt/dialogs/help/help.hpp
index 8dc4aa22da..7638eee0ff 100644
--- a/modules/gui/qt/dialogs/help.hpp
+++ b/modules/gui/qt/dialogs/help/help.hpp
@@ -31,8 +31,8 @@
 
 #include "util/qvlcframe.hpp"
 #include "util/singleton.hpp"
-#include "ui_about.h"
-#include "ui_update.h"
+#include "dialogs/help/ui_about.h"
+#include "dialogs/help/ui_update.h"
 
 class QEvent;
 
diff --git a/modules/gui/qt/qml/about/About.qml b/modules/gui/qt/dialogs/help/qml/About.qml
similarity index 100%
rename from modules/gui/qt/qml/about/About.qml
rename to modules/gui/qt/dialogs/help/qml/About.qml
diff --git a/modules/gui/qt/ui/update.ui b/modules/gui/qt/dialogs/help/update.ui
similarity index 100%
rename from modules/gui/qt/ui/update.ui
rename to modules/gui/qt/dialogs/help/update.ui
diff --git a/modules/gui/qt/dialogs_provider.cpp b/modules/gui/qt/dialogs_provider.cpp
index 981a41af00..43006e8583 100644
--- a/modules/gui/qt/dialogs_provider.cpp
+++ b/modules/gui/qt/dialogs_provider.cpp
@@ -48,7 +48,7 @@
 #include "dialogs/convert.hpp"
 #include "dialogs/open.hpp"
 #include "dialogs/openurl.hpp"
-#include "dialogs/help.hpp"
+#include "dialogs/help/help.hpp"
 #include "dialogs/gototime.hpp"
 #include "dialogs/podcast_configuration.hpp"
 #include "dialogs/toolbar.hpp"
diff --git a/modules/gui/qt/main_interface.cpp b/modules/gui/qt/main_interface.cpp
index 533307dc86..64a8fea7a8 100644
--- a/modules/gui/qt/main_interface.cpp
+++ b/modules/gui/qt/main_interface.cpp
@@ -59,7 +59,7 @@
 #include "network/networkdevicemodel.hpp"
 
 #include "components/navigation_history.hpp"
-#include "components/aboutmodel.hpp"
+#include "dialogs/help/aboutmodel.hpp"
 #include "components/dialogmodel.hpp"
 #include "player/playercontrolbarmodel.hpp"
 
diff --git a/modules/gui/qt/qt.cpp b/modules/gui/qt/qt.cpp
index 3cd9e1e19c..823b9be45e 100644
--- a/modules/gui/qt/qt.cpp
+++ b/modules/gui/qt/qt.cpp
@@ -56,7 +56,7 @@ extern "C" char **environ;
 #endif
 #include "dialogs/extensions/extensions_manager.hpp" /* Extensions manager */
 #include "dialogs/plugins/addons_manager.hpp" /* Addons manager */
-#include "dialogs/help.hpp"     /* Launch Update */
+#include "dialogs/help/help.hpp"     /* Launch Update */
 #include "recents.hpp"          /* Recents Item destruction */
 #include "util/qvlcapp.hpp"     /* QVLCApplication definition */
 
diff --git a/modules/gui/qt/vlc.qrc b/modules/gui/qt/vlc.qrc
index c85e0786ad..f5270f2ce3 100644
--- a/modules/gui/qt/vlc.qrc
+++ b/modules/gui/qt/vlc.qrc
@@ -277,7 +277,7 @@
         <file alias="PlayerMenuItem.qml">player/qml/PlayerMenuItem.qml</file>
     </qresource>
     <qresource prefix="/about">
-        <file alias="About.qml">qml/about/About.qml</file>
+        <file alias="About.qml">dialogs/help/qml/About.qml</file>
     </qresource>
     <qresource prefix="/dialogs">
         <file alias="Dialogs.qml">qml/dialogs/Dialogs.qml</file>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 5ebc656ae7..a8e55715a7 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -729,8 +729,8 @@ modules/gui/qt/dialogs/firstrun.cpp
 modules/gui/qt/dialogs/firstrun.hpp
 modules/gui/qt/dialogs/gototime.cpp
 modules/gui/qt/dialogs/gototime.hpp
-modules/gui/qt/dialogs/help.cpp
-modules/gui/qt/dialogs/help.hpp
+modules/gui/qt/dialogs/help/help.cpp
+modules/gui/qt/dialogs/help/help.hpp
 modules/gui/qt/dialogs/mediainfo.cpp
 modules/gui/qt/dialogs/mediainfo.hpp
 modules/gui/qt/dialogs/messages.cpp
@@ -1275,7 +1275,7 @@ share/lua/http/mobile_view.html
 # qt .ui files
 # uncomment (and prepend $builddir} if you want to generate a proper vlc.pot
 
-#modules/gui/qt/ui/ui_about.h
+#modules/gui/qt/dialogs/help/ui_about.h
 #modules/gui/qt/ui/ui_equalizer.h
 #modules/gui/qt/ui/ui_messages_panel.h
 #modules/gui/qt/ui/ui_open.h
@@ -1292,6 +1292,6 @@ share/lua/http/mobile_view.html
 #modules/gui/qt/dialogs/preferences/ui_sprefs_subtitles.h
 #modules/gui/qt/dialogs/preferences/ui_sprefs_video.h
 #modules/gui/qt/ui/ui_streampanel.h
-#modules/gui/qt/ui/ui_update.h
+#modules/gui/qt/dialogs/help/ui_update.h
 #modules/gui/qt/ui/ui_video_effects.h
 #modules/gui/qt/ui/ui_vlm.h



More information about the vlc-commits mailing list