summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrConfig.h')
-rw-r--r--kpresenter/KPrConfig.h93
1 files changed, 51 insertions, 42 deletions
diff --git a/kpresenter/KPrConfig.h b/kpresenter/KPrConfig.h
index da99cf44..604b283c 100644
--- a/kpresenter/KPrConfig.h
+++ b/kpresenter/KPrConfig.h
@@ -29,7 +29,7 @@ class KPrDocument;
class KIntNumInput;
class KColorButton;
class KConfig;
-class QCheckBox;
+class TQCheckBox;
class KLineEdit;
class KDoubleNumInput;
class KoSpellConfigWidget;
@@ -39,18 +39,19 @@ class KPrRectProperty;
class KPrPolygonProperty;
class KPrPieProperty;
class KoUnitDoubleSpinBox;
-class QVGroupBox;
+class TQVGroupBox;
namespace KSpell2 {
class ConfigWidget;
}
-class KPrConfigureInterfacePage : public QWidget
+class KPrConfigureInterfacePage : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KPrConfigureInterfacePage( KPrView *_view, QWidget *parent = 0, char *name = 0 );
+ KPrConfigureInterfacePage( KPrView *_view, TQWidget *tqparent = 0, char *name = 0 );
void apply();
void slotDefault();
private:
@@ -59,14 +60,15 @@ private:
int oldNbRecentFiles;
KDoubleNumInput* indent;
KIntNumInput* recentFiles;
- QCheckBox *showRuler, *showStatusBar;
+ TQCheckBox *showRuler, *showStatusBar;
};
-class KPrConfigureColorBackground : public QWidget
+class KPrConfigureColorBackground : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KPrConfigureColorBackground( KPrView* _view, QWidget *parent = 0, char *name = 0 );
+ KPrConfigureColorBackground( KPrView* _view, TQWidget *tqparent = 0, char *name = 0 );
void apply();
void slotDefault();
protected:
@@ -74,15 +76,16 @@ protected:
KColorButton* bgColor;
KColorButton* gridColor;
KConfig* config;
- QColor oldBgColor;
- QColor oldGridColor;
+ TQColor oldBgColor;
+ TQColor oldGridColor;
} ;
-class KPrConfigureSpellPage : public QWidget
+class KPrConfigureSpellPage : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KPrConfigureSpellPage( KPrView *_view, QWidget *parent, char *name = 0 );
+ KPrConfigureSpellPage( KPrView *_view, TQWidget *tqparent, char *name = 0 );
void apply();
void slotDefault();
private:
@@ -91,11 +94,12 @@ private:
KConfig* config;
};
-class KPrConfigureMiscPage : public QWidget
+class KPrConfigureMiscPage : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KPrConfigureMiscPage( KPrView *_view, QWidget *parent, char *name = 0 );
+ KPrConfigureMiscPage( KPrView *_view, TQWidget *tqparent, char *name = 0 );
KCommand *apply();
void slotDefault();
private:
@@ -104,16 +108,17 @@ private:
KIntNumInput* m_undoRedoLimit;
int m_oldNbRedo;
bool m_printNotes;
- QCheckBox* m_displayLink, *m_displayComment, *m_underlineLink, *m_displayFieldCode, *m_cbPrintNotes;
+ TQCheckBox* m_displayLink, *m_displayComment, *m_underlineLink, *m_displayFieldCode, *m_cbPrintNotes;
KoUnitDoubleSpinBox * resolutionY, * resolutionX;
KDoubleNumInput *m_rotation;
};
-class KPrConfigureDefaultDocPage : public QWidget
+class KPrConfigureDefaultDocPage : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KPrConfigureDefaultDocPage( KPrView *_view, QWidget *parent, char *name = 0 );
+ KPrConfigureDefaultDocPage( KPrView *_view, TQWidget *tqparent, char *name = 0 );
~KPrConfigureDefaultDocPage();
KCommand *apply();
void slotDefault();
@@ -124,27 +129,28 @@ private:
int m_oldStartingPage;
double m_oldTabStopWidth;
bool m_oldBackupFile;
- QString m_oldLanguage;
+ TQString m_oldLanguage;
KPrView* m_pView;
KConfig* config;
- QFont *font;
- QLabel *fontName;
+ TQFont *font;
+ TQLabel *fontName;
KIntNumInput* autoSave;
KIntNumInput* m_variableNumberOffset;
KoUnitDoubleSpinBox *m_tabStopWidth;
- QCheckBox *m_cursorInProtectedArea;
- QCheckBox *m_createBackupFile;
- QCheckBox *m_directInsertCursor;
- QComboBox *m_globalLanguage;
- QCheckBox *m_autoHyphenation;
+ TQCheckBox *m_cursorInProtectedArea;
+ TQCheckBox *m_createBackupFile;
+ TQCheckBox *m_directInsertCursor;
+ TQComboBox *m_globalLanguage;
+ TQCheckBox *m_autoHyphenation;
bool m_oldHyphenation;
};
-class KPrConfigureToolsPage : public QWidget
+class KPrConfigureToolsPage : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KPrConfigureToolsPage( KPrView *_view, QWidget *parent, char *name = 0 );
+ KPrConfigureToolsPage( KPrView *_view, TQWidget *tqparent, char *name = 0 );
~KPrConfigureToolsPage();
void apply();
void slotDefault();
@@ -161,43 +167,45 @@ private:
KPrPieProperty *m_pieProperty;
};
-class KPrConfigurePathPage : public QWidget
+class KPrConfigurePathPage : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KPrConfigurePathPage( KPrView *_view, QWidget *parent, char *name = 0 );
+ KPrConfigurePathPage( KPrView *_view, TQWidget *tqparent, char *name = 0 );
void slotDefault();
void apply();
private slots:
void slotModifyPath();
- void slotSelectionChanged(QListViewItem *);
+ void slotSelectionChanged(TQListViewItem *);
private:
KPrView* m_pView;
KConfig* config;
KListView* m_pPathView;
- QPushButton *m_modifyPath;
+ TQPushButton *m_modifyPath;
};
-class KPrConfigureTTSPage : public QWidget
+class KPrConfigureTTSPage : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KPrConfigureTTSPage( KPrView *_view, QWidget *parent, char *name = 0 );
+ KPrConfigureTTSPage( KPrView *_view, TQWidget *tqparent, char *name = 0 );
void slotDefault();
void apply();
private slots:
void screenReaderOptionChanged();
private:
KConfig* config;
- QCheckBox* m_cbSpeakPointerWidget;
- QCheckBox* m_cbSpeakFocusWidget;
- QVGroupBox* m_gbScreenReaderOptions;
- QCheckBox* m_cbSpeakTooltips;
- QCheckBox* m_cbSpeakWhatsThis;
- QCheckBox* m_cbSpeakDisabled;
- QCheckBox* m_cbSpeakAccelerators;
- QLabel* m_lblAcceleratorPrefix;
- QLineEdit* m_leAcceleratorPrefixWord;
+ TQCheckBox* m_cbSpeakPointerWidget;
+ TQCheckBox* m_cbSpeakFocusWidget;
+ TQVGroupBox* m_gbScreenReaderOptions;
+ TQCheckBox* m_cbSpeakTooltips;
+ TQCheckBox* m_cbSpeakWhatsThis;
+ TQCheckBox* m_cbSpeakDisabled;
+ TQCheckBox* m_cbSpeakAccelerators;
+ TQLabel* m_lblAcceleratorPrefix;
+ TQLineEdit* m_leAcceleratorPrefixWord;
KIntNumInput* m_iniPollingInterval;
};
@@ -205,9 +213,10 @@ private:
class KPrConfig : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
enum { KP_INTERFACE = 1, KP_COLOR=2, KP_KSPELL=4,KP_MISC=8, KP_DOC=16, KP_TOOLS=32,KP_PATH = 64 };
- KPrConfig( KPrView* parent );
+ KPrConfig( KPrView* tqparent );
public slots:
void slotApply();
void slotDefault();