diff options
author | gregory guy <[email protected]> | 2020-06-13 16:09:24 +0200 |
---|---|---|
committer | gregory guy <[email protected]> | 2020-06-13 16:09:24 +0200 |
commit | 2c9bc9b806f533df7b8f5349467d0f4be95314a4 (patch) | |
tree | 15f82ae94dd430374f3d939958912c4fb2855326 /src/app/xineConfig.h | |
parent | 38eaf7209a322a622e1b898eaa5477568ca9c6b6 (diff) | |
download | codeine-2c9bc9b806f533df7b8f5349467d0f4be95314a4.tar.gz codeine-2c9bc9b806f533df7b8f5349467d0f4be95314a4.zip |
Conversion qt3 -> tqt3
Signed-off-by: gregory guy <[email protected]>
Diffstat (limited to 'src/app/xineConfig.h')
-rw-r--r-- | src/app/xineConfig.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/app/xineConfig.h b/src/app/xineConfig.h index d7999d5..7eb9ab8 100644 --- a/src/app/xineConfig.h +++ b/src/app/xineConfig.h @@ -5,13 +5,13 @@ #define XINECONFIG_H #include <kdialogbase.h> -#include <qptrlist.h> +#include <ntqptrlist.h> class KComboBox; class KLineEdit; -class QCheckBox; -class QGridLayout; -class QSpinBox; +class TQCheckBox; +class TQGridLayout; +class TQSpinBox; typedef struct xine_s xine_t; typedef struct xine_cfg_entry_s xine_cfg_entry_t; @@ -19,30 +19,30 @@ typedef struct xine_cfg_entry_s xine_cfg_entry_t; ///stores a single config entry of the config file -class XineConfigEntry : public QObject +class XineConfigEntry : public TQObject { enum ClassType { LineEdit, ComboBox, SpinBox, CheckBox }; - QWidget *m_widget; - QCString m_key; - QCString m_string; + TQWidget *m_widget; + TQCString m_key; + TQCString m_string; int m_number; - static inline ClassType classType( const QCString &name ) + static inline ClassType classType( const TQCString &name ) { return name == "KLineEdit" ? LineEdit : name == "KComboBox" ? ComboBox - : name == "QSpinBox" ? SpinBox : CheckBox; + : name == "TQSpinBox" ? SpinBox : CheckBox; } public: - XineConfigEntry( QWidget *parent, QGridLayout*, xine_cfg_entry_t* ); + XineConfigEntry( TQWidget *parent, TQGridLayout*, xine_cfg_entry_t* ); bool isChanged() const; void save( xine_t* ); void reset(); - inline const QCString &key() const { return m_key; } + inline const TQCString &key() const { return m_key; } }; @@ -50,11 +50,11 @@ class XineConfigDialog : public KDialogBase { static KDialogBase *s_instance; - QPtrList<XineConfigEntry> m_entrys; + TQPtrList<XineConfigEntry> m_entrys; xine_t *m_xine; public: - XineConfigDialog( xine_t *xine, QWidget *parent ); + XineConfigDialog( xine_t *xine, TQWidget *parent ); bool isUnsavedSettings() const; void saveSettings(); |