Documentation/Source/eric5.Helpviewer.CookieJar.CookieJar.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Helpviewer.CookieJar.CookieJar</h1> 23 <h1>eric5.Helpviewer.CookieJar.CookieJar</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#81;&#78;&#101;&#116;w&#111;&#114;&#107;&#67;&#111;&#111;&#107;&#105;&#101;&#74;&#97;&#114; &#115;&#117;&#98;&#99;&#108;&#97;&#115;&#115; w&#105;&#116;&#104; v&#97;&#114;&#105;&#111;&#117;&#115; &#97;&#99;&#99;&#101;&#112;&#116; &#112;&#111;&#108;&#105;&#99;&#105;&#101;&#115;. 25 Module implementing a QNetworkCookieJar subclass with various accept policies.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#CookieJar">CookieJar</a></td> 34 <td><a href="#CookieJar">CookieJar</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#81;&#78;&#101;&#116;w&#111;&#114;&#107;&#67;&#111;&#111;&#107;&#105;&#101;&#74;&#97;&#114; &#115;&#117;&#98;&#99;&#108;&#97;&#115;&#115; w&#105;&#116;&#104; v&#97;&#114;&#105;&#111;&#117;&#115; &#97;&#99;&#99;&#101;&#112;&#116; &#112;&#111;&#108;&#105;&#99;&#105;&#101;&#115;.</td> 35 <td>Class implementing a QNetworkCookieJar subclass with various accept policies.</td>
36 </tr> 36 </tr>
37 </table> 37 </table>
38 <h3>Functions</h3> 38 <h3>Functions</h3>
39 <table> 39 <table>
40 <tr><td>None</td></tr> 40 <tr><td>None</td></tr>
41 </table> 41 </table>
42 <hr /><hr /> 42 <hr /><hr />
43 <a NAME="CookieJar" ID="CookieJar"></a> 43 <a NAME="CookieJar" ID="CookieJar"></a>
44 <h2>CookieJar</h2> 44 <h2>CookieJar</h2>
45 <p> 45 <p>
46 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#81;&#78;&#101;&#116;w&#111;&#114;&#107;&#67;&#111;&#111;&#107;&#105;&#101;&#74;&#97;&#114; &#115;&#117;&#98;&#99;&#108;&#97;&#115;&#115; w&#105;&#116;&#104; v&#97;&#114;&#105;&#111;&#117;&#115; &#97;&#99;&#99;&#101;&#112;&#116; &#112;&#111;&#108;&#105;&#99;&#105;&#101;&#115;. 46 Class implementing a QNetworkCookieJar subclass with various accept policies.
47 </p><h4>Signals</h4> 47 </p><h4>Signals</h4>
48 <dl> 48 <dl>
49 <dt>cookiesChanged()</dt> 49 <dt>cookiesChanged()</dt>
50 <dd> 50 <dd>
51 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#104;&#97;v&#101; &#98;&#101;&#101;&#110; &#99;&#104;&#97;&#110;&#103;&#101;&#100; 51 emitted after the cookies have been changed
52 </dd> 52 </dd>
53 </dl> 53 </dl>
54 <h3>Derived from</h3> 54 <h3>Derived from</h3>
55 QNetworkCookieJar 55 QNetworkCookieJar
56 <h3>Class Attributes</h3> 56 <h3>Class Attributes</h3>
59 </table> 59 </table>
60 <h3>Methods</h3> 60 <h3>Methods</h3>
61 <table> 61 <table>
62 <tr> 62 <tr>
63 <td><a href="#CookieJar.__init__">CookieJar</a></td> 63 <td><a href="#CookieJar.__init__">CookieJar</a></td>
64 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 64 <td>Constructor</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#CookieJar.__applyRules">__applyRules</a></td> 66 <td><a href="#CookieJar.__applyRules">__applyRules</a></td>
67 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#112;&#112;&#108;y &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101; &#114;&#117;&#108;&#101;&#115;.</td> 67 <td>Private method to apply the cookie rules.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#CookieJar.__isOnDomainList">__isOnDomainList</a></td> 69 <td><a href="#CookieJar.__isOnDomainList">__isOnDomainList</a></td>
70 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#101;&#105;&#116;&#104;&#101;&#114; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#109;&#97;&#116;&#99;&#104;&#101;&#115; &#116;&#104;&#101; &#100;&#111;&#109;&#97;&#105;&#110; &#101;x&#97;&#99;&#116;&#108;y &#111;&#114; &#116;&#104;&#101; &#100;&#111;&#109;&#97;&#105;&#110; &#101;&#110;&#100;&#115; w&#105;&#116;&#104; ".&#114;&#117;&#108;&#101;".</td> 70 <td>Private method to check, if either the rule matches the domain exactly or the domain ends with ".rule".</td>
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#CookieJar.__purgeOldCookies">__purgeOldCookies</a></td> 72 <td><a href="#CookieJar.__purgeOldCookies">__purgeOldCookies</a></td>
73 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#117;&#114;&#103;&#101; &#111;&#108;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115;</td> 73 <td>Private method to purge old cookies</td>
74 </tr><tr> 74 </tr><tr>
75 <td><a href="#CookieJar.acceptPolicy">acceptPolicy</a></td> 75 <td><a href="#CookieJar.acceptPolicy">acceptPolicy</a></td>
76 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#97;&#99;&#99;&#101;&#112;&#116; &#112;&#111;&#108;&#105;&#99;y.</td> 76 <td>Public method to get the accept policy.</td>
77 </tr><tr> 77 </tr><tr>
78 <td><a href="#CookieJar.allowForSessionCookies">allowForSessionCookies</a></td> 78 <td><a href="#CookieJar.allowForSessionCookies">allowForSessionCookies</a></td>
79 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#97;&#108;&#108;&#111;w&#101;&#100; &#115;&#101;&#115;&#115;&#105;&#111;&#110; &#99;&#111;&#111;&#107;&#105;&#101;&#115;.</td> 79 <td>Public method to return the allowed session cookies.</td>
80 </tr><tr> 80 </tr><tr>
81 <td><a href="#CookieJar.allowedCookies">allowedCookies</a></td> 81 <td><a href="#CookieJar.allowedCookies">allowedCookies</a></td>
82 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#97;&#108;&#108;&#111;w&#101;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115;.</td> 82 <td>Public method to return the allowed cookies.</td>
83 </tr><tr> 83 </tr><tr>
84 <td><a href="#CookieJar.blockedCookies">blockedCookies</a></td> 84 <td><a href="#CookieJar.blockedCookies">blockedCookies</a></td>
85 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#98;&#108;&#111;&#99;&#107;&#101;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115;.</td> 85 <td>Public method to return the blocked cookies.</td>
86 </tr><tr> 86 </tr><tr>
87 <td><a href="#CookieJar.clear">clear</a></td> 87 <td><a href="#CookieJar.clear">clear</a></td>
88 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#108;&#101;&#97;&#114; &#97;&#108;&#108; &#99;&#111;&#111;&#107;&#105;&#101;&#115;.</td> 88 <td>Public method to clear all cookies.</td>
89 </tr><tr> 89 </tr><tr>
90 <td><a href="#CookieJar.close">close</a></td> 90 <td><a href="#CookieJar.close">close</a></td>
91 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#108;&#111;&#115;&#101; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101; &#106;&#97;&#114;.</td> 91 <td>Public slot to close the cookie jar.</td>
92 </tr><tr> 92 </tr><tr>
93 <td><a href="#CookieJar.cookies">cookies</a></td> 93 <td><a href="#CookieJar.cookies">cookies</a></td>
94 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#111;&#102; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101; &#106;&#97;&#114;.</td> 94 <td>Public method to get the cookies of the cookie jar.</td>
95 </tr><tr> 95 </tr><tr>
96 <td><a href="#CookieJar.cookiesForUrl">cookiesForUrl</a></td> 96 <td><a href="#CookieJar.cookiesForUrl">cookiesForUrl</a></td>
97 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#102;&#111;&#114; &#97; &#85;&#82;&#76;.</td> 97 <td>Public method to get the cookies for a URL.</td>
98 </tr><tr> 98 </tr><tr>
99 <td><a href="#CookieJar.filterTrackingCookies">filterTrackingCookies</a></td> 99 <td><a href="#CookieJar.filterTrackingCookies">filterTrackingCookies</a></td>
100 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#102;&#105;&#108;&#116;&#101;&#114; &#116;&#114;&#97;&#99;&#107;&#105;&#110;&#103; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#102;&#108;&#97;&#103;.</td> 100 <td>Public method to get the filter tracking cookies flag.</td>
101 </tr><tr> 101 </tr><tr>
102 <td><a href="#CookieJar.keepPolicy">keepPolicy</a></td> 102 <td><a href="#CookieJar.keepPolicy">keepPolicy</a></td>
103 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#107;&#101;&#101;&#112; &#112;&#111;&#108;&#105;&#99;y.</td> 103 <td>Private method to get the keep policy.</td>
104 </tr><tr> 104 </tr><tr>
105 <td><a href="#CookieJar.load">load</a></td> 105 <td><a href="#CookieJar.load">load</a></td>
106 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#108;&#111;&#97;&#100; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101;&#115;.</td> 106 <td>Public method to load the cookies.</td>
107 </tr><tr> 107 </tr><tr>
108 <td><a href="#CookieJar.loadCookies">loadCookies</a></td> 108 <td><a href="#CookieJar.loadCookies">loadCookies</a></td>
109 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#116;&#111;&#114;&#101; &#116;&#104;&#101; &#115;&#97;v&#101;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115;.</td> 109 <td>Public method to restore the saved cookies.</td>
110 </tr><tr> 110 </tr><tr>
111 <td><a href="#CookieJar.save">save</a></td> 111 <td><a href="#CookieJar.save">save</a></td>
112 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101;&#115;.</td> 112 <td>Public method to save the cookies.</td>
113 </tr><tr> 113 </tr><tr>
114 <td><a href="#CookieJar.saveCookies">saveCookies</a></td> 114 <td><a href="#CookieJar.saveCookies">saveCookies</a></td>
115 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101;&#115;.</td> 115 <td>Public method to save the cookies.</td>
116 </tr><tr> 116 </tr><tr>
117 <td><a href="#CookieJar.setAcceptPolicy">setAcceptPolicy</a></td> 117 <td><a href="#CookieJar.setAcceptPolicy">setAcceptPolicy</a></td>
118 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#97;&#99;&#99;&#101;&#112;&#116; &#112;&#111;&#108;&#105;&#99;y.</td> 118 <td>Public method to set the accept policy.</td>
119 </tr><tr> 119 </tr><tr>
120 <td><a href="#CookieJar.setAllowForSessionCookies">setAllowForSessionCookies</a></td> 120 <td><a href="#CookieJar.setAllowForSessionCookies">setAllowForSessionCookies</a></td>
121 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#108;&#108;&#111;w&#101;&#100; &#115;&#101;&#115;&#115;&#105;&#111;&#110; &#99;&#111;&#111;&#107;&#105;&#101;&#115;.</td> 121 <td>Public method to set the list of allowed session cookies.</td>
122 </tr><tr> 122 </tr><tr>
123 <td><a href="#CookieJar.setAllowedCookies">setAllowedCookies</a></td> 123 <td><a href="#CookieJar.setAllowedCookies">setAllowedCookies</a></td>
124 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#108;&#108;&#111;w&#101;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115;.</td> 124 <td>Public method to set the list of allowed cookies.</td>
125 </tr><tr> 125 </tr><tr>
126 <td><a href="#CookieJar.setBlockedCookies">setBlockedCookies</a></td> 126 <td><a href="#CookieJar.setBlockedCookies">setBlockedCookies</a></td>
127 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#98;&#108;&#111;&#99;&#107;&#101;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115;.</td> 127 <td>Public method to set the list of blocked cookies.</td>
128 </tr><tr> 128 </tr><tr>
129 <td><a href="#CookieJar.setCookies">setCookies</a></td> 129 <td><a href="#CookieJar.setCookies">setCookies</a></td>
130 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#97;&#108;&#108; &#99;&#111;&#111;&#107;&#105;&#101;&#115;.</td> 130 <td>Public method to set all cookies.</td>
131 </tr><tr> 131 </tr><tr>
132 <td><a href="#CookieJar.setCookiesFromUrl">setCookiesFromUrl</a></td> 132 <td><a href="#CookieJar.setCookiesFromUrl">setCookiesFromUrl</a></td>
133 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#102;&#111;&#114; &#97; &#85;&#82;&#76;.</td> 133 <td>Public method to set cookies for a URL.</td>
134 </tr><tr> 134 </tr><tr>
135 <td><a href="#CookieJar.setFilterTrackingCookies">setFilterTrackingCookies</a></td> 135 <td><a href="#CookieJar.setFilterTrackingCookies">setFilterTrackingCookies</a></td>
136 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#102;&#105;&#108;&#116;&#101;&#114; &#116;&#114;&#97;&#99;&#107;&#105;&#110;&#103; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#102;&#108;&#97;&#103;.</td> 136 <td>Public method to set the filter tracking cookies flag.</td>
137 </tr><tr> 137 </tr><tr>
138 <td><a href="#CookieJar.setKeepPolicy">setKeepPolicy</a></td> 138 <td><a href="#CookieJar.setKeepPolicy">setKeepPolicy</a></td>
139 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#107;&#101;&#101;&#112; &#112;&#111;&#108;&#105;&#99;y.</td> 139 <td>Public method to set the keep policy.</td>
140 </tr> 140 </tr>
141 </table> 141 </table>
142 <a NAME="CookieJar.__init__" ID="CookieJar.__init__"></a> 142 <a NAME="CookieJar.__init__" ID="CookieJar.__init__"></a>
143 <h4>CookieJar (Constructor)</h4> 143 <h4>CookieJar (Constructor)</h4>
144 <b>CookieJar</b>(<i>parent = None</i>) 144 <b>CookieJar</b>(<i>parent = None</i>)
145 <p> 145 <p>
146 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 146 Constructor
147 </p><dl> 147 </p><dl>
148 <dt><i>parent</i></dt> 148 <dt><i>parent</i></dt>
149 <dd> 149 <dd>
150 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#79;&#98;&#106;&#101;&#99;&#116;) 150 reference to the parent object (QObject)
151 </dd> 151 </dd>
152 </dl><a NAME="CookieJar.__applyRules" ID="CookieJar.__applyRules"></a> 152 </dl><a NAME="CookieJar.__applyRules" ID="CookieJar.__applyRules"></a>
153 <h4>CookieJar.__applyRules</h4> 153 <h4>CookieJar.__applyRules</h4>
154 <b>__applyRules</b>(<i></i>) 154 <b>__applyRules</b>(<i></i>)
155 <p> 155 <p>
156 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#112;&#112;&#108;y &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101; &#114;&#117;&#108;&#101;&#115;. 156 Private method to apply the cookie rules.
157 </p><a NAME="CookieJar.__isOnDomainList" ID="CookieJar.__isOnDomainList"></a> 157 </p><a NAME="CookieJar.__isOnDomainList" ID="CookieJar.__isOnDomainList"></a>
158 <h4>CookieJar.__isOnDomainList</h4> 158 <h4>CookieJar.__isOnDomainList</h4>
159 <b>__isOnDomainList</b>(<i>rules, domain</i>) 159 <b>__isOnDomainList</b>(<i>rules, domain</i>)
160 <p> 160 <p>
161 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#101;&#105;&#116;&#104;&#101;&#114; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#109;&#97;&#116;&#99;&#104;&#101;&#115; &#116;&#104;&#101; &#100;&#111;&#109;&#97;&#105;&#110; &#101;x&#97;&#99;&#116;&#108;y 161 Private method to check, if either the rule matches the domain exactly
162 &#111;&#114; &#116;&#104;&#101; &#100;&#111;&#109;&#97;&#105;&#110; &#101;&#110;&#100;&#115; w&#105;&#116;&#104; ".&#114;&#117;&#108;&#101;". 162 or the domain ends with ".rule".
163 </p><dl> 163 </p><dl>
164 <dt><i>rules</i></dt> 164 <dt><i>rules</i></dt>
165 <dd> 165 <dd>
166 &#108;&#105;&#115;&#116; &#111;&#102; &#114;&#117;&#108;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 166 list of rules (list of strings)
167 </dd><dt><i>domain</i></dt> 167 </dd><dt><i>domain</i></dt>
168 <dd> 168 <dd>
169 &#100;&#111;&#109;&#97;&#105;&#110; &#110;&#97;&#109;&#101; &#116;&#111; &#99;&#104;&#101;&#99;&#107; (&#115;&#116;&#114;&#105;&#110;&#103;) 169 domain name to check (string)
170 </dd> 170 </dd>
171 </dl><dl> 171 </dl><dl>
172 <dt>Returns:</dt> 172 <dt>Returns:</dt>
173 <dd> 173 <dd>
174 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97; &#109;&#97;&#116;&#99;&#104; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 174 flag indicating a match (boolean)
175 </dd> 175 </dd>
176 </dl><a NAME="CookieJar.__purgeOldCookies" ID="CookieJar.__purgeOldCookies"></a> 176 </dl><a NAME="CookieJar.__purgeOldCookies" ID="CookieJar.__purgeOldCookies"></a>
177 <h4>CookieJar.__purgeOldCookies</h4> 177 <h4>CookieJar.__purgeOldCookies</h4>
178 <b>__purgeOldCookies</b>(<i></i>) 178 <b>__purgeOldCookies</b>(<i></i>)
179 <p> 179 <p>
180 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#117;&#114;&#103;&#101; &#111;&#108;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115; 180 Private method to purge old cookies
181 </p><a NAME="CookieJar.acceptPolicy" ID="CookieJar.acceptPolicy"></a> 181 </p><a NAME="CookieJar.acceptPolicy" ID="CookieJar.acceptPolicy"></a>
182 <h4>CookieJar.acceptPolicy</h4> 182 <h4>CookieJar.acceptPolicy</h4>
183 <b>acceptPolicy</b>(<i></i>) 183 <b>acceptPolicy</b>(<i></i>)
184 <p> 184 <p>
185 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#97;&#99;&#99;&#101;&#112;&#116; &#112;&#111;&#108;&#105;&#99;y. 185 Public method to get the accept policy.
186 </p><dl> 186 </p><dl>
187 <dt>Returns:</dt> 187 <dt>Returns:</dt>
188 <dd> 188 <dd>
189 &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#97;&#99;&#99;&#101;&#112;&#116; &#112;&#111;&#108;&#105;&#99;y 189 current accept policy
190 </dd> 190 </dd>
191 </dl><a NAME="CookieJar.allowForSessionCookies" ID="CookieJar.allowForSessionCookies"></a> 191 </dl><a NAME="CookieJar.allowForSessionCookies" ID="CookieJar.allowForSessionCookies"></a>
192 <h4>CookieJar.allowForSessionCookies</h4> 192 <h4>CookieJar.allowForSessionCookies</h4>
193 <b>allowForSessionCookies</b>(<i></i>) 193 <b>allowForSessionCookies</b>(<i></i>)
194 <p> 194 <p>
195 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#97;&#108;&#108;&#111;w&#101;&#100; &#115;&#101;&#115;&#115;&#105;&#111;&#110; &#99;&#111;&#111;&#107;&#105;&#101;&#115;. 195 Public method to return the allowed session cookies.
196 </p><dl> 196 </p><dl>
197 <dt>Returns:</dt> 197 <dt>Returns:</dt>
198 <dd> 198 <dd>
199 &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#108;&#108;&#111;w&#101;&#100; &#115;&#101;&#115;&#115;&#105;&#111;&#110; &#99;&#111;&#111;&#107;&#105;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 199 list of allowed session cookies (list of strings)
200 </dd> 200 </dd>
201 </dl><a NAME="CookieJar.allowedCookies" ID="CookieJar.allowedCookies"></a> 201 </dl><a NAME="CookieJar.allowedCookies" ID="CookieJar.allowedCookies"></a>
202 <h4>CookieJar.allowedCookies</h4> 202 <h4>CookieJar.allowedCookies</h4>
203 <b>allowedCookies</b>(<i></i>) 203 <b>allowedCookies</b>(<i></i>)
204 <p> 204 <p>
205 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#97;&#108;&#108;&#111;w&#101;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115;. 205 Public method to return the allowed cookies.
206 </p><dl> 206 </p><dl>
207 <dt>Returns:</dt> 207 <dt>Returns:</dt>
208 <dd> 208 <dd>
209 &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#108;&#108;&#111;w&#101;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 209 list of allowed cookies (list of strings)
210 </dd> 210 </dd>
211 </dl><a NAME="CookieJar.blockedCookies" ID="CookieJar.blockedCookies"></a> 211 </dl><a NAME="CookieJar.blockedCookies" ID="CookieJar.blockedCookies"></a>
212 <h4>CookieJar.blockedCookies</h4> 212 <h4>CookieJar.blockedCookies</h4>
213 <b>blockedCookies</b>(<i></i>) 213 <b>blockedCookies</b>(<i></i>)
214 <p> 214 <p>
215 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#98;&#108;&#111;&#99;&#107;&#101;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115;. 215 Public method to return the blocked cookies.
216 </p><dl> 216 </p><dl>
217 <dt>Returns:</dt> 217 <dt>Returns:</dt>
218 <dd> 218 <dd>
219 &#108;&#105;&#115;&#116; &#111;&#102; &#98;&#108;&#111;&#99;&#107;&#101;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 219 list of blocked cookies (list of strings)
220 </dd> 220 </dd>
221 </dl><a NAME="CookieJar.clear" ID="CookieJar.clear"></a> 221 </dl><a NAME="CookieJar.clear" ID="CookieJar.clear"></a>
222 <h4>CookieJar.clear</h4> 222 <h4>CookieJar.clear</h4>
223 <b>clear</b>(<i></i>) 223 <b>clear</b>(<i></i>)
224 <p> 224 <p>
225 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#108;&#101;&#97;&#114; &#97;&#108;&#108; &#99;&#111;&#111;&#107;&#105;&#101;&#115;. 225 Public method to clear all cookies.
226 </p><a NAME="CookieJar.close" ID="CookieJar.close"></a> 226 </p><a NAME="CookieJar.close" ID="CookieJar.close"></a>
227 <h4>CookieJar.close</h4> 227 <h4>CookieJar.close</h4>
228 <b>close</b>(<i></i>) 228 <b>close</b>(<i></i>)
229 <p> 229 <p>
230 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#108;&#111;&#115;&#101; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101; &#106;&#97;&#114;. 230 Public slot to close the cookie jar.
231 </p><a NAME="CookieJar.cookies" ID="CookieJar.cookies"></a> 231 </p><a NAME="CookieJar.cookies" ID="CookieJar.cookies"></a>
232 <h4>CookieJar.cookies</h4> 232 <h4>CookieJar.cookies</h4>
233 <b>cookies</b>(<i></i>) 233 <b>cookies</b>(<i></i>)
234 <p> 234 <p>
235 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#111;&#102; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101; &#106;&#97;&#114;. 235 Public method to get the cookies of the cookie jar.
236 </p><dl> 236 </p><dl>
237 <dt>Returns:</dt> 237 <dt>Returns:</dt>
238 <dd> 238 <dd>
239 &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#108;&#108; &#99;&#111;&#111;&#107;&#105;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#81;&#78;&#101;&#116;w&#111;&#114;&#107;&#67;&#111;&#111;&#107;&#105;&#101;) 239 list of all cookies (list of QNetworkCookie)
240 </dd> 240 </dd>
241 </dl><a NAME="CookieJar.cookiesForUrl" ID="CookieJar.cookiesForUrl"></a> 241 </dl><a NAME="CookieJar.cookiesForUrl" ID="CookieJar.cookiesForUrl"></a>
242 <h4>CookieJar.cookiesForUrl</h4> 242 <h4>CookieJar.cookiesForUrl</h4>
243 <b>cookiesForUrl</b>(<i>url</i>) 243 <b>cookiesForUrl</b>(<i>url</i>)
244 <p> 244 <p>
245 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#102;&#111;&#114; &#97; &#85;&#82;&#76;. 245 Public method to get the cookies for a URL.
246 </p><dl> 246 </p><dl>
247 <dt><i>url</i></dt> 247 <dt><i>url</i></dt>
248 <dd> 248 <dd>
249 &#85;&#82;&#76; &#116;&#111; &#103;&#101;&#116; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#102;&#111;&#114; (&#81;&#85;&#114;&#108;) 249 URL to get cookies for (QUrl)
250 </dd> 250 </dd>
251 </dl><dl> 251 </dl><dl>
252 <dt>Returns:</dt> 252 <dt>Returns:</dt>
253 <dd> 253 <dd>
254 &#108;&#105;&#115;&#116; &#111;&#102; &#99;&#111;&#111;&#107;&#105;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#81;&#78;&#101;&#116;w&#111;&#114;&#107;&#67;&#111;&#111;&#107;&#105;&#101;) 254 list of cookies (list of QNetworkCookie)
255 </dd> 255 </dd>
256 </dl><a NAME="CookieJar.filterTrackingCookies" ID="CookieJar.filterTrackingCookies"></a> 256 </dl><a NAME="CookieJar.filterTrackingCookies" ID="CookieJar.filterTrackingCookies"></a>
257 <h4>CookieJar.filterTrackingCookies</h4> 257 <h4>CookieJar.filterTrackingCookies</h4>
258 <b>filterTrackingCookies</b>(<i></i>) 258 <b>filterTrackingCookies</b>(<i></i>)
259 <p> 259 <p>
260 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#102;&#105;&#108;&#116;&#101;&#114; &#116;&#114;&#97;&#99;&#107;&#105;&#110;&#103; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#102;&#108;&#97;&#103;. 260 Public method to get the filter tracking cookies flag.
261 </p><dl> 261 </p><dl>
262 <dt>Returns:</dt> 262 <dt>Returns:</dt>
263 <dd> 263 <dd>
264 &#102;&#105;&#108;&#116;&#101;&#114; &#116;&#114;&#97;&#99;&#107;&#105;&#110;&#103; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#102;&#108;&#97;&#103; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 264 filter tracking cookies flag (boolean)
265 </dd> 265 </dd>
266 </dl><a NAME="CookieJar.keepPolicy" ID="CookieJar.keepPolicy"></a> 266 </dl><a NAME="CookieJar.keepPolicy" ID="CookieJar.keepPolicy"></a>
267 <h4>CookieJar.keepPolicy</h4> 267 <h4>CookieJar.keepPolicy</h4>
268 <b>keepPolicy</b>(<i></i>) 268 <b>keepPolicy</b>(<i></i>)
269 <p> 269 <p>
270 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#107;&#101;&#101;&#112; &#112;&#111;&#108;&#105;&#99;y. 270 Private method to get the keep policy.
271 </p><a NAME="CookieJar.load" ID="CookieJar.load"></a> 271 </p><a NAME="CookieJar.load" ID="CookieJar.load"></a>
272 <h4>CookieJar.load</h4> 272 <h4>CookieJar.load</h4>
273 <b>load</b>(<i></i>) 273 <b>load</b>(<i></i>)
274 <p> 274 <p>
275 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#108;&#111;&#97;&#100; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101;&#115;. 275 Public method to load the cookies.
276 </p><a NAME="CookieJar.loadCookies" ID="CookieJar.loadCookies"></a> 276 </p><a NAME="CookieJar.loadCookies" ID="CookieJar.loadCookies"></a>
277 <h4>CookieJar.loadCookies</h4> 277 <h4>CookieJar.loadCookies</h4>
278 <b>loadCookies</b>(<i>cookies</i>) 278 <b>loadCookies</b>(<i>cookies</i>)
279 <p> 279 <p>
280 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#116;&#111;&#114;&#101; &#116;&#104;&#101; &#115;&#97;v&#101;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115;. 280 Public method to restore the saved cookies.
281 </p><dl> 281 </p><dl>
282 <dt><i>cookies</i></dt> 282 <dt><i>cookies</i></dt>
283 <dd> 283 <dd>
284 &#98;y&#116;&#101; &#97;&#114;&#114;&#97;y &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#105;&#110;&#103; &#116;&#104;&#101; &#115;&#97;v&#101;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115; (&#81;&#66;y&#116;&#101;&#65;&#114;&#114;&#97;y) 284 byte array containing the saved cookies (QByteArray)
285 </dd> 285 </dd>
286 </dl><dl> 286 </dl><dl>
287 <dt>Returns:</dt> 287 <dt>Returns:</dt>
288 <dd> 288 <dd>
289 &#108;&#105;&#115;&#116; &#111;&#102; &#99;&#111;&#111;&#107;&#105;&#101;&#115; 289 list of cookies
290 </dd> 290 </dd>
291 </dl><a NAME="CookieJar.save" ID="CookieJar.save"></a> 291 </dl><a NAME="CookieJar.save" ID="CookieJar.save"></a>
292 <h4>CookieJar.save</h4> 292 <h4>CookieJar.save</h4>
293 <b>save</b>(<i></i>) 293 <b>save</b>(<i></i>)
294 <p> 294 <p>
295 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101;&#115;. 295 Public method to save the cookies.
296 </p><a NAME="CookieJar.saveCookies" ID="CookieJar.saveCookies"></a> 296 </p><a NAME="CookieJar.saveCookies" ID="CookieJar.saveCookies"></a>
297 <h4>CookieJar.saveCookies</h4> 297 <h4>CookieJar.saveCookies</h4>
298 <b>saveCookies</b>(<i>cookiesList</i>) 298 <b>saveCookies</b>(<i>cookiesList</i>)
299 <p> 299 <p>
300 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101;&#115;. 300 Public method to save the cookies.
301 </p><dl> 301 </p><dl>
302 <dt><i>cookiesList</i></dt> 302 <dt><i>cookiesList</i></dt>
303 <dd> 303 <dd>
304 &#108;&#105;&#115;&#116; &#111;&#102; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#116;&#111; &#98;&#101; &#115;&#97;v&#101;&#100; 304 list of cookies to be saved
305 </dd> 305 </dd>
306 </dl><dl> 306 </dl><dl>
307 <dt>Returns:</dt> 307 <dt>Returns:</dt>
308 <dd> 308 <dd>
309 &#115;&#97;v&#101;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#97;&#115; &#97; &#98;y&#116;&#101; &#97;&#114;&#114;&#97;y (&#81;&#66;y&#116;&#101;&#65;&#114;&#114;&#97;y) 309 saved cookies as a byte array (QByteArray)
310 </dd> 310 </dd>
311 </dl><a NAME="CookieJar.setAcceptPolicy" ID="CookieJar.setAcceptPolicy"></a> 311 </dl><a NAME="CookieJar.setAcceptPolicy" ID="CookieJar.setAcceptPolicy"></a>
312 <h4>CookieJar.setAcceptPolicy</h4> 312 <h4>CookieJar.setAcceptPolicy</h4>
313 <b>setAcceptPolicy</b>(<i>policy</i>) 313 <b>setAcceptPolicy</b>(<i>policy</i>)
314 <p> 314 <p>
315 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#97;&#99;&#99;&#101;&#112;&#116; &#112;&#111;&#108;&#105;&#99;y. 315 Public method to set the accept policy.
316 </p><dl> 316 </p><dl>
317 <dt><i>policy</i></dt> 317 <dt><i>policy</i></dt>
318 <dd> 318 <dd>
319 &#97;&#99;&#99;&#101;&#112;&#116; &#112;&#111;&#108;&#105;&#99;y &#116;&#111; &#98;&#101; &#115;&#101;&#116; 319 accept policy to be set
320 </dd> 320 </dd>
321 </dl><a NAME="CookieJar.setAllowForSessionCookies" ID="CookieJar.setAllowForSessionCookies"></a> 321 </dl><a NAME="CookieJar.setAllowForSessionCookies" ID="CookieJar.setAllowForSessionCookies"></a>
322 <h4>CookieJar.setAllowForSessionCookies</h4> 322 <h4>CookieJar.setAllowForSessionCookies</h4>
323 <b>setAllowForSessionCookies</b>(<i>list_</i>) 323 <b>setAllowForSessionCookies</b>(<i>list_</i>)
324 <p> 324 <p>
325 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#108;&#108;&#111;w&#101;&#100; &#115;&#101;&#115;&#115;&#105;&#111;&#110; &#99;&#111;&#111;&#107;&#105;&#101;&#115;. 325 Public method to set the list of allowed session cookies.
326 </p><dl> 326 </p><dl>
327 <dt><i>list_</i></dt> 327 <dt><i>list_</i></dt>
328 <dd> 328 <dd>
329 &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#108;&#108;&#111;w&#101;&#100; &#115;&#101;&#115;&#115;&#105;&#111;&#110; &#99;&#111;&#111;&#107;&#105;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 329 list of allowed session cookies (list of strings)
330 </dd> 330 </dd>
331 </dl><a NAME="CookieJar.setAllowedCookies" ID="CookieJar.setAllowedCookies"></a> 331 </dl><a NAME="CookieJar.setAllowedCookies" ID="CookieJar.setAllowedCookies"></a>
332 <h4>CookieJar.setAllowedCookies</h4> 332 <h4>CookieJar.setAllowedCookies</h4>
333 <b>setAllowedCookies</b>(<i>list_</i>) 333 <b>setAllowedCookies</b>(<i>list_</i>)
334 <p> 334 <p>
335 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#108;&#108;&#111;w&#101;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115;. 335 Public method to set the list of allowed cookies.
336 </p><dl> 336 </p><dl>
337 <dt><i>list_</i></dt> 337 <dt><i>list_</i></dt>
338 <dd> 338 <dd>
339 &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#108;&#108;&#111;w&#101;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 339 list of allowed cookies (list of strings)
340 </dd> 340 </dd>
341 </dl><a NAME="CookieJar.setBlockedCookies" ID="CookieJar.setBlockedCookies"></a> 341 </dl><a NAME="CookieJar.setBlockedCookies" ID="CookieJar.setBlockedCookies"></a>
342 <h4>CookieJar.setBlockedCookies</h4> 342 <h4>CookieJar.setBlockedCookies</h4>
343 <b>setBlockedCookies</b>(<i>list_</i>) 343 <b>setBlockedCookies</b>(<i>list_</i>)
344 <p> 344 <p>
345 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#98;&#108;&#111;&#99;&#107;&#101;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115;. 345 Public method to set the list of blocked cookies.
346 </p><dl> 346 </p><dl>
347 <dt><i>list_</i></dt> 347 <dt><i>list_</i></dt>
348 <dd> 348 <dd>
349 &#108;&#105;&#115;&#116; &#111;&#102; &#98;&#108;&#111;&#99;&#107;&#101;&#100; &#99;&#111;&#111;&#107;&#105;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;) 349 list of blocked cookies (list of strings)
350 </dd> 350 </dd>
351 </dl><a NAME="CookieJar.setCookies" ID="CookieJar.setCookies"></a> 351 </dl><a NAME="CookieJar.setCookies" ID="CookieJar.setCookies"></a>
352 <h4>CookieJar.setCookies</h4> 352 <h4>CookieJar.setCookies</h4>
353 <b>setCookies</b>(<i>cookies</i>) 353 <b>setCookies</b>(<i>cookies</i>)
354 <p> 354 <p>
355 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#97;&#108;&#108; &#99;&#111;&#111;&#107;&#105;&#101;&#115;. 355 Public method to set all cookies.
356 </p><dl> 356 </p><dl>
357 <dt><i>cookies</i></dt> 357 <dt><i>cookies</i></dt>
358 <dd> 358 <dd>
359 &#108;&#105;&#115;&#116; &#111;&#102; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#116;&#111; &#98;&#101; &#115;&#101;&#116; (&#108;&#105;&#115;&#116; &#111;&#102; &#81;&#78;&#101;&#116;w&#111;&#114;&#107;&#67;&#111;&#111;&#107;&#105;&#101;) 359 list of cookies to be set (list of QNetworkCookie)
360 </dd> 360 </dd>
361 </dl><a NAME="CookieJar.setCookiesFromUrl" ID="CookieJar.setCookiesFromUrl"></a> 361 </dl><a NAME="CookieJar.setCookiesFromUrl" ID="CookieJar.setCookiesFromUrl"></a>
362 <h4>CookieJar.setCookiesFromUrl</h4> 362 <h4>CookieJar.setCookiesFromUrl</h4>
363 <b>setCookiesFromUrl</b>(<i>cookieList, url</i>) 363 <b>setCookiesFromUrl</b>(<i>cookieList, url</i>)
364 <p> 364 <p>
365 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#102;&#111;&#114; &#97; &#85;&#82;&#76;. 365 Public method to set cookies for a URL.
366 </p><dl> 366 </p><dl>
367 <dt><i>cookieList</i></dt> 367 <dt><i>cookieList</i></dt>
368 <dd> 368 <dd>
369 &#108;&#105;&#115;&#116; &#111;&#102; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#116;&#111; &#115;&#101;&#116; (&#108;&#105;&#115;&#116; &#111;&#102; &#81;&#78;&#101;&#116;w&#111;&#114;&#107;&#67;&#111;&#111;&#107;&#105;&#101;) 369 list of cookies to set (list of QNetworkCookie)
370 </dd><dt><i>url</i></dt> 370 </dd><dt><i>url</i></dt>
371 <dd> 371 <dd>
372 &#117;&#114;&#108; &#116;&#111; &#115;&#101;&#116; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#102;&#111;&#114; (&#81;&#85;&#114;&#108;) 372 url to set cookies for (QUrl)
373 </dd> 373 </dd>
374 </dl><dl> 374 </dl><dl>
375 <dt>Returns:</dt> 375 <dt>Returns:</dt>
376 <dd> 376 <dd>
377 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#99;&#111;&#111;&#107;&#105;&#101;&#115; w&#101;&#114;&#101; &#115;&#101;&#116; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 377 flag indicating cookies were set (boolean)
378 </dd> 378 </dd>
379 </dl><a NAME="CookieJar.setFilterTrackingCookies" ID="CookieJar.setFilterTrackingCookies"></a> 379 </dl><a NAME="CookieJar.setFilterTrackingCookies" ID="CookieJar.setFilterTrackingCookies"></a>
380 <h4>CookieJar.setFilterTrackingCookies</h4> 380 <h4>CookieJar.setFilterTrackingCookies</h4>
381 <b>setFilterTrackingCookies</b>(<i>filterTrackingCookies</i>) 381 <b>setFilterTrackingCookies</b>(<i>filterTrackingCookies</i>)
382 <p> 382 <p>
383 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#102;&#105;&#108;&#116;&#101;&#114; &#116;&#114;&#97;&#99;&#107;&#105;&#110;&#103; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#102;&#108;&#97;&#103;. 383 Public method to set the filter tracking cookies flag.
384 </p><dl> 384 </p><dl>
385 <dt><i>filterTrackingCookies</i></dt> 385 <dt><i>filterTrackingCookies</i></dt>
386 <dd> 386 <dd>
387 &#102;&#105;&#108;&#116;&#101;&#114; &#116;&#114;&#97;&#99;&#107;&#105;&#110;&#103; &#99;&#111;&#111;&#107;&#105;&#101;&#115; &#102;&#108;&#97;&#103; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 387 filter tracking cookies flag (boolean)
388 </dd> 388 </dd>
389 </dl><a NAME="CookieJar.setKeepPolicy" ID="CookieJar.setKeepPolicy"></a> 389 </dl><a NAME="CookieJar.setKeepPolicy" ID="CookieJar.setKeepPolicy"></a>
390 <h4>CookieJar.setKeepPolicy</h4> 390 <h4>CookieJar.setKeepPolicy</h4>
391 <b>setKeepPolicy</b>(<i>policy</i>) 391 <b>setKeepPolicy</b>(<i>policy</i>)
392 <p> 392 <p>
393 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#107;&#101;&#101;&#112; &#112;&#111;&#108;&#105;&#99;y. 393 Public method to set the keep policy.
394 </p><dl> 394 </p><dl>
395 <dt><i>policy</i></dt> 395 <dt><i>policy</i></dt>
396 <dd> 396 <dd>
397 &#107;&#101;&#101;&#112; &#112;&#111;&#108;&#105;&#99;y &#116;&#111; &#98;&#101; &#115;&#101;&#116; 397 keep policy to be set
398 </dd> 398 </dd>
399 </dl> 399 </dl>
400 <div align="right"><a href="#top">Up</a></div> 400 <div align="right"><a href="#top">Up</a></div>
401 <hr /> 401 <hr />
402 </body></html> 402 </body></html>

eric ide

mercurial