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) <li><b>checkPassword</b> (a0)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr> <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> </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> </table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>clearPassword</b> () <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> <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> <tr><td><i>static</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></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> <tr><td>prompt</td><td>TQString</td><td></td></tr>
</table> </table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> </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> <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> <tr><td><i>static</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></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> <tr><td>prompt</td><td>TQString</td><td></td></tr>
</table> </table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> </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> <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> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>password</b> () <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> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>passwordStrengthWarningLevel</b> () <li><b>passwordStrengthWarningLevel</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr> <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> <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> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>password</b> () <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> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>setMaxPasswordLength</b> (newLength) <li><b>setMaxPasswordLength</b> (newLength)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>

@ -58,25 +58,25 @@ public:
LdapConfigWidget (TQWidget* = 0, const char* = 0, WFlags = 0); LdapConfigWidget (TQWidget* = 0, const char* = 0, WFlags = 0);
LdapConfigWidget (int, TQWidget* = 0, const char* = 0, WFlags = 0); LdapConfigWidget (int, TQWidget* = 0, const char* = 0, WFlags = 0);
void setUser (const TQString&); void setUser (const TQString&);
TQString user () const; TQString user () const;
void setPassword (const TQString&); void setPassword (const TQString&);
TQString password () const; TQString password () const;
void setBindDN (const TQString&); void setBindDN (const TQString&);
TQString bindDN () const; TQString bindDN () const;
void setRealm (const TQString&); void setRealm (const TQString&);
TQString realm () const; TQString realm () const;
void setHost (const TQString&); void setHost (const TQString&);
TQString host () const; TQString host () const;
void setPort (int); void setPort (int);
int port () const; int port () const;
void setVer (int); void setVer (int);
int ver () const; int ver () const;
void setDn (const TQString&); void setDn (const TQString&);
TQString dn () const; TQString dn () const;
void setFilter (const TQString&); void setFilter (const TQString&);
TQString filter () const; TQString filter () const;
void setMech (const TQString&); void setMech (const TQString&);
TQString mech () const; TQString mech () const;
void setSecNO (bool = 1); void setSecNO (bool = 1);
bool isSecNO () const; bool isSecNO () const;
void setSecTLS (bool = 1); void setSecTLS (bool = 1);
@ -95,7 +95,7 @@ public:
int timeLimit () const; int timeLimit () const;
int flags () const; int flags () const;
void setFlags (int); void setFlags (int);
TDEABC::LDAPUrl url () const; TDEABC::LDAPUrl url () const;
}; // class LdapConfigWidget }; // class LdapConfigWidget

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

Loading…
Cancel
Save