From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdepasswd/passwddlg.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kdepasswd/passwddlg.cpp') 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 = "

\"" + msg + "\""; msg = "" + 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 = "

\"" + msg + "\""; msg = "" + 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 = "

\"" + msg + "\""; msg = "" + 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 = "

\"" + msg + "\""; msg = "" + i18n("Conversation with 'passwd' failed.") + msg; -- cgit v1.2.1