summaryrefslogtreecommitdiffstats
path: root/akregator/src/pageviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/pageviewer.cpp')
-rw-r--r--akregator/src/pageviewer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/akregator/src/pageviewer.cpp b/akregator/src/pageviewer.cpp
index 195237220..63d944c6b 100644
--- a/akregator/src/pageviewer.cpp
+++ b/akregator/src/pageviewer.cpp
@@ -100,7 +100,7 @@ PageViewer::PageViewer(TQWidget *parent, const char *name)
{
// this hack is necessary since the part looks for []HTML Settings] in
// TDEGlobal::config() by default, which is wrong when running in Kontact
- KHTMLSettings* s = const_cast<KHTMLSettings*> (settings());
+ TDEHTMLSettings* s = const_cast<TDEHTMLSettings*> (settings());
s->init(Settings::self()->config());
setXMLFile(locate("data", "akregator/pageviewer.rc"), true);
@@ -251,7 +251,7 @@ bool PageViewer::openURL(const KURL& url)
updateHistoryEntry(); // update old history entry before switching to the new one
emit started(0);
- bool val = KHTMLPart::openURL(url);
+ bool val = TDEHTMLPart::openURL(url);
addHistoryEntry(url); // add new URL to history
@@ -358,7 +358,7 @@ void PageViewer::urlSelected(const TQString &url, int button, int state, const T
{
if (url.startsWith(TQString::fromLatin1( "javascript:" ), /*case-sensitive=*/false) )
{
- KHTMLPart::urlSelected(url,button,state,_target,args);
+ TDEHTMLPart::urlSelected(url,button,state,_target,args);
}
else
{
@@ -400,7 +400,7 @@ void PageViewer::slotPaletteOrFontChanged()
// this hack is necessary since the part looks for []HTML Settings] in
// TDEGlobal::config() by default, which is wrong when running in Kontact
// NOTE: when running in Kontact, immediate updating doesn't work
- KHTMLSettings* s = const_cast<KHTMLSettings*> (settings());
+ TDEHTMLSettings* s = const_cast<TDEHTMLSettings*> (settings());
s->init(Settings::self()->config());
}