diff options
Diffstat (limited to 'konq-plugins/webarchiver')
-rw-r--r-- | konq-plugins/webarchiver/archivedialog.cpp | 4 | ||||
-rw-r--r-- | konq-plugins/webarchiver/archivedialog.h | 2 | ||||
-rw-r--r-- | konq-plugins/webarchiver/plugin_webarchiver.cpp | 8 | ||||
-rw-r--r-- | konq-plugins/webarchiver/plugin_webarchiver.h | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/konq-plugins/webarchiver/archivedialog.cpp b/konq-plugins/webarchiver/archivedialog.cpp index 802b2fe..b72ca42 100644 --- a/konq-plugins/webarchiver/archivedialog.cpp +++ b/konq-plugins/webarchiver/archivedialog.cpp @@ -49,9 +49,9 @@ #define CONTENT_TYPE "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">" -ArchiveDialog::ArchiveDialog(TQWidget *tqparent, const TQString &filename, +ArchiveDialog::ArchiveDialog(TQWidget *parent, const TQString &filename, KHTMLPart *part) : - KDialogBase(tqparent, "WebArchiveDialog", false, i18n("Web Archiver"), + KDialogBase(parent, "WebArchiveDialog", false, i18n("Web Archiver"), KDialogBase::Ok | KDialogBase::Cancel | KDialogBase::User1 ), m_bPreserveWS(false), m_tmpFile(0), m_url(part->url()) { diff --git a/konq-plugins/webarchiver/archivedialog.h b/konq-plugins/webarchiver/archivedialog.h index d82b9b0..1a42868 100644 --- a/konq-plugins/webarchiver/archivedialog.h +++ b/konq-plugins/webarchiver/archivedialog.h @@ -44,7 +44,7 @@ class ArchiveDialog : public KDialogBase Q_OBJECT TQ_OBJECT public: - ArchiveDialog(TQWidget *tqparent, const TQString &targetFilename, KHTMLPart *part); + ArchiveDialog(TQWidget *parent, const TQString &targetFilename, KHTMLPart *part); ~ArchiveDialog(); void archive(); 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()); diff --git a/konq-plugins/webarchiver/plugin_webarchiver.h b/konq-plugins/webarchiver/plugin_webarchiver.h index 338eec8..754e26b 100644 --- a/konq-plugins/webarchiver/plugin_webarchiver.h +++ b/konq-plugins/webarchiver/plugin_webarchiver.h @@ -31,7 +31,7 @@ class PluginWebArchiver : public KParts::Plugin TQ_OBJECT public: - PluginWebArchiver( TQObject* tqparent, const char* name, + PluginWebArchiver( TQObject* parent, const char* name, const TQStringList & ); virtual ~PluginWebArchiver(); |