diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 16:20:48 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 16:20:48 -0600 |
commit | e63beeb5bdb82987b1e00bc35178667786fbad48 (patch) | |
tree | ab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/ksimpleprocess.cpp | |
parent | 67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff) | |
download | tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip |
Fix incorrect conversion
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); |