diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
commit | 203ba231d0276943aae36111f9ec1e949f3c6a4c (patch) | |
tree | f039f7a5b5fc2da88a96876971bac580d87f6788 /sip/tdeui/kpassdlg.sip | |
parent | fd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff) | |
download | pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip |
Initial TQt conversion
Diffstat (limited to 'sip/tdeui/kpassdlg.sip')
-rw-r--r-- | sip/tdeui/kpassdlg.sip | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sip/tdeui/kpassdlg.sip b/sip/tdeui/kpassdlg.sip index 45c0780..d23451a 100644 --- a/sip/tdeui/kpassdlg.sip +++ b/sip/tdeui/kpassdlg.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KPasswordEdit : QLineEdit +class KPasswordEdit : TQLineEdit { %TypeHeaderCode #include <kpassdlg.h> @@ -40,14 +40,14 @@ public: NoEcho }; - KPasswordEdit (QWidget* /TransferThis/ = 0, const char* = 0); - KPasswordEdit (EchoMode, QWidget* /TransferThis/, const char*); + KPasswordEdit (TQWidget* /TransferThis/ = 0, const char* = 0); + KPasswordEdit (EchoMode, TQWidget* /TransferThis/, const char*); %If ( KDE_3_2_0 - ) - KPasswordEdit (KPasswordEdit::EchoModes, QWidget* /TransferThis/, const char*); + KPasswordEdit (KPasswordEdit::EchoModes, TQWidget* /TransferThis/, const char*); %End - KPasswordEdit (QWidget* /TransferThis/, const char*, int); + KPasswordEdit (TQWidget* /TransferThis/, const char*, int); const char* password (); void erase (); //ig const int PassLen; @@ -61,14 +61,14 @@ public: public slots: %If ( KDE_3_1_2 - ) - virtual void insert (const QString&); + virtual void insert (const TQString&); %End protected: - virtual void keyPressEvent (QKeyEvent*); - virtual void focusInEvent (QFocusEvent*); - virtual bool event (QEvent*); + virtual void keyPressEvent (TQKeyEvent*); + virtual void focusInEvent (TQFocusEvent*); + virtual bool event (TQEvent*); }; // class KPasswordEdit @@ -88,16 +88,16 @@ public: NewPassword }; - KPasswordDialog (KPasswordDialog::Types, bool, int, QWidget* /TransferThis/ = 0, const char* = 0); - KPasswordDialog (int, QString, bool = 0, int = 0); + KPasswordDialog (KPasswordDialog::Types, bool, int, TQWidget* /TransferThis/ = 0, const char* = 0); + KPasswordDialog (int, TQString, bool = 0, int = 0); %If ( KDE_3_3_0 - ) - KPasswordDialog (KPasswordDialog::Types, bool, int, const QString&, QWidget* /TransferThis/ = 0, const char* = 0); + KPasswordDialog (KPasswordDialog::Types, bool, int, const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0); %End - void setPrompt (QString); - QString prompt () const; - void addLine (QString, QString); + void setPrompt (TQString); + TQString prompt () const; + void addLine (TQString, TQString); %If ( KDE_3_4_0 - ) void setAllowEmptyPasswords (bool); @@ -119,8 +119,8 @@ public: %End bool keep () const; - static int getPassword (QCString&, QString, int* = 0); - static int getNewPassword (QCString&, QString); + static int getPassword (TQCString&, TQString, int* = 0); + static int getNewPassword (TQCString&, TQString); static void disableCoreDumps (); protected slots: |