summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoParagCounter.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /lib/kotext/KoParagCounter.cpp
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'lib/kotext/KoParagCounter.cpp')
-rw-r--r--lib/kotext/KoParagCounter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kotext/KoParagCounter.cpp b/lib/kotext/KoParagCounter.cpp
index 6126d6c5..0de6ee87 100644
--- a/lib/kotext/KoParagCounter.cpp
+++ b/lib/kotext/KoParagCounter.cpp
@@ -575,7 +575,7 @@ void KoParagCounter::setDisplayLevels( int l )
tqinvalidate();
}
-void KoParagCounter::tqsetAlignment( int a )
+void KoParagCounter::setAlignment( int a )
{
m_align = a;
tqinvalidate();
@@ -839,7 +839,7 @@ const TQCString RNThousands[] = {"", "m", "mm", "mmm"};
TQString KoParagCounter::makeRomanNumber( int n )
{
if ( n >= 0 )
- return TQString::tqfromLatin1( RNThousands[ ( n / 1000 ) ] +
+ return TQString::fromLatin1( RNThousands[ ( n / 1000 ) ] +
RNHundreds[ ( n / 100 ) % 10 ] +
RNTens[ ( n / 10 ) % 10 ] +
RNUnits[ ( n ) % 10 ] );