summaryrefslogtreecommitdiffstats
path: root/src/compoundwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compoundwidget.h')
-rw-r--r--src/compoundwidget.h132
1 files changed, 66 insertions, 66 deletions
diff --git a/src/compoundwidget.h b/src/compoundwidget.h
index 0522c74..f31816a 100644
--- a/src/compoundwidget.h
+++ b/src/compoundwidget.h
@@ -26,67 +26,67 @@
# include <config.h>
#endif
-#include <qwidget.h>
+#include <ntqwidget.h>
#include "global.h"
// forward class definitions
// =========================
-class KConfig;
-class QCheckBox;
-class QLineEdit;
-class QPushButton;
-class QSpinBox;
+class TDEConfig;
+class TQCheckBox;
+class TQLineEdit;
+class TQPushButton;
+class TQSpinBox;
// CompountWidget class definition
// ===============================
-class CompoundWidget : public QWidget
+class CompoundWidget : public TQWidget
{ Q_OBJECT
public:
- CompoundWidget( QWidget* parent, const char* name = NULL );
+ CompoundWidget( TQWidget* parent, const char* name = NULL );
void finaliseInitialisation( );
bool getOptions( bool& needRoot );
- void readProfile( KConfig* config );
- void saveProfile( KConfig* config );
+ void readProfile( TDEConfig* config );
+ void saveProfile( TDEConfig* config );
void setInitialValues( );
bool dataDirState( ) const { return m_dataDirState; }
- QString dataDirValue( ) const { return m_dataDirValue; }
+ TQString dataDirValue( ) const { return m_dataDirValue; }
bool dataLengthState( ) const { return m_dataLengthState; }
int dataLengthValue( ) const { return m_dataLengthValue; }
bool decoyState( ) const { return m_decoyState; }
- QString decoyValue( ) const { return m_decoyValue; }
+ TQString decoyValue( ) const { return m_decoyValue; }
bool debugLevelState( ) const { return m_debugLevelState; }
int debugLevelValue( ) const { return m_debugLevelValue; }
bool excludeState( ) const { return m_excludeState; }
- QString excludeValue( ) const { return m_excludeValue; }
+ TQString excludeValue( ) const { return m_excludeValue; }
bool excludeFileState( ) const { return m_excludeFileState; }
- QString excludeFileValue( ) const { return m_excludeFileValue; }
+ TQString excludeFileValue( ) const { return m_excludeFileValue; }
bool fragmentLevelState( ) const { return m_fragmentLevelState; }
int fragmentLevelValue( ) const { return m_fragmentLevelValue; }
bool interfaceState( ) const { return m_interfaceState; }
- QString interfaceValue( ) const { return m_interfaceValue; }
+ TQString interfaceValue( ) const { return m_interfaceValue; }
bool maxSocketsState( ) const { return m_maxSocketsState; }
int maxSocketsValue( ) const { return m_maxSocketsValue; }
bool randomIPState( ) const { return m_randomIPState; }
int randomIPValue( ) const { return m_randomIPValue; }
bool sourceIPState( ) const { return m_sourceIPState; }
- QString sourceIPValue( ) const { return m_sourceIPValue; }
+ TQString sourceIPValue( ) const { return m_sourceIPValue; }
bool sourcePortState( ) const { return m_sourcePortState; }
int sourcePortValue( ) const { return m_sourcePortValue; }
bool spoofMacState( ) const { return m_spoofMacState; }
- QString spoofMacValue( ) const { return m_spoofMacValue; }
+ TQString spoofMacValue( ) const { return m_spoofMacValue; }
bool targetFileState( ) const { return m_targetFileState; }
- QString targetFileValue( ) const { return m_targetFileValue; }
+ TQString targetFileValue( ) const { return m_targetFileValue; }
bool ttlState( ) const { return m_ttlState; }
int ttlValue( ) const { return m_ttlValue; }
signals:
- void displayDocBook( const QString& );
- void displayHelp( const QString& );
+ void displayDocBook( const TQString& );
+ void displayHelp( const TQString& );
void displayUnknown( );
void optionsDirty( );
@@ -119,72 +119,72 @@ class CompoundWidget : public QWidget
private:
void createLayout( );
- QPushButton* m_dataDirButton;
- QCheckBox* m_dataDirCheckBox;
- QLineEdit* m_dataDirLineEdit;
+ TQPushButton* m_dataDirButton;
+ TQCheckBox* m_dataDirCheckBox;
+ TQLineEdit* m_dataDirLineEdit;
bool m_dataDirState;
- QString m_dataDirValue;
- QCheckBox* m_dataLengthCheckBox;
- QSpinBox* m_dataLengthSpinBox;
+ TQString m_dataDirValue;
+ TQCheckBox* m_dataLengthCheckBox;
+ TQSpinBox* m_dataLengthSpinBox;
bool m_dataLengthState;
int m_dataLengthValue;
- QPushButton* m_decoyButton;
- QCheckBox* m_decoyCheckBox;
- QLineEdit* m_decoyLineEdit;
+ TQPushButton* m_decoyButton;
+ TQCheckBox* m_decoyCheckBox;
+ TQLineEdit* m_decoyLineEdit;
bool m_decoyState;
- QString m_decoyValue;
- QCheckBox* m_debugLevelCheckBox;
- QSpinBox* m_debugLevelSpinBox;
+ TQString m_decoyValue;
+ TQCheckBox* m_debugLevelCheckBox;
+ TQSpinBox* m_debugLevelSpinBox;
bool m_debugLevelState;
int m_debugLevelValue;
- QPushButton* m_excludeButton;
- QCheckBox* m_excludeCheckBox;
- QLineEdit* m_excludeLineEdit;
+ TQPushButton* m_excludeButton;
+ TQCheckBox* m_excludeCheckBox;
+ TQLineEdit* m_excludeLineEdit;
bool m_excludeState;
- QString m_excludeValue;
- QPushButton* m_excludeFileButton;
- QCheckBox* m_excludeFileCheckBox;
- QLineEdit* m_excludeFileLineEdit;
+ TQString m_excludeValue;
+ TQPushButton* m_excludeFileButton;
+ TQCheckBox* m_excludeFileCheckBox;
+ TQLineEdit* m_excludeFileLineEdit;
bool m_excludeFileState;
- QString m_excludeFileValue;
- QCheckBox* m_fragmentLevelCheckBox;
- QSpinBox* m_fragmentLevelSpinBox;
+ TQString m_excludeFileValue;
+ TQCheckBox* m_fragmentLevelCheckBox;
+ TQSpinBox* m_fragmentLevelSpinBox;
bool m_fragmentLevelState;
int m_fragmentLevelValue;
- QPushButton* m_interfaceButton;
- QCheckBox* m_interfaceCheckBox;
- QLineEdit* m_interfaceLineEdit;
+ TQPushButton* m_interfaceButton;
+ TQCheckBox* m_interfaceCheckBox;
+ TQLineEdit* m_interfaceLineEdit;
bool m_interfaceState;
- QString m_interfaceValue;
- QCheckBox* m_maxSocketsCheckBox;
- QSpinBox* m_maxSocketsSpinBox;
+ TQString m_interfaceValue;
+ TQCheckBox* m_maxSocketsCheckBox;
+ TQSpinBox* m_maxSocketsSpinBox;
bool m_maxSocketsState;
int m_maxSocketsValue;
- QCheckBox* m_randomIPCheckBox;
- QSpinBox* m_randomIPSpinBox;
+ TQCheckBox* m_randomIPCheckBox;
+ TQSpinBox* m_randomIPSpinBox;
bool m_randomIPState;
int m_randomIPValue;
- QPushButton* m_sourceIPButton;
- QCheckBox* m_sourceIPCheckBox;
- QLineEdit* m_sourceIPLineEdit;
+ TQPushButton* m_sourceIPButton;
+ TQCheckBox* m_sourceIPCheckBox;
+ TQLineEdit* m_sourceIPLineEdit;
bool m_sourceIPState;
- QString m_sourceIPValue;
- QCheckBox* m_sourcePortCheckBox;
- QSpinBox* m_sourcePortSpinBox;
+ TQString m_sourceIPValue;
+ TQCheckBox* m_sourcePortCheckBox;
+ TQSpinBox* m_sourcePortSpinBox;
bool m_sourcePortState;
int m_sourcePortValue;
- QPushButton* m_spoofMacButton;
- QCheckBox* m_spoofMacCheckBox;
- QLineEdit* m_spoofMacLineEdit;
+ TQPushButton* m_spoofMacButton;
+ TQCheckBox* m_spoofMacCheckBox;
+ TQLineEdit* m_spoofMacLineEdit;
bool m_spoofMacState;
- QString m_spoofMacValue;
- QPushButton* m_targetFileButton;
- QCheckBox* m_targetFileCheckBox;
- QLineEdit* m_targetFileLineEdit;
+ TQString m_spoofMacValue;
+ TQPushButton* m_targetFileButton;
+ TQCheckBox* m_targetFileCheckBox;
+ TQLineEdit* m_targetFileLineEdit;
bool m_targetFileState;
- QString m_targetFileValue;
- QCheckBox* m_ttlCheckBox;
- QSpinBox* m_ttlSpinBox;
+ TQString m_targetFileValue;
+ TQCheckBox* m_ttlCheckBox;
+ TQSpinBox* m_ttlSpinBox;
bool m_ttlState;
int m_ttlValue;
};