diff options
Diffstat (limited to 'konq-plugins/webarchiver/plugin_webarchiver.cpp')
-rw-r--r-- | konq-plugins/webarchiver/plugin_webarchiver.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/konq-plugins/webarchiver/plugin_webarchiver.cpp b/konq-plugins/webarchiver/plugin_webarchiver.cpp index 0b6ed68..85d43ee 100644 --- a/konq-plugins/webarchiver/plugin_webarchiver.cpp +++ b/konq-plugins/webarchiver/plugin_webarchiver.cpp @@ -50,9 +50,9 @@ typedef KGenericFactory<PluginWebArchiver> PluginWebArchiverFactory; K_EXPORT_COMPONENT_FACTORY( libwebarchiverplugin, PluginWebArchiverFactory( "webarchiver" ) ) -PluginWebArchiver::PluginWebArchiver( TQObject* tqparent, const char* name, +PluginWebArchiver::PluginWebArchiver( TQObject* parent, const char* name, const TQStringList & ) - : Plugin( tqparent, name ) + : Plugin( parent, name ) { (void) new KAction( i18n("Archive &Web Page..."), "webarchiver", 0, @@ -67,9 +67,9 @@ PluginWebArchiver::~PluginWebArchiver() void PluginWebArchiver::slotSaveToArchive() { // ## Unicode ok? - if( !tqparent() || !tqparent()->inherits("KHTMLPart")) + if( !parent() || !parent()->inherits("KHTMLPart")) return; - KHTMLPart *part = static_cast<KHTMLPart *>( tqparent() ); + KHTMLPart *part = static_cast<KHTMLPart *>( parent() ); TQString archiveName = TQString::fromUtf8(part->htmlDocument().title().string().utf8()); |