[vlc-devel] commit: Qt: publicize getItem() in the model (Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Jan 24 22:05:22 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jan 24 19:49:02 2010 +0100| [dc1fd8f52fde9b20144a4026d0a6e0ecccf901b3] | committer: Jean-Baptiste Kempf 

Qt: publicize getItem() in the model

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

 .../gui/qt4/components/playlist/playlist_model.hpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/playlist_model.hpp b/modules/gui/qt4/components/playlist/playlist_model.hpp
index cade337..def5ce6 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.hpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.hpp
@@ -95,6 +95,8 @@ public:
     void removeItem( int );
     void rebuild(); void rebuild( playlist_item_t *, bool b_first = false );
 
+    static inline PLItem *getItem( QModelIndex index );
+
 private:
 
     /* General */
@@ -128,7 +130,7 @@ private:
     PLItem *findById( PLItem *, int );
     PLItem *findByInput( PLItem *, int );
     PLItem *findInner( PLItem *, int , bool );
-    static inline PLItem *getItem( QModelIndex index );
+
     int columnFromMeta( int meta_column ) const;
     int columnToMeta( int column ) const;
     bool canEdit() const;




More information about the vlc-devel mailing list