lib_LTLIBRARIES = libkdeeduui.la
libkdeeduui_la_SOURCES = \
- kedusimpleentrydlg.cpp kedusimpleentrydlgForm.ui
- kdeeduglossary.cpp
+ kedusimpleentrydlg.cpp kedusimpleentrydlgForm.ui kdeeduglossary.cpp
libkdeeduui_la_LDFLAGS = $(all_libraries) -no-undefined -version-info 3:5:0
libkdeeduui_la_LIBADD = $(LIB_KDECORE) $(LIB_KIO) $(LIB_KDEUI) $(LIB_KHTML)
* *
***************************************************************************/
-#include "glossarydialog.h"
+#include "kdeeduglossary.h"
#include <kdebug.h>
#include <klocale.h>
//X list.append( item );
//X }
//X
-//X return list;
+ return list;
}
QString GlossaryItem::toHtml() const
{
+ //XXX TMP!!!
+ QString code;
//X QString code = "<h1>" + m_name + "</h1>" + m_desc;
//X
//X // QString pic_path = locate("data", "kalzium/data/knowledgepics/");
//X QString refcode = parseReferences();
//X code += refcode;
//X }
-//X return code;
+ return code;
}
-QString KnowledgeItem::parseReferences() const
+QString GlossaryItem::parseReferences() const
{
+ //XXX TMP!!!
+ QString htmlcode;
//X QString htmlcode = "<h3>" + i18n( "References" ) + "</h3>";
//X
//X bool first = true;
//X htmlcode += QString( "<a href=\"item://%1\">%2</a>" ).arg( m_ref[i], m_ref[i] );
//X }
//X
-//X return htmlcode;
+ return htmlcode;
}