From 04766b207afba7961d4d802313e426f5a2fbef63 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/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/kotext/KoTextObject.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/kotext/KoTextObject.cpp') diff --git a/lib/kotext/KoTextObject.cpp b/lib/kotext/KoTextObject.cpp index d9a2f054a..30bf6dd35 100644 --- a/lib/kotext/KoTextObject.cpp +++ b/lib/kotext/KoTextObject.cpp @@ -60,8 +60,8 @@ public: KoTextObject::KoTextObject( KoTextZoomHandler *zh, const TQFont& defaultFont, const TQString &defaultLanguage, bool hyphenation, KoParagStyle* defaultStyle, int tabStopWidth, - TQObject* tqparent, const char *name ) - : TQObject( tqparent, name ), m_defaultStyle( defaultStyle ), undoRedoInfo( this ) + TQObject* parent, const char *name ) + : TQObject( parent, name ), m_defaultStyle( defaultStyle ), undoRedoInfo( this ) { textdoc = new KoTextDocument( zh, new KoTextFormatCollection( defaultFont, TQColor(),defaultLanguage, hyphenation ) ); if ( tabStopWidth != -1 ) @@ -70,8 +70,8 @@ KoTextObject::KoTextObject( KoTextZoomHandler *zh, const TQFont& defaultFont, } KoTextObject::KoTextObject( KoTextDocument* _textdoc, KoParagStyle* defaultStyle, - TQObject* tqparent, const char *name ) - : TQObject( tqparent, name ), m_defaultStyle( defaultStyle ), undoRedoInfo( this ) + TQObject* parent, const char *name ) + : TQObject( parent, name ), m_defaultStyle( defaultStyle ), undoRedoInfo( this ) { textdoc = _textdoc; init(); @@ -2677,7 +2677,7 @@ KCommand *KoTextFormatInterface::setTextSuperScriptCommand(bool on) KCommand *KoTextFormatInterface::setDefaultFormatCommand() { - KoTextFormatCollection * coll = currentFormat()->tqparent(); + KoTextFormatCollection * coll = currentFormat()->parent(); Q_ASSERT(coll); if(coll) { -- cgit v1.2.3