~ubuntu-branches/ubuntu/karmic/eric/karmic

« back to all changes in this revision

Viewing changes to eric/Documentation/Source/eric4.VCS.vcsPySvn.SvnDialogMixin.html

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2008-01-28 18:02:25 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080128180225-6nrox6yrworh2c4v
Tags: 4.0.4-1ubuntu1
* Add python-qt3 to build-depends becuase that's where Ubuntu puts 
  pyqtconfig
* Change maintainer to MOTU

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 Strict//EN'
 
3
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
 
4
<html><head>
 
5
<title>eric4.VCS.vcsPySvn.SvnDialogMixin</title>
 
6
<style>
 
7
body {
 
8
    background:white;
 
9
    margin: 0em 1em 10em 1em;
 
10
    color: black;
 
11
}
 
12
 
 
13
h1 { color: white; background: #4FA4FF; }
 
14
h2 { color: white; background: #4FA4FF; }
 
15
h3 { color: white; background: #00557F; }
 
16
h4 { color: white; background: #00557F; }
 
17
    
 
18
a { color: #AA5500; }
 
19
 
 
20
</style>
 
21
</head>
 
22
<body><a NAME="top" ID="top"></a>
 
23
<h1>eric4.VCS.vcsPySvn.SvnDialogMixin</h1>
 
24
<p>
 
25
Module implementing a dialog mixin class providing common callback methods for 
 
26
the pysvn client.
 
27
</p>
 
28
<h3>Classes</h3>
 
29
<table>
 
30
<tr>
 
31
<td><a href="#SvnDialogMixin">SvnDialogMixin</a></td>
 
32
<td>Class implementing a dialog mixin providing common callback methods for the pysvn client.</td>
 
33
</tr>
 
34
</table>
 
35
<h3>Functions</h3>
 
36
<table>
 
37
<tr><td>None</td></tr>
 
38
</table>
 
39
<hr /><hr />
 
40
<a NAME="SvnDialogMixin" ID="SvnDialogMixin"></a>
 
41
<h2>SvnDialogMixin</h2>
 
42
<p>
 
43
    Class implementing a dialog mixin providing common callback methods for 
 
44
    the pysvn client.
 
45
</p>
 
46
<h3>Derived from</h3>
 
47
object
 
48
<h3>Methods</h3>
 
49
<table>
 
50
<tr>
 
51
<td><a href="#SvnDialogMixin.__init__">SvnDialogMixin</a></td>
 
52
<td>Constructor</td>
 
53
</tr><tr>
 
54
<td><a href="#SvnDialogMixin._cancel">_cancel</a></td>
 
55
<td>Protected method to request a cancellation of the current action.</td>
 
56
</tr><tr>
 
57
<td><a href="#SvnDialogMixin._clientCancelCallback">_clientCancelCallback</a></td>
 
58
<td>Protected method called by the client to check for cancellation.</td>
 
59
</tr><tr>
 
60
<td><a href="#SvnDialogMixin._clientLogCallback">_clientLogCallback</a></td>
 
61
<td>Protected method called by the client to request a log message.</td>
 
62
</tr><tr>
 
63
<td><a href="#SvnDialogMixin._clientLoginCallback">_clientLoginCallback</a></td>
 
64
<td>Protected method called by the client to get login information.</td>
 
65
</tr><tr>
 
66
<td><a href="#SvnDialogMixin._clientSslServerTrustPromptCallback">_clientSslServerTrustPromptCallback</a></td>
 
67
<td>Protected method called by the client to request acceptance for a ssl server certificate.</td>
 
68
</tr>
 
69
</table>
 
70
<p><a NAME="SvnDialogMixin.__init__" ID="SvnDialogMixin.__init__"></a>
 
71
<h4>SvnDialogMixin (Constructor)</h4>
 
72
<b>SvnDialogMixin</b>(<i>log = ""</i>)
 
73
<p>
 
74
        Constructor
 
75
</p><dl>
 
76
<dt><i>log</i></dt>
 
77
<dd>
 
78
optional log message (string or QString)
 
79
</dd>
 
80
</dl><a NAME="SvnDialogMixin._cancel" ID="SvnDialogMixin._cancel"></a>
 
81
<h4>SvnDialogMixin._cancel</h4>
 
82
<b>_cancel</b>(<i></i>)
 
83
<p>
 
84
        Protected method to request a cancellation of the current action.
 
85
</p><a NAME="SvnDialogMixin._clientCancelCallback" ID="SvnDialogMixin._clientCancelCallback"></a>
 
86
<h4>SvnDialogMixin._clientCancelCallback</h4>
 
87
<b>_clientCancelCallback</b>(<i></i>)
 
88
<p>
 
89
        Protected method called by the client to check for cancellation.
 
90
</p><dl>
 
91
<dt>Returns:</dt>
 
92
<dd>
 
93
flag indicating a cancellation
 
94
</dd>
 
95
</dl><a NAME="SvnDialogMixin._clientLogCallback" ID="SvnDialogMixin._clientLogCallback"></a>
 
96
<h4>SvnDialogMixin._clientLogCallback</h4>
 
97
<b>_clientLogCallback</b>(<i></i>)
 
98
<p>
 
99
        Protected method called by the client to request a log message.
 
100
</p><dl>
 
101
<dt>Returns:</dt>
 
102
<dd>
 
103
a flag indicating success and the log message (string)
 
104
</dd>
 
105
</dl><a NAME="SvnDialogMixin._clientLoginCallback" ID="SvnDialogMixin._clientLoginCallback"></a>
 
106
<h4>SvnDialogMixin._clientLoginCallback</h4>
 
107
<b>_clientLoginCallback</b>(<i>realm, username, may_save</i>)
 
108
<p>
 
109
        Protected method called by the client to get login information.
 
110
</p><dl>
 
111
<dt><i>realm</i></dt>
 
112
<dd>
 
113
name of the realm of the requested credentials (string)
 
114
</dd><dt><i>username</i></dt>
 
115
<dd>
 
116
username as supplied by subversion (string)
 
117
</dd><dt><i>may_save</i></dt>
 
118
<dd>
 
119
flag indicating, that subversion is willing to save
 
120
            the answers returned (boolean)
 
121
</dd>
 
122
</dl><dl>
 
123
<dt>Returns:</dt>
 
124
<dd>
 
125
tuple of four values (retcode, username, password, save).
 
126
            Retcode should be True, if username and password should be used 
 
127
            by subversion, username and password contain the relevant data 
 
128
            as strings and save is a flag indicating, that username and
 
129
            password should be saved.
 
130
</dd>
 
131
</dl><a NAME="SvnDialogMixin._clientSslServerTrustPromptCallback" ID="SvnDialogMixin._clientSslServerTrustPromptCallback"></a>
 
132
<h4>SvnDialogMixin._clientSslServerTrustPromptCallback</h4>
 
133
<b>_clientSslServerTrustPromptCallback</b>(<i>trust_dict</i>)
 
134
<p>
 
135
        Protected method called by the client to request acceptance for a
 
136
        ssl server certificate.
 
137
</p><dl>
 
138
<dt><i>trust_dict</i></dt>
 
139
<dd>
 
140
dictionary containing the trust data
 
141
</dd>
 
142
</dl><dl>
 
143
<dt>Returns:</dt>
 
144
<dd>
 
145
tuple of three values (retcode, acceptedFailures, save).
 
146
            Retcode should be true, if the certificate should be accepted,
 
147
            acceptedFailures should indicate the accepted certificate failures
 
148
            and save should be True, if subversion should save the certificate.
 
149
</dd>
 
150
</dl></p>
 
151
<div align="right"><a href="#top">Up</a></div>
 
152
<hr />
 
153
</body></html>
 
 
b'\\ No newline at end of file'