diff options
Diffstat (limited to 'konq-plugins/domtreeviewer/domtreecommands.cpp')
-rw-r--r-- | konq-plugins/domtreeviewer/domtreecommands.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/konq-plugins/domtreeviewer/domtreecommands.cpp b/konq-plugins/domtreeviewer/domtreecommands.cpp index 0bbb918..e8f8f05 100644 --- a/konq-plugins/domtreeviewer/domtreecommands.cpp +++ b/konq-plugins/domtreeviewer/domtreecommands.cpp @@ -53,7 +53,7 @@ static const char * const dom_error_msgs[] = { TQString domtreeviewer::domErrorMessage(int dom_err) { if ((unsigned)dom_err > sizeof dom_error_msgs/sizeof dom_error_msgs[0]) - return i18n("Unknown Exception %1").arg(dom_err); + return i18n("Unknown Exception %1").tqarg(dom_err); else return i18n(dom_error_msgs[dom_err]); } @@ -401,8 +401,8 @@ void ChangeCDataCommand::apply() if (!shouldReapply()) { oldValue = cdata.data(); has_newlines = - TQConstString(value.unicode(), value.length()).string().contains('\n') - || TQConstString(oldValue.unicode(), oldValue.length()).string().contains('\n'); + TQConstString(value.tqunicode(), value.length()).string().tqcontains('\n') + || TQConstString(oldValue.tqunicode(), oldValue.length()).string().tqcontains('\n'); } cdata.setData(value); addChangedNode(cdata); @@ -423,8 +423,8 @@ TQString ChangeCDataCommand::name() const // == ManipulateNodeCommand =========================================== -ManipulateNodeCommand::ManipulateNodeCommand(const DOM::Node &node, const DOM::Node &parent, const DOM::Node &after) -: _node(node), _parent(parent), _after(after) +ManipulateNodeCommand::ManipulateNodeCommand(const DOM::Node &node, const DOM::Node &tqparent, const DOM::Node &after) +: _node(node), _parent(tqparent), _after(after) { } @@ -457,8 +457,8 @@ void ManipulateNodeCommand::remove() // == InsertNodeCommand =========================================== -InsertNodeCommand::InsertNodeCommand(const DOM::Node &node, const DOM::Node &parent, const DOM::Node &after) -: ManipulateNodeCommand(node, parent, after) +InsertNodeCommand::InsertNodeCommand(const DOM::Node &node, const DOM::Node &tqparent, const DOM::Node &after) +: ManipulateNodeCommand(node, tqparent, after) { } @@ -485,8 +485,8 @@ TQString InsertNodeCommand::name() const // == RemoveNodeCommand =========================================== -RemoveNodeCommand::RemoveNodeCommand(const DOM::Node &node, const DOM::Node &parent, const DOM::Node &after) -: ManipulateNodeCommand(node, parent, after) +RemoveNodeCommand::RemoveNodeCommand(const DOM::Node &node, const DOM::Node &tqparent, const DOM::Node &after) +: ManipulateNodeCommand(node, tqparent, after) { } @@ -513,8 +513,8 @@ TQString RemoveNodeCommand::name() const // == MoveNodeCommand =========================================== -MoveNodeCommand::MoveNodeCommand(const DOM::Node &node, const DOM::Node &parent, const DOM::Node &after) -: _node(node), new_parent(parent), new_after(after) +MoveNodeCommand::MoveNodeCommand(const DOM::Node &node, const DOM::Node &tqparent, const DOM::Node &after) +: _node(node), new_parent(tqparent), new_after(after) { old_parent = node.parentNode(); old_after = node.nextSibling(); |