From bf280726d5d22f33d33e4f9e771220c725249407 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:50:52 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kregexpeditor/textwidget.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kregexpeditor/textwidget.cpp') diff --git a/kregexpeditor/textwidget.cpp b/kregexpeditor/textwidget.cpp index 99a77e1..d2f7549 100644 --- a/kregexpeditor/textwidget.cpp +++ b/kregexpeditor/textwidget.cpp @@ -22,7 +22,7 @@ #include "textwidget.h" #include "textregexp.h" #include "selectablelineedit.h" -#include +#include TextWidget::TextWidget(RegExpEditorWindow* editorWindow, TQWidget *parent, const char *name) @@ -56,19 +56,19 @@ void TextWidget::init( const TQString& txt ) void TextWidget::slotUpdate() { - // I need to force the parent to tqrepaint, as the size change of this + // I need to force the parent to repaint, as the size change of this // widget may not be enough for the parent to change size, and in that - // case the parent would not tqrepaint, and the text widget would not be + // case the parent would not repaint, and the text widget would not be // resized. TQWidget *p = TQT_TQWIDGET(parent()); if (p) - p->tqrepaint(); + p->repaint(); _editorWindow->updateContent( this ); } -TQSize TextWidget::tqsizeHint() const +TQSize TextWidget::sizeHint() const { - return _edit->tqsizeHint(); + return _edit->sizeHint(); } void TextWidget::paintEvent( TQPaintEvent *e) -- cgit v1.2.3