ScanResults::ScanResults(QWidget *parent, const char *, bool, Qt::WFlags) : QDialog(parent) { setupUi(this); connect(closeButton, SIGNAL(clicked()), this, SLOT(close())); connect(scanButton, SIGNAL(clicked()), this, SLOT(scanRequest())); connect(scanResultsView, SIGNAL(doubleClicked(Q3ListViewItem *)), this, SLOT(bssSelected(Q3ListViewItem *))); wpagui = NULL; }
ScanResults::ScanResults(QWidget *parent, const char *, bool, Qt::WindowFlags) : QDialog(parent) { setupUi(this); connect(closeButton, SIGNAL(clicked()), this, SLOT(close())); connect(scanButton, SIGNAL(clicked()), this, SLOT(scanRequest())); connect(scanResultsWidget, SIGNAL(itemDoubleClicked(QTreeWidgetItem *, int)), this, SLOT(bssSelected(QTreeWidgetItem *))); wpagui = NULL; scanResultsWidget->setItemsExpandable(false); scanResultsWidget->setRootIsDecorated(false); scanResultsWidget->setItemDelegate(new SignalBar(scanResultsWidget)); }