summaryrefslogtreecommitdiffstats
path: root/konq-plugins/domtreeviewer/domtreecommands.h
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/domtreeviewer/domtreecommands.h')
-rw-r--r--konq-plugins/domtreeviewer/domtreecommands.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/konq-plugins/domtreeviewer/domtreecommands.h b/konq-plugins/domtreeviewer/domtreecommands.h
index bf893dc..f068426 100644
--- a/konq-plugins/domtreeviewer/domtreecommands.h
+++ b/konq-plugins/domtreeviewer/domtreecommands.h
@@ -32,8 +32,8 @@
#include <kcommand.h>
-#include <qobject.h>
-#include <qptrlist.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
class DOMTreeView;
class KPrinter;
@@ -45,7 +45,7 @@ class ManipulationCommandSignalEmitter;
class ChangedNodeSet;
/** returns a localized string for the given dom exception code */
-QString domErrorMessage(int exception_code);
+TQString domErrorMessage(int exception_code);
/**
* Internal class for emitting signals.
@@ -71,7 +71,7 @@ signals:
* @param err_id DOM error id
* @param msg error message
*/
- void error(int err_id, const QString &msg);
+ void error(int err_id, const TQString &msg);
private: // make moc not complain
friend class ManipulationCommand;
@@ -97,7 +97,7 @@ public:
bool allowSignals() const { return allow_signals; }
/** connects the given signal to a slot */
- static void connect(const char *signal, QObject *recv, const char *slot);
+ static void connect(const char *signal, TQObject *recv, const char *slot);
/** does grunt work and calls apply()/reapply() */
virtual void execute();
@@ -136,13 +136,13 @@ private:
class MultiCommand : public ManipulationCommand
{
public:
- MultiCommand(const QString &name);
+ MultiCommand(const TQString &name);
virtual ~MultiCommand();
/** Adds a new command. Will take ownership of \c cmd */
void addCommand(ManipulationCommand *cmd);
- virtual QString name() const;
+ virtual TQString name() const;
protected:
virtual void apply();
@@ -151,8 +151,8 @@ protected:
void mergeChangedNodesFrom(ManipulationCommand *cmd);
protected:
- QPtrList<ManipulationCommand> cmds;
- QString _name;
+ TQPtrList<ManipulationCommand> cmds;
+ TQString _name;
};
/**
@@ -162,10 +162,10 @@ protected:
class AddAttributeCommand : public ManipulationCommand
{
public:
- AddAttributeCommand(const DOM::Element &element, const QString &attrName, const QString &attrValue);
+ AddAttributeCommand(const DOM::Element &element, const TQString &attrName, const TQString &attrValue);
virtual ~AddAttributeCommand();
- virtual QString name() const;
+ virtual TQString name() const;
protected:
virtual void apply();
@@ -184,10 +184,10 @@ protected:
class ChangeAttributeValueCommand : public ManipulationCommand
{
public:
- ChangeAttributeValueCommand(const DOM::Element &element, const QString &attr, const QString &value);
+ ChangeAttributeValueCommand(const DOM::Element &element, const TQString &attr, const TQString &value);
virtual ~ChangeAttributeValueCommand();
- virtual QString name() const;
+ virtual TQString name() const;
protected:
virtual void apply();
@@ -207,10 +207,10 @@ protected:
class RemoveAttributeCommand : public ManipulationCommand
{
public:
- RemoveAttributeCommand(const DOM::Element &element, const QString &attrName);
+ RemoveAttributeCommand(const DOM::Element &element, const TQString &attrName);
virtual ~RemoveAttributeCommand();
- virtual QString name() const;
+ virtual TQString name() const;
protected:
virtual void apply();
@@ -229,10 +229,10 @@ protected:
class RenameAttributeCommand : public ManipulationCommand
{
public:
- RenameAttributeCommand(const DOM::Element &element, const QString &attrOldName, const QString &attrNewName);
+ RenameAttributeCommand(const DOM::Element &element, const TQString &attrOldName, const TQString &attrNewName);
virtual ~RenameAttributeCommand();
- virtual QString name() const;
+ virtual TQString name() const;
protected:
virtual void apply();
@@ -252,10 +252,10 @@ protected:
class ChangeCDataCommand : public ManipulationCommand
{
public:
- ChangeCDataCommand(const DOM::CharacterData &, const QString &value);
+ ChangeCDataCommand(const DOM::CharacterData &, const TQString &value);
virtual ~ChangeCDataCommand();
- virtual QString name() const;
+ virtual TQString name() const;
protected:
virtual void apply();
@@ -309,7 +309,7 @@ public:
InsertNodeCommand(const DOM::Node &node, const DOM::Node &parent, const DOM::Node &after);
virtual ~InsertNodeCommand();
- virtual QString name() const;
+ virtual TQString name() const;
protected:
virtual void apply();
@@ -335,7 +335,7 @@ public:
RemoveNodeCommand(const DOM::Node &node, const DOM::Node &parent, const DOM::Node &after);
virtual ~RemoveNodeCommand();
- virtual QString name() const;
+ virtual TQString name() const;
protected:
virtual void apply();
@@ -358,7 +358,7 @@ public:
MoveNodeCommand(const DOM::Node &node, const DOM::Node &parent, const DOM::Node &after);
virtual ~MoveNodeCommand();
- virtual QString name() const;
+ virtual TQString name() const;
protected:
virtual void apply();