title: Text after compile "setPort(self, int): argument 1 has unexpected type 'str'"
body: <p>Hello i making webbrowser and i have problem with set a proxy port with textbox.</p>
  
  <blockquote>
    <p>setPort(self, int): argument 1 has unexpected type 'str'</p>
  </blockquote>
  
  <p>setHostName  working perfectly but this setPort not...</p>
  
  <pre><code>def on_click_button_reloadproxy(self):
  
          textboxproxyipValue = self.textboxproxyip.text()
          textboxproxyportValue = self.textboxproxyport.text()
  
          proxy = QtNetwork.QNetworkProxy()
          proxy.setType(QtNetwork.QNetworkProxy.HttpProxy)
          QtNetwork.QNetworkProxy.setApplicationProxy(proxy)
  
          proxy.setHostName(textboxproxyipValue)
          proxy.setPort(textboxproxyportValue)
  
  </code></pre>