summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-11-29 17:11:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-11-29 17:11:50 +0900
commitdb12b1fbfd3c5f443459d94ec01609eadf9a3970 (patch)
tree2309c2dad5cc5a7a6999a28c0541b591f41e357d
parent3508bf8ac24ecf34c0cebfd2262f696ca5e99ee8 (diff)
downloadpytde-db12b1fbfd3c5f443459d94ec01609eadf9a3970.tar.gz
pytde-db12b1fbfd3c5f443459d94ec01609eadf9a3970.zip
Adapted to new KPasswordEdit::password() signature. This relates to bug 2961.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--doc/classref/tdeui/KPasswordDialog.html8
-rw-r--r--doc/classref/tdeui/KPasswordEdit.html2
-rw-r--r--sip/tdeabc/ldapconfigwidget.sip18
-rw-r--r--sip/tdeui/kpassdlg.sip10
4 files changed, 19 insertions, 19 deletions
diff --git a/doc/classref/tdeui/KPasswordDialog.html b/doc/classref/tdeui/KPasswordDialog.html
index 71a1473..2edb550 100644
--- a/doc/classref/tdeui/KPasswordDialog.html
+++ b/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>
diff --git a/doc/classref/tdeui/KPasswordEdit.html b/doc/classref/tdeui/KPasswordEdit.html
index 5a2530b..79a8d13 100644
--- a/doc/classref/tdeui/KPasswordEdit.html
+++ b/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>
diff --git a/sip/tdeabc/ldapconfigwidget.sip b/sip/tdeabc/ldapconfigwidget.sip
index 709421f..8d5e9a0 100644
--- a/sip/tdeabc/ldapconfigwidget.sip
+++ b/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
diff --git a/sip/tdeui/kpassdlg.sip b/sip/tdeui/kpassdlg.sip
index d23451a..7876f0b 100644
--- a/sip/tdeui/kpassdlg.sip
+++ b/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*);