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 --- konqueror/shellcmdplugin/kshellcmdplugin.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'konqueror/shellcmdplugin/kshellcmdplugin.cpp') diff --git a/konqueror/shellcmdplugin/kshellcmdplugin.cpp b/konqueror/shellcmdplugin/kshellcmdplugin.cpp index b7f07ec81..7c39fb826 100644 --- a/konqueror/shellcmdplugin/kshellcmdplugin.cpp +++ b/konqueror/shellcmdplugin/kshellcmdplugin.cpp @@ -26,15 +26,15 @@ #include #include -KShellCmdPlugin::KShellCmdPlugin( QObject* parent, const char* name, - const QStringList & ) +KShellCmdPlugin::KShellCmdPlugin( TQObject* parent, const char* name, + const TQStringList & ) : KParts::Plugin( parent, name ) { if (!kapp->authorize("shell_access")) return; new KAction( i18n( "&Execute Shell Command..." ), "run", CTRL+Key_E, this, - SLOT( slotExecuteShellCommand() ), actionCollection(), "executeshellcommand" ); + TQT_SLOT( slotExecuteShellCommand() ), actionCollection(), "executeshellcommand" ); } void KShellCmdPlugin::slotExecuteShellCommand() @@ -51,7 +51,7 @@ void KShellCmdPlugin::slotExecuteShellCommand() KMessageBox::sorry(part->widget(),i18n("Executing shell commands works only on local directories.")); return; } - QString path; + TQString path; if ( part->currentItem() ) { // Putting the complete path to the selected file isn't really necessary, @@ -65,12 +65,12 @@ void KShellCmdPlugin::slotExecuteShellCommand() path = url.path(); } bool ok; - QString cmd = KInputDialog::getText( i18n("Execute Shell Command"), + TQString cmd = KInputDialog::getText( i18n("Execute Shell Command"), i18n( "Execute shell command in current directory:" ), KProcess::quote( path ), &ok, part->widget() ); if ( ok ) { - QString chDir; + TQString chDir; chDir="cd "; chDir+=KProcess::quote(part->url().path()); chDir+="; "; -- cgit v1.2.1