summaryrefslogtreecommitdiffstats
path: root/kbabel/common/editcmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/common/editcmd.cpp')
-rw-r--r--kbabel/common/editcmd.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kbabel/common/editcmd.cpp b/kbabel/common/editcmd.cpp
index 1643ed0b..4ea98364 100644
--- a/kbabel/common/editcmd.cpp
+++ b/kbabel/common/editcmd.cpp
@@ -31,7 +31,7 @@
**************************************************************************** */
#include "editcmd.h"
-#include <qregexp.h>
+#include <tqregexp.h>
using namespace KBabel;
@@ -49,7 +49,7 @@ EditCommand::EditCommand(const int index, const Part part)
// have to handle deletion of current selection
-DelTextCmd::DelTextCmd(int _offset, const QString &_str, int _pluralNumber )
+DelTextCmd::DelTextCmd(int _offset, const TQString &_str, int _pluralNumber )
: EditCommand(),
offset( _offset ),
str ( _str ),
@@ -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(QRegExp("^\\s$")) )
+ if ( offset + int(str.length()) == o->offset && !str.contains(TQRegExp("^\\s$")) )
{
o->str.prepend( str );
o->offset = offset;
@@ -80,7 +80,7 @@ bool DelTextCmd::merge( EditCommand* other)
-InsTextCmd::InsTextCmd(int offset,const QString &str, int pluralNumber )
+InsTextCmd::InsTextCmd(int offset,const TQString &str, int pluralNumber )
: DelTextCmd( offset, str, pluralNumber )
{
}
@@ -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(QRegExp("^\\s$")) )
+ if ( offset == o->offset + int(o->str.length()) && !str.contains(TQRegExp("^\\s$")) )
{
o->str += str;
return true;