diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:38:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:38:41 -0600 |
commit | f0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch) | |
tree | 1fc538e179833e62caec21956bfe47a252be5a72 /kword/KWInsertTOCCommand.cpp | |
parent | 11191ef0b9908604d1d7aaca382b011ef22c454c (diff) | |
download | koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kword/KWInsertTOCCommand.cpp')
-rw-r--r-- | kword/KWInsertTOCCommand.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kword/KWInsertTOCCommand.cpp b/kword/KWInsertTOCCommand.cpp index 6c9851fe..33cb2399 100644 --- a/kword/KWInsertTOCCommand.cpp +++ b/kword/KWInsertTOCCommand.cpp @@ -199,7 +199,7 @@ KoTextCursor * KWInsertTOCCommand::removeTOC( KWTextFrameSet *fs, KoTextCursor * } p = p->prev(); } - textdoc->tqinvalidate(); + textdoc->invalidate(); if(posOfToc) { posOfTable=new KoTextCursor( textdoc ); @@ -217,8 +217,8 @@ KoParagStyle * KWInsertTOCCommand::findOrCreateTOCStyle( KWTextFrameSet *fs, int TQString displayName; if ( depth >= 0 ) { // Don't add i18n to this one, those are internal names and must have no spaces. - name = TQString( "Contents_Head_%1" ).tqarg( depth+1 ); - displayName = i18n( "Contents Head %1" ).tqarg( depth+1 ); + name = TQString( "Contents_Head_%1" ).arg( depth+1 ); + displayName = i18n( "Contents Head %1" ).arg( depth+1 ); } else { name = "Contents_Title"; displayName = i18n( "Contents Title" ); @@ -238,7 +238,7 @@ KoParagStyle * KWInsertTOCCommand::findOrCreateTOCStyle( KWTextFrameSet *fs, int // (not the whole line anymore), so we need the 4 borders. style->paragLayout().leftBorder = KoBorder( TQt::black, KoBorder::SOLID, 1 ); style->paragLayout().rightBorder = KoBorder( TQt::black, KoBorder::SOLID, 1 ); - style->paragLayout().tqalignment = TQt::AlignHCenter; + style->paragLayout().alignment = TQt::AlignHCenter; } else { |