diff options
Diffstat (limited to 'lib/compatibility/kmdi/qextmdi/kdockwidget.h')
-rw-r--r-- | lib/compatibility/kmdi/qextmdi/kdockwidget.h | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/lib/compatibility/kmdi/qextmdi/kdockwidget.h b/lib/compatibility/kmdi/qextmdi/kdockwidget.h index 5d0bbe86..9e0e43d5 100644 --- a/lib/compatibility/kmdi/qextmdi/kdockwidget.h +++ b/lib/compatibility/kmdi/qextmdi/kdockwidget.h @@ -111,10 +111,10 @@ public: /** * Constructs this. * - * @param tqparent the tqparent widget (usually a dockwidget) + * @param parent the parent widget (usually a dockwidget) * @param name the object instance name */ - KDockWidgetAbstractHeader( KDockWidget* tqparent, const char* name = 0L ); + KDockWidgetAbstractHeader( KDockWidget* parent, const char* name = 0L ); /** * Destructs this. @@ -161,11 +161,11 @@ public: /** * Constructs this. * - * @param tqparent the tqparent widget (usually a dockwidget header) + * @param parent the parent widget (usually a dockwidget header) * @param dock the dockwidget where it belongs to * @param name the object instance name */ - KDockWidgetAbstractHeaderDrag( KDockWidgetAbstractHeader* tqparent, + KDockWidgetAbstractHeaderDrag( KDockWidgetAbstractHeader* parent, KDockWidget* dock, const char* name = 0L ); /** @@ -207,11 +207,11 @@ public: /** * Constructs this. * - * @param tqparent the tqparent widget (usually a dockwidget header) + * @param parent the parent widget (usually a dockwidget header) * @param dock the dockwidget where it belongs to * @param name the object instance name */ - KDockWidgetHeaderDrag( KDockWidgetAbstractHeader* tqparent, KDockWidget* dock, + KDockWidgetHeaderDrag( KDockWidgetAbstractHeader* parent, KDockWidget* dock, const char* name = 0L ); /** @@ -249,10 +249,10 @@ public: /** * Constructs this. * - * @param tqparent the tqparent widget (usually a dockwidget) + * @param parent the parent widget (usually a dockwidget) * @param name the object instance name */ - KDockWidgetHeader( KDockWidget* tqparent, const char* name = 0L ); + KDockWidgetHeader( KDockWidget* parent, const char* name = 0L ); /** * Destructs this. @@ -374,8 +374,8 @@ public: /** * Constructs this. It just calls the method of the base class. */ - KDockTabGroup( TQWidget *tqparent = 0, const char *name = 0 ) - :TQTabWidget( tqparent, name ){}; + KDockTabGroup( TQWidget *parent = 0, const char *name = 0 ) + :TQTabWidget( parent, name ){}; /** * Destructs a KDockTabGroup. @@ -396,7 +396,7 @@ private: * encapsulate the actual widgets (and member of the dockwidget class * set). * - * You just grip the double-lined panel, tear it off its tqparent + * You just grip the double-lined panel, tear it off its parent * widget, drag it somewhere and let it loose. Depending on the * position where you leave it, the dockwidget becomes a toplevel * window on the desktop (floating mode) or docks to a new widget @@ -415,7 +415,7 @@ private: * KDockMainWindow* mainWidget; * ... * KDockWidget* dock = 0L; - * dock = mainWidget->createDockWidget( "Any window caption", nicePixmap, 0L, i18n("window caption")); // 0L==no tqparent + * dock = mainWidget->createDockWidget( "Any window caption", nicePixmap, 0L, i18n("window caption")); // 0L==no parent * TQWidget* actualWidget = new TQWidget( dock); * dock->setWidget( actualWidget); // embed it * dock->setToolTipString(i18n("That's me")); // available when appearing as tab page @@ -447,13 +447,13 @@ public: * @param dockManager The responsible manager (dock helper) * @param name Object instance name * @param pixmap An icon (for instance shown when docked centered) - * @param tqparent Parent widget + * @param parent Parent widget * @param strCaption Title of the dockwidget window (shown when toplevel) * @param strTabPageLabel The title of the tab page (shown when in tab page mode), if it is "", only the icon will be shown, if it is 0L, the label is set to strCaption * @param f TQt::WidgetFlags widget flags */ KDockWidget( KDockManager* dockManager, const char* name, - const TQPixmap &pixmap, TQWidget* tqparent = 0L, const TQString& strCaption = TQString(), + const TQPixmap &pixmap, TQWidget* parent = 0L, const TQString& strCaption = TQString(), const TQString& strTabPageLabel = TQString::tqfromLatin1( " " ), WFlags f = 0); /** @@ -487,8 +487,8 @@ public: * * If the target is null, it will become a toplevel dockwidget at position pos; * Note: Docking to another dockwidget means exactly: - * A new tqparent dockwidget will be created, that replaces the target dockwidget and contains another single helper widget (tab widget or panner) - * which contains both dockwidgets, this and the target dockwidget. So consider tqparent<->child relationships change completely during such actions. + * A new parent dockwidget will be created, that replaces the target dockwidget and contains another single helper widget (tab widget or panner) + * which contains both dockwidgets, this and the target dockwidget. So consider parent<->child relationships change completely during such actions. * * @param target The dockwidget to dock to * @param dockPos One of the DockPositions this is going to dock to @@ -496,7 +496,7 @@ public: * @param pos The dock position, mainly of interest for docking to the desktop (as toplevel dockwidget) * @param check Only for internal use; * @param tabIndex The position index of the tab widget (when in tab page mode), -1 (default) means append - * @return result The group dockwidget that replaces the target dockwidget and will be grandtqparent of target and @p this. + * @return result The group dockwidget that replaces the target dockwidget and will be grandparent of target and @p this. */ KDockWidget* manualDock( KDockWidget* target, DockPosition dockPos, int spliPos = 50, TQPoint pos = TQPoint(0,0), bool check = false, int tabIndex = -1); @@ -568,7 +568,7 @@ public: * There are reasons that it's impossible: * @li It is a (tab) group. * @li It is already invisible ;-) - * @li The tqparent of this is the KDockMainWindow. + * @li The parent of this is the KDockMainWindow. * @li It isn't able to dock to another widget. */ bool mayBeHide() const; @@ -578,7 +578,7 @@ public: * There are reasons that it's impossible: * @li It is a (tab) group. * @li It is already visible ;-) - * @li The tqparent of this is the @p KDockMainWindow. + * @li The parent of this is the @p KDockMainWindow. */ bool mayBeShow() const; @@ -630,7 +630,7 @@ public: */ virtual void show(); /** - * @return the tqparent widget of this if it inherits class KDockTabGroup + * @return the parent widget of this if it inherits class KDockTabGroup */ KDockTabGroup* parentDockTabGroup() const; @@ -648,7 +648,7 @@ public: #endif - void setDockWindowTransient (TQWidget *tqparent, bool transientEnabled); + void setDockWindowTransient (TQWidget *parent, bool transientEnabled); /** * Returns the widget this dockwidget is set transient to, otherwise 0 @@ -738,7 +738,7 @@ protected: /** * Checks some conditions and shows or hides the dockwidget header (drag panel). * The header is hidden if: - * @li the tqparent widget is the KDockMainWindow + * @li the parent widget is the KDockMainWindow * @li this is a (tab) group dockwidget * @li it is not able to dock to another dockwidget */ @@ -837,7 +837,7 @@ private: void setDockTabName( KDockTabGroup* g); /** - * Retqparent to s or set this to the KDockMainWindow's view if s is that dockmainwindow. + * Reparent to s or set this to the KDockMainWindow's view if s is that dockmainwindow. * If s is O, simply move the widget. * * @param s the target widget to reparent to @@ -988,7 +988,7 @@ public: /** * Shows all encapsulated widgets of all controlled dockwidgets and shows all dockwidgets which are - * tqparent of a dockwidget tab group. + * parent of a dockwidget tab group. */ void activate(); @@ -1090,7 +1090,7 @@ signals: void replaceDock( KDockWidget* oldDock, KDockWidget* newDock ); /** - * Signals a dockwidget without tqparent (toplevel) is shown. + * Signals a dockwidget without parent (toplevel) is shown. */ void setDockDefaultPos( KDockWidget* ); @@ -1144,7 +1144,7 @@ private: * Finds the TQWidget recursively at the position given as parameter * * @param w a variable where the method puts the TQWidget at that position (instead of a return value) - * @param p the tqparent widget where the recursive search should start from + * @param p the parent widget where the recursive search should start from * @param pos global (desktop) position of the wanted dockwidget */ void findChildDockWidget( TQWidget*& w, const TQWidget* p, const TQPoint& pos ); @@ -1152,7 +1152,7 @@ private: /** * Finds all dockwidgets which are child, grandchild and so on of p. * - * @param p the tqparent widget where the recursive search starts from + * @param p the parent widget where the recursive search starts from * @param l the widget list that contains the search result after the return of this method */ void findChildDockWidget( const TQWidget* p, TQWidgetList*& l); @@ -1323,11 +1323,11 @@ public: * @li ...and gets initialized * @li the main dockwidget is set to 0 * - * @param tqparent Parent widget for the dock main widget + * @param parent Parent widget for the dock main widget * @param name internal object name * @param f TQt::WidgetFlags widget flags */ - KDockMainWindow( TQWidget* tqparent = 0L, const char *name = 0L, WFlags f = WType_TopLevel | WDestructiveClose ); + KDockMainWindow( TQWidget* parent = 0L, const char *name = 0L, WFlags f = WType_TopLevel | WDestructiveClose ); /** * Destructs a dockmainwindow. @@ -1362,12 +1362,12 @@ public: * * @param name TQObject name (default dockwidget caption) * @param pixmap window icon (for instance shown when docked as tabwidget entry) - * @param tqparent tqparent widget for the new dockwidget + * @param parent parent widget for the new dockwidget * @param strCaption window title (shown when toplevel) * @param strTabPageLabel title of the tab page (visible when in tab page mode), if it is "", only the icon will be shown; if it is 0L, the label is set to strCaption * @return a pointer to the new created dockwidget */ - KDockWidget* createDockWidget( const TQString& name, const TQPixmap &pixmap, TQWidget* tqparent = 0L, + KDockWidget* createDockWidget( const TQString& name, const TQPixmap &pixmap, TQWidget* parent = 0L, const TQString& strCaption = TQString(), const TQString& strTabPageLabel = TQString::tqfromLatin1( " " ) ); /** @@ -1483,7 +1483,7 @@ friend class KDockManager; public: - KDockArea( TQWidget* tqparent = 0L, const char *name = 0L); + KDockArea( TQWidget* parent = 0L, const char *name = 0L); virtual ~KDockArea(); @@ -1493,7 +1493,7 @@ public: void setMainDockWidget( KDockWidget* ); KDockWidget* getMainDockWidget(){ return mainDockWidget; } - KDockWidget* createDockWidget( const TQString& name, const TQPixmap &pixmap, TQWidget* tqparent = 0L, + KDockWidget* createDockWidget( const TQString& name, const TQPixmap &pixmap, TQWidget* parent = 0L, const TQString& strCaption = TQString(), const TQString& strTabPageLabel = TQString::tqfromLatin1( " " ) ); void writeDockConfig(TQDomElement &base); |