[vlc-commits] Qt: Set popup entries logic into models, and keep interaction outside.

Francois Cartegnie git at videolan.org
Sun Aug 18 15:26:07 CEST 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Sep 11 15:38:25 2012 +0200| [ca08ed0ece6fe1a2762a2f3e024f6036df2ae3d7] | committer: Francois Cartegnie

Qt: Set popup entries logic into models, and keep interaction outside.

- popup now created according to the selected items and models.
- fixes view/popup model abstraction.
- allows introducing new methods/models.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ca08ed0ece6fe1a2762a2f3e024f6036df2ae3d7
---

 modules/gui/qt4/components/playlist/ml_model.cpp   |  108 ++++++--
 modules/gui/qt4/components/playlist/ml_model.hpp   |    8 +-
 .../gui/qt4/components/playlist/playlist_model.cpp |  140 ++++++++--
 .../gui/qt4/components/playlist/playlist_model.hpp |   35 +--
 .../gui/qt4/components/playlist/standardpanel.cpp  |  283 +++++++++++---------
 .../gui/qt4/components/playlist/standardpanel.hpp  |    5 -
 modules/gui/qt4/components/playlist/vlc_model.hpp  |   52 ++--
 modules/gui/qt4/dialogs/open.cpp                   |    9 +
 modules/gui/qt4/dialogs/open.hpp                   |    2 +
 modules/gui/qt4/dialogs_provider.cpp               |   42 +--
 modules/gui/qt4/dialogs_provider.hpp               |    4 +-
 11 files changed, 458 insertions(+), 230 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=ca08ed0ece6fe1a2762a2f3e024f6036df2ae3d7


More information about the vlc-commits mailing list