summaryrefslogtreecommitdiffstats
path: root/quanta/parts/preview/whtmlpart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/parts/preview/whtmlpart.cpp')
-rw-r--r--quanta/parts/preview/whtmlpart.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/quanta/parts/preview/whtmlpart.cpp b/quanta/parts/preview/whtmlpart.cpp
index bc39e1af..51b41628 100644
--- a/quanta/parts/preview/whtmlpart.cpp
+++ b/quanta/parts/preview/whtmlpart.cpp
@@ -35,7 +35,7 @@
WHTMLPart::WHTMLPart(TQWidget *parentWidget, const char *widgetName, bool enableViewSource,
TQObject *parent, const char *name, GUIProfile prof)
- : KHTMLPart(parentWidget, widgetName, parent, name, prof), m_contextMenu(0)
+ : TDEHTMLPart(parentWidget, widgetName, parent, name, prof), m_contextMenu(0)
{
//kdDebug(24000) << "WHTMLPart: " << parentWidget << " " << widgetName << " " << parent << " " << name << this << endl;
hpos = 0;
@@ -44,9 +44,9 @@ WHTMLPart::WHTMLPart(TQWidget *parentWidget, const char *widgetName, bool enable
konqConfig.setGroup("HTML Settings");
- const KHTMLSettings * set = settings();
+ const TDEHTMLSettings * set = settings();
- const_cast<KHTMLSettings*>(set)->init( &konqConfig, false );
+ const_cast<TDEHTMLSettings*>(set)->init( &konqConfig, false );
view()->installEventFilter(this);
m_enableViewSource = enableViewSource;
@@ -81,14 +81,14 @@ bool WHTMLPart::openURL(const KURL& url)
{
KURL previewURL = url;
previewURL.setFileName("preview-" + url.fileName());
- return KHTMLPart::openURL(previewURL);
+ return TDEHTMLPart::openURL(previewURL);
} else
- return KHTMLPart::openURL(url);
+ return TDEHTMLPart::openURL(url);
}
void WHTMLPart::urlSelected ( const TQString &url, int button, int state, const TQString &target, KParts::URLArgs args)
{
- KHTMLPart::urlSelected (url, button, state, target, args);
+ TDEHTMLPart::urlSelected (url, button, state, target, args);
KURL cURL = completeURL( url );
// alternative not tested but used in tdevelop !
// KURL cURL=KURL(baseURL(),url);