summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-03 22:50:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-03 22:50:50 -0600
commit391e0b69f256bab8971430050c65f0e6e7eea9be (patch)
tree77efb7924b999e16e7d35b8e7d9d4ea142b092b7 /lib
parent2256e553c46ff2cbcd2d0f4d0cdf24852e21847b (diff)
downloadkoffice-391e0b69f256bab8971430050c65f0e6e7eea9be.tar.gz
koffice-391e0b69f256bab8971430050c65f0e6e7eea9be.zip
Rename KStyle to TDEStyle to avoid conflicts with KDE4
Diffstat (limited to 'lib')
-rw-r--r--lib/koproperty/editoritem.cpp6
1 files changed, 3 insertions, 3 deletions
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<KStyle*>(widget->style());
+ TDEStyle* kstyle = dynamic_cast<TDEStyle*>(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);
}