From 5f5e7c5455d52826b0bd50f64fcffb7695ce970d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 29 Jun 2013 12:56:53 +0200 Subject: Initial TQt conversion --- src/settingsediting.h | 52 +++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'src/settingsediting.h') diff --git a/src/settingsediting.h b/src/settingsediting.h index b938f4e..ecb1f98 100644 --- a/src/settingsediting.h +++ b/src/settingsediting.h @@ -20,12 +20,12 @@ #ifndef SETTINGSEDITING_H #define SETTINGSEDITING_H -#include +#include -class QCheckBox; -class QPushButton; -class QComboBox; -class QSlider; +class TQCheckBox; +class TQPushButton; +class TQComboBox; +class TQSlider; class KPushButton; class KURLRequester; @@ -33,35 +33,35 @@ class KListView; namespace KBibTeX { - class SettingsEditingPaths: public QWidget + class SettingsEditingPaths: public TQWidget { Q_OBJECT protected: - SettingsEditingPaths( QStringList& pathList, QWidget*parent = 0, const char *name = 0 ); + SettingsEditingPaths( TQStringList& pathList, TQWidget*parent = 0, const char *name = 0 ); public: - static bool execute( QWidget *parent, QStringList &pathList ); + static bool execute( TQWidget *parent, TQStringList &pathList ); public slots: void slotApply(); - void slotTextChanged( const QString&text ); + void slotTextChanged( const TQString&text ); void slotAddDir(); void slotSelectionChanged(); void slotDelDir(); private: - QStringList &m_pathList; + TQStringList &m_pathList; KURLRequester *m_urlRequesterNewPath; KPushButton *m_pushButtonAddDir; KListView *m_listViewPathList; KPushButton *m_pushButtonDelDir; }; - class SettingsEditing : public QWidget + class SettingsEditing : public TQWidget { Q_OBJECT public: - SettingsEditing( QWidget *parent = 0, const char *name = 0 ); + SettingsEditing( TQWidget *parent = 0, const char *name = 0 ); ~SettingsEditing(); void applyData(); @@ -76,22 +76,22 @@ namespace KBibTeX void slotSelectDocumentSearchPath(); private: - QCheckBox *m_checkBoxEnableAllFields; - QCheckBox *m_checkBoxSearchBarClearField; - QComboBox *m_comboBoxSortingColumn; - QComboBox *m_comboBoxSortingOrder; - QComboBox *m_comboBoxDoubleClickAction; - QComboBox *m_comboBoxDragAction; - QCheckBox *m_checkBoxUseSpecialFont; - QPushButton *m_pushButtonSpecialFont; - QFont m_specialFont; - QComboBox *m_comboBoxNameOrder; - QStringList m_documentSearchPaths; - static const QChar pathListSeparator; - QSlider *m_sliderBarFindDuplicatesSensitivity; + TQCheckBox *m_checkBoxEnableAllFields; + TQCheckBox *m_checkBoxSearchBarClearField; + TQComboBox *m_comboBoxSortingColumn; + TQComboBox *m_comboBoxSortingOrder; + TQComboBox *m_comboBoxDoubleClickAction; + TQComboBox *m_comboBoxDragAction; + TQCheckBox *m_checkBoxUseSpecialFont; + TQPushButton *m_pushButtonSpecialFont; + TQFont m_specialFont; + TQComboBox *m_comboBoxNameOrder; + TQStringList m_documentSearchPaths; + static const TQChar pathListSeparator; + TQSlider *m_sliderBarFindDuplicatesSensitivity; void updateFontData(); - bool editPathList( QStringList &pathList ); + bool editPathList( TQStringList &pathList ); const int m_findDuplicatesSensitivityMin, m_findDuplicatesSensitivityMax; }; -- cgit v1.2.3