diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kdepasswd/passwddlg.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdepasswd/passwddlg.cpp')
-rw-r--r-- | kdepasswd/passwddlg.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kdepasswd/passwddlg.cpp b/kdepasswd/passwddlg.cpp index 5a3b48917..c6764a4e9 100644 --- a/kdepasswd/passwddlg.cpp +++ b/kdepasswd/passwddlg.cpp @@ -35,7 +35,7 @@ bool KDEpasswd1Dialog::checkPassword(const char *password) { case -1: { - QString msg = QString::fromLocal8Bit(proc.error()); + TQString msg = TQString::fromLocal8Bit(proc.error()); if (!msg.isEmpty()) msg = "<p>\"<i>" + msg + "</i>\""; msg = "<qt>" + i18n("Conversation with 'passwd' failed.") + msg; @@ -66,7 +66,7 @@ bool KDEpasswd1Dialog::checkPassword(const char *password) // static -int KDEpasswd1Dialog::getPassword(QCString &password) +int KDEpasswd1Dialog::getPassword(TQCString &password) { KDEpasswd1Dialog *dlg = new KDEpasswd1Dialog(); int res = dlg->exec(); @@ -78,7 +78,7 @@ int KDEpasswd1Dialog::getPassword(QCString &password) -KDEpasswd2Dialog::KDEpasswd2Dialog(const char *oldpass, QCString user) +KDEpasswd2Dialog::KDEpasswd2Dialog(const char *oldpass, TQCString user) : KPasswordDialog(NewPassword, false, 0) { m_Pass = oldpass; @@ -132,7 +132,7 @@ bool KDEpasswd2Dialog::checkPassword(const char *password) case 0: { hide(); - QString msg = QString::fromLocal8Bit(proc.error()); + TQString msg = TQString::fromLocal8Bit(proc.error()); if (!msg.isEmpty()) msg = "<p>\"<i>" + msg + "</i>\""; msg = "<qt>" + i18n("Your password has been changed.") + msg; @@ -142,7 +142,7 @@ bool KDEpasswd2Dialog::checkPassword(const char *password) case PasswdProcess::PasswordNotGood: { - QString msg = QString::fromLocal8Bit(proc.error()); + TQString msg = TQString::fromLocal8Bit(proc.error()); if (!msg.isEmpty()) msg = "<p>\"<i>" + msg + "</i>\""; msg = "<qt>" + i18n("Your password has not been changed.") + msg; @@ -153,7 +153,7 @@ bool KDEpasswd2Dialog::checkPassword(const char *password) } default: - QString msg = QString::fromLocal8Bit(proc.error()); + TQString msg = TQString::fromLocal8Bit(proc.error()); if (!msg.isEmpty()) msg = "<p>\"<i>" + msg + "</i>\""; msg = "<qt>" + i18n("Conversation with 'passwd' failed.") + msg; |