qt5base-lts/examples/network
Shane Kearns 296bc32841 Fix FTP example to handle failure to open network session
The example code only dealt with successful opening of the session.
If the session open failed, the application is stuck because the
connect button is disabled.
Moved the session open to be part of connection.
Handled session open failure by puttin the UI back in the default
state where connection button is enabled.

Task-Number: QTBUG-9909
Reviewed-By: Miikka Heikkinen
(cherry picked from commit 104c22a68c422152ff3cf03eb3615e7826fefbd0)

Change-Id: Ifa40fcd8b83c43cda364b3ec5e58f80b539aa244
Reviewed-by: Peter Hartmann <peter.hartmann@nokia.com>
2011-10-20 23:56:52 +02:00
..
bearercloud Squashed commit of changes from the 4.8-temp branch. 2011-05-23 14:24:07 +02:00
bearermonitor QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
blockingfortuneclient QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
broadcastreceiver QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
broadcastsender QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
download QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
downloadmanager QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
fortuneclient QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
fortuneserver QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
googlesuggest QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
http QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
loopback QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
multicastreceiver QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
multicastsender QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
network-chat QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
qftp Fix FTP example to handle failure to open network session 2011-10-20 23:56:52 +02:00
securesocketclient QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
threadedfortuneserver QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
torrent QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
network.pro QtBase examples: Remove Maemo/Symbian-specific code. 2011-10-18 15:47:49 +02:00
README Remove references to demos from docs. 2011-07-05 19:57:54 +02:00

Qt is provided with an extensive set of network classes to support both
client-based and server side network programming.

These examples demonstrate the fundamental aspects of network programming
with Qt.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.