diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:34:45 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 04:24:29 +0200 |
commit | e3649f744289c180537d2d8474dc0e39050e654f (patch) | |
tree | 5d3d773985c0bfdfed5e0aed35fe8b2441d60787 /knotes/knoteprinter.cpp | |
parent | 4b4a3f32d8e71d79626206211ee6e23ee1e968b8 (diff) | |
download | tdepim-e3649f744289c180537d2d8474dc0e39050e654f.tar.gz tdepim-e3649f744289c180537d2d8474dc0e39050e654f.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78)
Diffstat (limited to 'knotes/knoteprinter.cpp')
-rw-r--r-- | knotes/knoteprinter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/knotes/knoteprinter.cpp b/knotes/knoteprinter.cpp index 6b2868174..a94e46310 100644 --- a/knotes/knoteprinter.cpp +++ b/knotes/knoteprinter.cpp @@ -46,14 +46,14 @@ TQFont KNotePrinter::font() const return m_font; } -void KNotePrinter::tqsetColorGroup( const TQColorGroup& tqcolorGroup ) +void KNotePrinter::setColorGroup( const TQColorGroup& colorGroup ) { - m_tqcolorGroup = tqcolorGroup; + m_colorGroup = colorGroup; } -TQColorGroup KNotePrinter::tqcolorGroup() const +TQColorGroup KNotePrinter::colorGroup() const { - return m_tqcolorGroup; + return m_colorGroup; } void KNotePrinter::setStyleSheet( TQStyleSheet* styleSheet ) @@ -93,7 +93,7 @@ void KNotePrinter::doPrint( KPrinter& printer, TQPainter& painter, for (;;) { - text.draw( &painter, body.left(), body.top(), view, m_tqcolorGroup ); + text.draw( &painter, body.left(), body.top(), view, m_colorGroup ); view.moveBy( 0, body.height() ); painter.translate( 0, -body.height() ); |