diff options
Diffstat (limited to 'src/scanmonitor.cpp')
| -rw-r--r-- | src/scanmonitor.cpp | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/src/scanmonitor.cpp b/src/scanmonitor.cpp index b3d2f4a..91c66f7 100644 --- a/src/scanmonitor.cpp +++ b/src/scanmonitor.cpp @@ -27,9 +27,9 @@  #include <sys/select.h>   #include <sys/time.h>  -#include <qapplication.h> +#include <ntqapplication.h> -#include <klocale.h> +#include <tdelocale.h>  #include "nmapoutputbuffer.h"  #include "scanmonitor.h" @@ -40,7 +40,7 @@  //	===========  ScanMonitor::ScanMonitor( ScanWidget* parent ) -: QThread( ), +: TQThread( ),    m_buffer( NULL ),    m_nmapBufferSize( 16384 ),    m_parent( parent ) @@ -77,7 +77,7 @@ void ScanMonitor::readNmapOutput( const int pipeFD, const ScanMonitorEventType t  		if( bytesRead > 0 )  		{	m_buffer->length( bytesRead ); -			QApplication::postEvent( m_parent, new ScanMonitorEvent( type, m_buffer )); +			TQApplication::postEvent( m_parent, new ScanMonitorEvent( type, m_buffer ));  			m_buffer = NULL;  			continue;  		} @@ -87,10 +87,10 @@ void ScanMonitor::readNmapOutput( const int pipeFD, const ScanMonitorEventType t  			break;  		} -		QString text = QString( i18n( "error reading nmap output from pipe: %2\n" )).arg( strerror( errno )); +		TQString text = TQString( i18n( "error reading nmap output from pipe: %2\n" )).arg( strerror( errno ));  		strcpy( m_buffer->buffer( ), text.ascii( ));  		m_buffer->length( text.length( )); -		QApplication::postEvent( m_parent, new ScanMonitorEvent( StderrType, m_buffer )); +		TQApplication::postEvent( m_parent, new ScanMonitorEvent( StderrType, m_buffer ));  		m_buffer = NULL;  		break;  	} | 
