diff options
Diffstat (limited to 'src/common/gui/container.cpp')
-rw-r--r-- | src/common/gui/container.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/gui/container.cpp b/src/common/gui/container.cpp index 960acca..8a747d3 100644 --- a/src/common/gui/container.cpp +++ b/src/common/gui/container.cpp @@ -11,8 +11,8 @@ #include "misc_gui.h" //---------------------------------------------------------------------------- -Container::Container(TQWidget *tqparent, Type type) - : TQFrame(tqparent), _type(type) +Container::Container(TQWidget *parent, Type type) + : TQFrame(parent), _type(type) { initLayout(); } @@ -36,7 +36,7 @@ void Container::setFrame(Type type) _type = type; switch (type) { case Flat: - setMargin(tqparent() && tqparent()->inherits(TQTABWIDGET_OBJECT_NAME_STRING) ? 10 : 0); + setMargin(parent() && parent()->inherits(TQTABWIDGET_OBJECT_NAME_STRING) ? 10 : 0); setFrameStyle(TQFrame::NoFrame); break; case Sunken: @@ -71,8 +71,8 @@ void Container::addLayout(TQLayout *l, uint startRow, uint endRow, uint startCol } //---------------------------------------------------------------------------- -ButtonContainer::ButtonContainer(const TQString &title, TQWidget *tqparent) - : Container(tqparent, Sunken) +ButtonContainer::ButtonContainer(const TQString &title, TQWidget *parent) + : Container(parent, Sunken) { _button = new PopupButton(title, this); addWidget(_button, 0,0, 0,1); |