From c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:56:31 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 94844816550ad672ccfcdc25659c625546239998. --- kplato/kptresourceview.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kplato/kptresourceview.cc') diff --git a/kplato/kptresourceview.cc b/kplato/kptresourceview.cc index 58ea413e..d596ff44 100644 --- a/kplato/kptresourceview.cc +++ b/kplato/kptresourceview.cc @@ -203,7 +203,7 @@ protected: c = fc; // draw to last interesting column - const TQColorGroup &cg = ( palette().inactive() ); + const TQColorGroup &cg = ( tqpalette().inactive() ); while ( c < lc && !drawables.isEmpty() ) { int i = header()->mapToLogical( c ); @@ -240,7 +240,7 @@ protected: if ( tx < 0 ) tx = header()->cellPos( cell ); - // do any children of current need to be painted? + // do any tqchildren of current need to be painted? /* FIXME: painting branches doesn't work for some reason... if ( ih != ith && rootIsDecorated() && @@ -268,7 +268,7 @@ protected: p->translate( rleft, crtop ); //kdDebug()<i->text(0)<i->paintBranches( p, colorGroup(), treeStepSize(), + current->i->paintBranches( p, tqcolorGroup(), treeStepSize(), rtop - crtop, r.height() ); p->restore(); } @@ -362,8 +362,8 @@ public: TQDate date; }; -TQSize ResourceView::sizeHint() const { - return minimumSizeHint(); // HACK: koshell splitter minimumSize problem +TQSize ResourceView::tqsizeHint() const { + return tqminimumSizeHint(); // HACK: koshell splitter tqminimumSize problem } ResourceView::ResourceView(View *view, TQWidget *parent) -- cgit v1.2.1