diff options
Diffstat (limited to 'kregexpeditor/zerowidgets.cpp')
-rw-r--r-- | kregexpeditor/zerowidgets.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kregexpeditor/zerowidgets.cpp b/kregexpeditor/zerowidgets.cpp index eaf1aaf..7d98609 100644 --- a/kregexpeditor/zerowidgets.cpp +++ b/kregexpeditor/zerowidgets.cpp @@ -42,7 +42,7 @@ void ZeroWidget::addNewChild(DragAccepter *, RegExpWidget *) qFatal("No tqchildren should be added to this widget!"); } -TQSize ZeroWidget::tqsizeHint() const +TQSize ZeroWidget::sizeHint() const { TQFontMetrics metrics = fontMetrics(); _textSize = HackCalculateFontSize( metrics, _text ); @@ -54,7 +54,7 @@ TQSize ZeroWidget::tqsizeHint() const void ZeroWidget::paintEvent( TQPaintEvent *e) { // So what is my Size? - TQSize mySize = tqsizeHint(); + TQSize mySize = sizeHint(); TQPainter painter(this); drawPossibleSelection( painter, mySize); |