]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/playlist.hpp
Qt4 - Fix the non-updating MediaInfo bug, introduced by my mistake.
[vlc] / modules / gui / qt4 / dialogs / playlist.hpp
index a0feee71c7c4920dbd5a7f0a4c2332f8af85a66a..2f0724ef7b11336c4e47c273e07c6bbff2fb1da6 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
  * playlist.hpp: Playlist dialog
  ****************************************************************************
- * Copyright (C) 2000-2005 the VideoLAN team
- * $Id: wxwidgets.cpp 15731 2006-05-25 14:43:53Z zorglub $
+ * Copyright (C) 2006 the VideoLAN team
+ * $Id$
  *
  * Authors: ClĂ©ment Stenac <zorglub@videolan.org>
  *
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
 
 #ifndef _PLAYLIST_DIALOG_H_
 #define _PLAYLIST_DIALOG_H_
 
 #include "util/qvlcframe.hpp"
 
-class PlaylistDialog : public QVLCFrame
+#include <QModelIndex>
+
+class QSignalMapper;
+class PLSelector;
+class PLPanel;
+
+class PlaylistDialog : public QVLCMW
 {
     Q_OBJECT;
 public:
@@ -34,11 +41,28 @@ public:
         if( !instance) instance = new PlaylistDialog( p_intf );
         return instance;
     }
+    static void killInstance()
+    {
+        if( instance ) delete instance;
+        instance = NULL;
+    }
     virtual ~PlaylistDialog();
 private:
+
+    void createPlMenuBar( QMenuBar *bar, intf_thread_t *p_intf );
     PlaylistDialog( intf_thread_t * );
+
+    void dropEvent( QDropEvent *);
+    void dragEnterEvent( QDragEnterEvent * );
+    void dragMoveEvent( QDragMoveEvent * );
+    void dragLeaveEvent( QDragLeaveEvent * );
+
     static PlaylistDialog *instance;
-public slots:
+
+    PLSelector *selector;
+    PLPanel *rightPanel;
+private slots:
+    void dock();
 };