From 8c5f73ae48a29b136425255cb6cbecb5470f7f1a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 3 Feb 2013 23:04:13 -0600 Subject: [PATCH] Rename KStyle to TDEStyle to avoid conflicts with KDE4 --- libreoffice/3.3.2/patches/libreoffice-trinity.diff | 6 +++--- libreoffice/3.3.3/patches/libreoffice-trinity.diff | 6 +++--- libreoffice/git_10_28_2011/patches/libreoffice-trinity.diff | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/libreoffice/3.3.2/patches/libreoffice-trinity.diff b/libreoffice/3.3.2/patches/libreoffice-trinity.diff index ebb98e1..d660eb9 100644 --- a/libreoffice/3.3.2/patches/libreoffice-trinity.diff +++ b/libreoffice/3.3.2/patches/libreoffice-trinity.diff @@ -13729,9 +13729,9 @@ diff -urN libreoffice-build/patches/dev300/trinity-modules.diff libreoffice-buil ++ kapp->style().inherits( "KThemeStyle" ) || ++ kapp->style().inherits( "ThinKeramikStyle" ) ) ++ { -++ // Workaround for the workaround in KStyle::drawPrimitive() -++ KStyle *pStyle = static_cast< KStyle * >( &kapp->style() ); -++ pStyle->drawKStylePrimitive( KStyle::KPE_ToolBarHandle, +++ // Workaround for the workaround in TDEStyle::drawPrimitive() +++ TDEStyle *pStyle = static_cast< TDEStyle * >( &kapp->style() ); +++ pStyle->drawTDEStylePrimitive( TDEStyle::KPE_ToolBarHandle, ++ &qPainter, pToolBar, qThumbRect, ++ pWidget->colorGroup(), nStyle ); ++ } diff --git a/libreoffice/3.3.3/patches/libreoffice-trinity.diff b/libreoffice/3.3.3/patches/libreoffice-trinity.diff index 17e777a..c190a2e 100644 --- a/libreoffice/3.3.3/patches/libreoffice-trinity.diff +++ b/libreoffice/3.3.3/patches/libreoffice-trinity.diff @@ -13729,9 +13729,9 @@ diff -urN libreoffice-build/patches/dev300/trinity-modules.diff libreoffice-buil ++ kapp->style().inherits( "KThemeStyle" ) || ++ kapp->style().inherits( "ThinKeramikStyle" ) ) ++ { -++ // Workaround for the workaround in KStyle::drawPrimitive() -++ KStyle *pStyle = static_cast< KStyle * >( &kapp->style() ); -++ pStyle->drawKStylePrimitive( KStyle::KPE_ToolBarHandle, +++ // Workaround for the workaround in TDEStyle::drawPrimitive() +++ TDEStyle *pStyle = static_cast< TDEStyle * >( &kapp->style() ); +++ pStyle->drawTDEStylePrimitive( TDEStyle::KPE_ToolBarHandle, ++ &qPainter, pToolBar, qThumbRect, ++ pWidget->colorGroup(), nStyle ); ++ } diff --git a/libreoffice/git_10_28_2011/patches/libreoffice-trinity.diff b/libreoffice/git_10_28_2011/patches/libreoffice-trinity.diff index 0d76fdc..9423239 100644 --- a/libreoffice/git_10_28_2011/patches/libreoffice-trinity.diff +++ b/libreoffice/git_10_28_2011/patches/libreoffice-trinity.diff @@ -14487,9 +14487,9 @@ index 0000000..7c173cc + kapp->style().inherits( "KThemeStyle" ) || + kapp->style().inherits( "ThinKeramikStyle" ) ) + { -+ // Workaround for the workaround in KStyle::drawPrimitive() -+ KStyle *pStyle = static_cast< KStyle * >( &kapp->style() ); -+ pStyle->drawKStylePrimitive( KStyle::KPE_ToolBarHandle, ++ // Workaround for the workaround in TDEStyle::drawPrimitive() ++ TDEStyle *pStyle = static_cast< TDEStyle * >( &kapp->style() ); ++ pStyle->drawTDEStylePrimitive( TDEStyle::KPE_ToolBarHandle, + &qPainter, pToolBar, qThumbRect, + pWidget->colorGroup(), nStyle ); + }