diff options
author | Slávek Banko <[email protected]> | 2016-03-26 12:41:49 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-03-26 14:15:13 +0100 |
commit | ea0a6815c10291d1ae30029f5183e3eaaf838fda (patch) | |
tree | e522c735ad703edee863c5d490f519f9cf713120 /part/actions.cpp | |
parent | 38dca4b75c471ddf950e2f9f03801c550d7d26fd (diff) | |
download | kxmleditor-ea0a6815c10291d1ae30029f5183e3eaaf838fda.tar.gz kxmleditor-ea0a6815c10291d1ae30029f5183e3eaaf838fda.zip |
Initial TDE conversion
Signed-off-by: Slávek Banko <[email protected]>
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 ); |