| 22 | using namespace GammaRay; |
| 23 | |
| 24 | NetworkConfigurationWidget::NetworkConfigurationWidget(QWidget *parent) |
| 25 | : QWidget(parent) |
| 26 | , ui(new Ui::NetworkConfigurationWidget) |
| 27 | { |
| 28 | ui->setupUi(this); |
| 29 | auto srcModel = ObjectBroker::model(QStringLiteral("com.kdab.GammaRay.NetworkConfigurationModel")); |
| 30 | auto model = new ClientNetworkConfigurationModel(this); |
| 31 | model->setSourceModel(srcModel); |
| 32 | ui->networkConfigView->setModel(model); |
| 33 | ui->networkConfigView->header()->setSectionResizeMode(QHeaderView::ResizeToContents); |
| 34 | |
| 35 | new SearchLineController(ui->searchLine, model); |
| 36 | } |
| 37 | |
| 38 | NetworkConfigurationWidget::~NetworkConfigurationWidget() = default; |
nothing calls this directly
no test coverage detected