diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/ksimpleprocess.cpp | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt 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 212566ec..720bfa42 100644 --- a/kjsembed/ksimpleprocess.cpp +++ b/kjsembed/ksimpleprocess.cpp @@ -21,19 +21,19 @@ #include "ksimpleprocess.h" #include <tqapplication.h> #include <klocale.h> -static TQStringList splitArgList( const TQString &args) +static TTQStringList splitArgList( const TTQString &args) { - TQStringList returnArgs = TQStringList::split( ' ', args); + TTQStringList returnArgs = TTQStringList::split( ' ', args); return returnArgs; } -TQString KSimpleProcess::exec( const TQString &args, bool addStdErr ) +TTQString KSimpleProcess::exec( const TTQString &args, bool addStdErr ) { KSimpleProcess proc; return proc.execInternal( args, addStdErr); } -TQString KSimpleProcess::execInternal( const TQString &args, bool addStdError) +TTQString KSimpleProcess::execInternal( const TTQString &args, bool addStdError) { m_proc->setArguments( splitArgList( args )); connect(m_proc, TQT_SIGNAL(processExited()), this, TQT_SLOT(slotProcessExited())); @@ -47,11 +47,11 @@ TQString KSimpleProcess::execInternal( const TQString &args, bool addStdError) return m_currBuffer; } -KSimpleProcess::KSimpleProcess() : TQObject(0,0) +KSimpleProcess::KSimpleProcess() : TTQObject(0,0) { m_currBuffer = ""; m_stdErrOn = false; - m_proc = new TQProcess(this); + m_proc = new TTQProcess(this); } KSimpleProcess::~KSimpleProcess() @@ -61,13 +61,13 @@ KSimpleProcess::~KSimpleProcess() // If a troll sees this, he kills david not me -void qt_enter_modal( TQWidget *widget ); -void qt_leave_modal( TQWidget *widget ); +void qt_enter_modal( TTQWidget *widget ); +void qt_leave_modal( TTQWidget *widget ); void KSimpleProcess::enter_loop() { - TQWidget dummy(0,0,WType_Dialog | WShowModal); - dummy.setFocusPolicy( TQWidget::NoFocus ); + TTQWidget dummy(0,0,WType_Dialog | WShowModal); + dummy.setFocusPolicy( TTQWidget::NoFocus ); qt_enter_modal(&dummy); qApp->enter_loop(); qt_leave_modal(&dummy); |