summaryrefslogtreecommitdiffstats
path: root/tdeprint/posterpreview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-13 20:33:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-15 23:47:11 +0900
commit303b6445011a6ed10c48ac6e1eda415e5c371264 (patch)
treeaded2a8ee5046176d3295bbf1f90f5dd73746677 /tdeprint/posterpreview.cpp
parent141ced0c41af8726eedac425ea24cd162bcff862 (diff)
downloadtdelibs-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.cpp6
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() ) )
{