MCPcopy Create free account
hub / github.com/KDE/labplot / host

Method host

src/frontend/datasources/ImportFileWidget.cpp:649–654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647}
648
649QString ImportFileWidget::host() const {
650 const auto t = ui.leHost->text();
651 if (t.compare(QStringLiteral("localhost"), Qt::CaseSensitivity::CaseInsensitive) == 0)
652 return QStringLiteral("127.0.0.1");
653 return t;
654}
655
656QString ImportFileWidget::port() const {
657 return ui.lePort->text();

Callers 2

setLiveDataSourceMethod · 0.45
checkOkButtonMethod · 0.45

Calls 1

textMethod · 0.45

Tested by

no test coverage detected