summaryrefslogtreecommitdiffstats
path: root/konq-plugins/webarchiver
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-27 21:01:57 -0600
committerTimothy Pearson <[email protected]>2013-01-27 21:01:57 -0600
commita5a7573f3597f76e3cf9ebfb5a38416906289ff3 (patch)
treebeabf7411b6bfeb386bea8016fa48eebf61db192 /konq-plugins/webarchiver
parentf21b0182707822a0aeaedd00578eb18ce191c47d (diff)
downloadtdeaddons-a5a7573f3597f76e3cf9ebfb5a38416906289ff3.tar.gz
tdeaddons-a5a7573f3597f76e3cf9ebfb5a38416906289ff3.zip
Rename kiobuffer and KHTML
Diffstat (limited to 'konq-plugins/webarchiver')
-rw-r--r--konq-plugins/webarchiver/Makefile.am4
-rw-r--r--konq-plugins/webarchiver/archivedialog.cpp4
-rw-r--r--konq-plugins/webarchiver/archivedialog.h4
-rw-r--r--konq-plugins/webarchiver/plugin_webarchiver.cpp4
-rw-r--r--konq-plugins/webarchiver/webarchivecreator.cpp2
-rw-r--r--konq-plugins/webarchiver/webarchivecreator.h4
6 files changed, 11 insertions, 11 deletions
diff --git a/konq-plugins/webarchiver/Makefile.am b/konq-plugins/webarchiver/Makefile.am
index 6a3779a..43dbfb0 100644
--- a/konq-plugins/webarchiver/Makefile.am
+++ b/konq-plugins/webarchiver/Makefile.am
@@ -6,7 +6,7 @@ METASOURCES = AUTO
kde_module_LTLIBRARIES = libwebarchiverplugin.la webarchivethumbnail.la
libwebarchiverplugin_la_SOURCES = plugin_webarchiver.cpp archiveviewbase.ui archivedialog.cpp
-libwebarchiverplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KHTML)
+libwebarchiverplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_TDEHTML)
libwebarchiverplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
pluginsdir = $(kde_datadir)/tdehtml/kpartplugins
@@ -20,7 +20,7 @@ install-data-local: $(srcdir)/../uninstall.desktop
$(INSTALL_DATA) $(srcdir)/../uninstall.desktop $(DESTDIR)$(pluginsdir)/webarchiverplugin.desktop
webarchivethumbnail_la_SOURCES = webarchivecreator.cpp
-webarchivethumbnail_la_LIBADD = $(LIB_KHTML)
+webarchivethumbnail_la_LIBADD = $(LIB_TDEHTML)
webarchivethumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
servicesdir = $(kde_servicesdir)
diff --git a/konq-plugins/webarchiver/archivedialog.cpp b/konq-plugins/webarchiver/archivedialog.cpp
index 4c83c43..9048d67 100644
--- a/konq-plugins/webarchiver/archivedialog.cpp
+++ b/konq-plugins/webarchiver/archivedialog.cpp
@@ -50,7 +50,7 @@
#define CONTENT_TYPE "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">"
ArchiveDialog::ArchiveDialog(TQWidget *parent, const TQString &filename,
- KHTMLPart *part) :
+ TDEHTMLPart *part) :
KDialogBase(parent, "WebArchiveDialog", false, i18n("Web Archiver"),
KDialogBase::Ok | KDialogBase::Cancel | KDialogBase::User1 ),
m_bPreserveWS(false), m_tmpFile(0), m_url(part->url())
@@ -271,7 +271,7 @@ void ArchiveDialog::saveArchiveRecursive(const DOM::Node &pNode, const KURL& bas
/* Going recursively down creating a DOM-Tree for the Frame, second Level of recursion */
//## Add Termination criteria, on the other hand frames are not indefinetly nested, are they :)
- KHTMLPart* part = new KHTMLPart();
+ TDEHTMLPart* part = new TDEHTMLPart();
KURL absoluteURL = getAbsoluteURL(baseURL, attrValue);
part->openURL(absoluteURL);
saveFile(getUniqueFileName(absoluteURL.fileName()), part);
diff --git a/konq-plugins/webarchiver/archivedialog.h b/konq-plugins/webarchiver/archivedialog.h
index da0212c..c64307d 100644
--- a/konq-plugins/webarchiver/archivedialog.h
+++ b/konq-plugins/webarchiver/archivedialog.h
@@ -32,7 +32,7 @@
#include <tqvaluelist.h>
class TQWidget;
-class KHTMLPart;
+class TDEHTMLPart;
class ArchiveViewBase;
class KURL;
class KTar;
@@ -44,7 +44,7 @@ class ArchiveDialog : public KDialogBase
Q_OBJECT
public:
- ArchiveDialog(TQWidget *parent, const TQString &targetFilename, KHTMLPart *part);
+ ArchiveDialog(TQWidget *parent, const TQString &targetFilename, TDEHTMLPart *part);
~ArchiveDialog();
void archive();
diff --git a/konq-plugins/webarchiver/plugin_webarchiver.cpp b/konq-plugins/webarchiver/plugin_webarchiver.cpp
index 2d7f006..abb72c9 100644
--- a/konq-plugins/webarchiver/plugin_webarchiver.cpp
+++ b/konq-plugins/webarchiver/plugin_webarchiver.cpp
@@ -67,9 +67,9 @@ PluginWebArchiver::~PluginWebArchiver()
void PluginWebArchiver::slotSaveToArchive()
{
// ## Unicode ok?
- if( !parent() || !parent()->inherits("KHTMLPart"))
+ if( !parent() || !parent()->inherits("TDEHTMLPart"))
return;
- KHTMLPart *part = static_cast<KHTMLPart *>( parent() );
+ TDEHTMLPart *part = static_cast<TDEHTMLPart *>( parent() );
TQString archiveName = TQString::fromUtf8(part->htmlDocument().title().string().utf8());
diff --git a/konq-plugins/webarchiver/webarchivecreator.cpp b/konq-plugins/webarchiver/webarchivecreator.cpp
index 200dc54..48e1454 100644
--- a/konq-plugins/webarchiver/webarchivecreator.cpp
+++ b/konq-plugins/webarchiver/webarchivecreator.cpp
@@ -52,7 +52,7 @@ bool WebArchiveCreator::create(const TQString &path, int width, int height, TQIm
{
if (!m_html)
{
- m_html = new KHTMLPart;
+ m_html = new TDEHTMLPart;
connect(m_html, TQT_SIGNAL(completed()), TQT_SLOT(slotCompleted()));
m_html->setJScriptEnabled(false);
m_html->setJavaEnabled(false);
diff --git a/konq-plugins/webarchiver/webarchivecreator.h b/konq-plugins/webarchiver/webarchivecreator.h
index 461ccfc..4bd1ccf 100644
--- a/konq-plugins/webarchiver/webarchivecreator.h
+++ b/konq-plugins/webarchiver/webarchivecreator.h
@@ -24,7 +24,7 @@
#include <tdeio/thumbcreator.h>
-class KHTMLPart;
+class TDEHTMLPart;
class WebArchiveCreator : public TQObject, public ThumbCreator
{
@@ -43,7 +43,7 @@ private slots:
void slotCompleted();
private:
- KHTMLPart *m_html;
+ TDEHTMLPart *m_html;
bool m_completed;
};