From 625904bd3097f9749450428904ca14ff2531824d Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kregexpeditor/textwidget.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kregexpeditor/textwidget.cpp') diff --git a/kregexpeditor/textwidget.cpp b/kregexpeditor/textwidget.cpp index 1095749..99a77e1 100644 --- a/kregexpeditor/textwidget.cpp +++ b/kregexpeditor/textwidget.cpp @@ -24,16 +24,16 @@ #include "selectablelineedit.h" #include -TextWidget::TextWidget(RegExpEditorWindow* editorWindow, TQWidget *tqparent, +TextWidget::TextWidget(RegExpEditorWindow* editorWindow, TQWidget *parent, const char *name) - :RegExpWidget(editorWindow, tqparent, name) + :RegExpWidget(editorWindow, parent, name) { init( TQString::fromLocal8Bit("") ); } TextWidget::TextWidget( TextRegExp* regexp, RegExpEditorWindow* editorWindow, - TQWidget* tqparent, const char* name ) - : RegExpWidget( editorWindow, tqparent, name ) + TQWidget* parent, const char* name ) + : RegExpWidget( editorWindow, parent, name ) { init(regexp->text()); } @@ -56,11 +56,11 @@ void TextWidget::init( const TQString& txt ) void TextWidget::slotUpdate() { - // I need to force the tqparent to tqrepaint, as the size change of this - // widget may not be enough for the tqparent to change size, and in that - // case the tqparent would not tqrepaint, and the text widget would not be + // I need to force the parent to tqrepaint, 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 // resized. - TQWidget *p = TQT_TQWIDGET(tqparent()); + TQWidget *p = TQT_TQWIDGET(parent()); if (p) p->tqrepaint(); _editorWindow->updateContent( this ); -- cgit v1.2.3