summaryrefslogtreecommitdiffstats
path: root/konq-plugins/validators
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:10:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:10:05 -0600
commit74a2067d286867e313f736d6733407586b71195e (patch)
tree182ea565d6909db1541424e4ffb3168b4b139c21 /konq-plugins/validators
parent081670a12774435ae60cf8eba9226b91d27852b3 (diff)
downloadtdeaddons-74a2067d286867e313f736d6733407586b71195e.tar.gz
tdeaddons-74a2067d286867e313f736d6733407586b71195e.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'konq-plugins/validators')
-rw-r--r--konq-plugins/validators/plugin_validators.cpp12
-rw-r--r--konq-plugins/validators/plugin_validators.h4
2 files changed, 8 insertions, 8 deletions
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
diff --git a/konq-plugins/validators/plugin_validators.h b/konq-plugins/validators/plugin_validators.h
index 97e528e..1be1337 100644
--- a/konq-plugins/validators/plugin_validators.h
+++ b/konq-plugins/validators/plugin_validators.h
@@ -35,7 +35,7 @@
#include "validatorsdialog.h"
#include <tqguardedptr.h>
-class KAction;
+class TDEAction;
class KURL;
class PluginValidators : public KParts::Plugin
@@ -57,7 +57,7 @@ private slots:
void slotStarted( TDEIO::Job* );
private:
- KActionMenu *m_menu;
+ TDEActionMenu *m_menu;
TQGuardedPtr<ValidatorsDialog> m_configDialog; // |
// +-> Order dependency.
TDEHTMLPart* m_part; // |