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:44:25 +0900 |
commit | c8ece3630d4d21acaf1749fc2cf660a0463070c3 (patch) | |
tree | bae3d3c70886ceeffd914cac031dfeab532a607a /tdeprint/posterpreview.cpp | |
parent | 419c185be746df8bba59fe5de991b4a2b3977897 (diff) | |
download | tdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.tar.gz tdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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() ) ) { |