Gui: move to new style connect()

This commit is contained in:
wmayer
2023-02-01 11:58:00 +01:00
committed by wwmayer
parent 25a63f8750
commit 2e5cb03261
43 changed files with 237 additions and 246 deletions

View File

@@ -76,7 +76,7 @@ PropertyView::PropertyView(QWidget *parent)
timer = new QTimer(this);
timer->setSingleShot(true);
connect(timer, SIGNAL(timeout()), this, SLOT(onTimer()));
connect(timer, &QTimer::timeout, this, &PropertyView::onTimer);
tabs = new QTabWidget (this);
tabs->setObjectName(QString::fromUtf8("propertyTab"));
@@ -99,7 +99,7 @@ PropertyView::PropertyView(QWidget *parent)
tabs->setCurrentIndex(preferredTab);
// connect after adding all tabs, so adding doesn't thrash the parameter
connect(tabs, SIGNAL(currentChanged(int)), this, SLOT(tabChanged(int)));
connect(tabs, &QTabWidget::currentChanged, this, &PropertyView::tabChanged);
this->connectPropData =
App::GetApplication().signalChangedObject.connect(boost::bind