summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoParagCounter.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /lib/kotext/KoParagCounter.cpp
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'lib/kotext/KoParagCounter.cpp')
-rw-r--r--lib/kotext/KoParagCounter.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/lib/kotext/KoParagCounter.cpp b/lib/kotext/KoParagCounter.cpp
index 0de6ee87..56adc3a2 100644
--- a/lib/kotext/KoParagCounter.cpp
+++ b/lib/kotext/KoParagCounter.cpp
@@ -43,7 +43,7 @@ KoParagCounter::KoParagCounter()
m_customBulletChar = TQChar( '-' );
m_customBulletFont = TQString();
m_align = TQt::AlignAuto;
- tqinvalidate();
+ invalidate();
}
bool KoParagCounter::operator==( const KoParagCounter & c2 ) const
@@ -83,7 +83,7 @@ unsigned int KoParagCounter::depth() const
return m_depth;
}
-void KoParagCounter::tqinvalidate()
+void KoParagCounter::invalidate()
{
m_cache.number = -1;
m_cache.text = TQString();
@@ -144,7 +144,7 @@ void KoParagCounter::load( TQDomElement & element )
m_align = element.attribute("align", "0").toInt(); //AlignAuto as defeult
TQString restart = element.attribute("restart");
m_restartCounter = (restart == "true") || (restart == "1");
- tqinvalidate();
+ invalidate();
}
static int importCounterType( TQChar numFormat )
@@ -259,7 +259,7 @@ void KoParagCounter::loadOasisListStyle( const TQDomElement& listStyle,
m_style = STYLE_DISCBULLET;
}
}
- tqinvalidate();
+ invalidate();
}
void KoParagCounter::saveOasis( KoGenStyle& listStyle, bool savingStyle ) const
@@ -326,7 +326,7 @@ void KoParagCounter::saveOasisListLevel( KoXmlWriter& listLevelWriter, bool incl
listLevelWriter.startElement( "style:list-level-properties" );
listLevelWriter.addAttribute( "fo:text-align", KoParagLayout::saveOasisAlignment( (TQt::AlignmentFlags)m_align ) );
// OASIS has other style properties: text:space-before (indent), text:min-label-width (TODO),
- // text:min-label-distance, style:font-name (for bullets), image size and vertical tqalignment.
+ // text:min-label-distance, style:font-name (for bullets), image size and vertical alignment.
listLevelWriter.endElement(); // style:list-level-properties
}
}
@@ -531,66 +531,66 @@ void KoParagCounter::save( TQDomElement & element )
void KoParagCounter::setCustom( TQString c )
{
m_custom = c;
- tqinvalidate();
+ invalidate();
}
void KoParagCounter::setCustomBulletCharacter( TQChar c )
{
m_customBulletChar = c;
- tqinvalidate();
+ invalidate();
}
void KoParagCounter::setCustomBulletFont( TQString f )
{
m_customBulletFont = f;
- tqinvalidate();
+ invalidate();
}
void KoParagCounter::setDepth( unsigned int d )
{
m_depth = d;
- tqinvalidate();
+ invalidate();
}
void KoParagCounter::setNumbering( Numbering n )
{
m_numbering = n;
- tqinvalidate();
+ invalidate();
}
void KoParagCounter::setPrefix( TQString p )
{
m_prefix = p;
- tqinvalidate();
+ invalidate();
}
void KoParagCounter::setStartNumber( int s )
{
m_startNumber = s;
- tqinvalidate();
+ invalidate();
}
void KoParagCounter::setDisplayLevels( int l )
{
m_displayLevels = l;
- tqinvalidate();
+ invalidate();
}
void KoParagCounter::setAlignment( int a )
{
m_align = a;
- tqinvalidate();
+ invalidate();
}
void KoParagCounter::setStyle( Style s )
{
m_style = s;
- tqinvalidate();
+ invalidate();
}
void KoParagCounter::setSuffix( TQString s )
{
m_suffix = s;
- tqinvalidate();
+ invalidate();
}
int KoParagCounter::startNumber() const
@@ -603,7 +603,7 @@ int KoParagCounter::displayLevels() const
return m_displayLevels;
}
-int KoParagCounter::tqalignment() const
+int KoParagCounter::alignment() const
{
return m_align;
}
@@ -626,7 +626,7 @@ bool KoParagCounter::restartCounter() const
void KoParagCounter::setRestartCounter( bool restart )
{
m_restartCounter = restart;
- tqinvalidate();
+ invalidate();
}
// Return the text for that level only