diff options
Diffstat (limited to 'kommander/widgets/toolbox.cpp')
-rw-r--r-- | kommander/widgets/toolbox.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kommander/widgets/toolbox.cpp b/kommander/widgets/toolbox.cpp index a6340098..b2b57748 100644 --- a/kommander/widgets/toolbox.cpp +++ b/kommander/widgets/toolbox.cpp @@ -27,8 +27,8 @@ #define FIRST_FUNCTION ADDWIDGET #define LAST_FUNCTION INDEXOF -ToolBox::ToolBox(TQWidget *parent, const char *name) - : TQToolBox(parent, name), KommanderWidget(this) +ToolBox::ToolBox(TQWidget *tqparent, const char *name) + : TQToolBox(tqparent, name), KommanderWidget(TQT_TQOBJECT(this)) { TQStringList states; states << "default"; @@ -121,7 +121,7 @@ void ToolBox::contextMenuEvent( TQContextMenuEvent * e ) bool ToolBox::isFunctionSupported(int f) { - return f == DCOP::count || f == DCOP::geometry || (f >= FIRST_FUNCTION && f <= LAST_FUNCTION) ; + return f == DCOP::count || f == DCOP::tqgeometry || (f >= FIRST_FUNCTION && f <= LAST_FUNCTION) ; } TQString ToolBox::handleDCOP(int function, const TQStringList& args) @@ -176,7 +176,7 @@ TQString ToolBox::handleDCOP(int function, const TQStringList& args) } case DCOP::count: return TQString::number(count()); - 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; |