summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabel/kbbookmarkhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabel/kbbookmarkhandler.cpp')
-rw-r--r--kbabel/kbabel/kbbookmarkhandler.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kbabel/kbabel/kbbookmarkhandler.cpp b/kbabel/kbabel/kbbookmarkhandler.cpp
index 2685905b..4d3f0a37 100644
--- a/kbabel/kbabel/kbbookmarkhandler.cpp
+++ b/kbabel/kbabel/kbbookmarkhandler.cpp
@@ -19,11 +19,11 @@
In addition, as a special exception, the copyright holders give
permission to link the code of this program with any edition of
- the Qt library by Trolltech AS, Norway (or with modified versions
- of Qt that use the same license as Qt), and distribute linked
+ the TQt library by Trolltech AS, Norway (or with modified versions
+ of TQt that use the same license as TQt), and distribute linked
combinations including the two. You must obey the GNU General
Public License in all respects for all of the code used other than
- Qt. If you modify this file, you may extend this exception to
+ TQt. If you modify this file, you may extend this exception to
your version of the file, but you are not obligated to do so. If
you do not wish to do so, delete this exception statement from
your version.
@@ -48,12 +48,12 @@ KBabelBookmark::KBabelBookmark(int msgindex, TQString msgtext)
}
// insert one '&' before every consecutive group of ampersands to keep the
- // first of these from acting either as accelerator or mask in the menu
+ // first of these from acting either as accelerator or tqmask in the menu
TQRegExp rx("&+");
- int pos = msgtext.find(rx);
+ int pos = msgtext.tqfind(rx);
while (pos >= 0) {
msgtext.insert(pos, '&');
- pos = msgtext.find(rx, pos + rx.matchedLength() + 1);
+ pos = msgtext.tqfind(rx, pos + rx.matchedLength() + 1);
}
_msgtext = msgtext;
@@ -94,7 +94,7 @@ void KBabelBookmarkHandler::addBookmark(KBabelBookmark* b)
// if it's okay then add the bookmark
_list.append(b);
- _menu->insertItem(TQString("#%1 - %2").arg(b->msgindex()).arg(b->msgtext()),
+ _menu->insertItem(TQString("#%1 - %2").tqarg(b->msgindex()).tqarg(b->msgtext()),
this, TQT_SIGNAL(signalBookmarkSelected(int)), 0, b->msgindex());
}