00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _PLAYLIST_DIALOG_H_
00025 #define _PLAYLIST_DIALOG_H_
00026
00027 #include "util/qvlcframe.hpp"
00028 #include "../components/playlist/playlist.hpp"
00029
00030 #include <QModelIndex>
00031
00032 class QSignalMapper;
00033 class PLSelector;
00034 class PLPanel;
00035 class QSettings;
00036
00037 class PlaylistDialog : public QVLCMW
00038 {
00039 Q_OBJECT;
00040 private:
00041 PlaylistWidget *playlistWidget;
00042
00043 public:
00044 static PlaylistDialog * getInstance( intf_thread_t *p_intf )
00045 {
00046 if( !instance) instance = new PlaylistDialog( p_intf );
00047 return instance;
00048 }
00049 static void killInstance()
00050 {
00051 if( instance ) delete instance;
00052 instance = NULL;
00053 }
00054 virtual ~PlaylistDialog();
00055 private:
00056 PlaylistDialog( intf_thread_t * );
00057
00058 void dropEvent( QDropEvent *);
00059 void dragEnterEvent( QDragEnterEvent * );
00060 void dragMoveEvent( QDragMoveEvent * );
00061 void dragLeaveEvent( QDragLeaveEvent * );
00062
00063 static PlaylistDialog *instance;
00064 };
00065
00066
00067 #endif