Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
639eca0e
Commit
639eca0e
authored
Oct 20, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: rename playlist root* functions and getters for clarity
parent
139cf222
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
modules/gui/qt4/components/playlist/playlist.cpp
modules/gui/qt4/components/playlist/playlist.cpp
+2
-2
modules/gui/qt4/components/playlist/playlist_model.cpp
modules/gui/qt4/components/playlist/playlist_model.cpp
+1
-1
modules/gui/qt4/components/playlist/playlist_model.hpp
modules/gui/qt4/components/playlist/playlist_model.hpp
+1
-1
modules/gui/qt4/components/playlist/standardpanel.cpp
modules/gui/qt4/components/playlist/standardpanel.cpp
+3
-3
modules/gui/qt4/components/playlist/standardpanel.hpp
modules/gui/qt4/components/playlist/standardpanel.hpp
+1
-1
No files found.
modules/gui/qt4/components/playlist/playlist.cpp
View file @
639eca0e
...
@@ -159,8 +159,8 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
...
@@ -159,8 +159,8 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
/* Connect the activation of the selector to a redefining of the PL */
/* Connect the activation of the selector to a redefining of the PL */
DCONNECT
(
selector
,
categoryActivated
(
playlist_item_t
*
,
bool
),
DCONNECT
(
selector
,
categoryActivated
(
playlist_item_t
*
,
bool
),
mainView
,
setRoot
(
playlist_item_t
*
,
bool
)
);
mainView
,
setRoot
Item
(
playlist_item_t
*
,
bool
)
);
mainView
->
setRoot
(
p_root
,
false
);
mainView
->
setRoot
Item
(
p_root
,
false
);
/* */
/* */
split
=
new
PlaylistSplitter
(
this
);
split
=
new
PlaylistSplitter
(
this
);
...
...
modules/gui/qt4/components/playlist/playlist_model.cpp
View file @
639eca0e
...
@@ -676,7 +676,7 @@ void PLModel::rebuild( playlist_item_t *p_root )
...
@@ -676,7 +676,7 @@ void PLModel::rebuild( playlist_item_t *p_root )
/* And signal the view */
/* And signal the view */
reset
();
reset
();
if
(
p_root
)
emit
rootChanged
();
if
(
p_root
)
emit
root
Index
Changed
();
}
}
void
PLModel
::
takeItem
(
PLItem
*
item
)
void
PLModel
::
takeItem
(
PLItem
*
item
)
...
...
modules/gui/qt4/components/playlist/playlist_model.hpp
View file @
639eca0e
...
@@ -116,7 +116,7 @@ public:
...
@@ -116,7 +116,7 @@ public:
signals:
signals:
void
currentIndexChanged
(
const
QModelIndex
&
);
void
currentIndexChanged
(
const
QModelIndex
&
);
void
rootChanged
();
void
root
Index
Changed
();
public
slots
:
public
slots
:
virtual
void
activateItem
(
const
QModelIndex
&
index
);
virtual
void
activateItem
(
const
QModelIndex
&
index
);
...
...
modules/gui/qt4/components/playlist/standardpanel.cpp
View file @
639eca0e
...
@@ -84,9 +84,9 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
...
@@ -84,9 +84,9 @@ StandardPLPanel::StandardPLPanel( PlaylistWidget *_parent,
CONNECT
(
model
,
currentIndexChanged
(
const
QModelIndex
&
),
CONNECT
(
model
,
currentIndexChanged
(
const
QModelIndex
&
),
this
,
handleExpansion
(
const
QModelIndex
&
)
);
this
,
handleExpansion
(
const
QModelIndex
&
)
);
CONNECT
(
model
,
rootChanged
(),
this
,
browseInto
()
);
CONNECT
(
model
,
root
Index
Changed
(),
this
,
browseInto
()
);
setRoot
(
p_root
,
false
);
setRoot
Item
(
p_root
,
false
);
}
}
StandardPLPanel
::~
StandardPLPanel
()
StandardPLPanel
::~
StandardPLPanel
()
...
@@ -179,7 +179,7 @@ void StandardPLPanel::searchDelayed( const QString& searchText )
...
@@ -179,7 +179,7 @@ void StandardPLPanel::searchDelayed( const QString& searchText )
/* Set the root of the new Playlist */
/* Set the root of the new Playlist */
/* This activated by the selector selection */
/* This activated by the selector selection */
void
StandardPLPanel
::
setRoot
(
playlist_item_t
*
p_item
,
bool
b
)
void
StandardPLPanel
::
setRoot
Item
(
playlist_item_t
*
p_item
,
bool
b
)
{
{
#ifdef MEDIA_LIBRARY
#ifdef MEDIA_LIBRARY
if
(
b
)
if
(
b
)
...
...
modules/gui/qt4/components/playlist/standardpanel.hpp
View file @
639eca0e
...
@@ -102,7 +102,7 @@ private:
...
@@ -102,7 +102,7 @@ private:
bool
eventFilter
(
QObject
*
watched
,
QEvent
*
event
);
bool
eventFilter
(
QObject
*
watched
,
QEvent
*
event
);
public
slots
:
public
slots
:
void
setRoot
(
playlist_item_t
*
,
bool
);
void
setRoot
Item
(
playlist_item_t
*
,
bool
);
void
browseInto
(
const
QModelIndex
&
);
void
browseInto
(
const
QModelIndex
&
);
private
slots
:
private
slots
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment