From 9ba04742771370f59740e32e11c5f3a1e6a1b70a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 15:55:57 -0600 Subject: Initial TQt conversion --- kjsembed/ksimpleprocess.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kjsembed/ksimpleprocess.cpp') 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 #include -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); -- cgit v1.2.1