summaryrefslogtreecommitdiffstats
path: root/digikam/themedesigner
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/themedesigner
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/themedesigner')
-rw-r--r--digikam/themedesigner/themediconitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/digikam/themedesigner/themediconitem.cpp b/digikam/themedesigner/themediconitem.cpp
index eb2a964..c36ad22 100644
--- a/digikam/themedesigner/themediconitem.cpp
+++ b/digikam/themedesigner/themediconitem.cpp
@@ -55,7 +55,7 @@ static void dateToString(const TQDateTime& datetime, TQString& str)
static TQString squeezedText(TQPainter* p, int width, const TQString& text)
{
TQString fullText(text);
- fullText.tqreplace("\n"," ");
+ fullText.replace("\n"," ");
TQFontMetrics fm(p->fontMetrics());
int textWidth = fm.width(fullText);
if (textWidth > width)