From db12b1fbfd3c5f443459d94ec01609eadf9a3970 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 29 Nov 2018 17:11:50 +0900 Subject: [PATCH] Adapted to new KPasswordEdit::password() signature. This relates to bug 2961. Signed-off-by: Michele Calgaro --- doc/classref/tdeui/KPasswordDialog.html | 8 ++++---- doc/classref/tdeui/KPasswordEdit.html | 2 +- sip/tdeabc/ldapconfigwidget.sip | 18 +++++++++--------- sip/tdeui/kpassdlg.sip | 10 +++++----- 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 @@
  • checkPassword (a0)
    returns (bool)
    - +
    ArgumentTypeDefault
    a0char
    a0TQString

  • clearPassword () @@ -98,7 +98,7 @@
    returns (int)
    static
    - +
    ArgumentTypeDefault
    passwordTQCString
    passwordTQString
    promptTQString

  • @@ -106,7 +106,7 @@
    returns (int) keep (int)
    static
    - +
    ArgumentTypeDefault
    passwordTQCString
    passwordTQString
    promptTQString

    @@ -122,7 +122,7 @@ In versions KDE 3.4.0 and above only

  • password () -
    +
    returns (char)
    returns (TQString)

  • passwordStrengthWarningLevel ()
    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 @@
    returns (int)
    In versions KDE 3.4.0 and above only

  • password () -
    +
    returns (char)
    returns (TQString)

  • setMaxPasswordLength (newLength)
    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*);
    returns nothing