summaryrefslogtreecommitdiffstats
path: root/tdeprint/posterpreview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/posterpreview.cpp')
-rw-r--r--tdeprint/posterpreview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tdeprint/posterpreview.cpp b/tdeprint/posterpreview.cpp
index 80f9b1f81..1cfb53fd6 100644
--- a/tdeprint/posterpreview.cpp
+++ b/tdeprint/posterpreview.cpp
@@ -19,7 +19,7 @@
#include "posterpreview.h"
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tqpainter.h>
#include <tqsimplerichtext.h>
#include <tqtimer.h>
@@ -54,8 +54,8 @@ PosterPreview::~PosterPreview()
void PosterPreview::init()
{
m_process = new TDEProcess;
- connect( m_process, TQT_SIGNAL( receivedStderr( TDEProcess*, char*, int ) ), TQT_SLOT( slotProcessStderr( TDEProcess*, char*, int ) ) );
- connect( m_process, TQT_SIGNAL( processExited( TDEProcess* ) ), TQT_SLOT( slotProcessExited( TDEProcess* ) ) );
+ connect( m_process, TQ_SIGNAL( receivedStderr( TDEProcess*, char*, int ) ), TQ_SLOT( slotProcessStderr( TDEProcess*, char*, int ) ) );
+ connect( m_process, TQ_SIGNAL( processExited( TDEProcess* ) ), TQ_SLOT( slotProcessExited( TDEProcess* ) ) );
m_cols = m_rows = m_pw = m_ph = m_mw = m_mh = 0;
m_dirty = false;
@@ -83,7 +83,7 @@ void PosterPreview::setDirty()
if ( !m_dirty )
{
m_dirty = true;
- TQTimer::singleShot( 1, this, TQT_SLOT( updatePoster() ) );
+ TQTimer::singleShot( 1, this, TQ_SLOT( updatePoster() ) );
}
}
@@ -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() ) )
{