~ubuntu-branches/ubuntu/oneiric/pykde4/oneiric-proposed

« back to all changes in this revision

Viewing changes to docs/html/kdecore/KSystemTimeZoneSource.html

  • Committer: Bazaar Package Importer
  • Author(s): Romain Perier
  • Date: 2011-07-11 12:42:17 UTC
  • Revision ID: james.westby@ubuntu.com-20110711124217-stfa5thgiyis668w
Tags: upstream-4.6.90
ImportĀ upstreamĀ versionĀ 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
3
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
 
4
 
 
5
<head>
 
6
  <title>KSystemTimeZoneSource</title>
 
7
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
8
  <meta http-equiv="Content-Style-Type" content="text/css" />
 
9
  <link rel="stylesheet" type="text/css" href="../common/doxygen.css" />
 
10
  <link rel="stylesheet" media="screen" type="text/css" title="KDE Colors" href="../common/kde.css" />
 
11
</head>
 
12
<body>
 
13
<div id="container">
 
14
<div id="header">
 
15
  <div id="header_top">
 
16
    <div>
 
17
      <div>
 
18
        <img alt ="" src="../common/top-kde.jpg"/>
 
19
        KDE 4.7 PyKDE API Reference
 
20
      </div>
 
21
    </div>
 
22
  </div>
 
23
  <div id="header_bottom">
 
24
    <div id="location">
 
25
      <ul>
 
26
        <li>KDE's Python API</li>
 
27
      </ul>
 
28
    </div>
 
29
 
 
30
    <div id="menu">
 
31
      <ul>
 
32
        <li><a href="../modules.html">Overview</a></li>
 
33
<li><a href="http://techbase.kde.org/Development/Languages/Python">PyKDE Home</a></li>
 
34
<li><a href="http://kde.org/family/">Sitemap</a></li>
 
35
<li><a href="http://kde.org/contact/">Contact Us</a></li>
 
36
</ul>
 
37
    </div>
 
38
  </div>
 
39
</div>
 
40
 
 
41
<div id="body_wrapper">
 
42
<div id="body">
 
43
<div id="right">
 
44
<div class="content">
 
45
<div id="main">
 
46
<div class="clearer">&nbsp;</div>
 
47
 
 
48
<h1>KSystemTimeZoneSource Class Reference</h1>
 
49
<code>from PyKDE4.kdecore import *</code>
 
50
<p>
 
51
Inherits: <a href="../kdecore/KTimeZoneSource.html">KTimeZoneSource</a><br />
 
52
 
 
53
 
 
54
<h2>Detailed Description</h2>
 
55
 
 
56
<p>A class to read and parse system time zone data.
 
57
</p>
 
58
<p>
 
59
Access is performed via the system time zone library functions.
 
60
</p>
 
61
<p>
 
62
Reads and parses system time zone data
 
63
<dl class="see" compact><dt><b>See also:</b></dt><dd> KSystemTimeZones, KSystemTimeZone, KSystemTimeZoneData
 
64
</dd></dl> 
 
65
<dl class="author" compact><dt><b>Author:</b></dt><dd> David Jarvie &lt;djarvie@kde.org&gt;. </dd></dl>
 
66
</p>
 
67
<table border="0" cellpadding="0" cellspacing="0"><tr><td colspan="2"><br><h2>Methods</h2></td></tr>
 
68
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#KSystemTimeZoneSource">__init__</a> (self)</td></tr>
 
69
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a href="../kdecore/KTimeZoneData.html">KTimeZoneData</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#parse">parse</a> (self, <a href="../kdecore/KTimeZone.html">KTimeZone</a> zone)</td></tr>
 
70
<tr><td colspan="2"><br><h2>Static Methods</h2></td></tr>
 
71
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#endParseBlock">endParseBlock</a> ()</td></tr>
 
72
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="#startParseBlock">startParseBlock</a> ()</td></tr>
 
73
</table>
 
74
<hr><h2>Method Documentation</h2><a class="anchor" name="KSystemTimeZoneSource"></a>
 
75
<div class="memitem">
 
76
<div class="memproto">
 
77
<table class="memname"><tr>
 
78
<td class="memname">__init__</td>
 
79
<td>(</td>
 
80
<td class="paramtype">&nbsp;</td>
 
81
<td class="paramname"><em>self</em>&nbsp;)</td>
 
82
<td width="100%"> </td>
 
83
</tr>
 
84
</table>
 
85
</div>
 
86
<div class="memdoc"><p>Constructs a system time zone source.
 
87
</p></div></div><a class="anchor" name="parse"></a>
 
88
<div class="memitem">
 
89
<div class="memproto">
 
90
<table class="memname"><tr>
 
91
<td class="memname"><a href="../kdecore/KTimeZoneData.html">KTimeZoneData</a> parse</td>
 
92
<td>(</td>
 
93
<td class="paramtype">&nbsp;<em>self</em>, </td>
 
94
<td class="paramname"></td>
 
95
</tr><tr>
 
96
<td class="memname"></td>
 
97
<td></td>
 
98
<td class="paramtype"><a href="../kdecore/KTimeZone.html">KTimeZone</a>&nbsp;</td>
 
99
<td class="paramname"><em>zone</em></td>
 
100
</tr>
 
101
<tr>
 
102
<td></td>
 
103
<td>)</td>
 
104
<td></td>
 
105
<td></td>
 
106
<td width="100%"> </td>
 
107
</tr></table>
 
108
</div>
 
109
<div class="memdoc"><p>Extract detailed information for one time zone, via the system time zone
 
110
library functions.
 
111
</p>
 
112
<p>
 
113
</p><dl compact><dt><b>Parameters:</b></dt><dd>
 
114
<table border="0" cellspacing="2" cellpadding="0">
 
115
<tr><td></td><td valign="top"><em>zone</em>&nbsp;</td><td> the time zone for which data is to be extracted
 
116
</td></tr> </table></dl>
 
117
<p> <dl class="return" compact><dt><b>Returns:</b></dt><dd> a KSystemTimeZoneData instance containing the parsed data.
 
118
The caller is responsible for deleting the KTimeZoneData instance.
 
119
Null is returned on error.
 
120
</dd></dl>
 
121
</p></div></div><hr><h2>Static Method Documentation</h2><a class="anchor" name="endParseBlock"></a>
 
122
<div class="memitem">
 
123
<div class="memproto">
 
124
<table class="memname"><tr>
 
125
<td class="memname"> endParseBlock</td>
 
126
<td>(</td>
 
127
<td class="paramtype">&nbsp;</td>
 
128
<td class="paramname">)</td>
 
129
<td width="100%"> </td>
 
130
</tr>
 
131
</table>
 
132
</div>
 
133
<div class="memdoc"><p><dl class="see" compact><dt><b>See also:</b></dt><dd> startParseBlock()
 
134
</dd></dl>
 
135
</p></div></div><a class="anchor" name="startParseBlock"></a>
 
136
<div class="memitem">
 
137
<div class="memproto">
 
138
<table class="memname"><tr>
 
139
<td class="memname"> startParseBlock</td>
 
140
<td>(</td>
 
141
<td class="paramtype">&nbsp;</td>
 
142
<td class="paramname">)</td>
 
143
<td width="100%"> </td>
 
144
</tr>
 
145
</table>
 
146
</div>
 
147
<div class="memdoc"><p>Use in conjunction with endParseBlock() to improve efficiency when calling parse()
 
148
for a group of KSystemTimeZone instances in succession.
 
149
Call startParseBlock() before the first parse(), and call endParseBlock() after the last.
 
150
</p>
 
151
<p>
 
152
The effect of calling these methods is to save and restore the TZ environment variable
 
153
only once before and after the group of parse() calls, rather than before and
 
154
after every call. So, between calls to startParseBlock() and endParseBlock(), do not
 
155
call any functions which rely directly or indirectly on the local time zone setting.
 
156
</p></div></div>
 
157
</div>
 
158
</div>
 
159
</div>
 
160
 
 
161
<div id="left">
 
162
 
 
163
<div class="menu_box">
 
164
<div class="nav_list">
 
165
<ul>
 
166
<li><a href="../allclasses.html">Full Index</a></li>
 
167
</ul>
 
168
</div>
 
169
 
 
170
<a name="cp-menu" /><div class="menutitle"><div>
 
171
  <h2 id="cp-menu-project">Modules</h2>
 
172
</div></div>
 
173
<div class="nav_list">
 
174
<ul><li><a href="../akonadi/index.html">akonadi</a></li>
 
175
<li><a href="../dnssd/index.html">dnssd</a></li>
 
176
<li><a href="../kdecore/index.html">kdecore</a></li>
 
177
<li><a href="../kdeui/index.html">kdeui</a></li>
 
178
<li><a href="../khtml/index.html">khtml</a></li>
 
179
<li><a href="../kio/index.html">kio</a></li>
 
180
<li><a href="../knewstuff/index.html">knewstuff</a></li>
 
181
<li><a href="../kparts/index.html">kparts</a></li>
 
182
<li><a href="../kutils/index.html">kutils</a></li>
 
183
<li><a href="../nepomuk/index.html">nepomuk</a></li>
 
184
<li><a href="../phonon/index.html">phonon</a></li>
 
185
<li><a href="../plasma/index.html">plasma</a></li>
 
186
<li><a href="../polkitqt/index.html">polkitqt</a></li>
 
187
<li><a href="../solid/index.html">solid</a></li>
 
188
<li><a href="../soprano/index.html">soprano</a></li>
 
189
</ul></div></div>
 
190
 
 
191
</div>
 
192
 
 
193
</div>
 
194
  <div class="clearer"/>
 
195
</div>
 
196
 
 
197
<div id="end_body"></div>
 
198
</div>
 
199
<div id="footer"><div id="footer_text">
 
200
This documentation is maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;simon&#64;simonzone&#46;com">Simon Edwards</a>.<br />
 
201
        KDE<sup>&#174;</sup> and <a href="../images/kde_gear_black.png">the K Desktop Environment<sup>&#174;</sup> logo</a> are registered trademarks of <a href="http://ev.kde.org/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
 
202
        <a href="http://www.kde.org/contact/impressum.php">Legal</a>
 
203
    </div></div>
 
204
</body>
 
205
</html>