diff options
author | Timothy Pearson <[email protected]> | 2013-07-24 11:31:17 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-07-24 11:31:17 -0500 |
commit | d598a49a3e1cadea0d72be28d147d219686413e7 (patch) | |
tree | 3111c0383d0b514f59aaeef0a2f656acc595fd8a /src/simpleoptions.h | |
parent | 56ffa61b35fc088a0e7e2aa885b9ffed82c8d8be (diff) | |
download | knmap-d598a49a3e1cadea0d72be28d147d219686413e7.tar.gz knmap-d598a49a3e1cadea0d72be28d147d219686413e7.zip |
Convert to TDE R14 API
Diffstat (limited to 'src/simpleoptions.h')
-rw-r--r-- | src/simpleoptions.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/simpleoptions.h b/src/simpleoptions.h index 009c35d..b548e34 100644 --- a/src/simpleoptions.h +++ b/src/simpleoptions.h @@ -27,28 +27,28 @@ # include <config.h> #endif -#include <qwidget.h> +#include <ntqwidget.h> #include "global.h" // forward class definitions // ========================= -class QCheckBox; -class KConfig; +class TQCheckBox; +class TDEConfig; // SimpleOptions class definition // ============================== -class SimpleOptions : public QWidget +class SimpleOptions : public TQWidget { Q_OBJECT public: - SimpleOptions( QWidget* parent, const char* name = NULL ); + SimpleOptions( 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 allPortsState( ) const { return m_allPortsState; } @@ -67,8 +67,8 @@ class SimpleOptions : public QWidget signals: void disablePortRanges( ); - void displayDocBook( const QString& ); - void displayHelp( const QString& ); + void displayDocBook( const TQString& ); + void displayHelp( const TQString& ); void displayUnknown( ); void optionsDirty( ); @@ -82,31 +82,31 @@ class SimpleOptions : public QWidget private: void createLayout( ); - QCheckBox* m_allPortsCheckBox; + TQCheckBox* m_allPortsCheckBox; bool m_allPortsState; - QCheckBox* m_fastScanCheckBox; + TQCheckBox* m_fastScanCheckBox; bool m_fastScanState; - QCheckBox* m_ipV6CheckBox; + TQCheckBox* m_ipV6CheckBox; bool m_ipV6State; - QCheckBox* m_noRandomPortsCheckBox; + TQCheckBox* m_noRandomPortsCheckBox; bool m_noRandomPortsState; - QCheckBox* m_osDetectionCheckBox; + TQCheckBox* m_osDetectionCheckBox; bool m_osDetectionState; - QCheckBox* m_osScanLimitCheckBox; + TQCheckBox* m_osScanLimitCheckBox; bool m_osScanLimitState; - QCheckBox* m_packetTraceCheckBox; + TQCheckBox* m_packetTraceCheckBox; bool m_packetTraceState; - QCheckBox* m_prepackagedCheckBox; + TQCheckBox* m_prepackagedCheckBox; bool m_prepackagedState; - QCheckBox* m_privilegedCheckBox; + TQCheckBox* m_privilegedCheckBox; bool m_privilegedState; - QCheckBox* m_randomizeHostsCheckBox; + TQCheckBox* m_randomizeHostsCheckBox; bool m_randomizeHostsState; - QCheckBox* m_sendEthCheckBox; + TQCheckBox* m_sendEthCheckBox; bool m_sendEthState; - QCheckBox* m_sendIPCheckBox; + TQCheckBox* m_sendIPCheckBox; bool m_sendIPState; - QCheckBox* m_verboseCheckBox; + TQCheckBox* m_verboseCheckBox; bool m_verboseState; }; |