diff options
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqstylesheet.cpp')
-rw-r--r-- | tqtinterface/qt4/src/kernel/tqstylesheet.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tqtinterface/qt4/src/kernel/tqstylesheet.cpp b/tqtinterface/qt4/src/kernel/tqstylesheet.cpp index 08a29dc..c3fc72f 100644 --- a/tqtinterface/qt4/src/kernel/tqstylesheet.cpp +++ b/tqtinterface/qt4/src/kernel/tqstylesheet.cpp @@ -141,20 +141,20 @@ public: /*! Constructs a new style called \a name for the stylesheet \a - tqparent. + parent. All properties in TQStyleSheetItem are initially in the "do not change" state, except \link TQStyleSheetItem::DisplayMode display mode\endlink, which defaults to \c DisplayInline. */ -TQStyleSheetItem::TQStyleSheetItem( TQStyleSheet* tqparent, const TQString& name ) +TQStyleSheetItem::TQStyleSheetItem( TQStyleSheet* parent, const TQString& name ) { d = new TQStyleSheetItemData; d->stylename = name.lower(); - d->sheet = tqparent; + d->sheet = parent; init(); - if (tqparent) - tqparent->insert( this ); + if (parent) + parent->insert( this ); } /*! @@ -332,7 +332,7 @@ TQStyleSheetItem::VerticalAlignment TQStyleSheetItem::verticalAlignment() const \value VAlignBaseline align the baseline of the element (or the bottom, if the element doesn't have a baseline) with the - baseline of the tqparent + baseline of the parent \value VAlignSub subscript the element @@ -1086,14 +1086,14 @@ int TQStyleSheetItem::lineSpacing() const */ /*! - Creates a style sheet called \a name, with tqparent \a tqparent. Like - any TQObject it will be deleted when its tqparent is destroyed (if + Creates a style sheet called \a name, with parent \a parent. Like + any TQObject it will be deleted when its parent is destroyed (if the child still exists). By default the style sheet has the tag definitions defined above. */ -TQStyleSheet::TQStyleSheet( TQObject *tqparent, const char *name ) - : TQObject( tqparent, name ) +TQStyleSheet::TQStyleSheet( TQObject *parent, const char *name ) + : TQObject( parent, name ) { init(); } |