Rename kiobuffer and KHTML

pull/1/head
Timothy Pearson 12 years ago
parent e51f970889
commit b6a8f6c6a5

@ -598,7 +598,7 @@ Jake Maciejewski.
2006-08-04 Robby Stephenson <robby@periapsis.org> 2006-08-04 Robby Stephenson <robby@periapsis.org>
* Changed HTML export to use libxml2 instead of KHTML for parsing. That should fix the "all text on one line" problem. * Changed HTML export to use libxml2 instead of TDEHTML for parsing. That should fix the "all text on one line" problem.
* Bumped minimum libxml2 verstion to 2.6.0 or greater. * Bumped minimum libxml2 verstion to 2.6.0 or greater.
2006-07-30 Robby Stephenson <robby@periapsis.org> 2006-07-30 Robby Stephenson <robby@periapsis.org>
@ -2367,7 +2367,7 @@ Jake Maciejewski.
2002-08-27 Robby Stephenson <robby@periapsis.org> 2002-08-27 Robby Stephenson <robby@periapsis.org>
* Added two new XSLT files * Added two new XSLT files
* Added printing support using KHTML * Added printing support using TDEHTML
* Added RPM spec file to automake * Added RPM spec file to automake
2002-02-21 Robby Stephenson <robby@radiojodi.com> 2002-02-21 Robby Stephenson <robby@radiojodi.com>

@ -2080,7 +2080,7 @@ if test $kde_qtver = 3; then
AC_SUBST(LIB_SMB, "-lsmb") AC_SUBST(LIB_SMB, "-lsmb")
AC_SUBST(LIB_KAB, "-lkab") AC_SUBST(LIB_KAB, "-lkab")
AC_SUBST(LIB_KABC, "-lkabc") AC_SUBST(LIB_KABC, "-lkabc")
AC_SUBST(LIB_KHTML, "-ltdehtml") AC_SUBST(LIB_TDEHTML, "-ltdehtml")
AC_SUBST(LIB_KSPELL, "-ltdespell") AC_SUBST(LIB_KSPELL, "-ltdespell")
AC_SUBST(LIB_KPARTS, "-ltdeparts") AC_SUBST(LIB_KPARTS, "-ltdeparts")
AC_SUBST(LIB_TDEPRINT, "-ltdeprint") AC_SUBST(LIB_TDEPRINT, "-ltdeprint")
@ -2101,7 +2101,7 @@ elif test $kde_qtver = 2; then
AC_SUBST(LIB_SMB, "-lsmb") AC_SUBST(LIB_SMB, "-lsmb")
AC_SUBST(LIB_KFILE, "-ltdefile") AC_SUBST(LIB_KFILE, "-ltdefile")
AC_SUBST(LIB_KAB, "-lkab") AC_SUBST(LIB_KAB, "-lkab")
AC_SUBST(LIB_KHTML, "-ltdehtml") AC_SUBST(LIB_TDEHTML, "-ltdehtml")
AC_SUBST(LIB_KSPELL, "-ltdespell") AC_SUBST(LIB_KSPELL, "-ltdespell")
AC_SUBST(LIB_KPARTS, "-ltdeparts") AC_SUBST(LIB_KPARTS, "-ltdeparts")
AC_SUBST(LIB_TDEPRINT, "-ltdeprint") AC_SUBST(LIB_TDEPRINT, "-ltdeprint")

@ -1 +1 @@
Subproject commit 9a217903f9fa35ca12213a6e9ee3d2cb87d1131d Subproject commit 274366fb8b90704586d7beef216b765cc0688b08

@ -30,7 +30,7 @@ tellico_LDADD = ./core/libcore.a ./cite/libcite.a ./fetch/libfetch.a \
./newstuff/libnewstuff.a ./translators/pilotdb/libpilotdb.a \ ./newstuff/libnewstuff.a ./translators/pilotdb/libpilotdb.a \
./translators/pilotdb/libflatfile/liblibflatfile.a ./gui/libgui.a \ ./translators/pilotdb/libflatfile/liblibflatfile.a ./gui/libgui.a \
./translators/pilotdb/libpalm/liblibpalm.a ./rtf2html/librtf2html.a \ ./translators/pilotdb/libpalm/liblibpalm.a ./rtf2html/librtf2html.a \
./commands/libcommands.a -lexslt $(LIB_KFILE) $(LIB_KHTML) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT) \ ./commands/libcommands.a -lexslt $(LIB_KFILE) $(LIB_TDEHTML) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT) \
$(LIBSOCKET) $(LIBXSLT_LIBS) $(TAGLIB_LIBS) $(KCDDB_LIBS) $(YAZ_LIBS) $(LIB_KIO) \ $(LIBSOCKET) $(LIBXSLT_LIBS) $(TAGLIB_LIBS) $(KCDDB_LIBS) $(YAZ_LIBS) $(LIB_KIO) \
$(LIB_KABC) $(KCAL_LIBS) $(LDADD_LIBBTPARSE) $(LIB_KNEWSTUFF) $(EXEMPI_LIBS) \ $(LIB_KABC) $(KCAL_LIBS) $(LDADD_LIBBTPARSE) $(LIB_KNEWSTUFF) $(EXEMPI_LIBS) \
$(POPPLER_LIBS) $(LDADD_LIBBARCODE) $(LIBXML_LIBS) $(POPPLER_LIBS) $(LDADD_LIBBARCODE) $(LIBXML_LIBS)

@ -40,7 +40,7 @@
using Tellico::EntryView; using Tellico::EntryView;
EntryView::EntryView(TQWidget* parent_, const char* name_) : KHTMLPart(parent_, name_), EntryView::EntryView(TQWidget* parent_, const char* name_) : TDEHTMLPart(parent_, name_),
m_entry(0), m_handler(0), m_run(0), m_tempFile(0), m_useGradientImages(true), m_checkCommonFile(true) { m_entry(0), m_handler(0), m_run(0), m_tempFile(0), m_useGradientImages(true), m_checkCommonFile(true) {
setJScriptEnabled(false); setJScriptEnabled(false);
setJavaEnabled(false); setJavaEnabled(false);

@ -31,7 +31,7 @@ namespace Tellico {
/** /**
* @author Robby Stephenson * @author Robby Stephenson
*/ */
class EntryView : public KHTMLPart { class EntryView : public TDEHTMLPart {
Q_OBJECT Q_OBJECT

@ -1695,7 +1695,7 @@ void MainWindow::slotHideReportDialog() {
} }
void MainWindow::doPrint(const TQString& html_) { void MainWindow::doPrint(const TQString& html_) {
KHTMLPart w ; TDEHTMLPart w ;
w.setJScriptEnabled(false); w.setJScriptEnabled(false);
w.setJavaEnabled(false); w.setJavaEnabled(false);
w.setMetaRefreshEnabled(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 // 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. // 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 // 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 KHTMLView::print() method. // the tdehtml::render_root class. So for now, just use the TDEHTMLView::print() method.
#if 1 #if 1
w.view()->print(); w.view()->print();
#else #else
@ -1721,7 +1721,7 @@ void MainWindow::doPrint(const TQString& html_) {
TQPainter *p = new TQPainter; TQPainter *p = new TQPainter;
p->begin(printer); p->begin(printer);
// mostly taken from KHTMLView::print() // mostly taken from TDEHTMLView::print()
TQString headerLeft = TDEGlobal::locale()->formatDate(TQDate::currentDate(), false); TQString headerLeft = TDEGlobal::locale()->formatDate(TQDate::currentDate(), false);
TQString headerRight = Data::Document::self()->URL().prettyURL(); TQString headerRight = Data::Document::self()->URL().prettyURL();
TQString footerMid; TQString footerMid;

@ -94,7 +94,7 @@ ReportDialog::ReportDialog(TQWidget* parent_, const char* name_/*=0*/)
hlay->addWidget(pb3); hlay->addWidget(pb3);
connect(pb3, TQT_SIGNAL(clicked()), TQT_SLOT(slotPrint())); connect(pb3, TQT_SIGNAL(clicked()), TQT_SLOT(slotPrint()));
m_HTMLPart = new KHTMLPart(mainWidget); m_HTMLPart = new TDEHTMLPart(mainWidget);
m_HTMLPart->setJScriptEnabled(false); m_HTMLPart->setJScriptEnabled(false);
m_HTMLPart->setJavaEnabled(false); m_HTMLPart->setJavaEnabled(false);
m_HTMLPart->setMetaRefreshEnabled(false); m_HTMLPart->setMetaRefreshEnabled(false);

@ -16,7 +16,7 @@
#include <kdialogbase.h> #include <kdialogbase.h>
class KHTMLPart; class TDEHTMLPart;
namespace Tellico { namespace Tellico {
namespace Export { namespace Export {
@ -55,7 +55,7 @@ private slots:
void slotSaveAs(); void slotSaveAs();
private: private:
KHTMLPart* m_HTMLPart; TDEHTMLPart* m_HTMLPart;
GUI::ComboBox* m_templateCombo; GUI::ComboBox* m_templateCombo;
Export::HTMLExporter* m_exporter; Export::HTMLExporter* m_exporter;
TQString m_xsltFile; TQString m_xsltFile;

Loading…
Cancel
Save