summaryrefslogtreecommitdiffstats
path: root/quanta/messages/messageitem.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /quanta/messages/messageitem.cpp
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/messages/messageitem.cpp')
-rw-r--r--quanta/messages/messageitem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/quanta/messages/messageitem.cpp b/quanta/messages/messageitem.cpp
index dc1c7ad8..ab8c1ef1 100644
--- a/quanta/messages/messageitem.cpp
+++ b/quanta/messages/messageitem.cpp
@@ -31,7 +31,7 @@ int MessageItem::line()
}
else { // try to find first number in text
TQString s = text();
- int pos = s.find( TQRegExp("[0-9]"));
+ int pos = s.tqfind( TQRegExp("[0-9]"));
if ( pos == -1 )
return lineNumber;
int pos2 = pos;
@@ -70,10 +70,10 @@ TQString MessageItem::fileName()
{
TQString fname;
TQString s = text();
- int pos = s.find(i18n("File: "));
+ int pos = s.tqfind(i18n("File: "));
if (pos != -1)
{
- int pos2 = s.find(i18n(", "), pos);
+ int pos2 = s.tqfind(i18n(", "), pos);
if (pos2 != -1)
fname = s.mid(pos, pos2-pos);
else