diff options
Diffstat (limited to 'part/actions.cpp')
-rw-r--r-- | part/actions.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/part/actions.cpp b/part/actions.cpp index 7076e09..79aea8d 100644 --- a/part/actions.cpp +++ b/part/actions.cpp @@ -25,7 +25,7 @@ #include <tqapplication.h> // include files for KDE -#include <ktoolbar.h> +#include <tdetoolbar.h> #include <kiconloader.h> #include <kmimetype.h> #include <kdebug.h> @@ -42,7 +42,7 @@ KXmlEditorComboAction::KXmlEditorComboAction(const TQString& text, const char *member, TQObject* parent, const char* name) - : KAction(text, accel, parent, name), + : TDEAction(text, accel, parent, name), m_pCombo(0) { m_receiver = receiver; @@ -61,12 +61,12 @@ TQComboBox* KXmlEditorComboAction::comboBox() int KXmlEditorComboAction::plug(TQWidget *w, int index) { - // if ( !w->inherits( "KToolBar" ) ); + // if ( !w->inherits( "TDEToolBar" ) ); // return -1; - KToolBar *toolBar = (KToolBar *) w; + TDEToolBar *toolBar = (TDEToolBar *) w; - int id = KAction::getToolButtonID(); + int id = TDEAction::getToolButtonID(); //kdDebug() << "KXmlEditorComboAction::plug id=" << id << endl; m_pCombo = new TQComboBox( toolBar, "Path Combo" ); @@ -88,10 +88,10 @@ int KXmlEditorComboAction::plug(TQWidget *w, int index) void KXmlEditorComboAction::unplug(TQWidget *w) { -// if ( !w->inherits( "KToolBar" ) ) +// if ( !w->inherits( "TDEToolBar" ) ) // return; - KToolBar *toolBar = (KToolBar *)w; + TDEToolBar *toolBar = (TDEToolBar *)w; int idx = findContainer( w ); //kdDebug() << "KXmlEditorComboAction::unplug idx=" << idx << " menuId=" << menuId(idx) << endl; @@ -218,7 +218,7 @@ int KXmlEditorComboAction::findItem( const TQString & text ) } ToolbarLabel::ToolbarLabel( const TQString& text ) - : TQLabel( text, 0L, "kde toolbar widget" ) // Use this name for it to be styled! + : TQLabel( text, 0L, "tde toolbar widget" ) // Use this name for it to be styled! // , m_mw(mw) { setBackgroundMode( TQt::PaletteButton ); |