[vlc-devel] [PATCH 14/55] qml: rename PLItem.qml to PlaylistDelegate.qml
Fatih Uzunoglu
fuzun54 at outlook.com
Thu Jan 7 21:36:27 UTC 2021
This makes Playlist directory naming more consistent. It also prevents confusion with the PlaylistItem class in backend.
---
modules/gui/qt/Makefile.am | 2 +-
.../gui/qt/playlist/qml/{PLItem.qml => PlaylistDelegate.qml} | 0
modules/gui/qt/playlist/qml/PlaylistListView.qml | 2 +-
modules/gui/qt/vlc.qrc | 2 +-
po/POTFILES.in | 2 +-
5 files changed, 4 insertions(+), 4 deletions(-)
rename modules/gui/qt/playlist/qml/{PLItem.qml => PlaylistDelegate.qml} (100%)
diff --git a/modules/gui/qt/Makefile.am b/modules/gui/qt/Makefile.am
index 3f5d7cd419..c3c80515b4 100644
--- a/modules/gui/qt/Makefile.am
+++ b/modules/gui/qt/Makefile.am
@@ -678,7 +678,7 @@ libqt_plugin_la_QML = \
gui/qt/player/qml/TrackInfo.qml \
gui/qt/player/qml/VolumeWidget.qml \
gui/qt/player/qml/ButtonsLayout.qml \
- gui/qt/playlist/qml/PLItem.qml \
+ gui/qt/playlist/qml/PlaylistDelegate.qml \
gui/qt/playlist/qml/PlaylistDroppable.qml \
gui/qt/playlist/qml/PlaylistListView.qml \
gui/qt/playlist/qml/PlaylistOverlayMenu.qml \
diff --git a/modules/gui/qt/playlist/qml/PLItem.qml b/modules/gui/qt/playlist/qml/PlaylistDelegate.qml
similarity index 100%
rename from modules/gui/qt/playlist/qml/PLItem.qml
rename to modules/gui/qt/playlist/qml/PlaylistDelegate.qml
diff --git a/modules/gui/qt/playlist/qml/PlaylistListView.qml b/modules/gui/qt/playlist/qml/PlaylistListView.qml
index fc0e8ecea0..136b13b6f5 100644
--- a/modules/gui/qt/playlist/qml/PlaylistListView.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistListView.qml
@@ -340,7 +340,7 @@ Widgets.NavigableFocusScope {
}
}
- PLItem {
+ PlaylistDelegate {
/*
* implicit variables:
* - model: gives access to the values associated to PlaylistListModel roles
diff --git a/modules/gui/qt/vlc.qrc b/modules/gui/qt/vlc.qrc
index eee7cb049a..b1b99148ca 100644
--- a/modules/gui/qt/vlc.qrc
+++ b/modules/gui/qt/vlc.qrc
@@ -289,7 +289,7 @@
<file alias="VLCIcons.qml">style/VLCIcons.qml</file>
</qresource>
<qresource prefix="/playlist">
- <file alias="PLItem.qml">playlist/qml/PLItem.qml</file>
+ <file alias="PlaylistDelegate.qml">playlist/qml/PlaylistDelegate.qml</file>
<file alias="PlaylistDroppable.qml">playlist/qml/PlaylistDroppable.qml</file>
<file alias="PlaylistListView.qml">playlist/qml/PlaylistListView.qml</file>
<file alias="PlaylistOverlayMenu.qml">playlist/qml/PlaylistOverlayMenu.qml</file>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d39a436aff..f4fd54e526 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -833,7 +833,7 @@ modules/gui/qt/player/qml/ResumeDialog.qml
modules/gui/qt/player/qml/TeletextWidget.qml
modules/gui/qt/player/qml/TopBar.qml
modules/gui/qt/player/qml/VolumeWidget.qml
-modules/gui/qt/playlist/qml/PLItem.qml
+modules/gui/qt/playlist/qml/PlaylistDelegate.qml
modules/gui/qt/playlist/qml/PlaylistDetachedWindow.qml
modules/gui/qt/playlist/qml/PlaylistListView.qml
modules/gui/qt/playlist/qml/PlaylistToolbar.qml
--
2.27.0
More information about the vlc-devel
mailing list