diff options
Diffstat (limited to 'kbabel/commonui/projectprefwidgets.h')
-rw-r--r-- | kbabel/commonui/projectprefwidgets.h | 142 |
1 files changed, 71 insertions, 71 deletions
diff --git a/kbabel/commonui/projectprefwidgets.h b/kbabel/commonui/projectprefwidgets.h index 81a1b3e6..8dd7b561 100644 --- a/kbabel/commonui/projectprefwidgets.h +++ b/kbabel/commonui/projectprefwidgets.h @@ -36,7 +36,7 @@ #define PROJECTPREFWIDGETS_H #include <ktabctl.h> -#include <qptrlist.h> +#include <tqptrlist.h> #include "projectsettings.h" @@ -66,42 +66,42 @@ class KDE_EXPORT SavePreferences : public KTabCtl { Q_OBJECT public: - SavePreferences(QWidget* parent=0); + SavePreferences(TQWidget* parent=0); void defaults(const KBabel::SaveSettings& settings); void setAutoSaveVisible(const bool on); private: - QCheckBox* _lastButton; - QCheckBox* _revisionButton; - QCheckBox* _languageButton; - QCheckBox* _charsetButton; - QCheckBox* _encodingButton; - QCheckBox* _projectButton; - - QCheckBox* _updateButton; - QCheckBox* _autoCheckButton; - QCheckBox* _saveObsoleteButton; - - QComboBox* _encodingBox; - QCheckBox* _oldEncodingButton; - - QRadioButton* _defaultDateButton; - QRadioButton* _localDateButton; - QRadioButton* _customDateButton; - QLineEdit* _dateFormatEdit; + TQCheckBox* _lastButton; + TQCheckBox* _revisionButton; + TQCheckBox* _languageButton; + TQCheckBox* _charsetButton; + TQCheckBox* _encodingButton; + TQCheckBox* _projectButton; + + TQCheckBox* _updateButton; + TQCheckBox* _autoCheckButton; + TQCheckBox* _saveObsoleteButton; + + TQComboBox* _encodingBox; + TQCheckBox* _oldEncodingButton; + + TQRadioButton* _defaultDateButton; + TQRadioButton* _localDateButton; + TQRadioButton* _customDateButton; + TQLineEdit* _dateFormatEdit; - QLineEdit* _projectEdit; + TQLineEdit* _projectEdit; - QRadioButton* _removeFSFButton; - QRadioButton* _updateFSFButton; - QRadioButton* _nochangeFSFButton; - QCheckBox* _translatorCopyrightButton; + TQRadioButton* _removeFSFButton; + TQRadioButton* _updateFSFButton; + TQRadioButton* _nochangeFSFButton; + TQCheckBox* _translatorCopyrightButton; - QCheckBox* _descriptionButton; - QLineEdit* _descriptionEdit; + TQCheckBox* _descriptionButton; + TQLineEdit* _descriptionEdit; KIntNumInput * _autoSaveDelay; - QGroupBox * _autoSaveBox; + TQGroupBox * _autoSaveBox; private slots: void customDateActivated(bool on); @@ -112,8 +112,8 @@ class IdentityPreferences : public QWidget { Q_OBJECT public: - IdentityPreferences(QWidget *parent = 0, const QString& project = ""); - virtual bool eventFilter(QObject *, QEvent*); + IdentityPreferences(TQWidget *parent = 0, const TQString& project = ""); + virtual bool eventFilter(TQObject *, TQEvent*); void defaults(const KBabel::IdentitySettings& settings); private slots: @@ -122,19 +122,19 @@ private slots: void lookupGnuPluralFormHeader(); private: - QLineEdit* _nameEdit; - QLineEdit* _localNameEdit; - QLineEdit* _mailEdit; - QLineEdit* _langEdit; - QLineEdit* _langCodeEdit; - QLineEdit* _listEdit; - - QLineEdit* _timezoneEdit; - QSpinBox *_pluralFormsBox; - QPushButton *_testPluralButton; - QCheckBox* _checkPluralArgumentBox; - QLineEdit* _gnuPluralFormHeaderEdit; - QPushButton *_testGnuPluralFormButton; + TQLineEdit* _nameEdit; + TQLineEdit* _localNameEdit; + TQLineEdit* _mailEdit; + TQLineEdit* _langEdit; + TQLineEdit* _langCodeEdit; + TQLineEdit* _listEdit; + + TQLineEdit* _timezoneEdit; + TQSpinBox *_pluralFormsBox; + TQPushButton *_testPluralButton; + TQCheckBox* _checkPluralArgumentBox; + TQLineEdit* _gnuPluralFormHeaderEdit; + TQPushButton *_testGnuPluralFormButton; }; @@ -142,32 +142,32 @@ class MiscPreferences : public QWidget { Q_OBJECT public: - MiscPreferences(QWidget *parent=0); + MiscPreferences(TQWidget *parent=0); void defaults(const KBabel::MiscSettings& settings); private slots: void regExpButtonClicked(); private: - void setContextInfo(QString reg); - QString contextInfo() const; + void setContextInfo(TQString reg); + TQString contextInfo() const; KLineEdit *contextInfoEdit; KLineEdit *accelMarkerEdit; - QDialog *_regExpEditDialog; - QPushButton *_regExpButton; + TQDialog *_regExpEditDialog; + TQPushButton *_regExpButton; - QRadioButton* bzipButton; - QRadioButton* gzipButton; - QCheckBox* compressSingle; + TQRadioButton* bzipButton; + TQRadioButton* gzipButton; + TQCheckBox* compressSingle; }; class SpellPreferences : public QWidget { Q_OBJECT public: - SpellPreferences(QWidget *parent=0); + SpellPreferences(TQWidget *parent=0); void mergeSettings(KBabel::SpellcheckSettings& set) const; void updateWidgets(const KBabel::SpellcheckSettings& settings); @@ -178,8 +178,8 @@ signals: private: KSpellConfig* spellConfig; - QCheckBox* remIgnoredBtn; - QCheckBox* onFlyBtn; + TQCheckBox* remIgnoredBtn; + TQCheckBox* onFlyBtn; KURLRequester* ignoreURLEdit; }; @@ -188,25 +188,25 @@ class CatmanPreferences : public QWidget { Q_OBJECT public: - CatmanPreferences(QWidget *parent = 0); + CatmanPreferences(TQWidget *parent = 0); void defaults(const KBabel::CatManSettings& settings); private: KURLRequester* _poDirEdit; KURLRequester* _potDirEdit; - QCheckBox* _openWindowButton; + TQCheckBox* _openWindowButton; - QCheckBox* _killButton; - QCheckBox* _indexButton; - QCheckBox* m_msgfmtButton; + TQCheckBox* _killButton; + TQCheckBox* _indexButton; + TQCheckBox* m_msgfmtButton; }; class DirCommandsPreferences : public QWidget { Q_OBJECT public: - DirCommandsPreferences(QWidget *parent = 0); + DirCommandsPreferences(TQWidget *parent = 0); virtual ~DirCommandsPreferences(); void mergeSettings(KBabel::CatManSettings& settings) const; @@ -224,7 +224,7 @@ class FileCommandsPreferences : public QWidget { Q_OBJECT public: - FileCommandsPreferences(QWidget *parent = 0); + FileCommandsPreferences(TQWidget *parent = 0); virtual ~FileCommandsPreferences(); void mergeSettings(KBabel::CatManSettings& settings) const; @@ -242,17 +242,17 @@ class ViewPreferences : public QWidget { Q_OBJECT public: - ViewPreferences(QWidget *parent = 0); + ViewPreferences(TQWidget *parent = 0); void defaults(const KBabel::CatManSettings& settings); private: - QCheckBox* _flagColumnCheckbox; - QCheckBox* _fuzzyColumnCheckbox; - QCheckBox* _untranslatedColumnCheckbox; - QCheckBox* _totalColumnCheckbox; - QCheckBox* _cvsColumnCheckbox; - QCheckBox* _revisionColumnCheckbox; - QCheckBox* _translatorColumnCheckbox; + TQCheckBox* _flagColumnCheckbox; + TQCheckBox* _fuzzyColumnCheckbox; + TQCheckBox* _untranslatedColumnCheckbox; + TQCheckBox* _totalColumnCheckbox; + TQCheckBox* _cvsColumnCheckbox; + TQCheckBox* _revisionColumnCheckbox; + TQCheckBox* _translatorColumnCheckbox; }; /** @@ -265,14 +265,14 @@ class SourceContextPreferences : public QWidget { Q_OBJECT public: - SourceContextPreferences(QWidget* parent=0); + SourceContextPreferences(TQWidget* parent=0); virtual ~SourceContextPreferences(); void mergeSettings(KBabel::SourceContextSettings& settings) const; void updateWidgets(const KBabel::SourceContextSettings& settings); void defaults(const KBabel::SourceContextSettings& settings); - virtual bool eventFilter(QObject *, QEvent*); + virtual bool eventFilter(TQObject *, TQEvent*); signals: void itemsChanged (); |