forked from len0rd/rockbox
rbutil: Modernize connect() calls.
Auto fixed by clazy. Change-Id: Ib7cce8c0a85f8f915263980bf5d2508a4b19bbe3
This commit is contained in:
parent
dce2ccdd96
commit
6ff75b475c
13 changed files with 109 additions and 110 deletions
|
@ -24,17 +24,17 @@ UninstallWindow::UninstallWindow(QWidget *parent) : QDialog(parent)
|
|||
{
|
||||
ui.setupUi(this);
|
||||
ui.UninstalllistWidget->setAlternatingRowColors(true);
|
||||
connect(ui.UninstalllistWidget,SIGNAL(itemSelectionChanged()),this,SLOT(selectionChanged()));
|
||||
connect(ui.CompleteRadioBtn,SIGNAL(toggled(bool)),this,SLOT(UninstallMethodChanged(bool)));
|
||||
connect(ui.UninstalllistWidget,&QListWidget::itemSelectionChanged,this,&UninstallWindow::selectionChanged);
|
||||
connect(ui.CompleteRadioBtn,&QAbstractButton::toggled,this,&UninstallWindow::UninstallMethodChanged);
|
||||
|
||||
QString mountpoint = RbSettings::value(RbSettings::Mountpoint).toString();
|
||||
|
||||
uninstaller = new Uninstaller(this,mountpoint);
|
||||
logger = new ProgressLoggerGui(this);
|
||||
connect(uninstaller, SIGNAL(logItem(QString, int)), logger, SLOT(addItem(QString, int)));
|
||||
connect(uninstaller, SIGNAL(logProgress(int, int)), logger, SLOT(setProgress(int, int)));
|
||||
connect(uninstaller, &Uninstaller::logProgress, logger, &ProgressLoggerGui::setProgress);
|
||||
connect(uninstaller, SIGNAL(logFinished(void)), logger, SLOT(setFinished(void)));
|
||||
connect(logger, SIGNAL(closed()), this, SLOT(close()));
|
||||
connect(logger, &ProgressLoggerGui::closed, this, &QWidget::close);
|
||||
|
||||
// disable smart uninstall, if not possible
|
||||
if(!uninstaller->uninstallPossible())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue