Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
dee8d5f4
Commit
dee8d5f4
authored
Feb 10, 2010
by
Jakob Leben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: PLModel::removeItem( int ) is not for public usage
parent
74d4a589
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
7 deletions
+1
-7
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
+0
-5
modules/gui/qt4/components/playlist/standardpanel.hpp
modules/gui/qt4/components/playlist/standardpanel.hpp
+0
-1
No files found.
modules/gui/qt4/components/playlist/playlist_model.hpp
View file @
dee8d5f4
...
@@ -97,7 +97,6 @@ public:
...
@@ -97,7 +97,6 @@ public:
void
search
(
const
QString
&
search_text
);
void
search
(
const
QString
&
search_text
);
void
sort
(
int
column
,
Qt
::
SortOrder
order
);
void
sort
(
int
column
,
Qt
::
SortOrder
order
);
void
sort
(
int
i_root_id
,
int
column
,
Qt
::
SortOrder
order
);
void
sort
(
int
i_root_id
,
int
column
,
Qt
::
SortOrder
order
);
void
removeItem
(
int
);
void
rebuild
();
void
rebuild
(
playlist_item_t
*
,
bool
b_first
=
false
);
void
rebuild
();
void
rebuild
(
playlist_item_t
*
,
bool
b_first
=
false
);
inline
PLItem
*
getItem
(
QModelIndex
index
)
const
inline
PLItem
*
getItem
(
QModelIndex
index
)
const
...
@@ -122,6 +121,7 @@ private:
...
@@ -122,6 +121,7 @@ private:
void
recurseDelete
(
QList
<
PLItem
*>
children
,
QModelIndexList
*
fullList
);
void
recurseDelete
(
QList
<
PLItem
*>
children
,
QModelIndexList
*
fullList
);
void
updateTreeItem
(
PLItem
*
);
void
updateTreeItem
(
PLItem
*
);
void
removeItem
(
PLItem
*
);
void
removeItem
(
PLItem
*
);
void
removeItem
(
int
);
void
takeItem
(
PLItem
*
);
//will not delete item
void
takeItem
(
PLItem
*
);
//will not delete item
void
insertChildren
(
PLItem
*
node
,
QList
<
PLItem
*>&
items
,
int
i_pos
);
void
insertChildren
(
PLItem
*
node
,
QList
<
PLItem
*>&
items
,
int
i_pos
);
void
dropAppendCopy
(
QByteArray
&
data
,
PLItem
*
target
);
void
dropAppendCopy
(
QByteArray
&
data
,
PLItem
*
target
);
...
...
modules/gui/qt4/components/playlist/standardpanel.cpp
View file @
dee8d5f4
...
@@ -261,11 +261,6 @@ void StandardPLPanel::setRoot( playlist_item_t *p_item )
...
@@ -261,11 +261,6 @@ void StandardPLPanel::setRoot( playlist_item_t *p_item )
model
->
rebuild
(
p_item
);
model
->
rebuild
(
p_item
);
}
}
void
StandardPLPanel
::
removeItem
(
int
i_id
)
{
model
->
removeItem
(
i_id
);
}
/* Delete and Suppr key remove the selection
/* Delete and Suppr key remove the selection
FilterKey function and code function */
FilterKey function and code function */
void
StandardPLPanel
::
keyPressEvent
(
QKeyEvent
*
e
)
void
StandardPLPanel
::
keyPressEvent
(
QKeyEvent
*
e
)
...
...
modules/gui/qt4/components/playlist/standardpanel.hpp
View file @
dee8d5f4
...
@@ -93,7 +93,6 @@ private:
...
@@ -93,7 +93,6 @@ private:
void
createIconView
();
void
createIconView
();
public
slots
:
public
slots
:
void
removeItem
(
int
);
virtual
void
setRoot
(
playlist_item_t
*
);
virtual
void
setRoot
(
playlist_item_t
*
);
private
slots
:
private
slots
:
void
deleteSelection
();
void
deleteSelection
();
...
...
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