diff options
Diffstat (limited to 'kommander/widgets/buttongroup.cpp')
-rw-r--r-- | kommander/widgets/buttongroup.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kommander/widgets/buttongroup.cpp b/kommander/widgets/buttongroup.cpp index 751c8e5c..6b0feef3 100644 --- a/kommander/widgets/buttongroup.cpp +++ b/kommander/widgets/buttongroup.cpp @@ -39,7 +39,7 @@ enum Functions { }; ButtonGroup::ButtonGroup(TQWidget *a_parent, const char *a_name) - : TQButtonGroup(a_parent, a_name), KommanderWidget(this) + : TQButtonGroup(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this)) { TQStringList states; states << "checked"; @@ -109,7 +109,7 @@ void ButtonGroup::contextMenuEvent( TQContextMenuEvent * e ) bool ButtonGroup::isFunctionSupported(int f) { - return f == DCOP::text || f == DCOP::checked || f == DCOP::setChecked || f == DCOP::geometry || f == DCOP::getBackgroundColor || f == DCOP::setBackgroundColor || (f >= FirstFunction && f <= LastFunction); + return f == DCOP::text || f == DCOP::checked || f == DCOP::setChecked || f == DCOP::tqgeometry || f == DCOP::getBackgroundColor || f == DCOP::setBackgroundColor || (f >= FirstFunction && f <= LastFunction); } @@ -120,8 +120,8 @@ TQString ButtonGroup::handleDCOP(int function, const TQStringList& args) { TQString text; for (int i = 0; i < count(); i++) - if (dynamic_cast<KommanderWidget*>(find(i))) - text += (dynamic_cast<KommanderWidget*>(find(i)))->evalAssociatedText(); + if (dynamic_cast<KommanderWidget*>(tqfind(i))) + text += (dynamic_cast<KommanderWidget*>(tqfind(i)))->evalAssociatedText(); return text; } case DCOP::checked: @@ -133,7 +133,7 @@ TQString ButtonGroup::handleDCOP(int function, const TQStringList& args) case BG_selectedId: return TQString::number(this->selectedId() ); break; - case DCOP::geometry: + case DCOP::tqgeometry: { TQString geo = TQString::number(this->x())+" "+TQString::number(this->y())+" "+TQString::number(this->width())+" "+TQString::number(this->height()); return geo; |