00001 /***************************************************************************** 00002 * playlist.hpp: Playlist dialog 00003 **************************************************************************** 00004 * Copyright (C) 2006 the VideoLAN team 00005 * $Id: 9b0c63f2f87900b014fd9e35d3c7f6eeb212a449 $ 00006 * 00007 * Authors: Clément Stenac <zorglub@videolan.org> 00008 * 00009 * This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 00022 *****************************************************************************/ 00023 00024 #ifndef QVLC_PLAYLIST_DIALOG_H_ 00025 #define QVLC_PLAYLIST_DIALOG_H_ 1 00026 00027 #include "util/qvlcframe.hpp" 00028 #include "../components/playlist/playlist.hpp" 00029 #include "util/singleton.hpp" 00030 00031 #include <QModelIndex> 00032 00033 class QSignalMapper; 00034 class PLSelector; 00035 class PLPanel; 00036 class QSettings; 00037 00038 class PlaylistDialog : public QVLCMW, public Singleton<PlaylistDialog> 00039 { 00040 Q_OBJECT 00041 private: 00042 PlaylistWidget *playlistWidget; 00043 00044 private: 00045 PlaylistDialog( intf_thread_t * ); 00046 virtual ~PlaylistDialog(); 00047 00048 void dropEvent( QDropEvent *); 00049 void dragEnterEvent( QDragEnterEvent * ); 00050 void dragMoveEvent( QDragMoveEvent * ); 00051 void dragLeaveEvent( QDragLeaveEvent * ); 00052 00053 friend class Singleton<PlaylistDialog>; 00054 }; 00055 00056 00057 #endif
1.5.6