From 391e0b69f256bab8971430050c65f0e6e7eea9be Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 3 Feb 2013 22:50:50 -0600 Subject: Rename KStyle to TDEStyle to avoid conflicts with KDE4 --- lib/koproperty/editoritem.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/koproperty/editoritem.cpp b/lib/koproperty/editoritem.cpp index 9ff69035..aad5f0bc 100644 --- a/lib/koproperty/editoritem.cpp +++ b/lib/koproperty/editoritem.cpp @@ -62,10 +62,10 @@ static void paintListViewExpander(TQPainter* p, TQWidget* w, int height, const T // xmarg = xmarg * 10 / 14 -1; #if 0 //! @todo disabled: kstyles do not paint background yet... reenable in the future... - KStyle* kstyle = dynamic_cast(widget->style()); + TDEStyle* kstyle = dynamic_cast(widget->style()); if (kstyle) { - kstyle->drawKStylePrimitive( - KStyle::KPE_ListViewExpander, p, w, TQRect( xmarg, marg, BRANCHBOX_SIZE, BRANCHBOX_SIZE ), + kstyle->drawTDEStylePrimitive( + TDEStyle::KPE_ListViewExpander, p, w, TQRect( xmarg, marg, BRANCHBOX_SIZE, BRANCHBOX_SIZE ), cg, isOpen ? 0 : TQStyle::Style_On, TQStyleOption::Default); } -- cgit v1.2.1