Add help handbook, add DocPath, rename files.

pull/1/head
Darrell Anderson 10 years ago
parent b0f8ab59e8
commit 3aef1afb88

@ -1,6 +1,6 @@
AUTOMAKE_OPTIONS = foreign 1.6
SUBDIRS = lib src po
SUBDIRS = lib src po doc
package-messages:
$(MAKE) -f admin/Makefile.common package-messages

@ -0,0 +1 @@
SUBDIRS = en

@ -0,0 +1,2 @@
KDE_LANG = en
KDE_DOCS = kchmviewer

@ -0,0 +1,61 @@
<?xml version="1.0" ?>
<!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
<!ENTITY kchmviewer "<application>KCHMViewer</application>">
<!ENTITY kappname "&kchmviewer;">
<!ENTITY % addindex "IGNORE">
<!ENTITY % English "INCLUDE">
]>
<article lang="&language;">
<title>The &kappname; Handbook</title>
<articleinfo>
<title>The &kappname; Handbook</title>
<authorgroup>
<author>&tde-authors;</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>
<releaseinfo>&tde-release-version;</releaseinfo>
<date>Reviewed: &tde-release-date;</date>
<copyright>
<year>&tde-copyright-date;</year>
<holder>&tde-team;</holder>
</copyright>
<!-- <legalnotice>&FDLNotice;</legalnotice> -->
<abstract>
<para>
&kappname; is a Microsoft help file (CHM) viewer.
</para>
</abstract>
<keywordset>
<keyword>TDE</keyword>
<keyword>CHM</keyword>
</keywordset>
</articleinfo>
<sect1 id="apologies">
<title>We Apologize</title>
<para>No documentation has yet been written for &kappname;.</para>
<para>If you need help, please check <ulink url="http://www.trinitydesktop.org">The &tde;
web site</ulink>, submit questions to the <ulink url="http://www.trinitydesktop.org/mailinglist.php">
&tde; mail lists</ulink>, or file a bug report at the <ulink url="http://bugs.trinitydesktop.org/">
&tde; bug tracker</ulink>.</para>
<para>If you are interested in helping, please consider writing the help file.
Submitting a basic text file is acceptable as the &tde-team; will convert the text.</para>
<para>Thank you for helping and thank you for your patience.</para>
&underFDL;
</sect1>
</article>

@ -1,74 +0,0 @@
<?xml version = '1.0' encoding = 'UTF-8'?>
<!DOCTYPE KDevPrjSession>
<KDevPrjSession>
<DocsAndViews NumberOfDocuments="15" >
<Doc0 NumberOfViews="1" URL="file:///home/tim/work/kchmviewer/src/kchmmainwindow.h" >
<View0 Encoding="ISO 8859-1" Type="Source" />
</Doc0>
<Doc1 NumberOfViews="1" URL="file:///home/tim/work/kchmviewer/src/kchmsearchwindow.h" >
<View0 Encoding="ISO 8859-1" Type="Source" />
</Doc1>
<Doc2 NumberOfViews="1" URL="file:///home/tim/work/kchmviewer/lib/libchmfile/libchmfile.h" >
<View0 Encoding="ISO 8859-1" Type="Source" />
</Doc2>
<Doc3 NumberOfViews="1" URL="file:///home/tim/work/kchmviewer/lib/libchmfile/libchmfile.cpp" >
<View0 Encoding="ISO 8859-1" Type="Source" />
</Doc3>
<Doc4 NumberOfViews="1" URL="file:///home/tim/work/kchmviewer/lib/libchmfile/libchmfileimpl.cpp" >
<View0 Encoding="ISO 8859-1" Type="Source" />
</Doc4>
<Doc5 NumberOfViews="1" URL="file:///home/tim/work/kchmviewer/src/kchmmainwindow.cpp" >
<View0 Encoding="ISO 8859-1" Type="Source" />
</Doc5>
<Doc6 NumberOfViews="1" URL="file:///home/tim/work/kchmviewer/src/kchmviewwindow_qtextbrowser.h" >
<View0 Encoding="ISO 8859-1" Type="Source" />
</Doc6>
<Doc7 NumberOfViews="1" URL="file:///home/tim/work/kchmviewer/src/kchmsourcefactory.cpp" >
<View0 Encoding="ISO 8859-1" Type="Source" />
</Doc7>
<Doc8 NumberOfViews="1" URL="file:///home/tim/work/kchmviewer/src/kchmviewwindow.cpp" >
<View0 Encoding="ISO 8859-1" Type="Source" />
</Doc8>
<Doc9 NumberOfViews="1" URL="file:///home/tim/work/kchmviewer/src/kchmviewwindow.h" >
<View0 Encoding="ISO 8859-1" Type="Source" />
</Doc9>
<Doc10 NumberOfViews="1" URL="file:///home/tim/work/kchmviewer/src/kchmviewwindowmgr.h" >
<View0 Encoding="ISO 8859-1" Type="Source" />
</Doc10>
<Doc11 NumberOfViews="1" URL="file:///home/tim/work/kchmviewer/lib/tdeio-msits/msits.h" >
<View0 Encoding="ISO 8859-1" Type="Source" />
</Doc11>
<Doc12 NumberOfViews="1" URL="file:///home/tim/work/kchmviewer/lib/libchmfile/lchmurlhandler.h" >
<View0 Encoding="ISO 8859-1" Type="Source" />
</Doc12>
<Doc13 NumberOfViews="1" URL="file:///home/tim/work/kchmviewer/lib/libchmfile/libchmurlfactory.h" >
<View0 Encoding="ISO 8859-1" Type="Source" />
</Doc13>
<Doc14 NumberOfViews="1" URL="file:///home/tim/work/kchmviewer/src/kchmviewwindow_qtextbrowser.cpp" >
<View0 Encoding="ISO 8859-1" line="224" Type="Source" />
</Doc14>
</DocsAndViews>
<pluginList>
<kdevdebugger>
<breakpointList>
<breakpoint0 location="/home/tim/work/kchmviewer/src/kchmmainwindow.cpp:329" type="1" tracingFormatString="" traceFormatStringEnabled="0" condition="" tracingEnabled="0" enabled="1" >
<tracedExpressions/>
</breakpoint0>
</breakpointList>
<showInternalCommands value="0" />
</kdevdebugger>
<kdevastyle>
<Extensions ext="*.cpp *.h,*.c *.h,*.cxx *.hxx,*.c++ *.h++,*.cc *.hh,*.C *.H,*.diff,*.inl,*.java,*.moc,*.patch,*.tlh,*.xpm" />
<AStyle IndentPreprocessors="1" FillCount="4" PadParenthesesOut="1" IndentNamespaces="0" IndentLabels="1" Fill="Tabs" MaxStatement="40" Brackets="Break" MinConditional="-1" IndentBrackets="0" PadParenthesesUn="1" BlockBreak="1" KeepStatements="1" KeepBlocks="1" BlockIfElse="0" IndentSwitches="1" PadOperators="1" FStyle="UserDefined" IndentCases="1" FillEmptyLines="0" BracketsCloseHeaders="0" BlockBreakAll="0" PadParenthesesIn="1" IndentClasses="1" IndentBlocks="0" FillForce="1" />
</kdevastyle>
<kdevbookmarks>
<bookmarks/>
</kdevbookmarks>
<kdevvalgrind>
<executable path="" params="" />
<valgrind path="" params="" />
<calltree path="" params="" />
<tdecachegrind path="" />
</kdevvalgrind>
</pluginList>
</KDevPrjSession>

@ -9,3 +9,4 @@ Name=KchmViewer
GenericName=CHM (MS-Help) Viewer
Comment=A viewer for CHM (MS-Help) files
MimeType=application/chm
DocPath=kchmviewer/index.html

@ -1,13 +1,13 @@
if AMC_USE_KDE
LIB_KDEEXTRADIR = kde
LIB_KDEEXTRA = kde/libkdeextra.a
LIB_KDEEXTRADIR = tde
LIB_KDEEXTRA = tde/libkdeextra.a
endif
bin_PROGRAMS = kchmviewer
kchmviewer_SOURCES = iconstorage.cpp kchmbookmarkwindow.cpp kchmconfig.cpp \
kchmindexwindow.cpp kchmmainwindow.cpp kchmsearchtoolbar.cpp kchmsearchwindow.cpp \
kchmsettings.cpp kchmsourcefactory.cpp kchmtreeviewitem.cpp kchmviewwindow.cpp main.cpp \
kchmdialogchooseurlfromlist.cpp kde-qt.cpp kchmviewwindow_qtextbrowser.cpp \
kchmdialogchooseurlfromlist.cpp tde-tqt.cpp kchmviewwindow_qtextbrowser.cpp \
kchmsetupdialog.ui kqtempfile.cpp kchmnavtoolbar.cpp kchmviewwindowmgr.cpp \
kchmkeyeventfilter.cpp kchmcontentswindow.cpp kchmsearchengine_impl.cpp \
kchmsearchengine.cpp
@ -28,7 +28,7 @@ KDE_ICON = AUTO
noinst_HEADERS = kchmsettings.h forwarddeclarations.h kchmsourcefactory.h \
iconstorage.h kchmbookmarkwindow.h kchmconfig.h kchmtreeviewitem.h \
kchmdialogchooseurlfromlist.h kchmviewwindow.h kchmindexwindow.h \
kchmmainwindow.h kchmviewwindow_qtextbrowser.h kchmsearchtoolbar.h kde-qt.h \
kchmmainwindow.h kchmviewwindow_qtextbrowser.h kchmsearchtoolbar.h tde-tqt.h \
kchmsearchwindow.h kqtempfile.h kqrunprocess.h kchmnavtoolbar.h kchmviewwindowmgr.h \
kchmkeyeventfilter.h kchmcontentswindow.h kchmlistitemtooltip.h kchmsearchengine_impl.h \
kchmsearchengine.h

@ -22,7 +22,7 @@
#ifndef KCHMBOOKMARKWINDOW_H
#define KCHMBOOKMARKWINDOW_H
#include "kde-qt.h"
#include "tde-tqt.h"
#include "forwarddeclarations.h"
#include "kchmsettings.h"

@ -19,7 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include "kde-qt.h"
#include "tde-tqt.h"
#include "kchmconfig.h"
#include "kchmsettings.h"
#include "kchmmainwindow.h"

@ -19,7 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include "kde-qt.h"
#include "tde-tqt.h"
#include "libchmfile.h"

@ -22,7 +22,7 @@
#ifndef INCLUDE_KCHMCONTENTSWINDOW_H
#define INCLUDE_KCHMCONTENTSWINDOW_H
#include "kde-qt.h"
#include "tde-tqt.h"
#include "kchmtreeviewitem.h"
/**

@ -19,7 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include "kde-qt.h"
#include "tde-tqt.h"
#include "kchmdialogchooseurlfromlist.h"
#include "kchmtreeviewitem.h"

@ -22,7 +22,7 @@
#ifndef INCLUDE_KCHMLISTITEMTOOLTIP_H
#define INCLUDE_KCHMLISTITEMTOOLTIP_H
#include "kde-qt.h"
#include "tde-tqt.h"
#include "forwarddeclarations.h"
/**

@ -26,7 +26,7 @@
#include <errno.h>
#include <unistd.h>
#include "kde-qt.h"
#include "tde-tqt.h"
#include <tqaccel.h>
#include <tqevent.h>

@ -22,7 +22,7 @@
#ifndef KCHMMAINWINDOW_H
#define KCHMMAINWINDOW_H
#include "kde-qt.h"
#include "tde-tqt.h"
#include "libchmfile.h"

@ -19,7 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include "kde-qt.h"
#include "tde-tqt.h"
#include "kchmnavtoolbar.h"
#include "kchmmainwindow.h"
#include "kchmviewwindow.h"

@ -22,7 +22,7 @@
#ifndef KCHMSEARCHTOOLBAR_H
#define KCHMSEARCHTOOLBAR_H
#include "kde-qt.h"
#include "tde-tqt.h"
#include "forwarddeclarations.h"

@ -22,7 +22,7 @@
#ifndef KCHMSEARCHWINDOW_H
#define KCHMSEARCHWINDOW_H
#include "kde-qt.h"
#include "tde-tqt.h"
#include "kchmsettings.h"
#include "forwarddeclarations.h"

@ -23,6 +23,7 @@
#include <tqlayout.h>
#include <tqtooltip.h>
#include <tqwhatsthis.h>
#include <tdeapplication.h>
/*
* Constructs a KCHMSetupDialog as a child of 'parent', with the
@ -277,6 +278,7 @@ KCHMSetupDialog::KCHMSetupDialog( TQWidget* parent, const char* name, bool modal
clearWState( WState_Polished );
// signals and slots connections
connect( buttonHelp, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotShowHelp() ) );
connect( buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
connect( buttonCancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( reject() ) );
connect( m_radioUseTDEHTMLPart, TQT_SIGNAL( toggled(bool) ), groupKhtmlSecurity, TQT_SLOT( setEnabled(bool) ) );
@ -311,6 +313,11 @@ KCHMSetupDialog::KCHMSetupDialog( TQWidget* parent, const char* name, bool modal
setTabOrder( buttonOk, buttonCancel );
}
void KCHMSetupDialog::slotShowHelp()
{
kapp->invokeHelp( TQString(), "kchmviewer" );
}
/*
* Destroys the object and frees any allocated resources
*/

@ -23,7 +23,7 @@
#define KCHMVIEWWINDOW_H
#include "forwarddeclarations.h"
#include "kde-qt.h"
#include "tde-tqt.h"
/**
@author Georgy Yunaev

@ -24,7 +24,7 @@
#include <tqsimplerichtext.h>
#include <tqpaintdevicemetrics.h>
#include "kde-qt.h"
#include "tde-tqt.h"
#include "kchmmainwindow.h"
#include "kchmviewwindow_qtextbrowser.h"

@ -22,7 +22,7 @@
#ifndef KCHMVIEWWINDOW_TQTEXTBROWSER_H
#define KCHMVIEWWINDOW_TQTEXTBROWSER_H
#include "kde-qt.h"
#include "tde-tqt.h"
#include "kchmviewwindow.h"
#include "kchmsourcefactory.h"

@ -30,7 +30,7 @@
#include "kchmviewwindow_qtextbrowser.h"
#if defined (USE_KDE)
#include "kde/kchmviewwindow_tdehtmlpart.h"
#include "tde/kchmviewwindow_tdehtmlpart.h"
#endif

@ -22,7 +22,7 @@
#ifndef INCLUDE_KCHMVIEWWINDOWMGR_H
#define INCLUDE_KCHMVIEWWINDOWMGR_H
#include "kde-qt.h"
#include "tde-tqt.h"
#include "forwarddeclarations.h"
#include "kchmsettings.h"

@ -19,7 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include "kde-qt.h"
#include "tde-tqt.h"
#include "kchmmainwindow.h"
#include "kchmconfig.h"
@ -29,7 +29,7 @@
#include <tdeaboutdata.h>
#include <dcopclient.h>
#include "kde/kchmdcopiface.h"
#include "tde/kchmdcopiface.h"
#endif
KCHMMainWindow * mainWindow;

@ -19,7 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include "kde-qt.h"
#include "tde-tqt.h"
#if defined (USE_KDE)
KQListView::KQListView( TQWidget * parent, const char * name, int )

@ -24,7 +24,7 @@
#include <tdehtmlview.h>
#include <kfinddialog.h>
#include "kde-qt.h"
#include "tde-tqt.h"
#include "kchmmainwindow.h"
#include "kchmconfig.h"
#include "kchmviewwindow_tdehtmlpart.h"

@ -22,7 +22,7 @@
#ifndef KCHMVIEWWINDOW_TDEHTMLPART_H
#define KCHMVIEWWINDOW_TDEHTMLPART_H
#include "kde-qt.h"
#include "tde-tqt.h"
#include "kchmviewwindow.h"
#include "kchmsourcefactory.h"

@ -1,4 +1,4 @@
kchmviewer-3.1
doc
lib
po
src

Loading…
Cancel
Save