summaryrefslogtreecommitdiffstats
path: root/tdeioslave/thumbnail
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave/thumbnail')
-rw-r--r--tdeioslave/thumbnail/Makefile.am2
-rw-r--r--tdeioslave/thumbnail/htmlcreator.cpp2
-rw-r--r--tdeioslave/thumbnail/htmlcreator.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/tdeioslave/thumbnail/Makefile.am b/tdeioslave/thumbnail/Makefile.am
index 178a0b186..5dcdbe5c9 100644
--- a/tdeioslave/thumbnail/Makefile.am
+++ b/tdeioslave/thumbnail/Makefile.am
@@ -32,7 +32,7 @@ textthumbnail_la_LIBADD = $(LIB_KIO) # for kmimetype
textthumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
htmlthumbnail_la_SOURCES = htmlcreator.cpp
-htmlthumbnail_la_LIBADD = $(LIB_KHTML)
+htmlthumbnail_la_LIBADD = $(LIB_TDEHTML)
htmlthumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
djvuthumbnail_la_SOURCES = djvucreator.cpp
diff --git a/tdeioslave/thumbnail/htmlcreator.cpp b/tdeioslave/thumbnail/htmlcreator.cpp
index a928e4253..f4733965b 100644
--- a/tdeioslave/thumbnail/htmlcreator.cpp
+++ b/tdeioslave/thumbnail/htmlcreator.cpp
@@ -49,7 +49,7 @@ bool HTMLCreator::create(const TQString &path, int width, int height, TQImage &i
{
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/tdeioslave/thumbnail/htmlcreator.h b/tdeioslave/thumbnail/htmlcreator.h
index 31ef0f398..752cf0ace 100644
--- a/tdeioslave/thumbnail/htmlcreator.h
+++ b/tdeioslave/thumbnail/htmlcreator.h
@@ -23,7 +23,7 @@
#include <tdeio/thumbcreator.h>
-class KHTMLPart;
+class TDEHTMLPart;
class HTMLCreator : public TQObject, public ThumbCreator
{
@@ -41,7 +41,7 @@ private slots:
void slotCompleted();
private:
- KHTMLPart *m_html;
+ TDEHTMLPart *m_html;
};
#endif