summaryrefslogtreecommitdiffstats
path: root/kommander/executor
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/executor')
-rw-r--r--kommander/executor/dcopkommanderif.h2
-rw-r--r--kommander/executor/instance.cpp6
-rw-r--r--kommander/executor/instance.h6
3 files changed, 7 insertions, 7 deletions
diff --git a/kommander/executor/dcopkommanderif.h b/kommander/executor/dcopkommanderif.h
index c756b059..3158fa6e 100644
--- a/kommander/executor/dcopkommanderif.h
+++ b/kommander/executor/dcopkommanderif.h
@@ -58,7 +58,7 @@ virtual void setChecked(const TQString &widgetName, bool checked) = 0;
virtual void setAssociatedText(const TQString &widgetName, const TQString &text) = 0;
virtual TQStringList associatedText(const TQString &widgetName) = 0;
virtual TQString type(const TQString& widget) = 0;
-virtual TQStringList tqchildren(const TQString& tqparent, bool recursive) = 0;
+virtual TQStringList tqchildren(const TQString& parent, bool recursive) = 0;
virtual TQString global(const TQString& variableName) = 0;
virtual void setGlobal(const TQString& variableName, const TQString& value) = 0;
virtual void setMaximum(const TQString &widgetName, int value) = 0;
diff --git a/kommander/executor/instance.cpp b/kommander/executor/instance.cpp
index 88d7d7ec..44e56c21 100644
--- a/kommander/executor/instance.cpp
+++ b/kommander/executor/instance.cpp
@@ -101,7 +101,7 @@ bool Instance::build(const KURL& fname)
KommanderFactory::loadPlugins();
if (fname.isValid())
- m_instance = KommanderFactory::create(fname.path(), 0L, dynamic_cast<TQWidget*>(tqparent()));
+ m_instance = KommanderFactory::create(fname.path(), 0L, dynamic_cast<TQWidget*>(parent()));
else
{
TQFile inputFile;
@@ -431,10 +431,10 @@ TQString Instance::type(const TQString& widget)
return TQString();
}
-TQStringList Instance::tqchildren(const TQString& tqparent, bool recursive)
+TQStringList Instance::tqchildren(const TQString& parent, bool recursive)
{
TQStringList matching;
- TQObject* child = stringToWidget(tqparent);
+ TQObject* child = stringToWidget(parent);
TQObjectList* widgets;
if (!child)
child = TQT_TQOBJECT(m_instance);
diff --git a/kommander/executor/instance.h b/kommander/executor/instance.h
index 469d7202..c61f0c03 100644
--- a/kommander/executor/instance.h
+++ b/kommander/executor/instance.h
@@ -90,7 +90,7 @@ public:
virtual void setAssociatedText(const TQString &widgetName, const TQString &text);
virtual TQStringList associatedText(const TQString &widgetName);
virtual TQString type(const TQString& widget);
- virtual TQStringList tqchildren(const TQString& tqparent, bool recursive);
+ virtual TQStringList tqchildren(const TQString& parent, bool recursive);
virtual TQString global(const TQString& variableName);
virtual void setGlobal(const TQString& variableName, const TQString& value);
virtual void setMaximum(const TQString &widgetName, int value);
@@ -112,7 +112,7 @@ public:
TQWidget *widget() { return m_instance;}
public slots:
- /** Sets the instance's tqparent */
+ /** Sets the instance's parent */
void setParent(TQWidget*);
/** Returns whether the instance is built */
bool isBuilt() const;
@@ -127,7 +127,7 @@ private:
TQGuardedPtr<TQWidget> m_instance;
/* Associated Text Instance */
KommanderWidget *m_textInstance;
- /** The tqparent widget */
+ /** The parent widget */
TQWidget *m_parent;
/* Get object by name */
TQObject* stringToWidget(const TQString& name);