From 272d7c3f5b0ff67c80ee83c0e5cc58c8273fc9d2 Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Wed, 24 Jul 2013 19:39:16 +0200 Subject: Additional KDE3 => TDE conversion --- src/scanwidget.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/scanwidget.cpp') diff --git a/src/scanwidget.cpp b/src/scanwidget.cpp index b9ca7c6..7f8c382 100644 --- a/src/scanwidget.cpp +++ b/src/scanwidget.cpp @@ -34,11 +34,11 @@ #include #include -#include +#include #include #include #include -#include +#include #include #include #include @@ -120,7 +120,7 @@ ScanWidget::~ScanWidget( ) TQStringList ScanWidget::buildNmapOptionsList( ) { TQStringList nmapOptions; - nmapOptions << KStandardDirs::findExe ( "nmap" ); + nmapOptions << TDEStandardDirs::findExe ( "nmap" ); if( m_commonWidget->resovleAlwaysState( )) nmapOptions << "-R"; @@ -509,7 +509,7 @@ bool ScanWidget::createPipes( ) { ASSERT( m_pipeStderr == NULL ); ASSERT( m_pipeStdout == NULL ); - KStandardDirs standardDirs; + TDEStandardDirs standardDirs; TQStringList tempDir = standardDirs.resourceDirs( "tmp" ); if( tempDir.isEmpty( )) @@ -969,7 +969,7 @@ void ScanWidget::slotStartClicked( ) nmapOptions << "2>"; nmapOptions << m_pipeStderr->name( ); - *m_nmapProcess << "kdesu"; + *m_nmapProcess << "tdesu"; *m_nmapProcess << "-n"; *m_nmapProcess << nmapOptions.join( " " ); } -- cgit v1.2.3