summaryrefslogtreecommitdiffstats
path: root/kommander/widgets/groupbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/widgets/groupbox.cpp')
-rw-r--r--kommander/widgets/groupbox.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kommander/widgets/groupbox.cpp b/kommander/widgets/groupbox.cpp
index 7ca1c199..aef8042d 100644
--- a/kommander/widgets/groupbox.cpp
+++ b/kommander/widgets/groupbox.cpp
@@ -32,7 +32,7 @@
GroupBox::GroupBox(TQWidget *a_parent, const char *a_name)
- : TQGroupBox(a_parent, a_name), KommanderWidget(this)
+ : TQGroupBox(a_parent, a_name), KommanderWidget(TQT_TQOBJECT(this))
{
TQStringList states;
states << "default";
@@ -84,13 +84,13 @@ void GroupBox::populate()
void GroupBox::insertChild(TQObject *a_child)
{
m_childList.append(a_child);
- TQObject::insertChild(a_child);
+ TQT_TQOBJECT(this)->TQObject::insertChild(a_child);
}
void GroupBox::removeChild(TQObject *a_child)
{
m_childList.remove(a_child);
- TQObject::removeChild(a_child);
+ TQT_TQOBJECT(this)->TQObject::removeChild(a_child);
}
void GroupBox::showEvent( TQShowEvent *e )
@@ -108,7 +108,7 @@ void GroupBox::contextMenuEvent( TQContextMenuEvent * e )
bool GroupBox::isFunctionSupported(int f)
{
- return f == DCOP::text || f == DCOP::setText || f == DCOP::geometry || f == DCOP::getBackgroundColor || f == DCOP::setBackgroundColor;
+ return f == DCOP::text || f == DCOP::setText || f == DCOP::tqgeometry || f == DCOP::getBackgroundColor || f == DCOP::setBackgroundColor;
// || (f >= FirstFunction && f <= LastFunction);
}
@@ -126,7 +126,7 @@ TQString GroupBox::handleDCOP(int function, const TQStringList& args)
case DCOP::setText:
setTitle(args[0]);
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;