summaryrefslogtreecommitdiffstats
path: root/digikam/imageplugins/inserttext/inserttextwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit0b843b137f8f7e7f3d43f7a7beafc51129668981 (patch)
tree09538b7f7ba02e3de1a85552e4cbca78e6e2e28a /digikam/imageplugins/inserttext/inserttextwidget.cpp
parentaf0ea06e33ec0c61ec44f279a738efd22263ac17 (diff)
downloaddigikam-0b843b137f8f7e7f3d43f7a7beafc51129668981.tar.gz
digikam-0b843b137f8f7e7f3d43f7a7beafc51129668981.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/digikam@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'digikam/imageplugins/inserttext/inserttextwidget.cpp')
-rw-r--r--digikam/imageplugins/inserttext/inserttextwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/digikam/imageplugins/inserttext/inserttextwidget.cpp b/digikam/imageplugins/inserttext/inserttextwidget.cpp
index 596470ac..24fd8ec5 100644
--- a/digikam/imageplugins/inserttext/inserttextwidget.cpp
+++ b/digikam/imageplugins/inserttext/inserttextwidget.cpp
@@ -126,7 +126,7 @@ void InsertTextWidget::setText(TQString text, TQFont font, TQColor color, int al
/*
if ( m_textFont.pointSize() != font.pointSize() &&
- !rect().tqcontains( m_textRect.x(), m_textRect.y() ) )
+ !rect().contains( m_textRect.x(), m_textRect.y() ) )
{
m_textFont = font;
resetEdit();
@@ -575,7 +575,7 @@ void InsertTextWidget::resizeEvent(TQResizeEvent * e)
void InsertTextWidget::mousePressEvent ( TQMouseEvent * e )
{
if ( e->button() == Qt::LeftButton &&
- m_textRect.tqcontains( e->x(), e->y() ) )
+ m_textRect.contains( e->x(), e->y() ) )
{
m_xpos = e->x();
m_ypos = e->y();
@@ -592,7 +592,7 @@ void InsertTextWidget::mouseReleaseEvent ( TQMouseEvent * )
void InsertTextWidget::mouseMoveEvent ( TQMouseEvent * e )
{
- if ( rect().tqcontains( e->x(), e->y() ) )
+ if ( rect().contains( e->x(), e->y() ) )
{
if ( e->state() == Qt::LeftButton && m_currentMoving )
{
@@ -608,7 +608,7 @@ void InsertTextWidget::mouseMoveEvent ( TQMouseEvent * e )
m_ypos = newypos;
setCursor( KCursor::handCursor() );
}
- else if ( m_textRect.tqcontains( e->x(), e->y() ) )
+ else if ( m_textRect.contains( e->x(), e->y() ) )
{
setCursor ( KCursor::sizeAllCursor() );
}