diff options
Diffstat (limited to 'lib/kofficeui/KoToolBox.cpp')
-rw-r--r-- | lib/kofficeui/KoToolBox.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kofficeui/KoToolBox.cpp b/lib/kofficeui/KoToolBox.cpp index d266aaaa..12c8b06e 100644 --- a/lib/kofficeui/KoToolBox.cpp +++ b/lib/kofficeui/KoToolBox.cpp @@ -44,8 +44,8 @@ #include <config.h> #endif -KoToolBox::KoToolBox( KMainWindow *mainWin, const char* name, TDEInstance* instance, int numberOfTooltypes ) - : KToolBar( mainWin, TQt::DockLeft, false, name, true, true), m_instance(instance) +KoToolBox::KoToolBox( TDEMainWindow *mainWin, const char* name, TDEInstance* instance, int numberOfTooltypes ) + : TDEToolBar( mainWin, TQt::DockLeft, false, name, true, true), m_instance(instance) { setFullSize( false ); setMargin(2); @@ -83,7 +83,7 @@ void KoToolBox::slotButtonPressed( int id ) } -void KoToolBox::registerTool( KAction *tool, int toolType, TQ_UINT32 priority ) +void KoToolBox::registerTool( TDEAction *tool, int toolType, TQ_UINT32 priority ) { uint prio = priority; ToolList * tl = m_tools.at(toolType); @@ -122,7 +122,7 @@ void KoToolBox::setupTools() ToolList::Iterator it; for ( it = tl->begin(); it != tl->end(); ++it ) { - KAction *tool = it.data(); + TDEAction *tool = it.data(); if(! tool) continue; TQToolButton *bn = createButton(tools->getNextParent(), tool->icon().latin1(), tool->toolTip()); @@ -179,7 +179,7 @@ void KoToolBox::enableTools(bool enable) void KoToolBox::slotSetTool(const TQString & toolname) { for (uint i = 0; i < m_idToActionMap.count(); ++i) { - KAction * a = m_idToActionMap.at(i); + TDEAction * a = m_idToActionMap.at(i); if (!a || a->name() != toolname) continue; m_buttonGroup->setButton(i); |