|
|
@ -62,10 +62,10 @@ static void paintListViewExpander(TQPainter* p, TQWidget* w, int height, const T
|
|
|
|
// xmarg = xmarg * 10 / 14 -1;
|
|
|
|
// xmarg = xmarg * 10 / 14 -1;
|
|
|
|
#if 0
|
|
|
|
#if 0
|
|
|
|
//! @todo disabled: kstyles do not paint background yet... reenable in the future...
|
|
|
|
//! @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) {
|
|
|
|
if (kstyle) {
|
|
|
|
kstyle->drawKStylePrimitive(
|
|
|
|
kstyle->drawTDEStylePrimitive(
|
|
|
|
KStyle::KPE_ListViewExpander, p, w, TQRect( xmarg, marg, BRANCHBOX_SIZE, BRANCHBOX_SIZE ),
|
|
|
|
TDEStyle::KPE_ListViewExpander, p, w, TQRect( xmarg, marg, BRANCHBOX_SIZE, BRANCHBOX_SIZE ),
|
|
|
|
cg, isOpen ? 0 : TQStyle::Style_On,
|
|
|
|
cg, isOpen ? 0 : TQStyle::Style_On,
|
|
|
|
TQStyleOption::Default);
|
|
|
|
TQStyleOption::Default);
|
|
|
|
}
|
|
|
|
}
|
|
|
|