diff options
Diffstat (limited to 'plugin/simplestyle.h')
-rw-r--r-- | plugin/simplestyle.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/plugin/simplestyle.h b/plugin/simplestyle.h index b2fe548..65cf25e 100644 --- a/plugin/simplestyle.h +++ b/plugin/simplestyle.h @@ -38,8 +38,10 @@ class TQSpinBox; class TQSpinWidget; class TQTitleBar; class TQMenuBar; +class TQToolBox; class KAboutData; +class TQPixmapCache; enum TQt3WidgetType { TQT3WT_NONE, @@ -53,7 +55,8 @@ enum TQt3WidgetType { TQT3WT_TQSpinBox, TQT3WT_TQSpinWidget, TQT3WT_TQTitleBar, - TQT3WT_TQMenuBar + TQT3WT_TQMenuBar, + TQT3WT_TQToolBox }; class SimpleStyle : public QWindowsStyle @@ -76,6 +79,7 @@ public: int pixelMetric(PixelMetric metric, const QStyleOption * option = 0, const QWidget * widget = 0) const; int styleHint(StyleHint hint, const QStyleOption * option = 0, const QWidget * widget = 0, QStyleHintReturn * returnData = 0) const; + QSize sizeFromContents(ContentsType type, const QStyleOption * option, const QSize & contentsSize, const QWidget * widget = 0) const; QIcon standardIconImplementation(StandardPixmap standardIcon, const QStyleOption * option = 0, const QWidget * widget = 0) const; @@ -96,6 +100,7 @@ private: TQWidget* m_tqt3window_widget; TQTitleBar* m_tqt3titlebar_widget; TQMenuBar* m_tqt3menubar_widget; + TQToolBox* m_tqt3toolbox_widget; int m_tqt3IconSize_NoGroup; int m_tqt3IconSize_Desktop; @@ -117,6 +122,8 @@ private: mutable TQWidget* m_previousTQt3InterfaceWidget; KAboutData* m_aboutData; + + TQPixmapCache* m_internalTQt3PixmapCache; }; #endif |