[vlc-commits] qt: move sout dialogs component to its own folder
Pierre Lamot
git at videolan.org
Tue Dec 17 15:37:22 CET 2019
vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Tue Oct 15 16:10:14 2019 +0200| [a44bd35aa816c17d8d58ba46865b0ec562a880b2] | committer: Jean-Baptiste Kempf
qt: move sout 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=a44bd35aa816c17d8d58ba46865b0ec562a880b2
---
modules/gui/qt/Makefile.am | 30 +++++++++++-----------
modules/gui/qt/dialogs/{ => sout}/convert.cpp | 6 ++---
modules/gui/qt/dialogs/{ => sout}/convert.hpp | 0
.../sout/profile_selector.cpp | 7 +++--
.../sout/profile_selector.hpp | 2 +-
.../qt/{components => dialogs}/sout/profiles.hpp | 0
modules/gui/qt/{ui => dialogs/sout}/profiles.ui | 0
modules/gui/qt/dialogs/{ => sout}/sout.cpp | 5 ++--
modules/gui/qt/dialogs/{ => sout}/sout.hpp | 2 +-
modules/gui/qt/{ui => dialogs/sout}/sout.ui | 4 +--
.../{components => dialogs}/sout/sout_widgets.cpp | 5 ++--
.../{components => dialogs}/sout/sout_widgets.hpp | 0
modules/gui/qt/dialogs/toolbareditor.hpp | 2 +-
modules/gui/qt/dialogs/vlm.cpp | 2 +-
modules/gui/qt/dialogs_provider.cpp | 4 +--
po/POTFILES.in | 22 ++++++++--------
16 files changed, 44 insertions(+), 47 deletions(-)
diff --git a/modules/gui/qt/Makefile.am b/modules/gui/qt/Makefile.am
index 6242d483e6..0c078dba10 100644
--- a/modules/gui/qt/Makefile.am
+++ b/modules/gui/qt/Makefile.am
@@ -61,8 +61,6 @@ libqt_plugin_la_SOURCES = \
gui/qt/dialogs/errors.cpp gui/qt/dialogs/errors.hpp \
gui/qt/dialogs/plugins/plugins.cpp gui/qt/dialogs/plugins/plugins.hpp \
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/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 \
@@ -179,11 +177,13 @@ libqt_plugin_la_SOURCES = \
gui/qt/playlist/playlist_model.cpp \
gui/qt/playlist/playlist_model.hpp \
gui/qt/playlist/playlist_model_p.hpp \
- gui/qt/components/sout/profile_selector.cpp \
- gui/qt/components/sout/profile_selector.hpp \
- gui/qt/components/sout/sout_widgets.cpp \
- gui/qt/components/sout/sout_widgets.hpp \
- gui/qt/components/sout/profiles.hpp \
+ gui/qt/dialogs/sout/convert.cpp gui/qt/dialogs/sout/convert.hpp \
+ gui/qt/dialogs/sout/sout.cpp gui/qt/dialogs/sout/sout.hpp \
+ gui/qt/dialogs/sout/profile_selector.cpp \
+ gui/qt/dialogs/sout/profile_selector.hpp \
+ gui/qt/dialogs/sout/sout_widgets.cpp \
+ gui/qt/dialogs/sout/sout_widgets.hpp \
+ gui/qt/dialogs/sout/profiles.hpp \
gui/qt/util/animators.cpp gui/qt/util/animators.hpp \
gui/qt/util/input_slider.cpp gui/qt/util/input_slider.hpp \
gui/qt/player/input_models.cpp gui/qt/player/input_models.hpp \
@@ -243,8 +243,6 @@ nodist_libqt_plugin_la_SOURCES = \
gui/qt/dialogs/errors.moc.cpp \
gui/qt/dialogs/plugins/addons_manager.moc.cpp \
gui/qt/dialogs/plugins/plugins.moc.cpp \
- gui/qt/dialogs/sout.moc.cpp \
- gui/qt/dialogs/convert.moc.cpp \
gui/qt/dialogs/help/help.moc.cpp \
gui/qt/dialogs/gototime.moc.cpp \
gui/qt/dialogs/toolbar.moc.cpp \
@@ -310,8 +308,10 @@ nodist_libqt_plugin_la_SOURCES = \
gui/qt/playlist/playlist_item.moc.cpp \
gui/qt/playlist/playlist_model.moc.cpp \
gui/qt/playlist/playlist_controller.moc.cpp \
- gui/qt/components/sout/profile_selector.moc.cpp \
- gui/qt/components/sout/sout_widgets.moc.cpp \
+ gui/qt/dialogs/sout/convert.moc.cpp \
+ gui/qt/dialogs/sout/sout.moc.cpp \
+ gui/qt/dialogs/sout/profile_selector.moc.cpp \
+ gui/qt/dialogs/sout/sout_widgets.moc.cpp \
gui/qt/util/animators.moc.cpp \
gui/qt/util/input_slider.moc.cpp \
gui/qt/player/input_models.moc.cpp \
@@ -341,7 +341,7 @@ nodist_libqt_plugin_la_SOURCES += \
gui/qt/ui/ui_open.h \
gui/qt/ui/ui_vlm.h \
gui/qt/ui/ui_podcast_configuration.h \
- gui/qt/ui/ui_profiles.h \
+ gui/qt/dialogs/sout/ui_profiles.h \
gui/qt/dialogs/preferences/ui_sprefs_audio.h \
gui/qt/dialogs/preferences/ui_sprefs_input.h \
gui/qt/dialogs/preferences/ui_sprefs_interface.h \
@@ -352,7 +352,7 @@ nodist_libqt_plugin_la_SOURCES += \
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
+ gui/qt/dialogs/sout/ui_sout.h
# User interface compilation
@@ -380,7 +380,7 @@ libqt_plugin_la_UI = \
gui/qt/ui/open_capture.ui \
gui/qt/ui/open.ui \
gui/qt/ui/podcast_configuration.ui \
- gui/qt/ui/profiles.ui \
+ gui/qt/dialogs/sout/profiles.ui \
gui/qt/dialogs/preferences/sprefs_audio.ui \
gui/qt/dialogs/preferences/sprefs_input.ui \
gui/qt/dialogs/preferences/sprefs_interface.ui \
@@ -390,7 +390,7 @@ libqt_plugin_la_UI = \
gui/qt/ui/messages_panel.ui \
gui/qt/dialogs/help/about.ui \
gui/qt/dialogs/help/update.ui \
- gui/qt/ui/sout.ui \
+ gui/qt/dialogs/sout/sout.ui \
gui/qt/ui/vlm.ui \
gui/qt/dialogs/fingerprint/fingerprintdialog.ui
EXTRA_DIST += $(libqt_plugin_la_UI)
diff --git a/modules/gui/qt/dialogs/convert.cpp b/modules/gui/qt/dialogs/sout/convert.cpp
similarity index 98%
rename from modules/gui/qt/dialogs/convert.cpp
rename to modules/gui/qt/dialogs/sout/convert.cpp
index f8ff83d095..ec1e579819 100644
--- a/modules/gui/qt/dialogs/convert.cpp
+++ b/modules/gui/qt/dialogs/sout/convert.cpp
@@ -24,9 +24,9 @@
# include "config.h"
#endif
-#include "dialogs/sout.hpp"
-#include "dialogs/convert.hpp"
-#include "components/sout/sout_widgets.hpp"
+#include "dialogs/sout/sout.hpp"
+#include "dialogs/sout/convert.hpp"
+#include "dialogs/sout/sout_widgets.hpp"
#include "util/qt_dirs.hpp"
diff --git a/modules/gui/qt/dialogs/convert.hpp b/modules/gui/qt/dialogs/sout/convert.hpp
similarity index 100%
rename from modules/gui/qt/dialogs/convert.hpp
rename to modules/gui/qt/dialogs/sout/convert.hpp
diff --git a/modules/gui/qt/components/sout/profile_selector.cpp b/modules/gui/qt/dialogs/sout/profile_selector.cpp
similarity index 99%
rename from modules/gui/qt/components/sout/profile_selector.cpp
rename to modules/gui/qt/dialogs/sout/profile_selector.cpp
index a625926c54..6e3d553876 100644
--- a/modules/gui/qt/components/sout/profile_selector.cpp
+++ b/modules/gui/qt/dialogs/sout/profile_selector.cpp
@@ -20,10 +20,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-
-#include "components/sout/profile_selector.hpp"
-#include "components/sout/profiles.hpp"
-#include "dialogs/sout.hpp"
+#include "dialogs/sout/profile_selector.hpp"
+#include "dialogs/sout/profiles.hpp"
+#include "dialogs/sout/sout.hpp"
#include "util/soutchain.hpp"
#include <QHBoxLayout>
diff --git a/modules/gui/qt/components/sout/profile_selector.hpp b/modules/gui/qt/dialogs/sout/profile_selector.hpp
similarity index 98%
rename from modules/gui/qt/components/sout/profile_selector.hpp
rename to modules/gui/qt/dialogs/sout/profile_selector.hpp
index 1a3322511b..d9953656b9 100644
--- a/modules/gui/qt/components/sout/profile_selector.hpp
+++ b/modules/gui/qt/dialogs/sout/profile_selector.hpp
@@ -31,7 +31,7 @@
#include "util/qvlcframe.hpp"
#include "util/soutchain.hpp"
-#include "ui_profiles.h"
+#include "dialogs/sout/ui_profiles.h"
class QComboBox;
diff --git a/modules/gui/qt/components/sout/profiles.hpp b/modules/gui/qt/dialogs/sout/profiles.hpp
similarity index 100%
rename from modules/gui/qt/components/sout/profiles.hpp
rename to modules/gui/qt/dialogs/sout/profiles.hpp
diff --git a/modules/gui/qt/ui/profiles.ui b/modules/gui/qt/dialogs/sout/profiles.ui
similarity index 100%
rename from modules/gui/qt/ui/profiles.ui
rename to modules/gui/qt/dialogs/sout/profiles.ui
diff --git a/modules/gui/qt/dialogs/sout.cpp b/modules/gui/qt/dialogs/sout/sout.cpp
similarity index 98%
rename from modules/gui/qt/dialogs/sout.cpp
rename to modules/gui/qt/dialogs/sout/sout.cpp
index ac09805178..1b00279efe 100644
--- a/modules/gui/qt/dialogs/sout.cpp
+++ b/modules/gui/qt/dialogs/sout/sout.cpp
@@ -26,9 +26,9 @@
# include "config.h"
#endif
-#include "dialogs/sout.hpp"
+#include "dialogs/sout/sout.hpp"
#include "util/qt_dirs.hpp"
-#include "components/sout/sout_widgets.hpp"
+#include "dialogs/sout/sout_widgets.hpp"
#include <QString>
#include <QFileDialog>
@@ -235,4 +235,3 @@ void SoutDialog::updateChain()
ui.mrlEdit->setPlainText( chain );
}
-
diff --git a/modules/gui/qt/dialogs/sout.hpp b/modules/gui/qt/dialogs/sout/sout.hpp
similarity index 98%
rename from modules/gui/qt/dialogs/sout.hpp
rename to modules/gui/qt/dialogs/sout/sout.hpp
index b0c38c2e25..128ce10f29 100644
--- a/modules/gui/qt/dialogs/sout.hpp
+++ b/modules/gui/qt/dialogs/sout/sout.hpp
@@ -29,7 +29,7 @@
#include <vlc_common.h> /* Gettext functions */
-#include "ui_sout.h"
+#include "dialogs/sout/ui_sout.h"
#include "util/qvlcframe.hpp"
#include "util/soutchain.hpp"
diff --git a/modules/gui/qt/ui/sout.ui b/modules/gui/qt/dialogs/sout/sout.ui
similarity index 98%
rename from modules/gui/qt/ui/sout.ui
rename to modules/gui/qt/dialogs/sout/sout.ui
index 4adaf37cae..885eb47342 100644
--- a/modules/gui/qt/ui/sout.ui
+++ b/modules/gui/qt/dialogs/sout/sout.ui
@@ -194,13 +194,13 @@
<customwidget>
<class>VLCProfileSelector</class>
<extends>QWidget</extends>
- <header>components/sout/profile_selector.hpp</header>
+ <header>dialogs/sout/profile_selector.hpp</header>
<container>1</container>
</customwidget>
<customwidget>
<class>SoutInputBox</class>
<extends>QGroupBox</extends>
- <header>components/sout/sout_widgets.hpp</header>
+ <header>dialogs/sout/sout_widgets.hpp</header>
<container>1</container>
</customwidget>
</customwidgets>
diff --git a/modules/gui/qt/components/sout/sout_widgets.cpp b/modules/gui/qt/dialogs/sout/sout_widgets.cpp
similarity index 99%
rename from modules/gui/qt/components/sout/sout_widgets.cpp
rename to modules/gui/qt/dialogs/sout/sout_widgets.cpp
index 50e096c81f..b59d49c4ac 100644
--- a/modules/gui/qt/components/sout/sout_widgets.cpp
+++ b/modules/gui/qt/dialogs/sout/sout_widgets.cpp
@@ -23,8 +23,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#include "components/sout/sout_widgets.hpp"
-#include "dialogs/sout.hpp"
+#include "dialogs/sout/sout_widgets.hpp"
+#include "dialogs/sout/sout.hpp"
#include "util/soutchain.hpp"
#include "util/qt_dirs.hpp"
#include <vlc_intf_strings.h>
@@ -584,4 +584,3 @@ QString ICEDestBox::getMRL( const QString& )
m.end();
return m.to_string();
}
-
diff --git a/modules/gui/qt/components/sout/sout_widgets.hpp b/modules/gui/qt/dialogs/sout/sout_widgets.hpp
similarity index 100%
rename from modules/gui/qt/components/sout/sout_widgets.hpp
rename to modules/gui/qt/dialogs/sout/sout_widgets.hpp
diff --git a/modules/gui/qt/dialogs/toolbareditor.hpp b/modules/gui/qt/dialogs/toolbareditor.hpp
index 58e38449c1..ae81e61851 100644
--- a/modules/gui/qt/dialogs/toolbareditor.hpp
+++ b/modules/gui/qt/dialogs/toolbareditor.hpp
@@ -21,7 +21,7 @@
#include "util/qvlcframe.hpp" /* QVLCDialog */
#include "components/qml_main_context.hpp"
-#include "components/sout/profile_selector.hpp"
+#include "dialogs/sout/profile_selector.hpp"
#include <QAbstractListModel>
#include <QVector>
diff --git a/modules/gui/qt/dialogs/vlm.cpp b/modules/gui/qt/dialogs/vlm.cpp
index bd9742782f..d9e1ab6262 100644
--- a/modules/gui/qt/dialogs/vlm.cpp
+++ b/modules/gui/qt/dialogs/vlm.cpp
@@ -29,7 +29,7 @@
#ifdef ENABLE_VLM
#include "dialogs/vlm.hpp"
#include "dialogs/open.hpp"
-#include "dialogs/sout.hpp"
+#include "dialogs/sout/sout.hpp"
#include "util/qt_dirs.hpp"
#include <QString>
diff --git a/modules/gui/qt/dialogs_provider.cpp b/modules/gui/qt/dialogs_provider.cpp
index 43006e8583..a3f9a9262e 100644
--- a/modules/gui/qt/dialogs_provider.cpp
+++ b/modules/gui/qt/dialogs_provider.cpp
@@ -44,8 +44,8 @@
#include "dialogs/messages.hpp"
#include "dialogs/extended.hpp"
#include "dialogs/vlm.hpp"
-#include "dialogs/sout.hpp"
-#include "dialogs/convert.hpp"
+#include "dialogs/sout/sout.hpp"
+#include "dialogs/sout/convert.hpp"
#include "dialogs/open.hpp"
#include "dialogs/openurl.hpp"
#include "dialogs/help/help.hpp"
diff --git a/po/POTFILES.in b/po/POTFILES.in
index a8e55715a7..e6430e8dde 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -706,15 +706,15 @@ modules/gui/qt/dialogs/preferences/preferences_widgets.cpp
modules/gui/qt/dialogs/preferences/preferences_widgets.hpp
modules/gui/qt/dialogs/preferences/simple_preferences.cpp
modules/gui/qt/dialogs/preferences/simple_preferences.hpp
-modules/gui/qt/components/sout/profile_selector.cpp
-modules/gui/qt/components/sout/profile_selector.hpp
-modules/gui/qt/components/sout/profiles.hpp
-modules/gui/qt/components/sout/sout_widgets.cpp
-modules/gui/qt/components/sout/sout_widgets.hpp
+modules/gui/qt/dialogs/sout/profile_selector.cpp
+modules/gui/qt/dialogs/sout/profile_selector.hpp
+modules/gui/qt/dialogs/sout/profiles.hpp
+modules/gui/qt/dialogs/sout/sout_widgets.cpp
+modules/gui/qt/dialogs/sout/sout_widgets.hpp
modules/gui/qt/dialogs/bookmarks.cpp
modules/gui/qt/dialogs/bookmarks.hpp
-modules/gui/qt/dialogs/convert.cpp
-modules/gui/qt/dialogs/convert.hpp
+modules/gui/qt/dialogs/sout/convert.cpp
+modules/gui/qt/dialogs/sout/convert.hpp
modules/gui/qt/dialogs/epg/epg.cpp
modules/gui/qt/dialogs/epg/epg.hpp
modules/gui/qt/dialogs/errors.cpp
@@ -745,8 +745,8 @@ modules/gui/qt/dialogs/podcast_configuration.cpp
modules/gui/qt/dialogs/podcast_configuration.hpp
modules/gui/qt/dialogs/preferences/preferences.cpp
modules/gui/qt/dialogs/preferences/preferences.hpp
-modules/gui/qt/dialogs/sout.cpp
-modules/gui/qt/dialogs/sout.hpp
+modules/gui/qt/dialogs/sout/sout.cpp
+modules/gui/qt/dialogs/sout/sout.hpp
modules/gui/qt/dialogs/toolbar.cpp
modules/gui/qt/dialogs/toolbar.hpp
modules/gui/qt/dialogs/vlm.cpp
@@ -1284,8 +1284,8 @@ share/lua/http/mobile_view.html
#modules/gui/qt/ui/ui_open_file.h
#modules/gui/qt/ui/ui_open_net.h
#modules/gui/qt/ui/ui_podcast_configuration.h
-#modules/gui/qt/ui/ui_profiles.h
-#modules/gui/qt/ui/ui_sout.h
+#modules/gui/qt/dialogs/sout/ui_profiles.h
+#modules/gui/qt/dialogs/sout/ui_sout.h
#modules/gui/qt/dialogs/preferences/ui_sprefs_audio.h
#modules/gui/qt/dialogs/preferences/ui_sprefs_input.h
#modules/gui/qt/dialogs/preferences/ui_sprefs_interface.h
More information about the vlc-commits
mailing list