Browse Source

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 4 years ago
parent
commit
db12b1fbfd
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF
  1. 8
      doc/classref/tdeui/KPasswordDialog.html
  2. 2
      doc/classref/tdeui/KPasswordEdit.html
  3. 18
      sip/tdeabc/ldapconfigwidget.sip
  4. 10
      sip/tdeui/kpassdlg.sip

8
doc/classref/tdeui/KPasswordDialog.html

@ -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>

2
doc/classref/tdeui/KPasswordEdit.html

@ -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>

18
sip/tdeabc/ldapconfigwidget.sip

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

10
sip/tdeui/kpassdlg.sip

@ -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