diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | f7ceb2957839027e8027a9a4c0dfff730cb9b704 (patch) | |
tree | d1d583f11612d149bc0718c80779df4653699dbb /src/common/gui/container.cpp | |
parent | d98fea1f859d23e1b1220a65d7a8eda3b757fd08 (diff) | |
download | piklab-f7ceb2957839027e8027a9a4c0dfff730cb9b704.tar.gz piklab-f7ceb2957839027e8027a9a4c0dfff730cb9b704.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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); |