diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:32:11 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:32:11 -0600 |
commit | 94844816550ad672ccfcdc25659c625546239998 (patch) | |
tree | e35fc60fd736c645d59f6408af032774ad8023d3 /kpresenter/KPrNoteBar.cpp | |
parent | 2a811c38c74c03648ecf857e566c44483cbad706 (diff) | |
download | koffice-94844816550ad672ccfcdc25659c625546239998.tar.gz koffice-94844816550ad672ccfcdc25659c625546239998.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kpresenter/KPrNoteBar.cpp')
-rw-r--r-- | kpresenter/KPrNoteBar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kpresenter/KPrNoteBar.cpp b/kpresenter/KPrNoteBar.cpp index 10048537..ef795d2d 100644 --- a/kpresenter/KPrNoteBar.cpp +++ b/kpresenter/KPrNoteBar.cpp @@ -19,7 +19,7 @@ */ -#include <tqlayout.h> +#include <layout.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, tqcolorGroup() ); + richText.draw( _painter, body.left(), body.top(), viewRect, colorGroup() ); 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" ).tqarg( pageCount ); + allText += i18n( "Slide Note %1:\n" ).arg( pageCount ); if(noteIsEmpty && !doc->pageList().at(i)->noteText().isEmpty()) noteIsEmpty = false; allText += doc->pageList().at(i)->noteText(); |