summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoTextObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoTextObject.cpp')
-rw-r--r--lib/kotext/KoTextObject.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kotext/KoTextObject.cpp b/lib/kotext/KoTextObject.cpp
index d9a2f054..30bf6dd3 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)
{