X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fqt4%2Fcomponents%2Fplaylist%2Fstandardpanel.cpp;h=e78ce43ac6269a2f13729963564d58fb9e1426cb;hb=897144d1e6d04da5f454fee57f8947aeae1523ae;hp=90a32d79ec57e37f515801d1a7ff1e69f46e5407;hpb=cd3849e8f041322bed74dce1d9866b16f3f178bd;p=vlc diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp index 90a32d79ec..e78ce43ac6 100644 --- a/modules/gui/qt4/components/playlist/standardpanel.cpp +++ b/modules/gui/qt4/components/playlist/standardpanel.cpp @@ -21,21 +21,23 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ +#include "qt4.hpp" #include "playlist_model.hpp" #include "components/playlist/panels.hpp" +#include "util/customwidgets.hpp" + #include #include #include #include #include #include -#include "qt4.hpp" -#include #include #include #include #include -#include "util/customwidgets.hpp" + +#include StandardPLPanel::StandardPLPanel( QWidget *_parent, intf_thread_t *_p_intf, playlist_t *p_playlist, @@ -52,15 +54,12 @@ StandardPLPanel::StandardPLPanel( QWidget *_parent, intf_thread_t *_p_intf, view->header()->setClickable( true ); view->setSelectionMode( QAbstractItemView::ExtendedSelection ); - connect( view, SIGNAL( activated( const QModelIndex& ) ), model, - SLOT( activateItem( const QModelIndex& ) ) ); - - connect( view, SIGNAL( rightClicked( QModelIndex , QPoint ) ), - this, SLOT( doPopup( QModelIndex, QPoint ) ) ); - - connect( model, - SIGNAL( dataChanged( const QModelIndex&, const QModelIndex& ) ), - this, SLOT( handleExpansion( const QModelIndex& ) ) ); + CONNECT( view, activated( const QModelIndex& ) , + model,activateItem( const QModelIndex& ) ); + CONNECT( view, rightClicked( QModelIndex , QPoint ), + this, doPopup( QModelIndex, QPoint ) ); + CONNECT( model, dataChanged( const QModelIndex&, const QModelIndex& ), + this, handleExpansion( const QModelIndex& ) ); QVBoxLayout *layout = new QVBoxLayout(); layout->setSpacing( 0 ); layout->setMargin( 0 );