63
67
setSelectionMode(QAbstractItemView::ExtendedSelection);
64
68
setSelectionBehavior(QAbstractItemView::SelectRows);
67
connect(this,SIGNAL(wantToRemove(bt::TorrentInterface*,bool )),core,SLOT(remove(bt::TorrentInterface*,bool )));
68
connect(this,SIGNAL(wantToStart( QList<bt::TorrentInterface*> & )),core,SLOT(start( QList<bt::TorrentInterface*> & )));
69
connect(this,SIGNAL(wantToStop( bt::TorrentInterface*, bool )),core,SLOT(stop( bt::TorrentInterface*, bool )));
70
73
connect(this,SIGNAL(customContextMenuRequested(const QPoint & ) ),this,SLOT(showMenu( const QPoint& )));
72
75
header()->setContextMenuPolicy(Qt::CustomContextMenu);