diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 7c71ab86d1f7e387fc3df63b48df07231f111862 (patch) | |
tree | 30ba2d2f840ff5fd458b6113e9c3f2e8a71d510d /kword/KWTableStyle.cpp | |
parent | afbfdc507bfaafc8824a9808311d57a9ece87510 (diff) | |
download | koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.tar.gz koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.zip |
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
Diffstat (limited to 'kword/KWTableStyle.cpp')
-rw-r--r-- | kword/KWTableStyle.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kword/KWTableStyle.cpp b/kword/KWTableStyle.cpp index dd446669..99ecfacb 100644 --- a/kword/KWTableStyle.cpp +++ b/kword/KWTableStyle.cpp @@ -89,17 +89,17 @@ KWTableStyle::KWTableStyle( const TQString & name, KoParagStyle * _paragStyle, K m_frameStyle = _frameStyle; } -KWTableStyle::KWTableStyle( TQDomElement & tqparentElem, KWDocument *_doc, int /*docVersion*/ ) +KWTableStyle::KWTableStyle( TQDomElement & parentElem, KWDocument *_doc, int /*docVersion*/ ) : KoUserStyle( TQString() ) { - TQDomElement element = tqparentElem.namedItem( "NAME" ).toElement(); + TQDomElement element = parentElem.namedItem( "NAME" ).toElement(); if ( ( !element.isNull() ) && ( element.hasAttribute("value") ) ) { m_name = element.attribute( "value" ); m_displayName = i18n( "Style name", m_name.utf8() ); } else kdWarning() << "No NAME tag in table style!" << endl; - element = tqparentElem.namedItem( "PFRAMESTYLE" ).toElement(); + element = parentElem.namedItem( "PFRAMESTYLE" ).toElement(); m_frameStyle = 0; if ( ( !element.isNull() ) && ( element.hasAttribute("name") ) ) m_frameStyle = _doc->frameStyleCollection()->findStyleByDisplayName( element.attribute( "name" ) ); @@ -119,7 +119,7 @@ KWTableStyle::KWTableStyle( TQDomElement & tqparentElem, KWDocument *_doc, int / } } - element = tqparentElem.namedItem( "PSTYLE" ).toElement(); + element = parentElem.namedItem( "PSTYLE" ).toElement(); m_paragStyle = 0; if ( ( !element.isNull() ) && ( element.hasAttribute("name") ) ) m_paragStyle = _doc->styleCollection()->findStyleByDisplayName( element.attribute( "name" ) ); @@ -143,31 +143,31 @@ void KWTableStyle::operator=( const KWTableStyle &rhs ) m_frameStyle = rhs.frameStyle(); } -void KWTableStyle::saveTableStyle( TQDomElement & tqparentElem ) +void KWTableStyle::saveTableStyle( TQDomElement & parentElem ) { - TQDomDocument doc = tqparentElem.ownerDocument(); + TQDomDocument doc = parentElem.ownerDocument(); TQDomElement element = doc.createElement( "NAME" ); - tqparentElem.appendChild( element ); + parentElem.appendChild( element ); element.setAttribute( "value", displayName() ); if (m_frameStyle) { element = doc.createElement( "PFRAMESTYLE" ); - tqparentElem.appendChild( element ); + parentElem.appendChild( element ); element.setAttribute( "name", m_frameStyle->displayName() ); } if (m_paragStyle) { element = doc.createElement( "PSTYLE" ); - tqparentElem.appendChild( element ); + parentElem.appendChild( element ); element.setAttribute( "name", m_paragStyle->displayName() ); } } -KWTableStyle *KWTableStyle::loadStyle( TQDomElement & tqparentElem, KWDocument *_doc, int docVersion ) +KWTableStyle *KWTableStyle::loadStyle( TQDomElement & parentElem, KWDocument *_doc, int docVersion ) { - return new KWTableStyle( tqparentElem, _doc, docVersion ); + return new KWTableStyle( parentElem, _doc, docVersion ); } void KWTableStyle::saveOasis( KoGenStyles& mainStyles, KoSavingContext& /*savingContext*/ ) const @@ -203,7 +203,7 @@ void KWTableStyle::loadOasis( TQDomElement & styleElem, KoOasisContext& context, styleStack.setTypeProperties( "table-cell" ); styleStack.save(); - context.addStyles( &styleElem, "table-cell" ); // Load all tqparents - only because we don't support inheritance. + context.addStyles( &styleElem, "table-cell" ); // Load all parents - only because we don't support inheritance. const TQString frameStyleName = styleStack.attributeNS( KoXmlNS::koffice, "frame-style-name" ); m_frameStyle = frameStyles.findStyle( frameStyleName ); |