summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-07-21 16:30:31 -0700
committerGuy Harris <guy@alum.mit.edu>2014-07-21 23:30:58 +0000
commitc7a2c89e40d0ba27996077a7d8e208a4337947fb (patch)
treeae65d66cb37db81d3b3f3413aca4acfde1bed52b
parent59ef97dd652131a6df0edd26cc8709461587a224 (diff)
downloadwireshark-c7a2c89e40d0ba27996077a7d8e208a4337947fb.tar.gz
Rename ifListChanged to localInterfaceListChanged.
That better indicates that it reflects changes to the list of local interfaces on the system, as supplied by libpcap/WinPcap, not to any other interface list we maintain, such as lists of remote interfaces, or the list of non-hidden interfaces. Change-Id: Idf79b365e07f2e3eaa83c105ae9cd7ace54c435e Reviewed-on: https://code.wireshark.org/review/3154 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--ui/qt/capture_interfaces_dialog.cpp2
-rw-r--r--ui/qt/interface_tree.cpp2
-rw-r--r--ui/qt/main_window.cpp2
-rw-r--r--ui/qt/wireshark_application.cpp2
-rw-r--r--ui/qt/wireshark_application.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/ui/qt/capture_interfaces_dialog.cpp b/ui/qt/capture_interfaces_dialog.cpp
index a11a46d0c0..ce6a04e45e 100644
--- a/ui/qt/capture_interfaces_dialog.cpp
+++ b/ui/qt/capture_interfaces_dialog.cpp
@@ -73,7 +73,7 @@ CaptureInterfacesDialog::CaptureInterfacesDialog(QWidget *parent) :
connect(ui->allFilterComboBox, SIGNAL(captureFilterSyntaxChanged(bool)), this, SLOT(allFilterChanged()));
connect(this, SIGNAL(interfacesChanged()), ui->allFilterComboBox, SIGNAL(interfacesChanged()));
connect(this, SIGNAL(ifsChanged()), this, SLOT(refreshInterfaceList()));
- connect(wsApp, SIGNAL(ifListChanged()), this, SLOT(updateInterfaces()));
+ connect(wsApp, SIGNAL(localInterfaceListChanged()), this, SLOT(updateInterfaces()));
}
void CaptureInterfacesDialog::allFilterChanged()
diff --git a/ui/qt/interface_tree.cpp b/ui/qt/interface_tree.cpp
index d725051cf6..cc85c68841 100644
--- a/ui/qt/interface_tree.cpp
+++ b/ui/qt/interface_tree.cpp
@@ -65,7 +65,7 @@ InterfaceTree::InterfaceTree(QWidget *parent) :
resizeColumnToContents(0);
connect(wsApp, SIGNAL(appInitialized()), this, SLOT(getInterfaceList()));
- connect(wsApp, SIGNAL(ifListChanged()), this, SLOT(interfaceListChanged()));
+ connect(wsApp, SIGNAL(localInterfaceListChanged()), this, SLOT(interfaceListChanged()));
connect(this, SIGNAL(itemSelectionChanged()), this, SLOT(updateSelectedInterfaces()));
}
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp
index 7cd3def4ad..873f904465 100644
--- a/ui/qt/main_window.cpp
+++ b/ui/qt/main_window.cpp
@@ -308,7 +308,7 @@ MainWindow::MainWindow(QWidget *parent) :
this->main_welcome_->getInterfaceTree(), SLOT(setSelectedInterfaces()));
connect(&capture_interfaces_dialog_, SIGNAL(interfaceListChanged()),
this->main_welcome_->getInterfaceTree(), SLOT(interfaceListChanged()));
- connect(wsApp, SIGNAL(ifListChanged()), this, SLOT(interfaceListChanged()));
+ connect(wsApp, SIGNAL(localInterfaceListChanged()), this, SLOT(interfaceListChanged()));
#endif
main_ui_->mainStack->setCurrentWidget(main_welcome_);
diff --git a/ui/qt/wireshark_application.cpp b/ui/qt/wireshark_application.cpp
index 405cdbbf45..7630530c23 100644
--- a/ui/qt/wireshark_application.cpp
+++ b/ui/qt/wireshark_application.cpp
@@ -702,7 +702,7 @@ void WiresharkApplication::ifChangeEventsAvailable()
*
* XXX - only if it *did* change.
*/
- emit ifListChanged();
+ emit localInterfaceListChanged();
#endif
}
diff --git a/ui/qt/wireshark_application.h b/ui/qt/wireshark_application.h
index 2c1defc358..b3ad1dcb24 100644
--- a/ui/qt/wireshark_application.h
+++ b/ui/qt/wireshark_application.h
@@ -104,7 +104,7 @@ protected:
signals:
void appInitialized();
- void ifListChanged();
+ void localInterfaceListChanged();
void openCaptureFile(QString &cf_path, QString &display_filter, unsigned int type);
void recentFilesRead();
void updateRecentItemStatus(const QString &filename, qint64 size, bool accessible);