diff options
Diffstat (limited to 'bibletime/frontend/coptionsdialog.h')
-rw-r--r-- | bibletime/frontend/coptionsdialog.h | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/bibletime/frontend/coptionsdialog.h b/bibletime/frontend/coptionsdialog.h index b6431ca..9bc649a 100644 --- a/bibletime/frontend/coptionsdialog.h +++ b/bibletime/frontend/coptionsdialog.h @@ -17,14 +17,14 @@ #include "util/cpointers.h" //QT includes -#include <qwidget.h> -#include <qframe.h> -#include <qguardedptr.h> -#include <qlabel.h> -#include <qstring.h> -#include <qmap.h> -#include <qdict.h> -#include <qmap.h> +#include <tqwidget.h> +#include <tqframe.h> +#include <tqguardedptr.h> +#include <tqlabel.h> +#include <tqstring.h> +#include <tqmap.h> +#include <tqdict.h> +#include <tqmap.h> //KDE includes #include <kdialogbase.h> @@ -34,11 +34,11 @@ #include <kapp.h> #include <klocale.h> -class QHBox; -class QCheckBox; -class QComboBox; -class QRadioButton; -class QWidgetStack; +class TQHBox; +class TQCheckBox; +class TQComboBox; +class TQRadioButton; +class TQWidgetStack; class KListBox; class KKeyChooser; @@ -54,7 +54,7 @@ class COptionsDialog : public KDialogBase, public CPointers { Q_OBJECT public: - COptionsDialog(QWidget *parent, const char *name, KActionCollection* actionCollection); + COptionsDialog(TQWidget *parent, const char *name, KActionCollection* actionCollection); virtual ~COptionsDialog(); enum Parts { @@ -71,46 +71,46 @@ public: private: struct Settings { struct StartupSettings { - QCheckBox* showTips; - QCheckBox* showLogo; + TQCheckBox* showTips; + TQCheckBox* showLogo; } startup; struct SwordSettings { - QComboBox* standardBible; - QComboBox* standardCommentary; - QComboBox* standardLexicon; - QComboBox* standardDailyDevotional; - QComboBox* standardHebrewStrong; - QComboBox* standardGreekStrong; - QComboBox* standardHebrewMorph; - QComboBox* standardGreekMorph; - QCheckBox* lineBreaks; - QCheckBox* verseNumbers; - QCheckBox* headings; - QCheckBox* hebrewPoints; - QCheckBox* hebrewCantillation; - QCheckBox* morphSegmentation; - QCheckBox* greekAccents; - QCheckBox* textualVariants; - QCheckBox* scriptureReferences; + TQComboBox* standardBible; + TQComboBox* standardCommentary; + TQComboBox* standardLexicon; + TQComboBox* standardDailyDevotional; + TQComboBox* standardHebrewStrong; + TQComboBox* standardGreekStrong; + TQComboBox* standardHebrewMorph; + TQComboBox* standardGreekMorph; + TQCheckBox* lineBreaks; + TQCheckBox* verseNumbers; + TQCheckBox* headings; + TQCheckBox* hebrewPoints; + TQCheckBox* hebrewCantillation; + TQCheckBox* morphSegmentation; + TQCheckBox* greekAccents; + TQCheckBox* textualVariants; + TQCheckBox* scriptureReferences; } swords; // not: sword instead of sword -> namespace error struct KeySettings { - QComboBox* typeChooser; - QWidgetStack* keyChooserStack; + TQComboBox* typeChooser; + TQWidgetStack* keyChooserStack; struct WindowType { - QGuardedPtr<KKeyChooser> keyChooser; + TQGuardedPtr<KKeyChooser> keyChooser; KActionCollection* actionCollection; - QString title; + TQString title; WindowType() { keyChooser = 0; actionCollection = 0; }; - WindowType(const QString& newTitle) { + WindowType(const TQString& newTitle) { title = newTitle; keyChooser = 0; @@ -128,18 +128,18 @@ private: keys; struct DisplayStyleSettings { - QComboBox* styleChooser; + TQComboBox* styleChooser; KHTMLPart* stylePreview; } displayStyle; struct FontSettings { - QComboBox* swordLocaleCombo; + TQComboBox* swordLocaleCombo; KFontChooser* fontChooser; - QComboBox* usage; - QCheckBox* useOwnFontBox; + TQComboBox* usage; + TQCheckBox* useOwnFontBox; //the pair os to check whether the standard font (bool == false) or whether an own font should be used (true) - QMap<QString,CBTConfig::FontSettingsPair> fontMap; + TQMap<TQString,CBTConfig::FontSettingsPair> fontMap; } fonts; } @@ -149,11 +149,11 @@ protected slots: // Protected slots /** * Called when a new font in the fonts page was selected. */ - void newDisplayWindowFontSelected(const QFont &); + void newDisplayWindowFontSelected(const TQFont &); /** * Called when the combobox contents is changed */ - void newDisplayWindowFontAreaSelected(const QString&); + void newDisplayWindowFontAreaSelected(const TQString&); /** * Called if the OK button was clicked */ @@ -174,7 +174,7 @@ protected slots: // Protected slots /** * The type of the keyaccel area changed */ - void slotKeyChooserTypeChanged(const QString&); + void slotKeyChooserTypeChanged(const TQString&); protected: // Protected methods /** |