summaryrefslogtreecommitdiffstats
path: root/libkdepim/kpixmapregionselectorwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/kpixmapregionselectorwidget.cpp')
-rw-r--r--libkdepim/kpixmapregionselectorwidget.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libkdepim/kpixmapregionselectorwidget.cpp b/libkdepim/kpixmapregionselectorwidget.cpp
index 308ae0cc7..4efcbbcb0 100644
--- a/libkdepim/kpixmapregionselectorwidget.cpp
+++ b/libkdepim/kpixmapregionselectorwidget.cpp
@@ -41,8 +41,8 @@
using namespace KPIM;
-KPixmapRegionSelectorWidget::KPixmapRegionSelectorWidget( TQWidget *parent,
- const char *name) : TQWidget( parent, name)
+KPixmapRegionSelectorWidget::KPixmapRegionSelectorWidget( TQWidget *tqparent,
+ const char *name) : TQWidget( tqparent, name)
{
TQHBoxLayout * hboxLayout=new TQHBoxLayout( this );
@@ -51,7 +51,7 @@ KPixmapRegionSelectorWidget::KPixmapRegionSelectorWidget( TQWidget *parent,
vboxLayout->addStretch();
m_label = new TQLabel(this, "pixmapHolder");
- m_label->setBackgroundMode( Qt::NoBackground );
+ m_label->setBackgroundMode( TQt::NoBackground );
m_label->installEventFilter( this );
vboxLayout->addWidget(m_label);
@@ -112,9 +112,9 @@ void KPixmapRegionSelectorWidget::updatePixmap()
m_linedPixmap = m_originalPixmap;
painter.begin(&m_linedPixmap);
- painter.setRasterOp( Qt::XorROP );
+ painter.setRasterOp( TQt::XorROP );
painter.fillRect(0,0,m_linedPixmap.width(), m_linedPixmap.height(),
- TQBrush( TQColor(255,255,255), Qt::BDiagPattern) );
+ TQBrush( TQColor(255,255,255), TQt::BDiagPattern) );
painter.end();
TQImage image=m_linedPixmap.convertToImage();
@@ -129,7 +129,7 @@ void KPixmapRegionSelectorWidget::updatePixmap()
m_originalPixmap, m_selectedRegion );
painter.setPen( TQColor(255,255,255) );
- painter.setRasterOp( Qt::XorROP );
+ painter.setRasterOp( TQt::XorROP );
painter.drawRect( m_selectedRegion );
@@ -231,12 +231,12 @@ bool KPixmapRegionSelectorWidget::eventFilter(TQObject *obj, TQEvent *ev)
&& m_selectedRegion!=m_originalPixmap.rect() )
{
m_state=Moving;
- cursor=TQCursor(Qt::SizeAllCursor);
+ cursor=TQCursor(TQt::SizeAllCursor);
}
else
{
m_state=Resizing;
- cursor=TQCursor(Qt::CrossCursor);
+ cursor=TQCursor(TQt::CrossCursor);
}
TQApplication::setOverrideCursor(cursor);