diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-13 20:33:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-15 23:47:11 +0900 |
commit | 303b6445011a6ed10c48ac6e1eda415e5c371264 (patch) | |
tree | aded2a8ee5046176d3295bbf1f90f5dd73746677 /tdeprint/posterpreview.cpp | |
parent | 141ced0c41af8726eedac425ea24cd162bcff862 (diff) | |
download | tdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.tar.gz tdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c8ece3630d4d21acaf1749fc2cf660a0463070c3)
Diffstat (limited to 'tdeprint/posterpreview.cpp')
-rw-r--r-- | tdeprint/posterpreview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeprint/posterpreview.cpp b/tdeprint/posterpreview.cpp index 80f9b1f81..99f2e6a2b 100644 --- a/tdeprint/posterpreview.cpp +++ b/tdeprint/posterpreview.cpp @@ -144,9 +144,9 @@ void PosterPreview::drawContents( TQPainter *painter ) if ( pw > 0 && ph > 0 ) p->fillRect( x+m_mw+px, y+m_mh+py, TQMIN( pw, m_pw-2*m_mw-px ), TQMIN( ph, m_ph-2*m_mh-py ), ( selected ? TQColor(TDEGlobalSettings::highlightColor().dark( 160 )) : lightGray ) ); - p->setPen( Qt::DotLine ); + p->setPen( TQt::DotLine ); p->drawRect( x+m_mw, y+m_mh, m_pw-2*m_mw, m_ph-2*m_mh ); - p->setPen( Qt::SolidLine ); + p->setPen( TQt::SolidLine ); pw -= m_pw-2*m_mw-px; px = 0; @@ -177,7 +177,7 @@ void PosterPreview::mouseMoveEvent( TQMouseEvent *e ) void PosterPreview::mousePressEvent( TQMouseEvent *e ) { - if ( e->button() == Qt::LeftButton && m_boundingrect.isValid() ) + if ( e->button() == TQt::LeftButton && m_boundingrect.isValid() ) { if ( m_boundingrect.contains( e->pos() ) ) { |