diff options
Diffstat (limited to 'src/askpass/kdesvn-askpass.cpp')
-rw-r--r-- | src/askpass/kdesvn-askpass.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/askpass/kdesvn-askpass.cpp b/src/askpass/kdesvn-askpass.cpp index 2f6ed4c..99037eb 100644 --- a/src/askpass/kdesvn-askpass.cpp +++ b/src/askpass/kdesvn-askpass.cpp @@ -17,7 +17,7 @@ * Free Software Foundation, Inc., * * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#include <qregexp.h> +#include <tqregexp.h> #include <kaboutdata.h> #include <kapplication.h> #include <kcmdlineargs.h> @@ -45,19 +45,19 @@ int main(int argc, char** argv) KApplication app; // no need for session management app.disableSessionManagement(); - QString prompt; + TQString prompt; if( !KCmdLineArgs::parsedArgs()->count() ) { prompt = i18n("Please enter your password below."); } else { prompt = KCmdLineArgs::parsedArgs()->arg(0); } - QCString pw; + TQCString pw; KPasswordDialog::disableCoreDumps(); if (KPasswordDialog::getPassword(pw,prompt,0)==KPasswordDialog::Accepted) { - std::cout << pw << std::endl; + std::cout << pw.data() << std::endl; /* cleanup memory */ - pw.replace(0,pw.length(),"0"); + pw.tqreplace(0,pw.length(),"0"); return 0; } return 1; |