summaryrefslogtreecommitdiffstats
path: root/konq-plugins/domtreeviewer/domtreecommands.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 17:00:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 17:00:31 +0000
commit395a904bff7b4d6ead445c342f7ac0c5fbf29121 (patch)
tree9829cadb79d2cc7c29a940627fadb28b11e54150 /konq-plugins/domtreeviewer/domtreecommands.h
parent399f47c376fdf4d19192732a701ea9578d11619d (diff)
downloadtdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.tar.gz
tdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.zip
TQt4 port kdeaddons
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1237404 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/domtreeviewer/domtreecommands.h')
-rw-r--r--konq-plugins/domtreeviewer/domtreecommands.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/konq-plugins/domtreeviewer/domtreecommands.h b/konq-plugins/domtreeviewer/domtreecommands.h
index f068426..43af96b 100644
--- a/konq-plugins/domtreeviewer/domtreecommands.h
+++ b/konq-plugins/domtreeviewer/domtreecommands.h
@@ -51,9 +51,10 @@ TQString domErrorMessage(int exception_code);
* Internal class for emitting signals.
* @internal
*/
-class ManipulationCommandSignalEmitter : public QObject
+class ManipulationCommandSignalEmitter : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
ManipulationCommandSignalEmitter();
virtual ~ManipulationCommandSignalEmitter();
@@ -73,7 +74,7 @@ signals:
*/
void error(int err_id, const TQString &msg);
-private: // make moc not complain
+private: // make tqmoc not complain
friend class ManipulationCommand;
};
@@ -276,10 +277,10 @@ class ManipulateNodeCommand : public ManipulationCommand
{
public:
/**
- * Prepare command, where \c node is to be contained in \c parent, just
+ * Prepare command, where \c node is to be contained in \c tqparent, just
* before \c after. If \c after is 0, it is appended at the end.
*/
- ManipulateNodeCommand(const DOM::Node &node, const DOM::Node &parent, const DOM::Node &after);
+ ManipulateNodeCommand(const DOM::Node &node, const DOM::Node &tqparent, const DOM::Node &after);
virtual ~ManipulateNodeCommand();
protected:
@@ -303,10 +304,10 @@ class InsertNodeCommand : public ManipulateNodeCommand
{
public:
/**
- * Prepare insertion command, inserting \c node into \c parent, just
- * before \c after. If \c after is 0, append it to the list of children.
+ * Prepare insertion command, inserting \c node into \c tqparent, just
+ * before \c after. If \c after is 0, append it to the list of tqchildren.
*/
- InsertNodeCommand(const DOM::Node &node, const DOM::Node &parent, const DOM::Node &after);
+ InsertNodeCommand(const DOM::Node &node, const DOM::Node &tqparent, const DOM::Node &after);
virtual ~InsertNodeCommand();
virtual TQString name() const;
@@ -329,10 +330,10 @@ class RemoveNodeCommand : public ManipulateNodeCommand
{
public:
/**
- * Prepare insertion command, inserting \c node into \c parent, just
- * before \c after. If \c after is 0, append it to the list of children.
+ * Prepare insertion command, inserting \c node into \c tqparent, just
+ * before \c after. If \c after is 0, append it to the list of tqchildren.
*/
- RemoveNodeCommand(const DOM::Node &node, const DOM::Node &parent, const DOM::Node &after);
+ RemoveNodeCommand(const DOM::Node &node, const DOM::Node &tqparent, const DOM::Node &after);
virtual ~RemoveNodeCommand();
virtual TQString name() const;
@@ -352,10 +353,10 @@ class MoveNodeCommand : public ManipulationCommand
{
public:
/**
- * Move \c node from current position into \c parent, just before \c after.
+ * Move \c node from current position into \c tqparent, just before \c after.
* Appends if \c after is 0.
*/
- MoveNodeCommand(const DOM::Node &node, const DOM::Node &parent, const DOM::Node &after);
+ MoveNodeCommand(const DOM::Node &node, const DOM::Node &tqparent, const DOM::Node &after);
virtual ~MoveNodeCommand();
virtual TQString name() const;