Additional k => tde renaming and fixes

pull/1/head
Slávek Banko 11 years ago
parent bc2ff3c2cf
commit 10fab8b8e0

2
FAQ

@ -4,7 +4,7 @@ Q: The book shows without any problem using QTextWidget browser, but when I use
An error occurred while loading ms-its:/home/user/Symphony FrameWork.chm::/index.html
The file or folder ms-its:/home/user/Symphony FrameWork.chm::/index.html does not exist.
A: You have tdeio_chm installed, and because it installs itself as KIO slave for ms-its, sometime KDE uses it instead of tdeio_msits.
A: You have tdeio_chm installed, and because it installs itself as TDEIO slave for ms-its, sometime KDE uses it instead of tdeio_msits.
To disable it, find the file chm.protocol in your KDE directory, and remove it. Then run tdeinit to reread the configuration.

@ -2,7 +2,7 @@
KchmViewer is a chm (MS HTML help file format) viewer, written in C++. Unlike most existing CHM viewers for Unix,
it uses Trolltech Qt widget library, and does not depend on KDE or Gnome. However, it may be compiled with full
KDE support, including KDE widgets and KIO/TDEHTML.
KDE support, including KDE widgets and TDEIO/TDEHTML.
The main advantage of KchmViewer is extended support for non-English languages. Unlike others, KchmViewer in most
cases correctly detects chm file encoding, correctly shows tables of context of Russian, Korean, Chinese and
@ -15,7 +15,7 @@
2. FEATURES
- Standalone viewer, depends on Qt only. Does not require KDE, Gnome or wxWindows toolkit.
- A KDE viewer can be compiled optionally, with KIO slave, TDEHTML and K*Widget support.
- A KDE viewer can be compiled optionally, with TDEIO slave, TDEHTML and K*Widget support.
- Completely safe and harmless. Does not support JavaScript in any way, optionally warns you before opening an
external web page, or switching to another help file.
- Correctly detects and shows encoding of any valid chm file.

@ -2070,35 +2070,35 @@ if test $kde_qtver = 3; then
AC_SUBST(LIB_KDED, $lib_kded)
AC_SUBST(LIB_TDECORE, "-ltdecore")
AC_SUBST(LIB_TDEUI, "-ltdeui")
AC_SUBST(LIB_KIO, "-ltdeio")
AC_SUBST(LIB_TDEIO, "-ltdeio")
AC_SUBST(LIB_KJS, "-lkjs")
AC_SUBST(LIB_SMB, "-lsmb")
AC_SUBST(LIB_KAB, "-lkab")
AC_SUBST(LIB_TDEABC, "-ltdeabc")
AC_SUBST(LIB_TDEHTML, "-ltdehtml")
AC_SUBST(LIB_KSPELL, "-ltdespell")
AC_SUBST(LIB_KPARTS, "-ltdeparts")
AC_SUBST(LIB_TDESPELL, "-ltdespell")
AC_SUBST(LIB_TDEPARTS, "-ltdeparts")
AC_SUBST(LIB_TDEPRINT, "-ltdeprint")
AC_SUBST(LIB_KUTILS, "-ltdeutils")
AC_SUBST(LIB_TDEUTILS, "-ltdeutils")
AC_SUBST(LIB_TDEPIM, "-ltdepim")
AC_SUBST(LIB_KIMPROXY, "-ltdeimproxy")
AC_SUBST(LIB_TDEIMPROXY, "-ltdeimproxy")
AC_SUBST(LIB_KNEWSTUFF, "-lknewstuff")
AC_SUBST(LIB_KDNSSD, "-ltdednssd")
AC_SUBST(LIB_KUNITTEST, "-ltdeunittest")
AC_SUBST(LIB_TDEDNSSD, "-ltdednssd")
AC_SUBST(LIB_TDEUNITTEST, "-ltdeunittest")
# these are for backward compatibility
AC_SUBST(LIB_KSYCOCA, "-ltdeio")
AC_SUBST(LIB_TDESYCOCA, "-ltdeio")
AC_SUBST(LIB_TDEFILE, "-ltdeio")
elif test $kde_qtver = 2; then
AC_SUBST(LIB_TDECORE, "-ltdecore")
AC_SUBST(LIB_TDEUI, "-ltdeui")
AC_SUBST(LIB_KIO, "-ltdeio")
AC_SUBST(LIB_KSYCOCA, "-ltdesycoca")
AC_SUBST(LIB_TDEIO, "-ltdeio")
AC_SUBST(LIB_TDESYCOCA, "-ltdesycoca")
AC_SUBST(LIB_SMB, "-lsmb")
AC_SUBST(LIB_TDEFILE, "-ltdefile")
AC_SUBST(LIB_KAB, "-lkab")
AC_SUBST(LIB_TDEHTML, "-ltdehtml")
AC_SUBST(LIB_KSPELL, "-ltdespell")
AC_SUBST(LIB_KPARTS, "-ltdeparts")
AC_SUBST(LIB_TDESPELL, "-ltdespell")
AC_SUBST(LIB_TDEPARTS, "-ltdeparts")
AC_SUBST(LIB_TDEPRINT, "-ltdeprint")
else
AC_SUBST(LIB_TDECORE, "-ltdecore -lXext $(LIB_QT)")

@ -1 +1 @@
Subproject commit b4d585c643d92787bfa17b935ce00b09960ee360
Subproject commit 6b7f7225eff4c49b2dd71804d5fdacb03efcf461

@ -1,17 +1,17 @@
if AMC_USE_KDE
SUBDIR_KIO = kio-msits
SUBDIR_TDEIO = tdeio-msits
endif
if AMC_BUILD_CHMLIB
SUBDIR_CHMLIB = chmlib
endif
SUBDIRS = $(SUBDIR_CHMLIB) $(SUBDIR_KIO) libchmfile
DIST_SUBDIRS = chmlib kio-msits libchmfile
SUBDIRS = $(SUBDIR_CHMLIB) $(SUBDIR_TDEIO) libchmfile
DIST_SUBDIRS = chmlib tdeio-msits libchmfile
package-messages:
$(MAKE) -f admin/Makefile.common package-messages
$(MAKE) -C po merge
# Uncomment this line before opening the project in tdevelop for the first time!
#SUBDIRS = chmlib kio-msits libchmfile
#SUBDIRS = chmlib tdeio-msits libchmfile

@ -98,7 +98,7 @@ static inline TQString makeURLabsoluteIfNeeded( const TQString & url )
}
// Returns a special string, which allows the kio-slave, or viewwindow-browser iteraction
// Returns a special string, which allows the tdeio-slave, or viewwindow-browser iteraction
// to regognize our own internal urls, which is necessary to show image-only pages.
static inline TQString getInternalUriExtension()
{

@ -5,7 +5,7 @@ kde_module_LTLIBRARIES = tdeio_msits.la
tdeio_msits_la_SOURCES = msits.cpp
tdeio_msits_la_LIBADD = -ltdeio $(CHM_LIBS)
tdeio_msits_la_LDFLAGS = -module -avoid-version $(KDE_LDFLAGS) $(LIB_QT) $(LIB_KIO) $(LIB_TDECORE) $(KDE_PLUGIN) $(QT_LDFLAGS)
tdeio_msits_la_LDFLAGS = -module -avoid-version $(KDE_LDFLAGS) $(LIB_QT) $(LIB_TDEIO) $(LIB_TDECORE) $(KDE_PLUGIN) $(QT_LDFLAGS)
protocol_DATA = msits.protocol
protocoldir = $(kde_servicesdir)

@ -191,7 +191,7 @@ bool ProtocolMSITS::parseLoadAndLookup ( const KURL& url, TQString& abspath )
}
/*
* Shamelessly stolen from a KDE KIO tutorial
* Shamelessly stolen from a KDE TDEIO tutorial
*/
static void app_entry(UDSEntry& e, unsigned int uds, const TQString& str)
{

@ -19,8 +19,8 @@ SUBDIRS = $(LIB_KDEEXTRADIR) . pics
# the library search path.
kchmviewer_LDADD = $(top_builddir)/lib/libchmfile/libchmfile.a $(LIB_KDEEXTRA) \
$(CHM_LIBS) $(LIB_QT) $(LIB_TDEUI) $(LIB_TDEHTML) $(LIB_KPARTS) $(LIB_KIO)
kchmviewer_LDFLAGS = $(QT_LDFLAGS) $(KDE_LDFLAGS) $(LIB_TDECORE) -lDCOP $(LIB_TDEUI) $(LIB_KPARTS) $(LIB_KIO) -L../lib/chmlib/
$(CHM_LIBS) $(LIB_QT) $(LIB_TDEUI) $(LIB_TDEHTML) $(LIB_TDEPARTS) $(LIB_TDEIO)
kchmviewer_LDFLAGS = $(QT_LDFLAGS) $(KDE_LDFLAGS) $(LIB_TDECORE) -lDCOP $(LIB_TDEUI) $(LIB_TDEPARTS) $(LIB_TDEIO) -L../lib/chmlib/
METASOURCES = AUTO
KDE_OPTIONS = qtonly

@ -102,7 +102,7 @@ bool KCHMViewWindow::openUrl ( const TQString& origurl )
return true;
// URL could be a complete ms-its link. The file should be already loaded (for TQTextBrowser),
// or will be loaded (for kio slave). We care only about the path component.
// or will be loaded (for tdeio slave). We care only about the path component.
if ( LCHMUrlFactory::isNewChmURL( newurl, chmfile, page ) )
{
// If a new chm file is opened here, and we do not use KCHMLPart, we better abort

Loading…
Cancel
Save