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 | 3fcef18c75f7cd751ed706c12977230242fb817d (patch) | |
tree | a94c2497a3923ed9972e71c5bbba0697882c1427 /src/gui/widgets/PluginControl.cpp | |
parent | 80ee419f074dc252449791628d4584b5c0ea0c9b (diff) | |
download | rosegarden-3fcef18c75f7cd751ed706c12977230242fb817d.tar.gz rosegarden-3fcef18c75f7cd751ed706c12977230242fb817d.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/widgets/PluginControl.cpp')
-rw-r--r-- | src/gui/widgets/PluginControl.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/widgets/PluginControl.cpp b/src/gui/widgets/PluginControl.cpp index 1f546da..0c998f3 100644 --- a/src/gui/widgets/PluginControl.cpp +++ b/src/gui/widgets/PluginControl.cpp @@ -43,7 +43,7 @@ namespace Rosegarden { -PluginControl::PluginControl(TQWidget *tqparent, +PluginControl::PluginControl(TQWidget *parent, TQGridLayout *tqlayout, ControlType type, PluginPort *port, @@ -52,7 +52,7 @@ PluginControl::PluginControl(TQWidget *tqparent, float initialValue, bool showBounds, bool hidden): - TQObject(tqparent), + TQObject(parent), m_tqlayout(tqlayout), m_type(type), m_port(port), @@ -63,7 +63,7 @@ PluginControl::PluginControl(TQWidget *tqparent, plainFont.setPointSize((plainFont.pointSize() * 9 ) / 10); TQLabel *controlTitle = - new TQLabel(TQString("%1 ").tqarg(strtoqstr(port->getName())), tqparent); + new TQLabel(TQString("%1 ").tqarg(strtoqstr(port->getName())), parent); controlTitle->setFont(plainFont); if (type == Rotary) { @@ -121,9 +121,9 @@ PluginControl::PluginControl(TQWidget *tqparent, TQLabel *low; if (port->getDisplayHint() & (PluginPort::Integer | PluginPort::Toggled)) { - low = new TQLabel(TQString("%1").tqarg(int(displayLower)), tqparent); + low = new TQLabel(TQString("%1").tqarg(int(displayLower)), parent); } else { - low = new TQLabel(TQString("%1").tqarg(displayLower), tqparent); + low = new TQLabel(TQString("%1").tqarg(displayLower), parent); } low->setFont(plainFont); @@ -134,7 +134,7 @@ PluginControl::PluginControl(TQWidget *tqparent, // << ", actual upper " << upperBound << ", step " // << step << std::endl; - m_dial = new ::Rosegarden::Rotary(tqparent, + m_dial = new ::Rosegarden::Rotary(parent, lowerBound, // min upperBound, // max step, // step @@ -154,9 +154,9 @@ PluginControl::PluginControl(TQWidget *tqparent, TQLabel *upp; if (port->getDisplayHint() & (PluginPort::Integer | PluginPort::Toggled)) { - upp = new TQLabel(TQString("%1").tqarg(int(displayUpper)), tqparent); + upp = new TQLabel(TQString("%1").tqarg(int(displayUpper)), parent); } else { - upp = new TQLabel(TQString("%1").tqarg(displayUpper), tqparent); + upp = new TQLabel(TQString("%1").tqarg(displayUpper), parent); } upp->setFont(plainFont); |