diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 6c79d50fa9fbdff7f69ca57a8ab5fcc942375593 (patch) | |
tree | f47737d56c3239a0d8bc600674f0ca04b6e30d6e /kommander/executor | |
parent | 36c36b53a129509d56fdaa0a7c9fcbcacd0c5826 (diff) | |
download | tdewebdev-6c79d50fa9fbdff7f69ca57a8ab5fcc942375593.tar.gz tdewebdev-6c79d50fa9fbdff7f69ca57a8ab5fcc942375593.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kommander/executor')
-rw-r--r-- | kommander/executor/dcopkommanderif.h | 2 | ||||
-rw-r--r-- | kommander/executor/instance.cpp | 6 | ||||
-rw-r--r-- | kommander/executor/instance.h | 6 |
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); |