diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-10-31 14:53:25 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-10-31 14:53:25 -0500 |
commit | f16f8eb6bf27ae9dcebbcac7db0a5dbe673a27c5 (patch) | |
tree | 33493803b3ee7ed21af80bd3997e49d0beb604f1 /styles/dotnet/dotnet.h | |
parent | c8898cf01f664fc323aa0bb46317bfb8b9dd22f5 (diff) | |
download | tdeartwork-f16f8eb6bf27ae9dcebbcac7db0a5dbe673a27c5.tar.gz tdeartwork-f16f8eb6bf27ae9dcebbcac7db0a5dbe673a27c5.zip |
Update styles for new API
Diffstat (limited to 'styles/dotnet/dotnet.h')
-rw-r--r-- | styles/dotnet/dotnet.h | 49 |
1 files changed, 27 insertions, 22 deletions
diff --git a/styles/dotnet/dotnet.h b/styles/dotnet/dotnet.h index a0d91479..0236a7c1 100644 --- a/styles/dotnet/dotnet.h +++ b/styles/dotnet/dotnet.h @@ -104,36 +104,41 @@ public: const TQWidget *widget = 0 ) const; void drawComplexControlMask(TQStyle::ComplexControl c, - TQPainter *p, - const TQStyleControlElementData ceData, - const ControlElementFlags elementFlags, - const TQRect &r, - const TQStyleOption &o=TQStyleOption::Default, - const TQWidget *w = 0) const; + TQPainter *p, + const TQStyleControlElementData ceData, + const ControlElementFlags elementFlags, + const TQRect &r, + const TQStyleOption &o=TQStyleOption::Default, + const TQWidget *w = 0) const; TQSize sizeFromContents(TQStyle::ContentsType t, - TQStyleControlElementData ceData, - ControlElementFlags elementFlags, - const TQSize &s, - const TQStyleOption &o, - const TQWidget *w = 0) const; + TQStyleControlElementData ceData, + ControlElementFlags elementFlags, + const TQSize &s, + const TQStyleOption &o, + const TQWidget *w = 0) const; + + int styleHint(TQ_StyleHint, TQStyleControlElementData ceData, ControlElementFlags elementFlags, + const TQStyleOption & = TQStyleOption::Default, + TQStyleHintReturn * = 0, const TQWidget * = 0 ) const; protected: void renderButton(TQPainter *p, - const TQRect &r, - const TQColorGroup &g, - bool sunken = false, - bool corners = false) const; + const TQRect &r, + const TQColorGroup &g, + bool sunken = false, + bool corners = false) const; void renderPanel(TQPainter *p, - const TQRect &r, - const TQColorGroup &g, - bool sunken = true, - bool thick = true) const; + const TQRect &r, + const TQColorGroup &g, + bool sunken = true, + bool thick = true) const; void renderSlider(TQPainter *p, - const TQRect &r, - const TQColorGroup &g) const; + const TQRect &r, + const TQColorGroup &g) const; + bool objectEventHandler( TQStyleControlElementData ceData, ControlElementFlags elementFlags, void* source, TQEvent *e ); void updatePalette( TQComboBox * ); @@ -145,7 +150,7 @@ protected slots: void paletteChanged(); private: -// Disable copy constructor and = operator + // Disable copy constructor and = operator dotNETstyle( const dotNETstyle & ); dotNETstyle& operator=( const dotNETstyle & ); TQStyle *winstyle; |