summaryrefslogtreecommitdiffstats
path: root/examples/network/secureudpclient/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/secureudpclient/mainwindow.cpp')
-rw-r--r--examples/network/secureudpclient/mainwindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/network/secureudpclient/mainwindow.cpp b/examples/network/secureudpclient/mainwindow.cpp
index 07c614cf3a..2fbf757c81 100644
--- a/examples/network/secureudpclient/mainwindow.cpp
+++ b/examples/network/secureudpclient/mainwindow.cpp
@@ -72,6 +72,8 @@ MainWindow::~MainWindow()
delete ui;
}
+//! [0]
+
const QString colorizer(QStringLiteral("<font color=\"%1\">%2</font><br>"));
void MainWindow::addErrorMessage(const QString &message)
@@ -102,6 +104,8 @@ void MainWindow::addServerResponse(const QString &clientInfo, const QByteArray &
ui->serverMessages->insertHtml(colorizer.arg(messageColor, html));
}
+//! [0]
+
void MainWindow::on_connectButton_clicked()
{
if (lookupId != -1) {