summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/tools
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/tools')
-rw-r--r--kivio/kiviopart/tools/kivio_mousetool.cpp2
-rw-r--r--kivio/kiviopart/tools/kivio_mousetool.h2
-rw-r--r--kivio/kiviopart/tools/kivio_plugin.cpp2
-rw-r--r--kivio/kiviopart/tools/kivio_plugin.h4
-rw-r--r--kivio/kiviopart/tools/kivio_pluginmanager.cpp4
-rw-r--r--kivio/kiviopart/tools/kivio_pluginmanager.h2
-rw-r--r--kivio/kiviopart/tools/mousetoolaction.cpp28
-rw-r--r--kivio/kiviopart/tools/mousetoolaction.h34
8 files changed, 39 insertions, 39 deletions
diff --git a/kivio/kiviopart/tools/kivio_mousetool.cpp b/kivio/kiviopart/tools/kivio_mousetool.cpp
index 77b55d01..e74d0147 100644
--- a/kivio/kiviopart/tools/kivio_mousetool.cpp
+++ b/kivio/kiviopart/tools/kivio_mousetool.cpp
@@ -21,7 +21,7 @@
#include "kivio_pluginmanager.h"
namespace Kivio {
- MouseTool::MouseTool(KivioView* tqparent, const char* name) : Kivio::Plugin(tqparent, name)
+ MouseTool::MouseTool(KivioView* parent, const char* name) : Kivio::Plugin(parent, name)
{
connect(this, TQT_SIGNAL(activated(Kivio::MouseTool*)), view()->pluginManager(), TQT_SLOT(activate(Kivio::MouseTool*)));
}
diff --git a/kivio/kiviopart/tools/kivio_mousetool.h b/kivio/kiviopart/tools/kivio_mousetool.h
index 7bffaf33..0b717f29 100644
--- a/kivio/kiviopart/tools/kivio_mousetool.h
+++ b/kivio/kiviopart/tools/kivio_mousetool.h
@@ -34,7 +34,7 @@ namespace Kivio {
Q_OBJECT
TQ_OBJECT
public:
- MouseTool(KivioView* tqparent = 0, const char* name = 0);
+ MouseTool(KivioView* parent = 0, const char* name = 0);
~MouseTool();
virtual bool processEvent(TQEvent* e) = 0;
diff --git a/kivio/kiviopart/tools/kivio_plugin.cpp b/kivio/kiviopart/tools/kivio_plugin.cpp
index 12128f60..7e227fb1 100644
--- a/kivio/kiviopart/tools/kivio_plugin.cpp
+++ b/kivio/kiviopart/tools/kivio_plugin.cpp
@@ -21,7 +21,7 @@
#include "kivio_factory.h"
namespace Kivio {
- Plugin::Plugin(KivioView* tqparent, const char* name) : KParts::Plugin(TQT_TQOBJECT(tqparent), name)
+ Plugin::Plugin(KivioView* parent, const char* name) : KParts::Plugin(TQT_TQOBJECT(parent), name)
{
setInstance(KivioFactory::global());
}
diff --git a/kivio/kiviopart/tools/kivio_plugin.h b/kivio/kiviopart/tools/kivio_plugin.h
index 944742d3..cd261eab 100644
--- a/kivio/kiviopart/tools/kivio_plugin.h
+++ b/kivio/kiviopart/tools/kivio_plugin.h
@@ -32,10 +32,10 @@ namespace Kivio {
Q_OBJECT
TQ_OBJECT
public:
- Plugin(KivioView* tqparent = 0, const char* name = 0);
+ Plugin(KivioView* parent = 0, const char* name = 0);
~Plugin();
- KivioView* view() { return static_cast<KivioView*>(TQT_TQWIDGET(tqparent())); }
+ KivioView* view() { return static_cast<KivioView*>(TQT_TQWIDGET(parent())); }
};
}
diff --git a/kivio/kiviopart/tools/kivio_pluginmanager.cpp b/kivio/kiviopart/tools/kivio_pluginmanager.cpp
index 89f7f0a7..9b99904e 100644
--- a/kivio/kiviopart/tools/kivio_pluginmanager.cpp
+++ b/kivio/kiviopart/tools/kivio_pluginmanager.cpp
@@ -24,7 +24,7 @@
#include "kivio_plugin.h"
namespace Kivio {
- PluginManager::PluginManager(KivioView* tqparent, const char* name) : TQObject(tqparent, name)
+ PluginManager::PluginManager(KivioView* parent, const char* name) : TQObject(parent, name)
{
m_activeTool = 0;
m_defaultTool = 0;
@@ -83,7 +83,7 @@ namespace Kivio {
Kivio::Plugin* PluginManager::findPlugin(const TQString& name)
{
- TQPtrList<KParts::Plugin> plugins = KParts::Plugin::pluginObjects(tqparent());
+ TQPtrList<KParts::Plugin> plugins = KParts::Plugin::pluginObjects(parent());
KParts::Plugin* p = plugins.first();
bool found = false;
diff --git a/kivio/kiviopart/tools/kivio_pluginmanager.h b/kivio/kiviopart/tools/kivio_pluginmanager.h
index a0ac51fe..ced84748 100644
--- a/kivio/kiviopart/tools/kivio_pluginmanager.h
+++ b/kivio/kiviopart/tools/kivio_pluginmanager.h
@@ -32,7 +32,7 @@ namespace Kivio {
Q_OBJECT
TQ_OBJECT
public:
- PluginManager(KivioView* tqparent, const char* name = 0);
+ PluginManager(KivioView* parent, const char* name = 0);
~PluginManager();
bool delegateEvent(TQEvent* e);
diff --git a/kivio/kiviopart/tools/mousetoolaction.cpp b/kivio/kiviopart/tools/mousetoolaction.cpp
index 26238213..e46e522c 100644
--- a/kivio/kiviopart/tools/mousetoolaction.cpp
+++ b/kivio/kiviopart/tools/mousetoolaction.cpp
@@ -25,50 +25,50 @@
namespace Kivio {
MouseToolAction::MouseToolAction(const TQString& text, const KShortcut& cut,
- TQObject* tqparent, const char* name)
- : KRadioAction(text, cut, tqparent, name)
+ TQObject* parent, const char* name)
+ : KRadioAction(text, cut, parent, name)
{
}
MouseToolAction::MouseToolAction(const TQString& text, const KShortcut& cut,
const TQObject* receiver, const char* slot,
- TQObject* tqparent, const char* name)
- : KRadioAction(text, cut, receiver, slot, tqparent, name)
+ TQObject* parent, const char* name)
+ : KRadioAction(text, cut, receiver, slot, parent, name)
{
}
MouseToolAction::MouseToolAction(const TQString& text, const TQIconSet& pix,
const KShortcut& cut,
- TQObject* tqparent, const char* name)
- : KRadioAction(text, pix, cut, tqparent, name)
+ TQObject* parent, const char* name)
+ : KRadioAction(text, pix, cut, parent, name)
{
}
MouseToolAction::MouseToolAction(const TQString& text, const TQString& pix,
const KShortcut& cut,
- TQObject* tqparent, const char* name)
- : KRadioAction(text, pix, cut, tqparent, name)
+ TQObject* parent, const char* name)
+ : KRadioAction(text, pix, cut, parent, name)
{
}
MouseToolAction::MouseToolAction(const TQString& text, const TQIconSet& pix,
const KShortcut& cut,
const TQObject* receiver, const char* slot,
- TQObject* tqparent, const char* name)
- : KRadioAction(text, pix, cut, receiver, slot, tqparent, name)
+ TQObject* parent, const char* name)
+ : KRadioAction(text, pix, cut, receiver, slot, parent, name)
{
}
MouseToolAction::MouseToolAction(const TQString& text, const TQString& pix,
const KShortcut& cut,
const TQObject* receiver, const char* slot,
- TQObject* tqparent, const char* name)
- : KRadioAction(text, pix, cut, receiver, slot, tqparent, name)
+ TQObject* parent, const char* name)
+ : KRadioAction(text, pix, cut, receiver, slot, parent, name)
{
}
-MouseToolAction::MouseToolAction(TQObject* tqparent, const char* name)
- : KRadioAction(tqparent, name)
+MouseToolAction::MouseToolAction(TQObject* parent, const char* name)
+ : KRadioAction(parent, name)
{
}
diff --git a/kivio/kiviopart/tools/mousetoolaction.h b/kivio/kiviopart/tools/mousetoolaction.h
index 0e528578..26351ff2 100644
--- a/kivio/kiviopart/tools/mousetoolaction.h
+++ b/kivio/kiviopart/tools/mousetoolaction.h
@@ -36,72 +36,72 @@ class KIVIO_EXPORT MouseToolAction : public KRadioAction
*
* @param text The text that will be displayed.
* @param cut The corresponding keyboard accelerator (shortcut).
- * @param tqparent This action's tqparent.
+ * @param parent This action's parent.
* @param name An internal name for this action.
*/
- MouseToolAction(const TQString& text, const KShortcut& cut = KShortcut(), TQObject* tqparent = 0, const char* name = 0);
+ MouseToolAction(const TQString& text, const KShortcut& cut = KShortcut(), TQObject* parent = 0, const char* name = 0);
/**
* @param text The text that will be displayed.
* @param cut The corresponding keyboard accelerator (shortcut).
- * @param receiver The SLOT's tqparent.
+ * @param receiver The SLOT's parent.
* @param slot The TQT_SLOT to invoke to execute this action.
- * @param tqparent This action's tqparent.
+ * @param parent This action's parent.
* @param name An internal name for this action.
*/
MouseToolAction(const TQString& text, const KShortcut& cut,
- const TQObject* receiver, const char* slot, TQObject* tqparent, const char* name = 0);
+ const TQObject* receiver, const char* slot, TQObject* parent, const char* name = 0);
/**
* @param text The text that will be displayed.
* @param pix The icons that go with this action.
* @param cut The corresponding keyboard accelerator (shortcut).
- * @param tqparent This action's tqparent.
+ * @param parent This action's parent.
* @param name An internal name for this action.
*/
MouseToolAction(const TQString& text, const TQIconSet& pix, const KShortcut& cut = KShortcut(),
- TQObject* tqparent = 0, const char* name = 0);
+ TQObject* parent = 0, const char* name = 0);
/**
* @param text The text that will be displayed.
* @param pix The dynamically loaded icon that goes with this action.
* @param cut The corresponding keyboard accelerator (shortcut).
- * @param tqparent This action's tqparent.
+ * @param parent This action's parent.
* @param name An internal name for this action.
*/
MouseToolAction(const TQString& text, const TQString& pix, const KShortcut& cut = KShortcut(),
- TQObject* tqparent = 0, const char* name = 0);
+ TQObject* parent = 0, const char* name = 0);
/**
* @param text The text that will be displayed.
* @param pix The icons that go with this action.
* @param cut The corresponding keyboard accelerator (shortcut).
- * @param receiver The SLOT's tqparent.
+ * @param receiver The SLOT's parent.
* @param slot The TQT_SLOT to invoke to execute this action.
- * @param tqparent This action's tqparent.
+ * @param parent This action's parent.
* @param name An internal name for this action.
*/
MouseToolAction(const TQString& text, const TQIconSet& pix, const KShortcut& cut,
- const TQObject* receiver, const char* slot, TQObject* tqparent, const char* name = 0);
+ const TQObject* receiver, const char* slot, TQObject* parent, const char* name = 0);
/**
* @param text The text that will be displayed.
* @param pix The dynamically loaded icon that goes with this action.
* @param cut The corresponding keyboard accelerator (shortcut).
- * @param receiver The SLOT's tqparent.
+ * @param receiver The SLOT's parent.
* @param slot The TQT_SLOT to invoke to execute this action.
- * @param tqparent This action's tqparent.
+ * @param parent This action's parent.
* @param name An internal name for this action.
*/
MouseToolAction(const TQString& text, const TQString& pix, const KShortcut& cut,
const TQObject* receiver, const char* slot,
- TQObject* tqparent, const char* name = 0);
+ TQObject* parent, const char* name = 0);
/**
- * @param tqparent This action's tqparent.
+ * @param parent This action's parent.
* @param name An internal name for this action.
*/
- MouseToolAction(TQObject* tqparent = 0, const char* name = 0);
+ MouseToolAction(TQObject* parent = 0, const char* name = 0);
~MouseToolAction();