diff options
Diffstat (limited to 'kjsembed/ksimpleprocess.cpp')
-rw-r--r-- | kjsembed/ksimpleprocess.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kjsembed/ksimpleprocess.cpp b/kjsembed/ksimpleprocess.cpp index 720bfa42..212566ec 100644 --- a/kjsembed/ksimpleprocess.cpp +++ b/kjsembed/ksimpleprocess.cpp @@ -21,19 +21,19 @@ #include "ksimpleprocess.h" #include <tqapplication.h> #include <klocale.h> -static TTQStringList splitArgList( const TTQString &args) +static TQStringList splitArgList( const TQString &args) { - TTQStringList returnArgs = TTQStringList::split( ' ', args); + TQStringList returnArgs = TQStringList::split( ' ', args); return returnArgs; } -TTQString KSimpleProcess::exec( const TTQString &args, bool addStdErr ) +TQString KSimpleProcess::exec( const TQString &args, bool addStdErr ) { KSimpleProcess proc; return proc.execInternal( args, addStdErr); } -TTQString KSimpleProcess::execInternal( const TTQString &args, bool addStdError) +TQString KSimpleProcess::execInternal( const TQString &args, bool addStdError) { m_proc->setArguments( splitArgList( args )); connect(m_proc, TQT_SIGNAL(processExited()), this, TQT_SLOT(slotProcessExited())); @@ -47,11 +47,11 @@ TTQString KSimpleProcess::execInternal( const TTQString &args, bool addStdError) return m_currBuffer; } -KSimpleProcess::KSimpleProcess() : TTQObject(0,0) +KSimpleProcess::KSimpleProcess() : TQObject(0,0) { m_currBuffer = ""; m_stdErrOn = false; - m_proc = new TTQProcess(this); + m_proc = new TQProcess(this); } KSimpleProcess::~KSimpleProcess() @@ -61,13 +61,13 @@ KSimpleProcess::~KSimpleProcess() // If a troll sees this, he kills david not me -void qt_enter_modal( TTQWidget *widget ); -void qt_leave_modal( TTQWidget *widget ); +void qt_enter_modal( TQWidget *widget ); +void qt_leave_modal( TQWidget *widget ); void KSimpleProcess::enter_loop() { - TTQWidget dummy(0,0,WType_Dialog | WShowModal); - dummy.setFocusPolicy( TTQWidget::NoFocus ); + TQWidget dummy(0,0,WType_Dialog | WShowModal); + dummy.setFocusPolicy( TQWidget::NoFocus ); qt_enter_modal(&dummy); qApp->enter_loop(); qt_leave_modal(&dummy); |