From 74a2067d286867e313f736d6733407586b71195e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:10:05 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- konq-plugins/validators/plugin_validators.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'konq-plugins/validators/plugin_validators.cpp') diff --git a/konq-plugins/validators/plugin_validators.cpp b/konq-plugins/validators/plugin_validators.cpp index c411038..8e2ff26 100644 --- a/konq-plugins/validators/plugin_validators.cpp +++ b/konq-plugins/validators/plugin_validators.cpp @@ -50,21 +50,21 @@ PluginValidators::PluginValidators( TQObject* parent, const char* name, { setInstance(PluginValidatorsFactory::instance()); - m_menu = new KActionMenu ( i18n( "&Validate Web Page" ), "validators", + m_menu = new TDEActionMenu ( i18n( "&Validate Web Page" ), "validators", actionCollection(), "validateWebpage" ); m_menu->setDelayed( false ); - m_menu->insert( new KAction( i18n( "Validate &HTML" ), + m_menu->insert( new TDEAction( i18n( "Validate &HTML" ), "htmlvalidator", 0, this, TQT_SLOT(slotValidateHTML()), actionCollection(), "validateHTML") ); - m_menu->insert( new KAction( i18n( "Validate &CSS" ), + m_menu->insert( new TDEAction( i18n( "Validate &CSS" ), "cssvalidator", 0, this, TQT_SLOT(slotValidateCSS()), actionCollection(), "validateCSS") ); - m_menu->insert( new KAction( i18n( "Validate &Links" ), + m_menu->insert( new TDEAction( i18n( "Validate &Links" ), 0, this, TQT_SLOT(slotValidateLinks()), actionCollection(), "validateLinks") ); @@ -73,7 +73,7 @@ PluginValidators::PluginValidators( TQObject* parent, const char* name, if ( parent && parent->inherits( "TDEHTMLPart" )) { - m_menu->insert( new KAction( i18n( "C&onfigure Validator..." ), + m_menu->insert( new TDEAction( i18n( "C&onfigure Validator..." ), "configure", 0, this, TQT_SLOT(slotConfigure()), actionCollection(), "configure") ); @@ -90,7 +90,7 @@ PluginValidators::PluginValidators( TQObject* parent, const char* name, PluginValidators::~PluginValidators() { delete m_configDialog; -// Dont' delete the action. KActionCollection as parent does the job already +// Dont' delete the action. TDEActionCollection as parent does the job already // and not deleting it at this point also ensures that in case we are not unplugged // from the GUI yet and the ~KXMLGUIClient destructor will do so it won't hit a // dead pointer. The kxmlgui factory keeps references to the actions, but it does not -- cgit v1.2.1