DnsLookup: add some documentation
Just to make it show up in the docs. Change-Id: I22e9a1eb7dd040e76ee68f3f63053b030733b33d Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
42022f8b38
commit
bec7c39950
BIN
examples/network/doc/images/dnslookup-example.webp
Normal file
BIN
examples/network/doc/images/dnslookup-example.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.4 KiB |
17
examples/network/doc/src/dnslookup.qdoc
Normal file
17
examples/network/doc/src/dnslookup.qdoc
Normal file
@ -0,0 +1,17 @@
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
|
||||
|
||||
/*!
|
||||
\example dnslookup
|
||||
\title DNS lookup
|
||||
\examplecategory {Networking}
|
||||
\meta tags {network,dns,command line parser,command line,console}
|
||||
\ingroup examples-network
|
||||
\brief Demonstrates how to lookup a host name using QDnsLookup.
|
||||
|
||||
This example uses QDnsLookup to demonstrate how to look up a host
|
||||
name and print the results on the command line. As well as how you can
|
||||
use QCommandLineParser to parse command line arguments.
|
||||
|
||||
\image dnslookup-example.webp
|
||||
*/
|
Loading…
x
Reference in New Issue
Block a user