summaryrefslogtreecommitdiffstats
path: root/konqueror/shellcmdplugin/kshellcmdplugin.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /konqueror/shellcmdplugin/kshellcmdplugin.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-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 'konqueror/shellcmdplugin/kshellcmdplugin.cpp')
-rw-r--r--konqueror/shellcmdplugin/kshellcmdplugin.cpp12
1 files changed, 6 insertions, 6 deletions
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 <kgenericfactory.h>
#include <kio/netaccess.h>
-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+="; ";