summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoTextObject.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit04766b207afba7961d4d802313e426f5a2fbef63 (patch)
treec888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /lib/kotext/KoTextObject.cpp
parentb6edfe41c9395f2e20784cbf0e630af6426950a3 (diff)
downloadkoffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz
koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip
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
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)
{