diff options
Diffstat (limited to 'kommander/plugin')
-rw-r--r-- | kommander/plugin/kommanderplugin.h | 2 | ||||
-rw-r--r-- | kommander/plugin/specialinformation.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
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 <i>recursive</i> parameter to <i>true</i> to include widgets contained by child widgets."), 2); + i18n("Returns the list of child widgets contained in the parent widget. Set the <i>recursive</i> parameter to <i>true</i> 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 <i>kmdr-executor-@pid</i>."), 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 <i>text</i> 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)", |