summaryrefslogtreecommitdiffstats
path: root/src/scanwidget.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 11:31:17 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 11:31:17 -0500
commitd598a49a3e1cadea0d72be28d147d219686413e7 (patch)
tree3111c0383d0b514f59aaeef0a2f656acc595fd8a /src/scanwidget.h
parent56ffa61b35fc088a0e7e2aa885b9ffed82c8d8be (diff)
downloadknmap-d598a49a3e1cadea0d72be28d147d219686413e7.tar.gz
knmap-d598a49a3e1cadea0d72be28d147d219686413e7.zip
Convert to TDE R14 API
Diffstat (limited to 'src/scanwidget.h')
-rw-r--r--src/scanwidget.h74
1 files changed, 37 insertions, 37 deletions
diff --git a/src/scanwidget.h b/src/scanwidget.h
index decb7cb..e8c5413 100644
--- a/src/scanwidget.h
+++ b/src/scanwidget.h
@@ -27,7 +27,7 @@
# include <config.h>
#endif
-#include <qframe.h>
+#include <ntqframe.h>
#include "global.h"
// forward class definitions
@@ -36,16 +36,16 @@
class CommonWidget;
class CompoundWidget;
class HTMLWidget;
-class KConfig;
-class KProcess;
+class TDEConfig;
+class TDEProcess;
class KTabWidget;
class LoggingOptions;
class OutputWidget;
class PAndSOptions;
-class QFile;
-class QLineEdit;
-class QPushButton;
-class QStringList;
+class TQFile;
+class TQLineEdit;
+class TQPushButton;
+class TQStringList;
class ScanMonitor;
class SimpleOptions;
class TimingWidget;
@@ -53,13 +53,13 @@ class TimingWidget;
// ScanWidget class definition
// ===========================
-class ScanWidget : public QFrame
+class ScanWidget : public TQFrame
{ Q_OBJECT
public:
- ScanWidget( const QString& scanName,
+ ScanWidget( const TQString& scanName,
const bool useTargetHost,
- QWidget* parent = NULL,
+ TQWidget* parent = NULL,
const char* name = NULL );
virtual ~ScanWidget( );
@@ -77,15 +77,15 @@ class ScanWidget : public QFrame
void profileCopy( );
void profileDelete( );
void profileLoad( );
- QString profileName( ) const { return m_profileName; }
+ TQString profileName( ) const { return m_profileName; }
void profileRename( );
void profileSave( );
void profileSaveAs( );
void readSettings( );
- void renameScan( const QString& newScanName );
+ void renameScan( const TQString& newScanName );
void saveSettings( );
- QString scanName( ) const { return m_scanName; }
- void setProfileName( const QString& profileName );
+ TQString scanName( ) const { return m_scanName; }
+ void setProfileName( const TQString& profileName );
State state( ) const { return m_state; }
void state( const State s ) { m_state = s; }
void updateStatusBarText( );
@@ -94,46 +94,46 @@ class ScanWidget : public QFrame
void wrapText( const bool wrap );
signals:
- void displayHelp( const QString& );
- void errorLoadingLocalManPage( const QString& );
+ void displayHelp( const TQString& );
+ void errorLoadingLocalManPage( const TQString& );
void optionsDirty( );
void outputAvailable( const bool, const bool );
- void scanRename( const QString& );
+ void scanRename( const TQString& );
void scanStarted( );
void scanStopped( ScanWidget* );
void setManPageActionStuff( const bool );
- void statusBarText( const QString& );
+ void statusBarText( const TQString& );
private slots:
void slotClearOutput( );
- void slotDisplayDocBook( const QString& anchor );
+ void slotDisplayDocBook( const TQString& anchor );
void slotDisplayUnknown( );
void slotFinaliseInitialisation( );
void slotHideOptions( );
void slotOptionsDirty( const bool dirty = true );
void slotProcessExited( );
- void slotReceivedStderr( KProcess* process, char* buffer, int buflen );
- void slotReceivedStdout( KProcess* process, char* buffer, int buflen );
+ void slotReceivedStderr( TDEProcess* process, char* buffer, int buflen );
+ void slotReceivedStdout( TDEProcess* process, char* buffer, int buflen );
void slotStartClicked( );
void slotStopClicked( );
- void slotTabChanged( QWidget* toWidget );
- void slotTargetChanged( const QString& target );
+ void slotTabChanged( TQWidget* toWidget );
+ void slotTargetChanged( const TQString& target );
private:
- QStringList buildNmapOptionsList( );
- void closePipe( QFile*& pipe, int& pipeFD );
+ TQStringList buildNmapOptionsList( );
+ void closePipe( TQFile*& pipe, int& pipeFD );
void createLayout( );
- bool createPipe( const QString type, const QString& tempDir, QFile*& pipe, int& pipeFD );
+ bool createPipe( const TQString type, const TQString& tempDir, TQFile*& pipe, int& pipeFD );
bool createPipes( );
- void customEvent( QCustomEvent* event );
+ void customEvent( TQCustomEvent* event );
bool getOptions( );
- void getPortRanges( QStringList* portRanges );
+ void getPortRanges( TQStringList* portRanges );
void initialiseManPage( );
void profileRead( );
void saveProfileName( );
void setInitialValues( );
- QPushButton* m_clearOutputButton;
+ TQPushButton* m_clearOutputButton;
int m_commonIndex;
CommonWidget* m_commonWidget;
int m_compoundIndex;
@@ -141,28 +141,28 @@ class ScanWidget : public QFrame
int m_currentTab;
bool m_dirty;
bool m_hideOptions;
- QPushButton* m_hideOptionsButton;
+ TQPushButton* m_hideOptionsButton;
int m_htmlIndex;
bool m_ignoreTabChanges;
int m_loggingIndex;
LoggingOptions* m_loggingWidget;
- KProcess* m_nmapProcess;
+ TDEProcess* m_nmapProcess;
OutputWidget* m_outputWidget;
int m_pAndSIndex;
PAndSOptions* m_pAndSWidget;
- QFile* m_pipeStderr;
- QFile* m_pipeStdout;
+ TQFile* m_pipeStderr;
+ TQFile* m_pipeStdout;
int m_pipeStderrFD;
int m_pipeStdoutFD;
bool m_piping;
- QString m_profileName;
+ TQString m_profileName;
ScanMonitor* m_scanMonitor;
- QString m_scanName;
+ TQString m_scanName;
int m_simpleIndex;
SimpleOptions* m_simpleWidget;
- QPushButton* m_startButton;
+ TQPushButton* m_startButton;
State m_state;
- QPushButton* m_stopButton;
+ TQPushButton* m_stopButton;
KTabWidget* m_tabWidget;
int m_timingIndex;
TimingWidget* m_timingWidget;