diff options
Diffstat (limited to 'konqueror/shellcmdplugin/kshellcmdplugin.cpp')
-rw-r--r-- | konqueror/shellcmdplugin/kshellcmdplugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/konqueror/shellcmdplugin/kshellcmdplugin.cpp b/konqueror/shellcmdplugin/kshellcmdplugin.cpp index 99e04fce8..6245c2bd9 100644 --- a/konqueror/shellcmdplugin/kshellcmdplugin.cpp +++ b/konqueror/shellcmdplugin/kshellcmdplugin.cpp @@ -20,7 +20,7 @@ #include <kinputdialog.h> #include <tdemessagebox.h> #include <konq_dirpart.h> -#include <kprocess.h> +#include <tdeprocess.h> #include <tdeapplication.h> #include "kshellcmddialog.h" #include <kgenericfactory.h> @@ -30,16 +30,16 @@ KShellCmdPlugin::KShellCmdPlugin( TQObject* parent, const char* name, const TQStringList & ) : KParts::Plugin( parent, name ) { - if (!kapp->authorize("shell_access")) + if (!tdeApp->authorize("shell_access")) return; new TDEAction( i18n( "&Execute Shell Command..." ), "system-run", CTRL+Key_E, this, - TQT_SLOT( slotExecuteShellCommand() ), actionCollection(), "executeshellcommand" ); + TQ_SLOT( slotExecuteShellCommand() ), actionCollection(), "executeshellcommand" ); } void KShellCmdPlugin::slotExecuteShellCommand() { - KonqDirPart * part = tqt_dynamic_cast<KonqDirPart *>(parent()); + KonqDirPart * part = dynamic_cast<KonqDirPart *>(parent()); if ( !part ) { KMessageBox::sorry(0L, "KShellCmdPlugin::slotExecuteShellCommand: Program error, please report a bug."); |