summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrNoteBar.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kpresenter/KPrNoteBar.cpp
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'kpresenter/KPrNoteBar.cpp')
-rw-r--r--kpresenter/KPrNoteBar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpresenter/KPrNoteBar.cpp b/kpresenter/KPrNoteBar.cpp
index ef795d2d..10048537 100644
--- a/kpresenter/KPrNoteBar.cpp
+++ b/kpresenter/KPrNoteBar.cpp
@@ -19,7 +19,7 @@
*/
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpainter.h>
#include <tqpaintdevicemetrics.h>
#include <tqsimplerichtext.h>
@@ -145,7 +145,7 @@ void KPrNoteBar::printNotes( TQPainter *_painter, KPrinter *_printer, TQValueLis
TQRect viewRect( body );
do {
- richText.draw( _painter, body.left(), body.top(), viewRect, colorGroup() );
+ richText.draw( _painter, body.left(), body.top(), viewRect, tqcolorGroup() );
viewRect.moveBy( 0, body.height() );
_painter->translate( 0, -body.height() );
_painter->setFont( font );
@@ -174,7 +174,7 @@ TQString KPrNoteBar::getNotesTextForPrinting(TQValueList<int> _list) const
if ( !firstText )
allText += TQString("\n\n");
- allText += i18n( "Slide Note %1:\n" ).arg( pageCount );
+ allText += i18n( "Slide Note %1:\n" ).tqarg( pageCount );
if(noteIsEmpty && !doc->pageList().at(i)->noteText().isEmpty())
noteIsEmpty = false;
allText += doc->pageList().at(i)->noteText();