diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-07-24 19:39:16 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-07-24 19:39:16 +0200 |
commit | 272d7c3f5b0ff67c80ee83c0e5cc58c8273fc9d2 (patch) | |
tree | 9fc3ded2c78389d724cde5d1ded78c5406b88080 /src/scanwidget.cpp | |
parent | a9591478337b722e704e2f6eaaeff231a92779e8 (diff) | |
download | knmap-272d7c3f5b0ff67c80ee83c0e5cc58c8273fc9d2.tar.gz knmap-272d7c3f5b0ff67c80ee83c0e5cc58c8273fc9d2.zip |
Additional KDE3 => TDE conversion
Diffstat (limited to 'src/scanwidget.cpp')
-rw-r--r-- | src/scanwidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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 <ntqstringlist.h> #include <ntqtimer.h> -#include <kapplication.h> +#include <tdeapplication.h> #include <tdeconfig.h> #include <kdebug.h> #include <tdelocale.h> -#include <kmessagebox.h> +#include <tdemessagebox.h> #include <kprocess.h> #include <kstandarddirs.h> #include <ktabwidget.h> @@ -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( " " ); } |