From bcc684e28ad6f9ebeeae5d334a4dc297cef3e816 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:35:27 -0600 Subject: Rename old tq methods that no longer need a unique name --- kregexpeditor/altnwidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kregexpeditor/altnwidget.cpp') diff --git a/kregexpeditor/altnwidget.cpp b/kregexpeditor/altnwidget.cpp index 25befe5..a616310 100644 --- a/kregexpeditor/altnwidget.cpp +++ b/kregexpeditor/altnwidget.cpp @@ -81,7 +81,7 @@ void AltnWidget::addNewConcChild(DragAccepter *accepter, ConcWidget *child) } -TQSize AltnWidget::tqsizeHint() const +TQSize AltnWidget::sizeHint() const { TQPtrListIterator it(_tqchildren); // Skip the first child, as we only need half of the size of the first and the @@ -93,7 +93,7 @@ TQSize AltnWidget::tqsizeHint() const _tqchildrenHeight = 0; for ( ; *it ; ++it) { - TQSize thisChildSize = (*it)->tqsizeHint(); + TQSize thisChildSize = (*it)->sizeHint(); _tqchildrenWidth = TQMAX(_tqchildrenWidth, thisChildSize.width()); _tqchildrenHeight += thisChildSize.height(); } @@ -118,7 +118,7 @@ void AltnWidget::paintEvent( TQPaintEvent *e) dynamic_cast(_tqchildren.at(_tqchildren.count()-1)) ) ); int offset = 0; - TQSize mySize = tqsizeHint(); + TQSize mySize = sizeHint(); TQPainter painter(this); drawPossibleSelection( painter, mySize ); @@ -144,7 +144,7 @@ void AltnWidget::paintEvent( TQPaintEvent *e) RegExpWidget* child = _tqchildren.at(i); - TQSize childSize = child->tqsizeHint(); + TQSize childSize = child->sizeHint(); TQSize curChildSize = child->size(); //-------------------------------------- place the child -- cgit v1.2.1