~ubuntu-branches/ubuntu/saucy/clementine/saucy

« back to all changes in this revision

Viewing changes to src/scripting/python/network.sip

  • Committer: Package Import Robot
  • Author(s): Thomas PIERSON
  • Date: 2012-01-01 20:43:39 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120101204339-lsb6nndwhfy05sde
Tags: 1.0.1+dfsg-1
New upstream release. (Closes: #653926, #651611, #657391)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
class NetworkAccessManager : QNetworkAccessManager {
2
 
 
3
 
%TypeHeaderCode
4
 
#include "core/network.h"
5
 
%End
6
 
 
7
 
%Docstring
8
 
A Qt network access manager that should be used to create all network requests
9
 
in Clementine.
10
 
 
11
 
Differences from the normal QNetworkAccessManager:
12
 
 
13
 
  - Sends a Clementine C{User-Agent} HTTP header.
14
 
  - Uses a thread-safe disk cache in Clementine's user config directory.
15
 
  - Honors the proxy set by the user in the settings dialog.
16
 
%End
17
 
 
18
 
public:
19
 
  NetworkAccessManager(QObject* parent /TransferThis/ = 0);
20
 
};