summaryrefslogtreecommitdiffstats
path: root/kalzium/src
diff options
context:
space:
mode:
Diffstat (limited to 'kalzium/src')
-rw-r--r--kalzium/src/Makefile.am2
-rw-r--r--kalzium/src/detailinfodlg.cpp6
-rw-r--r--kalzium/src/detailinfodlg.h12
3 files changed, 10 insertions, 10 deletions
diff --git a/kalzium/src/Makefile.am b/kalzium/src/Makefile.am
index 7bd41796..f8072595 100644
--- a/kalzium/src/Makefile.am
+++ b/kalzium/src/Makefile.am
@@ -35,7 +35,7 @@ kalzium_SOURCES = eqresult.cpp eqchemview.cpp kalzium.cpp \
moleculeparser.cpp \
tempunit.cpp
-kalzium_LDADD = ../../libtdeedu/tdeeduplot/libtdeeduplot.la ../../libtdeedu/tdeeduui/libtdeeduui.la $(LIB_KIO) $(LIB_TDEUI) $(LIB_KHTML) $(OCAMLLIB_FLAGS) $(FACILELIB_FLAGS) $(EQCHEM_LDADD)
+kalzium_LDADD = ../../libtdeedu/tdeeduplot/libtdeeduplot.la ../../libtdeedu/tdeeduui/libtdeeduui.la $(LIB_KIO) $(LIB_TDEUI) $(LIB_TDEHTML) $(OCAMLLIB_FLAGS) $(FACILELIB_FLAGS) $(EQCHEM_LDADD)
KDE_CXXFLAGS = -D_ISOC99_SOURCE
SUBDIRS = icons elementpics data $(EQCHEM_SUB)
diff --git a/kalzium/src/detailinfodlg.cpp b/kalzium/src/detailinfodlg.cpp
index 6dd03422..698ca829 100644
--- a/kalzium/src/detailinfodlg.cpp
+++ b/kalzium/src/detailinfodlg.cpp
@@ -91,18 +91,18 @@ void DetailedInfoDlg::setElement(Element *element)
enableButton( User1, false );
}
-KHTMLPart* DetailedInfoDlg::addHTMLTab( const TQString& title, const TQString& icontext, const TQString& iconname )
+TDEHTMLPart* DetailedInfoDlg::addHTMLTab( const TQString& title, const TQString& icontext, const TQString& iconname )
{
TQFrame *frame = addPage(title, icontext, BarIcon(iconname));
TQVBoxLayout *layout = new TQVBoxLayout( frame );
layout->setMargin( 0 );
- KHTMLPart *w = new KHTMLPart( frame, "html-part", TQT_TQOBJECT(frame) );
+ TDEHTMLPart *w = new TDEHTMLPart( frame, "html-part", TQT_TQOBJECT(frame) );
layout->addWidget( w->view() );
return w;
}
-void DetailedInfoDlg::fillHTMLTab( KHTMLPart* htmlpart, const TQString& htmlcode )
+void DetailedInfoDlg::fillHTMLTab( TDEHTMLPart* htmlpart, const TQString& htmlcode )
{
if ( !htmlpart ) return;
diff --git a/kalzium/src/detailinfodlg.h b/kalzium/src/detailinfodlg.h
index ba853bf5..d2027f8b 100644
--- a/kalzium/src/detailinfodlg.h
+++ b/kalzium/src/detailinfodlg.h
@@ -30,7 +30,7 @@ class TQFrame;
class TQLabel;
class TQVBoxLayout;
class KActionCollection;
-class KHTMLPart;
+class TDEHTMLPart;
/**
* @short The dialog which shows all available information of an element
@@ -63,7 +63,7 @@ class DetailedInfoDlg : public KDialogBase
TQString isotopeTable();
- TQMap<TQString, KHTMLPart*> m_htmlpages;
+ TQMap<TQString, TDEHTMLPart*> m_htmlpages;
TQLabel *piclabel;
@@ -93,17 +93,17 @@ class DetailedInfoDlg : public KDialogBase
* @param icontext The name of the tab, appears belov or instead
* of the icon
* @param iconname The name of the icon
- * @returns the pointer to the resulting KHTMLPart, needed for
+ * @returns the pointer to the resulting TDEHTMLPart, needed for
* writing HTML code on it
*/
- KHTMLPart* addHTMLTab( const TQString& title, const TQString& icontext, const TQString& iconname );
+ TDEHTMLPart* addHTMLTab( const TQString& title, const TQString& icontext, const TQString& iconname );
/**
* Change the HTML code in an HTML page.
*
- * @param htmlpart the KHTMLPart to edit
+ * @param htmlpart the TDEHTMLPart to edit
* @param htmlcode the HTML code to display
*/
- void fillHTMLTab( KHTMLPart* htmlpart, const TQString& htmlcode );
+ void fillHTMLTab( TDEHTMLPart* htmlpart, const TQString& htmlcode );
protected slots:
virtual void slotUser1();