diff options
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(); |