diff options
author | Gerald Combs <gerald@wireshark.org> | 2021-10-10 16:05:57 -0700 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-10-11 17:03:21 +0000 |
commit | 11c58e78f74f22a3b485ca59ae8de837435faf5f (patch) | |
tree | be13b218345c00488d06d406f97fa23364b1b0b3 /ui/qt/export_object_dialog.cpp | |
parent | e5bcf6b40223c3cfd13438861d4fb88bbd4b5934 (diff) |
Qt: More new-style signals+slot conversions.
Diffstat (limited to 'ui/qt/export_object_dialog.cpp')
-rw-r--r-- | ui/qt/export_object_dialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/qt/export_object_dialog.cpp b/ui/qt/export_object_dialog.cpp index 931e7ee9a6..a7e484f1d1 100644 --- a/ui/qt/export_object_dialog.cpp +++ b/ui/qt/export_object_dialog.cpp @@ -54,9 +54,9 @@ ExportObjectDialog::ExportObjectDialog(QWidget &parent, CaptureFile &cf, registe eo_ui_->progressBar->setAttribute(Qt::WA_MacSmallSize, true); #endif - connect(&model_, SIGNAL(rowsInserted(QModelIndex,int,int)), - this, SLOT(modelDataChanged(QModelIndex, int, int))); - connect(&model_, SIGNAL(modelReset()), this, SLOT(modelRowsReset())); + connect(&model_, &ExportObjectModel::rowsInserted, + this, &ExportObjectDialog::modelDataChanged); + connect(&model_, &ExportObjectModel::modelReset, this, &ExportObjectDialog::modelRowsReset); connect(eo_ui_->filterLine, &QLineEdit::textChanged, &proxyModel_, &ExportObjectProxyModel::setTextFilterString); connect(eo_ui_->objectTree, &ExportObjectsTreeView::currentIndexChanged, this, &ExportObjectDialog::currentHasChanged); @@ -79,8 +79,8 @@ ExportObjectDialog::ExportObjectDialog(QWidget &parent, CaptureFile &cf, registe if (save_all_bt_) save_all_bt_->setEnabled(false); if (close_bt) close_bt->setDefault(true); - connect(&cap_file_, SIGNAL(captureEvent(CaptureEvent)), - this, SLOT(captureEvent(CaptureEvent))); + connect(&cap_file_, &CaptureFile::captureEvent, + this, &ExportObjectDialog::captureEvent); } ExportObjectDialog::~ExportObjectDialog() |