Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
dec229cd
Commit
dec229cd
authored
Aug 22, 2013
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: media library disambiguation.
If we need to axe something more...
parent
0106a8b6
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
18 additions
and
18 deletions
+18
-18
modules/gui/qt4/components/playlist/ml_item.cpp
modules/gui/qt4/components/playlist/ml_item.cpp
+2
-2
modules/gui/qt4/components/playlist/ml_item.hpp
modules/gui/qt4/components/playlist/ml_item.hpp
+2
-2
modules/gui/qt4/components/playlist/ml_model.cpp
modules/gui/qt4/components/playlist/ml_model.cpp
+2
-2
modules/gui/qt4/components/playlist/ml_model.hpp
modules/gui/qt4/components/playlist/ml_model.hpp
+2
-2
modules/gui/qt4/components/playlist/playlist.cpp
modules/gui/qt4/components/playlist/playlist.cpp
+1
-1
modules/gui/qt4/components/playlist/selector.cpp
modules/gui/qt4/components/playlist/selector.cpp
+2
-2
modules/gui/qt4/components/playlist/standardpanel.cpp
modules/gui/qt4/components/playlist/standardpanel.cpp
+1
-1
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+2
-2
modules/gui/qt4/dialogs/ml_configuration.cpp
modules/gui/qt4/dialogs/ml_configuration.cpp
+2
-2
modules/gui/qt4/dialogs/ml_configuration.hpp
modules/gui/qt4/dialogs/ml_configuration.hpp
+2
-2
No files found.
modules/gui/qt4/components/playlist/ml_item.cpp
View file @
dec229cd
/*****************************************************************************
* ml_item.cpp: the media library's result item
* ml_item.cpp: the
SQL
media library's result item
*****************************************************************************
* Copyright (C) 2008-2011 the VideoLAN Team and AUTHORS
* $Id$
...
...
@@ -29,7 +29,7 @@
# include <config.h>
#endif
#ifdef MEDIA_LIBRARY
#ifdef
SQL_
MEDIA_LIBRARY
#include <QDateTime>
#include <QUrl>
...
...
modules/gui/qt4/components/playlist/ml_item.hpp
View file @
dec229cd
/*****************************************************************************
* ml_item.hpp: the media library's result item
* ml_item.hpp: the
SQL
media library's result item
*****************************************************************************
* Copyright (C) 2008-2011 the VideoLAN Team and AUTHORS
* $Id$
...
...
@@ -32,7 +32,7 @@
# include <config.h>
#endif
#ifdef MEDIA_LIBRARY
#ifdef
SQL_
MEDIA_LIBRARY
#include <vlc_common.h>
#include <vlc_interface.h>
...
...
modules/gui/qt4/components/playlist/ml_model.cpp
View file @
dec229cd
/*****************************************************************************
* ml_model.cpp: the media library's model
* ml_model.cpp: the
SQL
media library's model
*****************************************************************************
* Copyright (C) 2008-2011 the VideoLAN Team and AUTHORS
* $Id$
...
...
@@ -29,7 +29,7 @@
# include <config.h>
#endif
#ifdef MEDIA_LIBRARY
#ifdef
SQL_
MEDIA_LIBRARY
#include <QUrl>
#include <QMenu>
...
...
modules/gui/qt4/components/playlist/ml_model.hpp
View file @
dec229cd
/*****************************************************************************
* ml_model.hpp ML model
* ml_model.hpp
SQL
ML model
*****************************************************************************
* Copyright (C) 2008-2011 the VideoLAN Team and AUTHORS
* $Id$
...
...
@@ -32,7 +32,7 @@
# include <config.h>
#endif
#ifdef MEDIA_LIBRARY
#ifdef
SQL_
MEDIA_LIBRARY
#include <vlc_common.h>
#include <vlc_interface.h>
#include <vlc_media_library.h>
...
...
modules/gui/qt4/components/playlist/playlist.cpp
View file @
dec229cd
...
...
@@ -100,7 +100,7 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
model
->
setModel
(
VLCProxyModel
::
PL_MODEL
,
plmodel
);
model
->
switchToModel
(
VLCProxyModel
::
PL_MODEL
);
#ifdef MEDIA_LIBRARY
#ifdef
SQL_
MEDIA_LIBRARY
MLModel
*
mlmodel
=
new
MLModel
(
p_intf
,
model
);
model
->
setModel
(
VLCProxyModel
::
SQLML_MODEL
,
mlmodel
);
#endif
...
...
modules/gui/qt4/components/playlist/selector.cpp
View file @
dec229cd
...
...
@@ -240,7 +240,7 @@ void PLSelector::createItems()
ml
->
treeItem
()
->
setData
(
0
,
SPECIAL_ROLE
,
QVariant
(
IS_ML
)
);
ml
->
treeItem
()
->
setData
(
0
,
Qt
::
DecorationRole
,
QIcon
(
":/sidebar/library"
)
);
#ifdef MEDIA_LIBRARY
#ifdef
SQL_
MEDIA_LIBRARY
/* SQL ML */
ml
=
addItem
(
SQL_ML_TYPE
,
"SQL Media Library"
)
->
treeItem
();
ml
->
treeItem
()
->
setData
(
0
,
Qt
::
DecorationRole
,
QIcon
(
":/sidebar/library"
)
);
...
...
@@ -377,7 +377,7 @@ void PLSelector::setSource( QTreeWidgetItem *item )
item
->
setData
(
0
,
CAP_SEARCH_ROLE
,
true
);
}
}
#ifdef MEDIA_LIBRARY
#ifdef
SQL_
MEDIA_LIBRARY
else
if
(
i_type
==
SQL_ML_TYPE
)
{
emit
categoryActivated
(
NULL
,
true
);
...
...
modules/gui/qt4/components/playlist/standardpanel.cpp
View file @
dec229cd
...
...
@@ -454,7 +454,7 @@ void StandardPLPanel::searchDelayed( const QString& searchText )
/* This activated by the selector selection */
void
StandardPLPanel
::
setRootItem
(
playlist_item_t
*
p_item
,
bool
b
)
{
#ifdef MEDIA_LIBRARY
#ifdef
SQL_
MEDIA_LIBRARY
if
(
b
)
{
msg_Dbg
(
p_intf
,
"Setting the SQL ML"
);
...
...
modules/gui/qt4/components/simple_preferences.cpp
View file @
dec229cd
...
...
@@ -568,7 +568,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
#else
ui
.
osGroupBox
->
hide
();
#endif
#ifdef MEDIA_LIBRARY
#ifdef
SQL_
MEDIA_LIBRARY
BUTTONACT
(
ui
.
sqlMLbtn
,
configML
()
);
#else
ui
.
sqlMLbtn
->
hide
();
...
...
@@ -986,7 +986,7 @@ void SPrefsPanel::changeStyle( QString s_style )
void
SPrefsPanel
::
configML
()
{
#ifdef MEDIA_LIBRARY
#ifdef
SQL_
MEDIA_LIBRARY
MLConfDialog
*
mld
=
new
MLConfDialog
(
this
,
p_intf
);
mld
->
exec
();
delete
mld
;
...
...
modules/gui/qt4/dialogs/ml_configuration.cpp
View file @
dec229cd
/*****************************************************************************
* ml_configuration.cpp: ML's configuration dialog (folder view)
* ml_configuration.cpp:
SQL
ML's configuration dialog (folder view)
*****************************************************************************
* Copyright (C) 2008-2010 the VideoLAN Team and AUTHORS
* $Id$
...
...
@@ -28,7 +28,7 @@
# include <config.h>
#endif
#ifdef MEDIA_LIBRARY
#ifdef
SQL_
MEDIA_LIBRARY
#include "ml_configuration.hpp"
...
...
modules/gui/qt4/dialogs/ml_configuration.hpp
View file @
dec229cd
/*****************************************************************************
* ml_configuration.hpp: ML's configuration dialog (folder view)
* ml_configuration.hpp:
SQL
ML's configuration dialog (folder view)
*****************************************************************************
* Copyright (C) 2008-2010 the VideoLAN Team and AUTHORS
* $Id$
...
...
@@ -32,7 +32,7 @@
# include <config.h>
#endif
#ifdef MEDIA_LIBRARY
#ifdef
SQL_
MEDIA_LIBRARY
#include <vlc_common.h>
#include <vlc_media_library.h>
...
...
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