[vlc-commits] Qt: EPG: rework

Francois Cartegnie git at videolan.org
Wed Mar 23 22:10:57 CET 2011


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Mar 23 18:09:30 2011 +0100| [900dfedad467de5a5966a8ec307ca278dbc91df4] | committer: Francois Cartegnie

Qt: EPG: rework

- Change data structures to deduplicate data.
Using the right structures, most data is available in dictionaries keys
and items. (epgevent now unused)
- Use signals and slots to manage QMap indexed channels
(widget storage were required for channel list et number)
- Removes EPGEvent memory leak on focus notification

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

 modules/gui/qt4/components/epg/EPGChannels.cpp |   23 ++-
 modules/gui/qt4/components/epg/EPGChannels.hpp |    4 +-
 modules/gui/qt4/components/epg/EPGItem.cpp     |   80 +++++---
 modules/gui/qt4/components/epg/EPGItem.hpp     |   24 ++-
 modules/gui/qt4/components/epg/EPGView.cpp     |  233 +++++++++++++++++-------
 modules/gui/qt4/components/epg/EPGView.hpp     |   31 +++-
 modules/gui/qt4/components/epg/EPGWidget.cpp   |  114 +-----------
 modules/gui/qt4/components/epg/EPGWidget.hpp   |    8 +-
 modules/gui/qt4/dialogs/epg.cpp                |   31 +--
 modules/gui/qt4/dialogs/epg.hpp                |    4 +-
 10 files changed, 300 insertions(+), 252 deletions(-)

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


More information about the vlc-commits mailing list