Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 6 years ago
parent 3508bf8ac2
commit db12b1fbfd
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -83,7 +83,7 @@
<li><b>checkPassword</b> (a0)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>a0</td><td>char</td><td></td></tr>
<tr><td>a0</td><td>TQString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>clearPassword</b> ()
@ -98,7 +98,7 @@
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
<tr><td><i>static</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>password</td><td>TQCString</td><td></td></tr>
<tr><td>password</td><td>TQString</td><td></td></tr>
<tr><td>prompt</td><td>TQString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
@ -106,7 +106,7 @@
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int) keep (int)</i></td></tr>
<tr><td><i>static</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>password</td><td>TQCString</td><td></td></tr>
<tr><td>password</td><td>TQString</td><td></td></tr>
<tr><td>prompt</td><td>TQString</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
@ -122,7 +122,7 @@
<tr><td>In versions KDE 3.4.0 and above only</td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>password</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(char)</i></td></tr>
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>passwordStrengthWarningLevel</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>

@ -103,7 +103,7 @@
<tr><td>In versions KDE 3.4.0 and above only</td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>password</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(char)</i></td></tr>
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>setMaxPasswordLength</b> (newLength)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>

@ -48,7 +48,7 @@ public:
%End
KPasswordEdit (TQWidget* /TransferThis/, const char*, int);
const char* password ();
TQString password ();
void erase ();
//ig const int PassLen;
@ -112,15 +112,15 @@ public:
int passwordStrengthWarningLevel () const;
%End
const char* password () const;
TQString password () const;
%If ( KDE_3_3_0 - )
void clearPassword ();
%End
bool keep () const;
static int getPassword (TQCString&, TQString, int* = 0);
static int getNewPassword (TQCString&, TQString);
static int getPassword (TQString&, TQString, int* = 0);
static int getNewPassword (TQString&, TQString);
static void disableCoreDumps ();
protected slots:
@ -129,7 +129,7 @@ protected slots:
void slotKeep (bool);
protected:
virtual bool checkPassword (const char*);
virtual bool checkPassword (const TQString&);
protected:
//igx virtual void virtual_hook (int, void*);

Loading…
Cancel
Save