summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 0b45dd3..72924aa 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1695,7 +1695,7 @@ void MainWindow::slotHideReportDialog() {
}
void MainWindow::doPrint(const TQString& html_) {
- KHTMLPart w ;
+ TDEHTMLPart w ;
w.setJScriptEnabled(false);
w.setJavaEnabled(false);
w.setMetaRefreshEnabled(false);
@@ -1706,8 +1706,8 @@ void MainWindow::doPrint(const TQString& html_) {
// the problem with doing my own layout is that the text gets truncated, both at the
// top and at the bottom. Even adding the overlap parameter, there were problems.
-// KHTMLView takes care of that with a truncatedAt() parameter, but that's hidden in
-// the tdehtml::render_root class. So for now, just use the KHTMLView::print() method.
+// TDEHTMLView takes care of that with a truncatedAt() parameter, but that's hidden in
+// the tdehtml::render_root class. So for now, just use the TDEHTMLView::print() method.
#if 1
w.view()->print();
#else
@@ -1721,7 +1721,7 @@ void MainWindow::doPrint(const TQString& html_) {
TQPainter *p = new TQPainter;
p->begin(printer);
- // mostly taken from KHTMLView::print()
+ // mostly taken from TDEHTMLView::print()
TQString headerLeft = TDEGlobal::locale()->formatDate(TQDate::currentDate(), false);
TQString headerRight = Data::Document::self()->URL().prettyURL();
TQString footerMid;