]> git.sesse.net Git - vlc/commitdiff
Qt: publicize getItem() in the model
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 24 Jan 2010 18:49:02 +0000 (19:49 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 24 Jan 2010 21:05:03 +0000 (22:05 +0100)
modules/gui/qt4/components/playlist/playlist_model.hpp

index cade3379b8f31f4d2c65b5c58f6f2465fd41a7cd..def5ce6e9085a7b5bb96d9eb2833b07c0b2c4706 100644 (file)
@@ -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;