summaryrefslogtreecommitdiffstats
path: root/src/pandsoptions.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/pandsoptions.h
parent56ffa61b35fc088a0e7e2aa885b9ffed82c8d8be (diff)
downloadknmap-d598a49a3e1cadea0d72be28d147d219686413e7.tar.gz
knmap-d598a49a3e1cadea0d72be28d147d219686413e7.zip
Convert to TDE R14 API
Diffstat (limited to 'src/pandsoptions.h')
-rw-r--r--src/pandsoptions.h88
1 files changed, 44 insertions, 44 deletions
diff --git a/src/pandsoptions.h b/src/pandsoptions.h
index 92a487c..99051be 100644
--- a/src/pandsoptions.h
+++ b/src/pandsoptions.h
@@ -27,33 +27,33 @@
# include <config.h>
#endif
-#include <qwidget.h>
+#include <ntqwidget.h>
#include "global.h"
// forward class definitions
// =========================
-class QCheckBox;
-class QLineEdit;
-class KConfig;
+class TQCheckBox;
+class TQLineEdit;
+class TDEConfig;
// SimpleOptions class definition
// ==============================
-class PAndSOptions : public QWidget
+class PAndSOptions : public TQWidget
{ Q_OBJECT
public:
- PAndSOptions( QWidget* parent, const char* name = NULL );
+ PAndSOptions( 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 ackState( ) const { return m_ackState; }
- QString ackValue( ) const { return m_ackValue; }
+ TQString ackValue( ) const { return m_ackValue; }
bool arpState( ) const { return m_arpState; }
bool dontPingState( ) const { return m_dontPingState; }
bool echoState( ) const { return m_echoState; }
@@ -61,7 +61,7 @@ class PAndSOptions : public QWidget
bool scanAckState( ) const { return m_scanAckState; }
bool scanFINState( ) const { return m_scanFINState; }
bool scanFTPBounceState( ) const { return m_scanFTPBounceState; }
- QString scanFTPRelayHost( ) const { return m_scanFTPRelayHost; }
+ TQString scanFTPRelayHost( ) const { return m_scanFTPRelayHost; }
bool scanIdleState( ) const { return m_scanIdleState; }
bool scanListState( ) const { return m_scanListState; }
bool scanNullState( ) const { return m_scanNullState; }
@@ -75,14 +75,14 @@ class PAndSOptions : public QWidget
bool scanWindowState( ) const { return m_scanWindowState; }
bool scanXmasState( ) const { return m_scanXmasState; }
bool synState( ) const { return m_synState; }
- QString synValue( ) const { return m_synValue; }
+ TQString synValue( ) const { return m_synValue; }
bool timestampState( ) const { return m_timestampState; }
- QString zombieDetails( ) const { return m_zombieDetails; }
+ TQString zombieDetails( ) const { return m_zombieDetails; }
signals:
void disableFastScan( );
- void displayDocBook( const QString& );
- void displayHelp( const QString& );
+ void displayDocBook( const TQString& );
+ void displayHelp( const TQString& );
void displayUnknown( );
void optionsDirty( );
@@ -96,58 +96,58 @@ class PAndSOptions : public QWidget
private:
void createLayout( );
- QCheckBox* m_ackCheckBox;
- QLineEdit* m_ackLineEdit;
+ TQCheckBox* m_ackCheckBox;
+ TQLineEdit* m_ackLineEdit;
bool m_ackState;
- QString m_ackValue;
- QCheckBox* m_arpCheckBox;
+ TQString m_ackValue;
+ TQCheckBox* m_arpCheckBox;
bool m_arpState;
- QCheckBox* m_dontPingCheckBox;
+ TQCheckBox* m_dontPingCheckBox;
bool m_dontPingState;
- QCheckBox* m_echoCheckBox;
+ TQCheckBox* m_echoCheckBox;
bool m_echoState;
- QCheckBox* m_netmaskCheckBox;
+ TQCheckBox* m_netmaskCheckBox;
bool m_netmaskState;
- QCheckBox* m_scanAckCheckBox;
+ TQCheckBox* m_scanAckCheckBox;
bool m_scanAckState;
- QCheckBox* m_scanFINCheckBox;
+ TQCheckBox* m_scanFINCheckBox;
bool m_scanFINState;
- QCheckBox* m_scanFTPBounceCheckBox;
+ TQCheckBox* m_scanFTPBounceCheckBox;
bool m_scanFTPBounceState;
- QString m_scanFTPRelayHost;
- QLineEdit* m_scanFTPRelayLineEdit;
- QCheckBox* m_scanIdleCheckBox;
+ TQString m_scanFTPRelayHost;
+ TQLineEdit* m_scanFTPRelayLineEdit;
+ TQCheckBox* m_scanIdleCheckBox;
bool m_scanIdleState;
- QCheckBox* m_scanListCheckBox;
+ TQCheckBox* m_scanListCheckBox;
bool m_scanListState;
- QCheckBox* m_scanNullCheckBox;
+ TQCheckBox* m_scanNullCheckBox;
bool m_scanNullState;
- QCheckBox* m_scanPingCheckBox;
+ TQCheckBox* m_scanPingCheckBox;
bool m_scanPingState;
- QCheckBox* m_scanProtocolCheckBox;
+ TQCheckBox* m_scanProtocolCheckBox;
bool m_scanProtocolState;
- QCheckBox* m_scanRPCCheckBox;
+ TQCheckBox* m_scanRPCCheckBox;
bool m_scanRPCState;
- QCheckBox* m_scanTCPConnectCheckBox;
+ TQCheckBox* m_scanTCPConnectCheckBox;
bool m_scanTCPConnectState;
- QCheckBox* m_scanUDPCheckBox;
+ TQCheckBox* m_scanUDPCheckBox;
bool m_scanUDPState;
- QCheckBox* m_scanVersionCheckBox;
+ TQCheckBox* m_scanVersionCheckBox;
bool m_scanVersionState;
- QCheckBox* m_scanWindowCheckBox;
+ TQCheckBox* m_scanWindowCheckBox;
bool m_scanWindowState;
- QCheckBox* m_scanSYNCheckBox;
+ TQCheckBox* m_scanSYNCheckBox;
bool m_scanSYNState;
- QCheckBox* m_scanXmasCheckBox;
+ TQCheckBox* m_scanXmasCheckBox;
bool m_scanXmasState;
- QCheckBox* m_synCheckBox;
- QLineEdit* m_synLineEdit;
+ TQCheckBox* m_synCheckBox;
+ TQLineEdit* m_synLineEdit;
bool m_synState;
- QString m_synValue;
- QCheckBox* m_timestampCheckBox;
+ TQString m_synValue;
+ TQCheckBox* m_timestampCheckBox;
bool m_timestampState;
- QString m_zombieDetails;
- QLineEdit* m_zombieLineEdit;
+ TQString m_zombieDetails;
+ TQLineEdit* m_zombieLineEdit;
};
#endif // _PANDSOPTIONS_H_