X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fqt4%2Fdialogs%2Fplaylist.hpp;h=3516c051f25e1ed977e15ea61c20d4fa8ecfa092;hb=c94d62d29ecfc4cad4b943d1720f5ee9ddad2fed;hp=c2ef45a2979f2e7b70787a459993b6888bb632bb;hpb=7f994b8bf2877fba00ef1c24a5c7e7ad998a75a5;p=vlc diff --git a/modules/gui/qt4/dialogs/playlist.hpp b/modules/gui/qt4/dialogs/playlist.hpp index c2ef45a297..3516c051f2 100644 --- a/modules/gui/qt4/dialogs/playlist.hpp +++ b/modules/gui/qt4/dialogs/playlist.hpp @@ -18,21 +18,28 @@ * * 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 #include "util/qvlcframe.hpp" +#include "../components/playlist/playlist.hpp" + +#include class QSignalMapper; class PLSelector; class PLPanel; +class QSettings; class PlaylistDialog : public QVLCMW { Q_OBJECT; +private: + PlaylistWidget *playlistWidget; + public: static PlaylistDialog * getInstance( intf_thread_t *p_intf ) { @@ -46,15 +53,14 @@ public: } virtual ~PlaylistDialog(); private: - - void createPlMenuBar( QMenuBar *bar, intf_thread_t *p_intf ); PlaylistDialog( intf_thread_t * ); - static PlaylistDialog *instance; - PLSelector *selector; - PLPanel *rightPanel; -private slots: - void dock(); + void dropEvent( QDropEvent *); + void dragEnterEvent( QDragEnterEvent * ); + void dragMoveEvent( QDragMoveEvent * ); + void dragLeaveEvent( QDragLeaveEvent * ); + + static PlaylistDialog *instance; };