diff options
Diffstat (limited to 'src/common/gui/misc_gui.cpp')
-rw-r--r-- | src/common/gui/misc_gui.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/common/gui/misc_gui.cpp b/src/common/gui/misc_gui.cpp index fadf7a9..2c4eb3b 100644 --- a/src/common/gui/misc_gui.cpp +++ b/src/common/gui/misc_gui.cpp @@ -109,14 +109,14 @@ void MessageBox::text(const TQString &text, Log::ShowMode show) } //---------------------------------------------------------------------------- -PopupButton::PopupButton(TQWidget *tqparent, const char *name) - : KPushButton(tqparent, name) +PopupButton::PopupButton(TQWidget *parent, const char *name) + : KPushButton(parent, name) { init(); } -PopupButton::PopupButton(const TQString &text, TQWidget *tqparent, const char *name) - : KPushButton(text, tqparent, name) +PopupButton::PopupButton(const TQString &text, TQWidget *parent, const char *name) + : KPushButton(text, parent, name) { init(); } @@ -158,8 +158,8 @@ int PopupButton::appendItem(const TQString &label, const TQPixmap &icon, int id) } //----------------------------------------------------------------------------- -Splitter::Splitter(const TQValueList<int> &defaultSizes, Qt::Orientation o, TQWidget *tqparent, const char *name) - : TQSplitter(o, tqparent, name), _defaultSizes(defaultSizes) +Splitter::Splitter(const TQValueList<int> &defaultSizes, Qt::Orientation o, TQWidget *parent, const char *name) + : TQSplitter(o, parent, name), _defaultSizes(defaultSizes) { Q_ASSERT(name); setOpaqueResize(true); @@ -181,18 +181,18 @@ void Splitter::updateSizes() } //----------------------------------------------------------------------------- -TabBar::TabBar(TQWidget *tqparent, const char *name) - : KTabBar(tqparent, name), _ignoreWheelEvent(false) +TabBar::TabBar(TQWidget *parent, const char *name) + : KTabBar(parent, name), _ignoreWheelEvent(false) {} void TabBar::wheelEvent(TQWheelEvent *e) { - if (_ignoreWheelEvent) TQApplication::sendEvent(tqparent(), e); // #### not sure why ignoring is not enough... + if (_ignoreWheelEvent) TQApplication::sendEvent(parent(), e); // #### not sure why ignoring is not enough... else KTabBar::wheelEvent(e); } -TabWidget::TabWidget(TQWidget *tqparent, const char *name) - : KTabWidget(tqparent, name) +TabWidget::TabWidget(TQWidget *parent, const char *name) + : KTabWidget(parent, name) { setTabBar(new TabBar(this)); } @@ -223,12 +223,12 @@ void TabWidget::setTabBar(TabBar *tabbar) } //----------------------------------------------------------------------------- -ComboBox::ComboBox(TQWidget *tqparent, const char *name) - : TQComboBox(tqparent, name), _ignoreWheelEvent(false) +ComboBox::ComboBox(TQWidget *parent, const char *name) + : TQComboBox(parent, name), _ignoreWheelEvent(false) {} void ComboBox::wheelEvent(TQWheelEvent *e) { - if (_ignoreWheelEvent) TQApplication::sendEvent(tqparent(), e); // #### not sure why ignoring is not enough... + if (_ignoreWheelEvent) TQApplication::sendEvent(parent(), e); // #### not sure why ignoring is not enough... else TQComboBox::wheelEvent(e); } |