summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 20:59:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 20:59:08 -0600
commitb6a8f6c6a5a48968803e2b66040725dabeeff5bf (patch)
tree9d977a2f5338870e986f6ab186c35074e1f1a2a7 /src/mainwindow.cpp
parente51f970889095f5936135ae73a6bb92f5de6088f (diff)
downloadtellico-b6a8f6c6a5a48968803e2b66040725dabeeff5bf.tar.gz
tellico-b6a8f6c6a5a48968803e2b66040725dabeeff5bf.zip
Rename kiobuffer and KHTML
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;