summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficeui')
-rw-r--r--lib/kofficeui/KoGuides.cpp6
-rw-r--r--lib/kofficeui/KoGuides.h6
-rw-r--r--lib/kofficeui/KoPictureFilePreview.cpp2
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/kofficeui/KoGuides.cpp b/lib/kofficeui/KoGuides.cpp
index 5694889c2..a7e85bcfc 100644
--- a/lib/kofficeui/KoGuides.cpp
+++ b/lib/kofficeui/KoGuides.cpp
@@ -476,7 +476,7 @@ void KoGuides::snapToGuideLines( KoPoint &pos, int snap, SnaptqStatus &snaptqSta
}
-void KoGuides::tqrepaintSnapping( const KoRect &snappedRect )
+void KoGuides::repaintSnapping( const KoRect &snappedRect )
{
bool needRepaint = false;
for ( int i = 0; i < GL_END; ++i )
@@ -530,7 +530,7 @@ void KoGuides::tqrepaintSnapping( const KoRect &snappedRect )
}
-void KoGuides::tqrepaintSnapping( const KoPoint &snappedPoint, SnaptqStatus snaptqStatus )
+void KoGuides::repaintSnapping( const KoPoint &snappedPoint, SnaptqStatus snaptqStatus )
{
bool needRepaint = false;
for ( int i = 0; i < GL_END; ++i )
@@ -585,7 +585,7 @@ void KoGuides::tqrepaintSnapping( const KoPoint &snappedPoint, SnaptqStatus snap
}
-void KoGuides::tqrepaintAfterSnapping()
+void KoGuides::repaintAfterSnapping()
{
bool needRepaint = false;
diff --git a/lib/kofficeui/KoGuides.h b/lib/kofficeui/KoGuides.h
index e3529c720..15d99ca27 100644
--- a/lib/kofficeui/KoGuides.h
+++ b/lib/kofficeui/KoGuides.h
@@ -179,7 +179,7 @@ public:
*
* @param snappedRect the rect after it has been snapped
*/
- void tqrepaintSnapping( const KoRect &snappedRect );
+ void repaintSnapping( const KoRect &snappedRect );
/**
* @brief tqrepaint guides if any changed snapping status
@@ -188,7 +188,7 @@ public:
*
* @param snappedPoint the point after it has been snapped
*/
- void tqrepaintSnapping( const KoPoint &snappedPoint, SnaptqStatus snaptqStatus );
+ void repaintSnapping( const KoPoint &snappedPoint, SnaptqStatus snaptqStatus );
/**
* @brief tqrepaint guides so none is snapped
@@ -196,7 +196,7 @@ public:
* This issues a paint request if any guides have changed snapping status.
* It also effectively un-snaps all since it doesn't take an argument
*/
- void tqrepaintAfterSnapping( );
+ void repaintAfterSnapping( );
/**
* @brief Find the closesed disance to the next guide within the given distance
diff --git a/lib/kofficeui/KoPictureFilePreview.cpp b/lib/kofficeui/KoPictureFilePreview.cpp
index fade4e9a6..3f44f1e9b 100644
--- a/lib/kofficeui/KoPictureFilePreview.cpp
+++ b/lib/kofficeui/KoPictureFilePreview.cpp
@@ -65,7 +65,7 @@ public:
m_size = picture.getOriginalSize();
m_picture = picture;
resizeContents( m_size.width(), m_size.height() );
- tqrepaintContents();
+ repaintContents();
return true;
}