summaryrefslogtreecommitdiffstats
path: root/plugin/simplestyle.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/simplestyle.h')
-rw-r--r--plugin/simplestyle.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/plugin/simplestyle.h b/plugin/simplestyle.h
index 0b067b2..87c166c 100644
--- a/plugin/simplestyle.h
+++ b/plugin/simplestyle.h
@@ -31,6 +31,11 @@ class TQRadioButton;
class TQProgressBar;
class TQPopupMenu;
class TQComboBox;
+class TQSlider;
+class TQScrollBar;
+class TQSpinBox;
+class TQTitleBar;
+class TQMenuBar;
enum TQt3WidgetType {
TQT3WT_NONE,
@@ -38,7 +43,12 @@ enum TQt3WidgetType {
TQT3WT_TQTabBar,
TQT3WT_TQRadioButton,
TQT3WT_TQPopupMenu,
- TQT3WT_TQComboBox
+ TQT3WT_TQComboBox,
+ TQT3WT_TQSlider,
+ TQT3WT_TQScrollBar,
+ TQT3WT_TQSpinBox,
+ TQT3WT_TQTitleBar,
+ TQT3WT_TQMenuBar
};
class SimpleStyle : public QWindowsStyle
@@ -62,14 +72,21 @@ public:
int pixelMetric(PixelMetric metric, const QStyleOption * option = 0, const QWidget * widget = 0) const;
private:
- TQWidget* initializeInterfaceWidget(TQt3WidgetType wt, const QWidget * widget) const;
+ TQWidget* initializeInterfaceWidget(TQt3WidgetType wt, const QWidget * widget, const QStyleOption* qt4styleoptions = 0) const;
TQWidget* m_tqt3parent_widget;
+ TQWidget* m_tqt3generic_widget;
TQTabBar* m_tqt3tabbar_widget;
TQRadioButton* m_tqt3radiobutton_widget;
TQProgressBar* m_tqt3progressbar_widget;
TQPopupMenu* m_tqt3popupmenu_widget;
TQComboBox* m_tqt3combobox_widget;
+ TQSlider* m_tqt3slider_widget;
+ TQScrollBar* m_tqt3scrollbar_widget;
+ TQSpinBox* m_tqt3spinbox_widget;
+ TQWidget* m_tqt3window_widget;
+ TQTitleBar* m_tqt3titlebar_widget;
+ TQMenuBar* m_tqt3menubar_widget;
};
#endif