Do an initial connection check on the host
(once per host). Add utility function to
NetworkProtocol, displaying connection check
message box.
Move the 'Paste' handling into the PasteView
dialog, such that the checking happens there
and the dialog stays open if something fails.
Task-number: QTCREATORBUG-2117
-Pass simplified type based on mimetype to paste for highlighting.
-Remove QHttp from CodePaster and pastebin.com in favour of QNetwork.
-Implement new pastebin.com protocol
-Implement listing via parsing the HTML-page for pastebin.com
- created protocol class as basis for different paste servers
- removed custom classes and replaced functionality with
simple QHttp* usage
- removed poster and fetcher classes copied from cpaster
application. It not getting updated anyways in creator
- Known issue: Listing does not update, when user changes
protocol
- TODO: add pastebin.ca support. Code is done already, just
needs to be placed inside plugin.