From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdm/kfrontend/kconsole.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kdm/kfrontend/kconsole.cpp') diff --git a/kdm/kfrontend/kconsole.cpp b/kdm/kfrontend/kconsole.cpp index b101712da..6c2ab09ab 100644 --- a/kdm/kfrontend/kconsole.cpp +++ b/kdm/kfrontend/kconsole.cpp @@ -59,9 +59,9 @@ extern "C" { #include #include -#include +#include -KConsole::KConsole( QWidget *_parent ) +KConsole::KConsole( TQWidget *_parent ) : inherited( _parent ) , pty( 0 ) , notifier( 0 ) @@ -128,8 +128,8 @@ KConsole::OpenConsole() fd = pty->masterFd(); gotcon: - notifier = new QSocketNotifier( fd, QSocketNotifier::Read, this ); - connect( notifier, SIGNAL(activated( int )), SLOT(slotData()) ); + notifier = new TQSocketNotifier( fd, TQSocketNotifier::Read, this ); + connect( notifier, TQT_SIGNAL(activated( int )), TQT_SLOT(slotData()) ); return 1; } @@ -161,14 +161,14 @@ KConsole::slotData() bool as = !verticalScrollBar()->isVisible() || (verticalScrollBar()->value() == verticalScrollBar()->maxValue()); - QString str( QString::fromLocal8Bit( buffer, n ).remove( '\r' ) ); + TQString str( TQString::fromLocal8Bit( buffer, n ).remove( '\r' ) ); int pos, opos; for (opos = 0; (pos = str.find( '\n', opos )) >= 0; opos = pos + 1) { if (paragraphs() == 100) removeParagraph( 0 ); if (!leftover.isEmpty()) { append( leftover + str.mid( opos, pos - opos ) ); - leftover = QString::null; + leftover = TQString::null; } else append( str.mid( opos, pos - opos ) ); } -- cgit v1.2.3