From 7c71ab86d1f7e387fc3df63b48df07231f111862 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/kotext/KoParagStyle.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'lib/kotext/KoParagStyle.cpp') diff --git a/lib/kotext/KoParagStyle.cpp b/lib/kotext/KoParagStyle.cpp index e3bf15e9..f44bcd59 100644 --- a/lib/kotext/KoParagStyle.cpp +++ b/lib/kotext/KoParagStyle.cpp @@ -86,32 +86,32 @@ void KoParagStyle::setFollowingStyle( KoParagStyle *fst ) m_followingStyle = fst; } -void KoParagStyle::saveStyle( TQDomElement & tqparentElem ) +void KoParagStyle::saveStyle( TQDomElement & parentElem ) { - m_paragLayout.saveParagLayout( tqparentElem, m_paragLayout.tqalignment ); + m_paragLayout.saveParagLayout( parentElem, m_paragLayout.tqalignment ); if ( followingStyle() ) { - TQDomElement element = tqparentElem.ownerDocument().createElement( "FOLLOWING" ); - tqparentElem.appendChild( element ); + TQDomElement element = parentElem.ownerDocument().createElement( "FOLLOWING" ); + parentElem.appendChild( element ); element.setAttribute( "name", followingStyle()->displayName() ); } // TODO save tqparent style, and inherited flags. - tqparentElem.setAttribute( "outline", m_bOutline ? "true" : "false" ); + parentElem.setAttribute( "outline", m_bOutline ? "true" : "false" ); } -void KoParagStyle::loadStyle( TQDomElement & tqparentElem, int docVersion ) +void KoParagStyle::loadStyle( TQDomElement & parentElem, int docVersion ) { KoParagLayout tqlayout; - KoParagLayout::loadParagLayout( tqlayout, tqparentElem, docVersion ); + KoParagLayout::loadParagLayout( tqlayout, parentElem, docVersion ); // This way, KoTextParag::setParagLayout also sets the style pointer, to this style tqlayout.style = this; m_paragLayout = tqlayout; // Load name - TQDomElement nameElem = tqparentElem.namedItem("NAME").toElement(); + TQDomElement nameElem = parentElem.namedItem("NAME").toElement(); if ( !nameElem.isNull() ) { m_name = nameElem.attribute("value"); m_displayName = i18n( "Style name", m_name.utf8() ); @@ -120,7 +120,7 @@ void KoParagStyle::loadStyle( TQDomElement & tqparentElem, int docVersion ) // The followingStyle stuff has to be done after loading all styles. - m_bOutline = tqparentElem.attribute( "outline" ) == "true"; + m_bOutline = parentElem.attribute( "outline" ) == "true"; } void KoParagStyle::loadStyle( TQDomElement & styleElem, KoOasisContext& context ) @@ -137,7 +137,7 @@ void KoParagStyle::loadStyle( TQDomElement & styleElem, KoOasisContext& context m_bOutline = styleElem.hasAttributeNS( KoXmlNS::style, "default-outline-level" ); context.styleStack().save(); - context.addStyles( &styleElem, "paragraph" ); // Load all tqparents - only because we don't support inheritance. + context.addStyles( &styleElem, "paragraph" ); // Load all parents - only because we don't support inheritance. KoParagLayout tqlayout; KoParagLayout::loadOasisParagLayout( tqlayout, context ); @@ -187,9 +187,9 @@ void KoParagStyle::loadStyle( TQDomElement & styleElem, KoOasisContext& context context.styleStack().restore(); } -TQString KoParagStyle::saveStyle( KoGenStyles& genStyles, int styleType, const TQString& tqparentStyleName, KoSavingContext& context ) const +TQString KoParagStyle::saveStyle( KoGenStyles& genStyles, int styleType, const TQString& parentStyleName, KoSavingContext& context ) const { - KoGenStyle gs( styleType, "paragraph", tqparentStyleName ); + KoGenStyle gs( styleType, "paragraph", parentStyleName ); gs.addAttribute( "style:display-name", m_displayName ); if ( m_paragLayout.counter ) { -- cgit v1.2.1