diff options
Diffstat (limited to 'kbabel/common/editcmd.cpp')
-rw-r--r-- | kbabel/common/editcmd.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kbabel/common/editcmd.cpp b/kbabel/common/editcmd.cpp index 4ea98364..b0c8cd09 100644 --- a/kbabel/common/editcmd.cpp +++ b/kbabel/common/editcmd.cpp @@ -20,11 +20,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. @@ -68,7 +68,7 @@ bool DelTextCmd::merge( EditCommand* other) && o->type() == type() && o->pluralNumber==pluralNumber ) { DelTextCmd* o = (DelTextCmd*) other; - if ( offset + int(str.length()) == o->offset && !str.contains(TQRegExp("^\\s$")) ) + if ( offset + int(str.length()) == o->offset && !str.tqcontains(TQRegExp("^\\s$")) ) { o->str.prepend( str ); o->offset = offset; @@ -95,7 +95,7 @@ bool InsTextCmd::merge( EditCommand* other) if ( o->index()==index() && o->part() == part() && o->type() == type() && o->pluralNumber==pluralNumber ) { - if ( offset == o->offset + int(o->str.length()) && !str.contains(TQRegExp("^\\s$")) ) + if ( offset == o->offset + int(o->str.length()) && !str.tqcontains(TQRegExp("^\\s$")) ) { o->str += str; return true; |