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/loggingoptions.h | |
parent | 56ffa61b35fc088a0e7e2aa885b9ffed82c8d8be (diff) | |
download | knmap-d598a49a3e1cadea0d72be28d147d219686413e7.tar.gz knmap-d598a49a3e1cadea0d72be28d147d219686413e7.zip |
Convert to TDE R14 API
Diffstat (limited to 'src/loggingoptions.h')
-rw-r--r-- | src/loggingoptions.h | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/src/loggingoptions.h b/src/loggingoptions.h index 3260df4..1dc74a8 100644 --- a/src/loggingoptions.h +++ b/src/loggingoptions.h @@ -27,52 +27,52 @@ # include <config.h> #endif -#include <qwidget.h> +#include <ntqwidget.h> #include "global.h" // forward class definitions // ========================= -class QCheckBox; -class QLineEdit; -class QPushButton; -class KConfig; +class TQCheckBox; +class TQLineEdit; +class TQPushButton; +class TDEConfig; // LoggingOptions class definition // =============================== -class LoggingOptions : public QWidget +class LoggingOptions : public TQWidget { Q_OBJECT public: - LoggingOptions( QWidget* parent, const char* name = NULL ); + LoggingOptions( TQWidget* parent, const char* name = NULL ); void finaliseInitialisation( ); bool getOptions( ); - void readProfile( KConfig* config ); - void saveProfile( KConfig* config ); + void readProfile( TDEConfig* config ); + void saveProfile( TDEConfig* config ); void setInitialValues( ); bool appendOutputState( ) const { return m_appendOutputState; } bool baseFileNameState( ) const { return m_baseFileNameState; } - QString baseFileNameValue( ) const { return m_baseFileNameValue; } + TQString baseFileNameValue( ) const { return m_baseFileNameValue; } bool grepableLogState( ) const { return m_grepableLogState; } - QString grepableLogValue( ) const { return m_grepableLogValue; } + TQString grepableLogValue( ) const { return m_grepableLogValue; } bool normalLogState( ) const { return m_normalLogState; } - QString normalLogValue( ) const { return m_normalLogValue; } + TQString normalLogValue( ) const { return m_normalLogValue; } bool noStylesheetState( ) const { return m_noStylesheetState; } bool resumeState( ) const { return m_resumeState; } - QString resumeValue( ) const { return m_resumeValue; } + TQString resumeValue( ) const { return m_resumeValue; } bool scriptKiddieState( ) const { return m_scriptKiddieState; } - QString scriptKiddieValue( ) const { return m_scriptKiddieValue; } + TQString scriptKiddieValue( ) const { return m_scriptKiddieValue; } bool stylesheetState( ) const { return m_stylesheetState; } - QString stylesheetValue( ) const { return m_stylesheetValue; } + TQString stylesheetValue( ) const { return m_stylesheetValue; } bool xmlLogState( ) const { return m_xmlLogState; } - QString xmlLogValue( ) const { return m_xmlLogValue; } + TQString xmlLogValue( ) const { return m_xmlLogValue; } signals: - void displayDocBook( const QString& ); - void displayHelp( const QString& ); + void displayDocBook( const TQString& ); + void displayHelp( const TQString& ); void displayUnknown( ); void optionsDirty( ); @@ -97,45 +97,45 @@ class LoggingOptions : public QWidget private: void createLayout( ); - QCheckBox* m_appendOutputCheckBox; + TQCheckBox* m_appendOutputCheckBox; bool m_appendOutputState; - QPushButton* m_baseFileNameButton; - QCheckBox* m_baseFileNameCheckBox; - QLineEdit* m_baseFileNameLineEdit; + TQPushButton* m_baseFileNameButton; + TQCheckBox* m_baseFileNameCheckBox; + TQLineEdit* m_baseFileNameLineEdit; bool m_baseFileNameState; - QString m_baseFileNameValue; - QPushButton* m_grepableLogButton; - QCheckBox* m_grepableLogCheckBox; - QLineEdit* m_grepableLogLineEdit; + TQString m_baseFileNameValue; + TQPushButton* m_grepableLogButton; + TQCheckBox* m_grepableLogCheckBox; + TQLineEdit* m_grepableLogLineEdit; bool m_grepableLogState; - QString m_grepableLogValue; - QPushButton* m_normalLogButton; - QCheckBox* m_normalLogCheckBox; - QLineEdit* m_normalLogLineEdit; + TQString m_grepableLogValue; + TQPushButton* m_normalLogButton; + TQCheckBox* m_normalLogCheckBox; + TQLineEdit* m_normalLogLineEdit; bool m_normalLogState; - QString m_normalLogValue; - QCheckBox* m_noStylesheetCheckBox; + TQString m_normalLogValue; + TQCheckBox* m_noStylesheetCheckBox; bool m_noStylesheetState; - QPushButton* m_resumeButton; - QCheckBox* m_resumeCheckBox; - QLineEdit* m_resumeLineEdit; + TQPushButton* m_resumeButton; + TQCheckBox* m_resumeCheckBox; + TQLineEdit* m_resumeLineEdit; bool m_resumeState; - QString m_resumeValue; - QPushButton* m_scriptKiddieButton; - QCheckBox* m_scriptKiddieCheckBox; - QLineEdit* m_scriptKiddieLineEdit; + TQString m_resumeValue; + TQPushButton* m_scriptKiddieButton; + TQCheckBox* m_scriptKiddieCheckBox; + TQLineEdit* m_scriptKiddieLineEdit; bool m_scriptKiddieState; - QString m_scriptKiddieValue; - QPushButton* m_stylesheetButton; - QCheckBox* m_stylesheetCheckBox; - QLineEdit* m_stylesheetLineEdit; + TQString m_scriptKiddieValue; + TQPushButton* m_stylesheetButton; + TQCheckBox* m_stylesheetCheckBox; + TQLineEdit* m_stylesheetLineEdit; bool m_stylesheetState; - QString m_stylesheetValue; - QPushButton* m_xmlLogButton; - QCheckBox* m_xmlLogCheckBox; - QLineEdit* m_xmlLogLineEdit; + TQString m_stylesheetValue; + TQPushButton* m_xmlLogButton; + TQCheckBox* m_xmlLogCheckBox; + TQLineEdit* m_xmlLogLineEdit; bool m_xmlLogState; - QString m_xmlLogValue; + TQString m_xmlLogValue; }; #endif // _LOGGINGOPTIONS_ |