From 6c79d50fa9fbdff7f69ca57a8ab5fcc942375593 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: 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 --- kommander/plugin/kommanderplugin.h | 2 +- kommander/plugin/specialinformation.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kommander/plugin') diff --git a/kommander/plugin/kommanderplugin.h b/kommander/plugin/kommanderplugin.h index ae06fdc0..16846013 100644 --- a/kommander/plugin/kommanderplugin.h +++ b/kommander/plugin/kommanderplugin.h @@ -54,7 +54,7 @@ class KOMMANDER_EXPORT KommanderPlugin : public TQObject virtual void removeWidget( const TQString &name ); virtual TQStringList widgets() const; - virtual TQWidget *create( const TQString &key, TQWidget *tqparent = 0, const char *name = 0 ) = 0; + virtual TQWidget *create( const TQString &key, TQWidget *parent = 0, const char *name = 0 ) = 0; virtual TQString group( const TQString &key ) const; virtual TQString toolTip( const TQString &key ) const; virtual TQString whatsThis( const TQString &key ) const; diff --git a/kommander/plugin/specialinformation.cpp b/kommander/plugin/specialinformation.cpp index a653dfd6..bb248dda 100644 --- a/kommander/plugin/specialinformation.cpp +++ b/kommander/plugin/specialinformation.cpp @@ -292,7 +292,7 @@ void SpecialInformation::registerSpecials() insert(DCOP::checked, "checked(TQString widget)", i18n("Returns 1 for checked boxes, 0 for unchecked."), 1); insert(DCOP::tqchildren, "tqchildren(TQString widget, bool recursive)", - i18n("Returns the list of child widgets contained in the tqparent widget. Set the recursive parameter to true to include widgets contained by child widgets."), 2); + i18n("Returns the list of child widgets contained in the parent widget. Set the recursive parameter to true to include widgets contained by child widgets."), 2); insert(DCOP::clear, "clear(TQString widget)", i18n("Removes all content from the widget."), 1); insertAlias(DCOP::clear, "clearList"); @@ -401,7 +401,7 @@ void SpecialInformation::registerSpecials() i18n("Returns DCOP identifier of current process. This is shorthand for kmdr-executor-@pid."), 0); insert(Kommander::parentPid, "parentPid", - i18n("Returns the pid of the tqparent Kommander window."), 0); + i18n("Returns the pid of the parent Kommander window."), 0); insert(Kommander::debug, "debug(TQString text)", i18n("Writes text on stderr."), 1); insert(Kommander::echo, "echo(TQString text)", @@ -440,8 +440,8 @@ void SpecialInformation::registerSpecials() i18n("Executes an external DCOP call."), 3, 9); insertMacro(Kommander::comment, "#", i18n("Adds a comment to EOL that Kommander will not parse"), 0); - insertInternal(Kommander::createWidget, "createWidget(TQString widgetName, TQString widgetType, TQString tqparent)", - i18n("Creates a new widget with the specified type and as the child of tqparent."), 3); + insertInternal(Kommander::createWidget, "createWidget(TQString widgetName, TQString widgetType, TQString parent)", + i18n("Creates a new widget with the specified type and as the child of parent."), 3); insertInternal(Kommander::widgetExists, "widgetExists(TQString widgetName)", i18n("Returns true if there is a widget with the passed name, false otherwise."), 1); insertInternal(Kommander::connect, "connect(TQString sender, TQString signal, TQString receiver, TQString slot)", -- cgit v1.2.1