Rename a number of libraries and executables to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 93ec82602a
commit 82072ef281

@ -190,7 +190,7 @@ dnl **********
AC_DEFUN([QUANTA_CHECK_MDI],
[
AC_MSG_CHECKING(whether to use kmdi lib from tdelibs)
AC_MSG_CHECKING(whether to use tdemdi lib from tdelibs)
AC_CACHE_VAL(ac_cv_mdi_setup,
[
AC_LANG_SAVE
@ -214,14 +214,14 @@ AC_DEFUN([QUANTA_CHECK_MDI],
])
if test "$ac_cv_mdi_setup" = "yes"; then
LIB_KMDI="-lkmdi"
LIB_KMDI="-ltdemdi"
QEXTMDI_SUBDIR=""
KMDI_INCLUDES=""
AC_MSG_RESULT(yes)
else
LIB_KMDI='$(top_builddir)/lib/compatibility/kmdi/libquantakmdi.la'
QEXTMDI_SUBDIR="kmdi"
KMDI_INCLUDES='-I$(top_srcdir)/lib/compatibility/kmdi/qextmdi'
LIB_KMDI='$(top_builddir)/lib/compatibility/tdemdi/libquantatdemdi.la'
QEXTMDI_SUBDIR="tdemdi"
KMDI_INCLUDES='-I$(top_srcdir)/lib/compatibility/tdemdi/qextmdi'
CXXFLAGS="$CXXFLAGS -DCOMPAT_KMDI"
AC_MSG_RESULT(no)
fi
@ -232,7 +232,7 @@ AC_DEFUN([QUANTA_CHECK_MDI],
AM_CONDITIONAL(include_qextmdi, test -n "$QEXTMDI_SUBDIR")
])
dnl Check if kmdi is present, if not use giden's one
dnl Check if tdemdi is present, if not use giden's one
QUANTA_CHECK_MDI
KDE_CHECK_HEADER(cvsservice_stub.h, [cvsservice_stub_h="found"], [cvsservice_stub_h="none"])

@ -290,7 +290,7 @@ replace and .png for the replacement string.
</sect2>
</sect1> -->
<sect1 id="kparts-3-2">
<sect1 id="tdeparts-3-2">
<sect1info>
<title>Using Plugins</title>
<authorgroup>

@ -120,6 +120,6 @@ The place to define abbreviations (some kind of templates), that can be expanded
<listitem><para><guilabel>Validate plugin:</guilabel> if checked, &quantaplus; will test if the entered information is correct or not. Uncheck if the plugin is not yet available, but you will install later, so you can close the dialog.</para></listitem>
</itemizedlist>
</para>
<para>See <xref linkend="plugins-menu-3-2" /> and <xref linkend="kparts-3-2" /> for information about using the plugins.</para>
<para>See <xref linkend="plugins-menu-3-2" /> and <xref linkend="tdeparts-3-2" /> for information about using the plugins.</para>
</sect1>
</chapter>

@ -41,7 +41,7 @@ tde_add_kpart( libkfilereplacepart AUTOMOC
kfilereplaceviewwdg.ui kaddstringdlg.cpp kaddstringdlgs.ui
knewprojectdlg.cpp knewprojectdlgs.ui koptionsdlg.cpp
koptionsdlgs.ui kfilereplacelib.cpp report.cpp
LINK kio-shared kparts-shared
LINK kio-shared tdeparts-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
@ -51,6 +51,6 @@ tde_add_kpart( libkfilereplacepart AUTOMOC
tde_add_executable( kfilereplace AUTOMOC
SOURCES
kfilereplace.cpp main.cpp
LINK kio-shared kparts-shared
LINK kio-shared tdeparts-shared
DESTINATION ${BIN_INSTALL_DIR}
)

@ -21,7 +21,7 @@ libkfilereplacepart_la_SOURCES = kfilereplacepart.cpp kfilereplaceview.cpp \
knewprojectdlgs.ui koptionsdlg.cpp koptionsdlgs.ui kfilereplacelib.cpp report.cpp \
commandengine.cpp configurationclasses.cpp
libkfilereplacepart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -lkparts -lDCOP
libkfilereplacepart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -ltdeparts -lDCOP
libkfilereplacepart_la_LIBADD = $(LIB_KFILE) $(LIB_KPARTS) $(LIB_KHTML)
messages: rc.cpp
@ -38,6 +38,6 @@ partrc_DATA = kfilereplacepartui.rc
shellrcdir = $(kde_datadir)/kfilereplace
shellrc_DATA = kfilereplaceui.rc
bin_PROGRAMS = kfilereplace
kfilereplace_LDFLAGS = $(KDE_RPATH) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -lkparts -lDCOP
kfilereplace_LDFLAGS = $(KDE_RPATH) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -ltdeparts -lDCOP
kfilereplace_LDADD = $(LIB_KPARTS)
kfilereplace_SOURCES = kfilereplace.cpp main.cpp

@ -16,7 +16,7 @@
#ifndef KFILEREPLACE_H
#define KFILEREPLACE_H
#include <kparts/mainwindow.h>
#include <tdeparts/mainwindow.h>
/**
Shell application for the KFileReplace part.

@ -32,7 +32,7 @@
#include <kio/netaccess.h>
#include <klocale.h>
#include <kmessagebox.h>
#include <kparts/genericfactory.h>
#include <tdeparts/genericfactory.h>
#include <kstandarddirs.h>
#include <kiconloader.h>
#include <kglobal.h>

@ -18,7 +18,7 @@
// QT
// KDE
#include <kparts/part.h>
#include <tdeparts/part.h>
class KAboutApplication;
class TDEAboutData;
class TDEConfig;

@ -38,10 +38,10 @@ noinst_HEADERS = \
kimeshell.h
libkimagemapeditor_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -lkparts -lDCOP
libkimagemapeditor_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -ltdeparts -lDCOP
libkimagemapeditor_la_LIBADD = libkimagemapeditorcommon.la $(LIB_KFILE) $(LIB_KPARTS) $(LIB_KHTML)
kimagemapeditor_LDFLAGS = $(all_libraries) $(KDE_RPATH) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -lkparts -lDCOP
kimagemapeditor_LDFLAGS = $(all_libraries) $(KDE_RPATH) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -ltdeparts -lDCOP
kimagemapeditor_LDADD = libkimagemapeditorcommon.la $(LIB_KFILE) $(LIB_KPARTS) $(LIB_KHTML)
# set the include path for X, qt and KDE

@ -77,7 +77,7 @@
#include "mapslistview.h"
#include "kimecommon.h"
#include <kparts/genericfactory.h>
#include <tdeparts/genericfactory.h>
#include <kinstance.h>
// Factory code for KDE 3

@ -23,9 +23,9 @@
#include <tqdict.h>
#include <tqimage.h>
#include <kurl.h>
#include <kparts/part.h>
#include <kparts/browserextension.h>
#include <kparts/factory.h>
#include <tdeparts/part.h>
#include <tdeparts/browserextension.h>
#include <tdeparts/factory.h>
#include <tdeversion.h>

@ -38,8 +38,8 @@
#include <klocale.h>
#include <kdebug.h>
#include <kapplication.h>
#include <khtmlview.h>
#include <khtml_part.h>
#include <tdehtmlview.h>
#include <tdehtml_part.h>
#include <ktempfile.h>
#include <kpushbutton.h>
#include <kstdguiitem.h>

@ -18,7 +18,7 @@
#ifndef KIMESHELL_H
#define KIMESHELL_H
#include <kparts/dockmainwindow.h>
#include <tdeparts/dockmainwindow.h>
class KImageMapEditor;

@ -35,7 +35,7 @@
#include <kmimetype.h>
#include <kapplication.h>
#include <klocale.h>
#include <khtml_part.h>
#include <tdehtml_part.h>
#include <dom/html_misc.h>
#include <dom/dom_node.h>
#include <dom/dom_string.h>

@ -21,7 +21,7 @@
#include <kapplication.h>
#include <kdebug.h>
#include <klocale.h>
#include <khtml_part.h>
#include <tdehtml_part.h>
#include <kprotocolmanager.h>
#include <tqstring.h>

@ -26,7 +26,7 @@
#endif
#include <kapplication.h>
#include <kparts/mainwindow.h>
#include <tdeparts/mainwindow.h>
class KToggleAction;

@ -24,8 +24,8 @@
#include <kaction.h>
#include <kstdaction.h>
#include <kfiledialog.h>
#include <kparts/genericfactory.h>
#include <kparts/factory.h>
#include <tdeparts/genericfactory.h>
#include <tdeparts/factory.h>
#include <kstandarddirs.h>
#include <kaboutapplication.h>
#include <kbugreport.h>

@ -21,7 +21,7 @@
#ifndef _KLINKSTATUSPART_H_
#define _KLINKSTATUSPART_H_
#include <kparts/part.h>
#include <tdeparts/part.h>
class TabWidgetSession;
class ActionManager;

@ -7,13 +7,13 @@ bin_PROGRAMS = kmdr-editor
AM_CPPFLAGS = -I$(top_srcdir)/kommander/widget -I$(top_srcdir)/kommander/widgets -I$(top_srcdir)/kommander/plugin -I$(top_srcdir)/kommander/factory -Ishared -Iinterfaces -Ipics $(all_includes)
# the library search path.
kmdr_editor_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor $(LIB_KPARTS)
kmdr_editor_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_KPARTS)
# the libraries to link against.
kmdr_editor_LDADD = $(top_builddir)/kommander/factory/libkommanderfactory.la \
$(top_builddir)/kommander/widget/libkommanderwidget.la \
$(top_builddir)/kommander/widgets/libkommanderwidgets.la \
$(top_builddir)/kommander/plugin/libkommanderplugin.la -lktexteditor
$(top_builddir)/kommander/plugin/libkommanderplugin.la -ltdetexteditor
# which sources should be compiled for kmdr_editor
kmdr_editor_SOURCES = actiondnd.cpp actioneditorimpl.cpp \

@ -28,15 +28,15 @@
#include <kactioncollection.h>
#include <kdebug.h>
#include <ktexteditor/view.h>
#include <ktexteditor/editorchooser.h>
#include <ktexteditor/editinterface.h>
#include <ktexteditor/viewcursorinterface.h>
#include <ktexteditor/highlightinginterface.h>
#include <ktexteditor/popupmenuinterface.h>
#include <ktexteditor/undointerface.h>
#include <kparts/partmanager.h>
#include <tdetexteditor/view.h>
#include <tdetexteditor/editorchooser.h>
#include <tdetexteditor/editinterface.h>
#include <tdetexteditor/viewcursorinterface.h>
#include <tdetexteditor/highlightinginterface.h>
#include <tdetexteditor/popupmenuinterface.h>
#include <tdetexteditor/undointerface.h>
#include <tdeparts/partmanager.h>
/* QT INCLUDES */
#include <tqstringlist.h>

@ -85,7 +85,7 @@
#include <kstatusbar.h>
#include <ktoolbar.h>
#include <kurl.h>
#include <kparts/partmanager.h>
#include <tdeparts/partmanager.h>
#include <kio/netaccess.h>
extern TQMap<TQWidget*, TQString> *qwf_functions;

@ -22,7 +22,7 @@
#include "metadatabase.h"
#include <kparts/dockmainwindow.h>
#include <tdeparts/dockmainwindow.h>
#include <kdockwidget.h>
#include <tqmap.h>

@ -74,9 +74,9 @@
#include <kstdguiitem.h>
#include <kurl.h>
#include <ktexteditor/document.h>
#include <ktexteditor/view.h>
#include <ktexteditor/configinterface.h>
#include <tdetexteditor/document.h>
#include <tdetexteditor/view.h>
#include <tdetexteditor/configinterface.h>
#include <stdlib.h>

@ -181,8 +181,8 @@ while chrs &lt; maxc do
inlink = true
lb = str_toint(str_find(a, "\"", ch)+1)
le = str_toint(str_find(a, "\"", lb))
linkscript = str_mid(a, lb, le-lb)
//debug("link data - "+lb+" "+le+" "+linkscript)
lintdescript = str_mid(a, lb, le-lb)
//debug("link data - "+lb+" "+le+" "+lintdescript)
elseif str_mid(a, ch, 3) == "&lt;p&gt;" then
lc = lc + 1
cc = 0
@ -199,11 +199,11 @@ while chrs &lt; maxc do
if inlink == true then
//debug("examining link at row"+lc+" between col "+cp+" and col "+cc)
if (Self.Item(0) == lc &amp;&amp;Self.Item(1) &gt;= cp &amp;&amp; Self.Item(1) &lt;= cc) then
debug("call "+linkscript)
if widgetExists(linkscript) then
linkscript.execute(Self.Item(0),Self.Item(1))
elseif str_left(linkscript, 4) == "http" then
exec("konqueror --profile webbrowsing "+linkscript)
debug("call "+lintdescript)
if widgetExists(lintdescript) then
lintdescript.execute(Self.Item(0),Self.Item(1))
elseif str_left(lintdescript, 4) == "http" then
exec("konqueror --profile webbrowsing "+lintdescript)
endif
break
endif

@ -3,7 +3,7 @@ bin_PROGRAMS = kmdr-executor
noinst_LTLIBRARIES = libinstance.la
libinstance_la_SOURCES = instance.cpp dcopkommanderif.skel
libinstance_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -no-undefined $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
libinstance_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -no-undefined $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
kmdr_executor_SOURCES = main.cpp
@ -20,6 +20,6 @@ AM_CPPFLAGS = -I$(top_srcdir)/kommander/plugin -I$(top_srcdir)/kommander/widgets
METASOURCES = AUTO
# the library search path.
kmdr_executor_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kmdr_executor_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
noinst_HEADERS = dcopkommanderif.h

@ -1,7 +1,7 @@
INCLUDES = -I$(top_srcdir)/kommander/executor -I$(top_srcdir)/kommander/factory $(all_includes)
METASOURCES = AUTO
kde_module_LTLIBRARIES = libkommander_part.la
libkommander_part_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -lkparts -lDCOP -L../../kommander/plugin/.libs -lkommanderplugin
libkommander_part_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -ltdeparts -lDCOP -L../../kommander/plugin/.libs -lkommanderplugin
libkommander_part_la_LIBADD = $(top_builddir)/kommander/executor/libinstance.la $(top_builddir)/kommander/widget/libkommanderwidget.la $(LIB_KFILE) $(LIB_KPARTS) $(LIB_KHTML)
kde_services_DATA = kommander_part.desktop
libkommander_part_la_SOURCES = kommander_part.cpp

@ -17,7 +17,7 @@
#include <kdebug.h>
#include <kinstance.h>
#include <kparts/genericfactory.h>
#include <tdeparts/genericfactory.h>
#include <tqpoint.h>
#include <tqlayout.h>

@ -15,8 +15,8 @@
#ifndef KOMMANDERPART_H
#define KOMMANDERPART_H
#include <kparts/part.h>
#include <kparts/factory.h>
#include <tdeparts/part.h>
#include <tdeparts/factory.h>
class Instance;
class TQGridLayout;

@ -13,6 +13,6 @@ INCLUDES = -I$(top_srcdir)/kommander/factory $(all_includes)
METASOURCES = AUTO
# the library search path.
kmdr_plugins_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kmdr_plugins_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
noinst_HEADERS = mainwindow.h pluginmanager.h

@ -4,7 +4,7 @@ lib_LTLIBRARIES = libkommanderwidgets.la
INCLUDES = -I$(top_srcdir)/kommander/widget -I$(top_srcdir)/kommander/factory -I$(top_srcdir)/kommander/plugin $(all_includes)
# the library search path.
#widgets_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
#widgets_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
libkommanderwidgets_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -no-undefined
# the libraries to link against.

@ -5,7 +5,7 @@
#include <tqwidget.h>
#include <tqstring.h>
#include <kparts/part.h>
#include <tdeparts/part.h>
#include <kommanderwidget.h>

@ -23,7 +23,7 @@ xsldbg_DEPENDENCIES = kxsldbgpart/libxsldbg/libxsldbg.la
xsldbg_LDADD = kxsldbgpart/libxsldbg/libxsldbg.la $(LIBXSLT_LIBS) $(LIBXML_LIBS) $(LIB_TDEUI)
#
# the library search path.
xsldbg_LDFLAGS = $(all_libraries) $(XSLDBG_EXTRA_LIBS) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
xsldbg_LDFLAGS = $(all_libraries) $(XSLDBG_EXTRA_LIBS) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
# These paths are KDE specific. Use them:
# kde_appsdir Where your application's menu entry (.desktop) should go to.
@ -52,7 +52,7 @@ INCLUDES= $(LIBXML_CFLAGS) $(LIBXSLT_CFLAGS) $(all_includes)
METASOURCES = AUTO
# the application source, library search path, and link libraries
kxsldbg_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kxsldbg_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
# this is where the shell's XML-GUI resource file goes
shellrcdir = $(kde_datadir)/kxsldbg

@ -6,7 +6,7 @@
#endif
#include <kapplication.h>
#include <kparts/mainwindow.h>
#include <tdeparts/mainwindow.h>
#include <dcopobject.h>
#include <dcopclient.h>
#include "kxsldbgif.h"

@ -1,7 +1,7 @@
noinst_LTLIBRARIES = libkxsldbgcommon.la
libkxsldbgcommon_la_SOURCES = xsldbgwalkspeedimpl.cpp xsldbgtemplatesimpl.cpp xsldbgtemplatelistitem.cpp xsldbgsourcesimpl.cpp xsldbgoutputview.cpp xsldbglocalvariablesimpl.cpp xsldbglocallistitem.cpp xsldbglistitem.cpp xsldbginspector.cpp xsldbgglobalvariablesimpl.cpp xsldbggloballistitem.cpp xsldbgentitiesimpl.cpp xsldbgdoc.cpp xsldbgdialogbase.cpp xsldbgdebugger.cpp xsldbgconfigimpl.cpp xsldbgcallstackimpl.cpp xsldbgbreakpointsimpl.cpp xsldbgbreakpointlistitem.cpp qxsldbgdoc.cpp kxsldbg_part.cpp kxsldbg_partif.skel xsldbgwalkspeed.ui xsldbgtemplates.ui xsldbgsources.ui xsldbgmsgdialog.ui xsldbglocalvariables.ui xsldbgglobalvariables.ui xsldbgentities.ui xsldbgconfig.ui xsldbgcallstack.ui xsldbgbreakpoints.ui
libkxsldbgcommon_la_METASOURCES = AUTO
libkxsldbgcommon_la_LDFLAGS = $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -lkparts -lDCOP -lktexteditor
libkxsldbgcommon_la_LDFLAGS = $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -ltdeparts -lDCOP -ltdetexteditor
libkxsldbgcommon_la_LIBADD = libxsldbg/libxsldbg.la libqtnotfier/libqtnotfier.la
noinst_HEADERS = kxsldbg_part.h qxsldbgdoc.h xsldbgbreakpointlistitem.h xsldbgbreakpointsimpl.h xsldbgcallstackimpl.h xsldbgconfigimpl.h xsldbgdebugger.h xsldbgdialogbase.h xsldbgdoc.h xsldbgdocmap.h xsldbgentitiesimpl.h xsldbggloballistitem.h xsldbgglobalvariablesimpl.h xsldbginspector.h xsldbglistitem.h xsldbglocallistitem.h xsldbglocalvariablesimpl.h xsldbgmsgdialogimpl.h xsldbgoutputview.h xsldbgsourcesimpl.h xsldbgtemplatelistitem.h xsldbgtemplatesimpl.h xsldbgwalkspeedimpl.h
@ -15,7 +15,7 @@ SUBDIRS = libqtnotfier libxsldbg
INCLUDES = $(XSLDBG_CFLAGS) -I.. $(all_includes)
libkxsldbgpart_la_LDFLAGS = -module $(KDE_PLUGIN) -lkatepartinterfaces $(all_libraries) $(XSLDBG_EXTRA_LIBS)-ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -lkparts -lDCOP
libkxsldbgpart_la_LDFLAGS = -module $(KDE_PLUGIN) -lkatepartinterfaces $(all_libraries) $(XSLDBG_EXTRA_LIBS)-ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -ltdeparts -lDCOP
libkxsldbgpart_la_LIBADD = libkxsldbgcommon.la $(LIB_KPARTS)

@ -6,11 +6,11 @@
#include <kaction.h>
#include <kstdaction.h>
#include <kfiledialog.h>
#include <kparts/genericfactory.h>
#include <ktexteditor/markinterface.h>
#include <ktexteditor/editinterface.h>
#include <ktexteditor/viewcursorinterface.h>
#include <ktexteditor/configinterface.h>
#include <tdeparts/genericfactory.h>
#include <tdetexteditor/markinterface.h>
#include <tdetexteditor/editinterface.h>
#include <tdetexteditor/viewcursorinterface.h>
#include <tdetexteditor/configinterface.h>
#include <kate/view.h>
#include <tqfile.h>

@ -1,7 +1,7 @@
#ifndef KXSLDBGKPART_H
#define KXSLDBGKPART_H
#include <kparts/part.h>
#include <tdeparts/part.h>
#include <tqvariant.h>
#include <tqdict.h>
#include <tqmainwindow.h>
@ -9,8 +9,8 @@
#include "xsldbginspector.h"
#include <dcopclient.h>
#include "kxsldbg_partif.h"
#include <ktexteditor/document.h>
#include <ktexteditor/view.h>
#include <tdetexteditor/document.h>
#include <tdetexteditor/view.h>
class TQVBoxLayout;
class TQHBoxLayout;

@ -6,8 +6,8 @@
*/
#include "qxsldbgdoc.h"
#include <ktexteditor/markinterface.h>
#include <ktexteditor/editorchooser.h>
#include <tdetexteditor/markinterface.h>
#include <tdetexteditor/editorchooser.h>
#include <tqfile.h>
#include <tqdir.h>
#include <tqtextstream.h>

@ -13,8 +13,8 @@
#include <tqptrlist.h>
#include <tqstring.h>
#include <tqguardedptr.h>
#include <ktexteditor/document.h>
#include <ktexteditor/view.h>
#include <tdetexteditor/document.h>
#include <tdetexteditor/view.h>
class QXsldbgDoc : public TQObject {

@ -1,5 +1,5 @@
if include_qextmdi
KMDI_SUBDIR = kmdi
KMDI_SUBDIR = tdemdi
endif
if include_knewstuff

@ -1,18 +0,0 @@
# Here resides the qextmdi library.
INCLUDES = -I$(top_srcdir)/lib/compatibility/kmdi/qextmdi/res -I$(top_builddir)/lib/compatibility/kmdi/qextmdi $(all_includes)
noinst_LTLIBRARIES = libquantaqextmdi.la
libquantaqextmdi_la_LDFLAGS = $(all_libraries)
libquantaqextmdi_la_LIBADD = $(LIB_KPARTS)
libquantaqextmdi_la_SOURCES = kmdichildarea.cpp kmdichildfrm.cpp kmdichildfrmcaption.cpp \
kmdichildview.cpp kmdimainfrm.cpp kmditaskbar.cpp \
kmultitabbar.cpp \
kmditoolviewaccessor.cpp kmdidocumentviewtabwidget.cpp kmdifocuslist.cpp \
kmdiguiclient.cpp \
ktabwidget.cpp ktabbar.cpp kdockwidget.cpp kdockwidget_private.cpp kmdidockcontainer.cpp
METASOURCES = AUTO
#AM_CXXFLAGS = -DNO_INCLUDE_MOCFILES

@ -5,10 +5,10 @@
INCLUDES = $(all_includes)
noinst_LTLIBRARIES = libquantakmdi.la
libquantakmdi_la_LDFLAGS = $(all_libraries) -no-undefined
libquantakmdi_la_LIBADD = $(top_builddir)/lib/compatibility/kmdi/qextmdi/libquantaqextmdi.la -lktexteditor $(LIB_KPARTS) $(LIB_KIO)
libquantakmdi_la_SOURCES = dummy.cpp
noinst_LTLIBRARIES = libquantatdemdi.la
libquantatdemdi_la_LDFLAGS = $(all_libraries) -no-undefined
libquantatdemdi_la_LIBADD = $(top_builddir)/lib/compatibility/tdemdi/qextmdi/libquantaqextmdi.la -ltdetexteditor $(LIB_KPARTS) $(LIB_KIO)
libquantatdemdi_la_SOURCES = dummy.cpp
SUBDIRS = qextmdi

@ -0,0 +1,18 @@
# Here resides the qextmdi library.
INCLUDES = -I$(top_srcdir)/lib/compatibility/tdemdi/qextmdi/res -I$(top_builddir)/lib/compatibility/tdemdi/qextmdi $(all_includes)
noinst_LTLIBRARIES = libquantaqextmdi.la
libquantaqextmdi_la_LDFLAGS = $(all_libraries)
libquantaqextmdi_la_LIBADD = $(LIB_KPARTS)
libquantaqextmdi_la_SOURCES = tdemdichildarea.cpp tdemdichildfrm.cpp tdemdichildfrmcaption.cpp \
tdemdichildview.cpp tdemdimainfrm.cpp tdemditaskbar.cpp \
tdemultitabbar.cpp \
tdemditoolviewaccessor.cpp tdemdidocumentviewtabwidget.cpp tdemdifocuslist.cpp \
tdemdiguiclient.cpp \
ktabwidget.cpp ktabbar.cpp kdockwidget.cpp kdockwidget_private.cpp tdemdidockcontainer.cpp
METASOURCES = AUTO
#AM_CXXFLAGS = -DNO_INCLUDE_MOCFILES

@ -407,7 +407,7 @@ void KTabWidget::moveTab( int from, int to )
blockSignals(true);
removePage( w );
// Work-around kmdi brain damage which calls showPage() in insertTab()
// Work-around tdemdi brain damage which calls showPage() in insertTab()
TQTab * t = new TQTab();
t->setText(tablabel);
TQTabWidget::insertTab( w, t, to );

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmdichildarea.cpp
// filename : tdemdichildarea.cpp
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//
@ -25,10 +25,10 @@
//
//----------------------------------------------------------------------------
#include "kmdichildarea.h"
#include "kmdichildarea.moc"
#include "tdemdichildarea.h"
#include "tdemdichildarea.moc"
#include "kmdidefines.h"
#include "tdemdidefines.h"
#include <kconfig.h>
#include <kdebug.h>
@ -46,7 +46,7 @@
//============ KMdiChildArea ============//
KMdiChildArea::KMdiChildArea( TQWidget *parent )
: TQFrame( parent, "kmdi_childarea" )
: TQFrame( parent, "tdemdi_childarea" )
{
setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
m_captionFont = TQFont();

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmdichildarea.h
// filename : tdemdichildarea.h
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//
@ -31,8 +31,8 @@
#include <tqframe.h>
#include <tqptrlist.h>
#include "kmdichildfrm.h"
#include "kmdichildview.h"
#include "tdemdichildfrm.h"
#include "tdemdichildview.h"
class KMdiChildAreaPrivate;

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmdichildfrm.cpp
// filename : tdemdichildfrm.cpp
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//
@ -27,13 +27,13 @@
//
//----------------------------------------------------------------------------
#include "kmdichildfrm.h"
#include "kmdichildfrm.moc"
#include "tdemdichildfrm.h"
#include "tdemdichildfrm.moc"
#include "kmdidefines.h"
#include "kmdichildfrmcaption.h"
#include "kmdichildarea.h"
#include "kmdimainfrm.h"
#include "tdemdidefines.h"
#include "tdemdichildfrmcaption.h"
#include "tdemdichildarea.h"
#include "tdemdimainfrm.h"
#include <tqpainter.h>
#include <tqapplication.h>
@ -99,7 +99,7 @@ void KMdiWin32IconButton::mousePressEvent( TQMouseEvent* )
//============ KMdiChildFrm ============//
KMdiChildFrm::KMdiChildFrm( KMdiChildArea *parent )
: TQFrame( parent, "kmdi_childfrm" )
: TQFrame( parent, "tdemdi_childfrm" )
, m_pClient( 0L )
, m_pManager( 0L )
, m_pCaption( 0L )
@ -131,12 +131,12 @@ KMdiChildFrm::KMdiChildFrm( KMdiChildArea *parent )
m_pManager = parent;
m_pWinIcon = new KMdiWin32IconButton( m_pCaption, "kmdi_iconbutton_icon" );
m_pUnixIcon = new TQToolButton( m_pCaption, "kmdi_toolbutton_icon" );
m_pMinimize = new TQToolButton( m_pCaption, "kmdi_toolbutton_min" );
m_pMaximize = new TQToolButton( m_pCaption, "kmdi_toolbutton_max" );
m_pClose = new TQToolButton( m_pCaption, "kmdi_toolbutton_close" );
m_pUndock = new TQToolButton( m_pCaption, "kmdi_toolbutton_undock" );
m_pWinIcon = new KMdiWin32IconButton( m_pCaption, "tdemdi_iconbutton_icon" );
m_pUnixIcon = new TQToolButton( m_pCaption, "tdemdi_toolbutton_icon" );
m_pMinimize = new TQToolButton( m_pCaption, "tdemdi_toolbutton_min" );
m_pMaximize = new TQToolButton( m_pCaption, "tdemdi_toolbutton_max" );
m_pClose = new TQToolButton( m_pCaption, "tdemdi_toolbutton_close" );
m_pUndock = new TQToolButton( m_pCaption, "tdemdi_toolbutton_undock" );
TQObject::connect( m_pMinimize, TQT_SIGNAL( clicked() ), this, TQT_SLOT( minimizePressed() ) );
TQObject::connect( m_pMaximize, TQT_SIGNAL( clicked() ), this, TQT_SLOT( maximizePressed() ) );

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmdichildfrm.h
// filename : tdemdichildfrm.h
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//
@ -37,7 +37,7 @@
#include <tqdict.h>
#include "kmdichildfrmcaption.h"
#include "tdemdichildfrmcaption.h"
class KMdiChildArea;
class KMdiChildView;
@ -62,7 +62,7 @@ signals:
};
//==============================================================================
/* some special events, see kmdidefines.h
/* some special events, see tdemdidefines.h
*/
//------------------------------------------------------------------------------
/**

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmdichildfrmcaption.cpp
// filename : tdemdichildfrmcaption.cpp
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//
@ -25,8 +25,8 @@
//
//----------------------------------------------------------------------------
#include "kmdichildfrmcaption.h"
#include "kmdichildfrmcaption.moc"
#include "tdemdichildfrmcaption.h"
#include "tdemdichildfrmcaption.moc"
#include <tqpainter.h>
#include <tqapplication.h>
@ -34,10 +34,10 @@
#include <tqtoolbutton.h>
#include <tqpopupmenu.h>
#include "kmdidefines.h"
#include "kmdichildfrm.h"
#include "kmdichildarea.h"
#include "kmdimainfrm.h"
#include "tdemdidefines.h"
#include "tdemdichildfrm.h"
#include "tdemdichildarea.h"
#include "tdemdimainfrm.h"
#include <klocale.h>
#include <iostream>
@ -66,7 +66,7 @@
//============== KMdiChildFrmCaption =============//
KMdiChildFrmCaption::KMdiChildFrmCaption( KMdiChildFrm *parent )
: TQWidget( parent, "kmdi_childfrmcaption" )
: TQWidget( parent, "tdemdi_childfrmcaption" )
{
m_szCaption = i18n( "Unnamed" );
m_bActive = false;

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmdichildfrmcaption.h
// filename : tdemdichildfrmcaption.h
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//
@ -29,7 +29,7 @@
#include <tqwidget.h>
#include "kmdidefines.h"
#include "tdemdidefines.h"
class KMdiChildFrm;

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmdichildview.cpp
// filename : tdemdichildview.cpp
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//
@ -29,15 +29,15 @@
//
//----------------------------------------------------------------------------
#include "kmdichildview.h"
#include "kmdichildview.moc"
#include "tdemdichildview.h"
#include "tdemdichildview.moc"
#include <tqdatetime.h>
#include <tqobjectlist.h>
#include "kmdimainfrm.h"
#include "kmdichildfrm.h"
#include "kmdidefines.h"
#include "tdemdimainfrm.h"
#include "tdemdichildfrm.h"
#include "tdemdidefines.h"
#include <kdebug.h>
#include <klocale.h>
#include <tqiconset.h>

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmdichildview.h
// filename : tdemdichildview.h
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//
@ -37,7 +37,7 @@
#include <tqapplication.h>
#include <tqdatetime.h>
#include "kmdichildfrm.h"
#include "tdemdichildfrm.h"
class KMdiChildViewPrivate;

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmdidefines.h
// filename : tdemdidefines.h
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//

@ -17,9 +17,9 @@
Boston, MA 02110-1301, USA.
*/
#include "kmdimainfrm.h"
#include "kmdidockcontainer.h"
#include "kmdidockcontainer.moc"
#include "tdemdimainfrm.h"
#include "tdemdidockcontainer.h"
#include "tdemdidockcontainer.moc"
#include "kdockwidget_private.h"
@ -27,7 +27,7 @@
#include <tqlayout.h>
#include <tqtimer.h>
#include <tqtooltip.h>
#include <kmultitabbar.h>
#include <tdemultitabbar.h>
#include <kglobalsettings.h>
#include <kdebug.h>
@ -37,7 +37,7 @@
#include <klocale.h>
//TODO: Well, this is already defined in tdeui/kdockwidget.cpp
static const char* const kmdi_not_close_xpm[] =
static const char* const tdemdi_not_close_xpm[] =
{
"5 5 2 1",
"# c black",
@ -215,7 +215,7 @@ void KMdiDockContainer::insertWidget ( KDockWidget *dwdg, TQPixmap pixmap, const
TQToolTip::add( btn, i18n( "Switch between overlap and side by side mode", "Overlap" ) );
btn->setToggleButton( true );
btn->setPixmap( const_cast< const char** >( kmdi_not_close_xpm ) );
btn->setPixmap( const_cast< const char** >( tdemdi_not_close_xpm ) );
hdr->addButton( btn );
m_overlapButtons.insert( w, btn );
btn->setOn( !isOverlapMode() );

@ -9,7 +9,7 @@
#include <ktabbar.h>
#include <kpopupmenu.h>
#include "kmdidocumentviewtabwidget.h"
#include "tdemdidocumentviewtabwidget.h"
KMdiDocumentViewTabWidget::KMdiDocumentViewTabWidget( TQWidget* parent, const char* name ) : KTabWidget( parent, name )
{
@ -145,7 +145,7 @@ KMdi::TabWidgetVisibility KMdiDocumentViewTabWidget::tabWidgetVisibility( )
#ifndef NO_INCLUDE_MOCFILES
#include "kmdidocumentviewtabwidget.moc"
#include "tdemdidocumentviewtabwidget.moc"
#endif
// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;

@ -11,7 +11,7 @@
#define _KMDI_DOCUMENT_VIEW_TAB_WIDGET_H_
#include <ktabwidget.h>
#include <kmdidefines.h>
#include <tdemdidefines.h>
class KPopupMenu;

@ -16,8 +16,8 @@
Boston, MA 02110-1301, USA.
*/
#include "kmdifocuslist.h"
#include "kmdifocuslist.moc"
#include "tdemdifocuslist.h"
#include "tdemdifocuslist.moc"
#include <tqobjectlist.h>
#include <kdebug.h>

@ -17,8 +17,8 @@
Boston, MA 02110-1301, USA.
*/
#include "kmdiguiclient.h"
#include "kmdiguiclient.moc"
#include "tdemdiguiclient.h"
#include "tdemdiguiclient.moc"
#include <tqpopupmenu.h>
#include <kapplication.h>
@ -32,12 +32,12 @@
#include <kdebug.h>
#include <kdockwidget.h>
#include <tdeversion.h>
#include "kmdimainfrm.h"
#include "kmditoolviewaccessor.h"
#include "kmditoolviewaccessor_p.h"
#include "tdemdimainfrm.h"
#include "tdemditoolviewaccessor.h"
#include "tdemditoolviewaccessor_p.h"
namespace
{
const char *actionListName = "show_kmdi_document_tool_view_actions";
const char *actionListName = "show_tdemdi_document_tool_view_actions";
const char *guiDescription = ""
"<!DOCTYPE kpartgui><kpartgui name=\"KMDIViewActions\">"
@ -48,7 +48,7 @@ const char *guiDescription = ""
"</MenuBar>"
"</kpartgui>";
const char *resourceFileName = "kmdiviewactions.rc";
const char *resourceFileName = "tdemdiviewactions.rc";
}
@ -136,7 +136,7 @@ KMDIGUIClient::KMDIGUIClient( KMdiMainFrm* mdiMainFrm, bool showMDIModeAction, c
if ( actionCollection() ->kaccel() == 0 )
actionCollection() ->setWidget( mdiMainFrm );
m_toolMenu = new KActionMenu( i18n( "Tool &Views" ), actionCollection(), "kmdi_toolview_menu" );
m_toolMenu = new KActionMenu( i18n( "Tool &Views" ), actionCollection(), "tdemdi_toolview_menu" );
if ( showMDIModeAction )
{
m_mdiModeAction = new KSelectAction( i18n( "MDI Mode" ), 0, actionCollection() );
@ -151,20 +151,20 @@ KMDIGUIClient::KMDIGUIClient( KMdiMainFrm* mdiMainFrm, bool showMDIModeAction, c
connect( m_mdiMainFrm, TQT_SIGNAL( mdiModeHasBeenChangedTo( KMdi::MdiMode ) ),
this, TQT_SLOT( mdiModeHasBeenChangedTo( KMdi::MdiMode ) ) );
m_gotoToolDockMenu = new KActionMenu( i18n( "Tool &Docks" ), actionCollection(), "kmdi_tooldock_menu" );
m_gotoToolDockMenu = new KActionMenu( i18n( "Tool &Docks" ), actionCollection(), "tdemdi_tooldock_menu" );
m_gotoToolDockMenu->insert( new KAction( i18n( "Switch Top Dock" ), ALT + CTRL + SHIFT + Key_T, TQT_TQOBJECT(this), TQT_SIGNAL( toggleTop() ),
actionCollection(), "kmdi_activate_top" ) );
actionCollection(), "tdemdi_activate_top" ) );
m_gotoToolDockMenu->insert( new KAction( i18n( "Switch Left Dock" ), ALT + CTRL + SHIFT + Key_L, TQT_TQOBJECT(this), TQT_SIGNAL( toggleLeft() ),
actionCollection(), "kmdi_activate_left" ) );
actionCollection(), "tdemdi_activate_left" ) );
m_gotoToolDockMenu->insert( new KAction( i18n( "Switch Right Dock" ), ALT + CTRL + SHIFT + Key_R, TQT_TQOBJECT(this), TQT_SIGNAL( toggleRight() ),
actionCollection(), "kmdi_activate_right" ) );
actionCollection(), "tdemdi_activate_right" ) );
m_gotoToolDockMenu->insert( new KAction( i18n( "Switch Bottom Dock" ), ALT + CTRL + SHIFT + Key_B, TQT_TQOBJECT(this), TQT_SIGNAL( toggleBottom() ),
actionCollection(), "kmdi_activate_bottom" ) );
m_gotoToolDockMenu->insert( new KActionSeparator( actionCollection(), "kmdi_goto_menu_separator" ) );
actionCollection(), "tdemdi_activate_bottom" ) );
m_gotoToolDockMenu->insert( new KActionSeparator( actionCollection(), "tdemdi_goto_menu_separator" ) );
m_gotoToolDockMenu->insert( new KAction( i18n( "Previous Tool View" ), ALT + CTRL + Key_Left, TQT_TQOBJECT(m_mdiMainFrm), TQT_SLOT( prevToolViewInDock() ),
actionCollection(), "kmdi_prev_toolview" ) );
actionCollection(), "tdemdi_prev_toolview" ) );
m_gotoToolDockMenu->insert( new KAction( i18n( "Next Tool View" ), ALT + CTRL + Key_Right, TQT_TQOBJECT(m_mdiMainFrm), TQT_SLOT( nextToolViewInDock() ),
actionCollection(), "kmdi_next_toolview" ) );
actionCollection(), "tdemdi_next_toolview" ) );
actionCollection() ->readShortcutSettings( "Shortcuts", kapp->config() );
}
@ -247,7 +247,7 @@ void KMDIGUIClient::addToolView( KMdiToolViewAccessor* mtva )
{
kdDebug( 760 ) << "*****void KMDIGUIClient::addToolView(KMdiToolViewAccessor* mtva)*****" << endl;
// kdDebug()<<"name: "<<mtva->wrappedWidget()->name()<<endl;
TQString aname = TQString( "kmdi_toolview_" ) + mtva->wrappedWidget() ->name();
TQString aname = TQString( "tdemdi_toolview_" ) + mtva->wrappedWidget() ->name();
// try to read the action shortcut
KShortcut sc;

@ -23,7 +23,7 @@
#include <tqguardedptr.h>
#include <kxmlguiclient.h>
#include <kaction.h>
#include "kmdidefines.h"
#include "tdemdidefines.h"
class KMainWindow;
class KToolBar;

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmdiiterator.h
// filename : tdemdiiterator.h
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmdilistiterator.h
// filename : tdemdilistiterator.h
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//
@ -27,7 +27,7 @@
#ifndef _KMDILISTITERATOR_H_
#define _KMDILISTITERATOR_H_
#include <kmdiiterator.h>
#include <tdemdiiterator.h>
template <class I>
class TQPtrList;

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmdimainfrm.cpp
// filename : tdemdimainfrm.cpp
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//
@ -51,7 +51,7 @@
#include <klocale.h>
#include <kiconloader.h>
#include <kmdidockcontainer.h>
#include <tdemdidockcontainer.h>
#include <tqtoolbutton.h>
@ -63,16 +63,16 @@
#include <tqmap.h>
#include <tqvaluelist.h>
#include "kmdimainfrm.h"
#include "kmditaskbar.h"
#include "kmdichildfrm.h"
#include "kmdichildarea.h"
#include "kmdichildview.h"
#include "kmdidockcontainer.h"
#include "kmditoolviewaccessor_p.h"
#include "kmdifocuslist.h"
#include "kmdidocumentviewtabwidget.h"
#include "kmdiguiclient.h"
#include "tdemdimainfrm.h"
#include "tdemditaskbar.h"
#include "tdemdichildfrm.h"
#include "tdemdichildarea.h"
#include "tdemdichildview.h"
#include "tdemdidockcontainer.h"
#include "tdemditoolviewaccessor_p.h"
#include "tdemdifocuslist.h"
#include "tdemdidocumentviewtabwidget.h"
#include "tdemdiguiclient.h"
#include "win_undockbutton.xpm"
#include "win_minbutton.xpm"
@ -1422,22 +1422,22 @@ void KMdiMainFrm::switchToToplevelMode()
//FIXME although i don't know what to fix
// 5. show the child views again
TQPtrListIterator<KMdiChildView> kmdicvit( *m_pDocumentViews );
for ( kmdicvit.toFirst(); ( *kmdicvit ); ++kmdicvit )
TQPtrListIterator<KMdiChildView> tdemdicvit( *m_pDocumentViews );
for ( tdemdicvit.toFirst(); ( *tdemdicvit ); ++tdemdicvit )
{
#ifdef TQ_WS_X11
XSetTransientForHint( tqt_xdisplay(), ( *kmdicvit )->winId(), winId() );
XSetTransientForHint( tqt_xdisplay(), ( *tdemdicvit )->winId(), winId() );
#endif
( *kmdicvit )->show();
( *tdemdicvit )->show();
}
// 6.) reset all memorized positions of the undocked ones and show them again
TQValueList<TQRect>::Iterator qvlqrit;
TQValueList<TQRect>::Iterator qvlEnd = positionList.end();
for ( kmdicvit.toFirst(), qvlqrit = positionList.begin() ; ( *kmdicvit ) && qvlqrit != qvlEnd; ++kmdicvit, ++qvlqrit )
for ( tdemdicvit.toFirst(), qvlqrit = positionList.begin() ; ( *tdemdicvit ) && qvlqrit != qvlEnd; ++tdemdicvit, ++qvlqrit )
{
( *kmdicvit )->setGeometry( ( *qvlqrit ) );
( *kmdicvit )->show();
( *tdemdicvit )->setGeometry( ( *qvlqrit ) );
( *tdemdicvit )->show();
}
m_pDockbaseAreaOfDocumentViews->setDockSite( KDockWidget::DockNone );
@ -2935,7 +2935,7 @@ KTabWidget * KMdiMainFrm::tabWidget() const
return m_documentTabWidget;
}
#include "kmdimainfrm.moc"
#include "tdemdimainfrm.moc"
// vim: ts=2 sw=2 et
// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmdimainfrm.h
// filename : tdemdimainfrm.h
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//
@ -31,7 +31,7 @@
#ifndef _KMDIMAINFRM_H_
#define _KMDIMAINFRM_H_
#include <kparts/dockmainwindow.h>
#include <tdeparts/dockmainwindow.h>
#include <kmenubar.h>
#include <kpopupmenu.h>
@ -41,13 +41,13 @@
#include <tqdom.h>
#include <tqguardedptr.h>
#include "kmditaskbar.h"
#include "kmdichildarea.h"
#include "kmdichildview.h"
#include "kmdiiterator.h"
#include "kmdilistiterator.h"
#include "kmdinulliterator.h"
#include "kmditoolviewaccessor.h"
#include "tdemditaskbar.h"
#include "tdemdichildarea.h"
#include "tdemdichildview.h"
#include "tdemdiiterator.h"
#include "tdemdilistiterator.h"
#include "tdemdinulliterator.h"
#include "tdemditoolviewaccessor.h"
class TQTimer;
class TQPopupMenu;

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmdinulliterator.h
// filename : tdemdinulliterator.h
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//
@ -27,7 +27,7 @@
#ifndef _KMDINULLITERATOR_H_
#define _KMDINULLITERATOR_H_
#include "kmdiiterator.h"
#include "tdemdiiterator.h"
template <class Item>
class KMdiNullIterator : public KMdiIterator<Item> {

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmditaskbar.cpp
// filename : tdemditaskbar.cpp
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//
@ -26,12 +26,12 @@
//
//----------------------------------------------------------------------------
#include "kmditaskbar.h"
#include "kmditaskbar.moc"
#include "tdemditaskbar.h"
#include "tdemditaskbar.moc"
#include "kmdimainfrm.h"
#include "kmdichildview.h"
#include "kmdidefines.h"
#include "tdemdimainfrm.h"
#include "tdemdichildview.h"
#include "tdemdidefines.h"
#include <tqtooltip.h>
#include <tqlabel.h>

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmditaskbar.h
// filename : tdemditaskbar.h
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//
@ -34,7 +34,7 @@
#include <tqlabel.h>
#include <tqpushbutton.h>
#include "kmdidefines.h"
#include "tdemdidefines.h"
class KMdiMainFrm;
class KMdiChildView;

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmditoolviewaccessor.h
// filename : tdemditoolviewaccessor.h
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//
@ -22,12 +22,12 @@
#ifndef NO_KDE
# include <kdebug.h>
#endif
#include "kmditoolviewaccessor_p.h"
#include "kmdiguiclient.h"
#include "kmdimainfrm.h"
#include "tdemditoolviewaccessor_p.h"
#include "tdemdiguiclient.h"
#include "tdemdimainfrm.h"
#include "kmditoolviewaccessor.h"
#include "kmditoolviewaccessor_p.h"
#include "tdemditoolviewaccessor.h"
#include "tdemditoolviewaccessor_p.h"
KMdiToolViewAccessor::KMdiToolViewAccessor( KMdiMainFrm *parent, TQWidget *widgetToWrap, const TQString& tabToolTip, const TQString& tabCaption )
: TQObject( parent )
@ -263,7 +263,7 @@ void KMdiToolViewAccessor::show()
#ifndef NO_INCLUDE_MOCFILES
#include "kmditoolviewaccessor.moc"
#include "tdemditoolviewaccessor.moc"
#endif
// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmditoolviewaccessor.h
// filename : tdemditoolviewaccessor.h
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//

@ -1,5 +1,5 @@
//----------------------------------------------------------------------------
// filename : kmditoolviewaccessor_p.h
// filename : tdemditoolviewaccessor_p.h
//----------------------------------------------------------------------------
// Project : KDE MDI extension
//

@ -1,5 +1,5 @@
/***************************************************************************
kmultitabbar.cpp - description
tdemultitabbar.cpp - description
-------------------
begin : 2001
copyright : (C) 2001,2002,2003 by Joseph Wenninger <jowenn@kde.org>
@ -22,10 +22,10 @@
Boston, MA 02110-1301, USA.
***************************************************************************/
#include "kmultitabbar.h"
#include "kmultitabbar.moc"
#include "kmultitabbar_p.h"
#include "kmultitabbar_p.moc"
#include "tdemultitabbar.h"
#include "tdemultitabbar.moc"
#include "tdemultitabbar_p.h"
#include "tdemultitabbar_p.moc"
#include <tqbutton.h>
#include <tqpopupmenu.h>
#include <tqlayout.h>

@ -1,5 +1,5 @@
/***************************************************************************
kmultitabbar.h - description
tdemultitabbar.h - description
-------------------
begin : 2001
copyright : (C) 2001,2002,2003 by Joseph Wenninger <jowenn@kde.org>

@ -1,5 +1,5 @@
/***************************************************************************
kmultitabbar_p.h - description
tdemultitabbar_p.h - description
-------------------
begin : 2003
copyright : (C) 2003 by Joseph Wenninger <jowenn@kde.org>
@ -25,7 +25,7 @@
#ifndef K_MULTI_TAB_BAR_P_H
#define K_MULTI_TAB_BAR_P_H
#include <tqscrollview.h>
#include <kmultitabbar.h>
#include <tdemultitabbar.h>
class KMultiTabBarInternal: public TQScrollView
{

@ -1133,7 +1133,7 @@ Version 3.0 pr1 (Release date: 27-07-2002; Started at: 23-05-2002):
- improved PHP syntax highlighting file (will be also included in KDE 3.1 release)
Version 2.0.1 (Release date: 12-12-2001; Started at: 06-12-2001):
- fix for libktexteditor linking errors
- fix for libtdetexteditor linking errors
- fix for a crash when doing syntax check for a correct html
- fixed the saving and restoring of the project options
- added the DocPath entry to the .desktop file

@ -26,13 +26,13 @@
#include <kapplication.h>
#include <klocale.h>
#include <khtml_part.h>
#include <khtmlview.h>
#include <tdehtml_part.h>
#include <tdehtmlview.h>
#include <kstandarddirs.h>
#include <klineedit.h>
#include <kdebug.h>
#include <kconfig.h>
#include <kparts/browserextension.h>
#include <tdeparts/browserextension.h>
#include "propertysetter.h"
#include "qmyhighlighter.h"

@ -25,8 +25,8 @@
#include <klocale.h>
#include <kpushbutton.h>
#include <kurl.h>
#include <ktexteditor/editinterface.h>
#include <ktexteditor/viewcursorinterface.h>
#include <tdetexteditor/editinterface.h>
#include <tdetexteditor/viewcursorinterface.h>
//app includes
#include "parser.h"

@ -4,7 +4,7 @@ kde_module_LTLIBRARIES = quantadebuggerdbgp.la
quantadebuggerdbgp_la_SOURCES = quantadebuggerdbgp.cpp dbgpsettingss.ui \
dbgpsettings.cpp dbgpnetwork.cpp qbytearrayfifo.cpp
quantadebuggerdbgp_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -lkparts -lDCOP -lktexteditor
quantadebuggerdbgp_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -ltdeparts -lDCOP -ltdetexteditor
quantadebuggerdbgp_la_LIBADD = ../interfaces/libdebuggerinterface.la $(LIB_KPARTS)
kde_services_DATA = quantadebuggerdbgp.desktop

@ -16,7 +16,7 @@
***************************************************************************/
#include <tqobject.h>
#include <ktexteditor/markinterfaceextension.h>
#include <tdetexteditor/markinterfaceextension.h>
#include <kdebug.h>
#include "debuggerbreakpointlist.h"

@ -15,13 +15,13 @@
* *
***************************************************************************/
#include <ktexteditor/document.h>
#include <ktexteditor/markinterfaceextension.h>
#include <ktexteditor/viewcursorinterface.h>
#include <tdetexteditor/document.h>
#include <tdetexteditor/markinterfaceextension.h>
#include <tdetexteditor/viewcursorinterface.h>
#include <kdebug.h>
#include <klocale.h>
#include <kcombobox.h>
#include <kparts/componentfactory.h>
#include <tdeparts/componentfactory.h>
#include <kiconloader.h>
#include <kmessagebox.h>
#include <qextfileinfo.h>

@ -22,8 +22,8 @@
#include <klocale.h>
#include <kdebug.h>
#include <tqstring.h>
#include <khtmlview.h>
#include <kmditoolviewaccessor.h>
#include <tdehtmlview.h>
#include <tdemditoolviewaccessor.h>
#include <kstatusbar.h>
#include "variableslistview.h"

@ -21,7 +21,7 @@
#include <tqobject.h>
#include <tqptrlist.h>
#include <kmditoolviewaccessor.h>
#include <tdemditoolviewaccessor.h>
#include "backtracelistview.h"
class VariablesListView;

@ -3,7 +3,7 @@ METASOURCES = AUTO
kde_module_LTLIBRARIES = quantadebuggergubed.la
quantadebuggergubed_la_SOURCES = gubedsettingss.ui quantadebuggergubed.cpp gubedsettings.cpp
quantadebuggergubed_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -lkparts -lDCOP -lktexteditor
quantadebuggergubed_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -ltdeparts -lDCOP -ltdetexteditor
quantadebuggergubed_la_LIBADD = ../interfaces/libdebuggerinterface.la $(LIB_KPARTS)
kde_services_DATA = quantadebuggergubed.desktop

@ -15,7 +15,7 @@
* *
***************************************************************************/
#include <ktexteditor/document.h>
#include <tdetexteditor/document.h>
#include <kdebug.h>
#include <klocale.h>
#include <kiconloader.h>

@ -19,8 +19,8 @@
#define SELECTABLEAREA_H
//#include <tqwidget.h>
#include <khtml_part.h>
#include <khtmlview.h>
#include <tdehtml_part.h>
#include <tdehtmlview.h>
/**a TQTextBrowser that can be selected
*@author gulmini luciano

@ -18,11 +18,11 @@
#include <kiconloader.h>
#include <klocale.h>
#include <kmessagebox.h>
#include <kparts/componentfactory.h>
#include <tdeparts/componentfactory.h>
#include <kpopupmenu.h>
#include <kpushbutton.h>
#include <ktexteditor/document.h>
#include <ktexteditor/editinterface.h>
#include <tdetexteditor/document.h>
#include <tdetexteditor/editinterface.h>
//qt includes
#include <tqcheckbox.h>

@ -1,6 +1,6 @@
[Desktop Entry]
Type=Service
Exec=kcmshell --caption %c %i khtml_behavior khtml_java_js khtml_fonts cookies cache proxy kcmcss crypto useragent khtml_plugins
Exec=kcmshell --caption %c %i tdehtml_behavior tdehtml_java_js tdehtml_fonts cookies cache proxy kcmcss crypto useragent tdehtml_plugins
Icon=konqueror
DocPath=konqueror/index.html
Name=Configure KHTML Browser Part

@ -110,7 +110,7 @@
<item>button</item>
</items>
<location col="1" row="0" colspan="1" />
<tooltip>What - no kparts?</tooltip>
<tooltip>What - no tdeparts?</tooltip>
</attr>
<attr name="disabled" type="check">

@ -291,7 +291,7 @@
<item>button</item>
</items>
<location col="1" row="0" colspan="1" />
<tooltip>What - no kparts?</tooltip>
<tooltip>What - no tdeparts?</tooltip>
</attr>
<attr name="disabled" type="check">

@ -23,7 +23,7 @@
// include kde headers
#include <klocale.h>
#include <kstandarddirs.h>
#include <ktexteditor/viewcursorinterface.h>
#include <tdetexteditor/viewcursorinterface.h>
#include <kconfig.h>
#include <kurl.h>
#include <kstdguiitem.h>

@ -59,10 +59,10 @@
#include <kdirwatch.h>
#include <kiconloader.h>
#include <klocale.h>
#include <ktexteditor/document.h>
#include <ktexteditor/editinterface.h>
#include <ktexteditor/encodinginterface.h>
#include <ktexteditor/viewcursorinterface.h>
#include <tdetexteditor/document.h>
#include <tdetexteditor/editinterface.h>
#include <tdetexteditor/encodinginterface.h>
#include <tdetexteditor/viewcursorinterface.h>
extern GroupElementMapList globalGroupMap;
static const TQChar space(' ');

@ -20,7 +20,7 @@
//kde includes
#include <kdebug.h>
#include <klocale.h>
#include <ktexteditor/editinterface.h>
#include <tdetexteditor/editinterface.h>
//own includes
#include "parsercommon.h"

@ -19,7 +19,7 @@
//kde includes
#include <kdebug.h>
#include <ktexteditor/editinterface.h>
#include <tdetexteditor/editinterface.h>
//own includes
#include "saparser.h"

@ -14,8 +14,8 @@ Summary:
If you find an error (shouldn't be so hard ;-), could you report me please?
1) History
In early 2003, I was looking for a good HTML WYSIWYG editor, and I didn't find what I wanted! So I decided to code one. After a quick search, I've found a dead project, Kafka, in kdenonbeta, which was supposed to become an full-featured WYSIWYG editor based on khtml. But at this time (2000-2001 I think) khtml wasn't ready. So it was abandonned.
Meanwhile khtml have been greatly improved, partially thanks to the Apple Safari merging. Then I started to hack kafka a bit, adding basic cursor navigation, insertion/deletion, and so on... But I quickly realised that it would be too hard and too long for me alone to come to a decent editor. So I was looking to join an existing project, and I choose Quanta+, basically because it was (and still is, in my humble opinion) the best HTML editor in the KDE environment.
In early 2003, I was looking for a good HTML WYSIWYG editor, and I didn't find what I wanted! So I decided to code one. After a quick search, I've found a dead project, Kafka, in kdenonbeta, which was supposed to become an full-featured WYSIWYG editor based on tdehtml. But at this time (2000-2001 I think) tdehtml wasn't ready. So it was abandonned.
Meanwhile tdehtml have been greatly improved, partially thanks to the Apple Safari merging. Then I started to hack kafka a bit, adding basic cursor navigation, insertion/deletion, and so on... But I quickly realised that it would be too hard and too long for me alone to come to a decent editor. So I was looking to join an existing project, and I choose Quanta+, basically because it was (and still is, in my humble opinion) the best HTML editor in the KDE environment.
It seemed I came to Quanta+ exactly at the best time: they were considering to add WYSIWYG capabilities! So for now one year, I've been coded VPL during my free time, and I am not far from a stable status.
@ -57,7 +57,7 @@ HTML
The Node class handle the pointers to the parent, next, previous and first child Node. *Each* Node has a valid pointer to a Tag. The Tag takes care to remember all the information concerning the Tag itself, like the attributes, the type, etc...)
One QTag per Element is created from the .tag files when Quanta is started. Each QTag contains all the DTD information about the Tag. E.g. the "IMG" Qtag says that it is a single Tag, and what are its attributes. You can get a QTag with QuantaCommon::tagFromDTD, but don't delete the QTag!
Now to khtml. The class KHTMLPart is the HTML renderer widget of konqueror. It internally works with a Node Tree (another? Yep!) but these Nodes are real DOM::Nodes. (From now, I will call it the DOM::Node tree) Each of the DOM Nodes is khtml-internally linked to a rendering Node i.e. a change made to one DOM::Node will update the HTML rendering cf /path/to/kde/include/dom/*.h and also in the tdelibs cvs module, cf the nice tdelibs/khtml/DESIGN.html. WARNING about DOM::Nodes, they are just interfaces!!
Now to tdehtml. The class KHTMLPart is the HTML renderer widget of konqueror. It internally works with a Node Tree (another? Yep!) but these Nodes are real DOM::Nodes. (From now, I will call it the DOM::Node tree) Each of the DOM Nodes is tdehtml-internally linked to a rendering Node i.e. a change made to one DOM::Node will update the HTML rendering cf /path/to/kde/include/dom/*.h and also in the tdelibs cvs module, cf the nice tdelibs/tdehtml/DESIGN.html. WARNING about DOM::Nodes, they are just interfaces!!
@ -73,7 +73,7 @@ Then when a change is made to the source file, Parser::rebuild is called and syn
5) VPL classes.
VPL has several classes, but note sometimes it is not really object oriented, but I will clean up soon.
* KafkaWidget(kafkahtmlpart.[h|cpp]): Derived from KHTMLPart, it uses the caret mode implemented by Leo Savernik in khtml (that means we don't have to care about cursor navigation). It handles every keypress in order to edit the widget (backspace/delete/return/<insertion of a letter>) and modify only the DOM::Node tree (not the Node tree).
* KafkaWidget(kafkahtmlpart.[h|cpp]): Derived from KHTMLPart, it uses the caret mode implemented by Leo Savernik in tdehtml (that means we don't have to care about cursor navigation). It handles every keypress in order to edit the widget (backspace/delete/return/<insertion of a letter>) and modify only the DOM::Node tree (not the Node tree).
* KafkaDocument(wkafkapart.[h|cpp]): It takes care to load the DOM::Node tree from the Node tree, and when a change is made to the DOM::Node tree, it apply it in the Node tree. It basically takes care of the synchronization of the trees.

@ -19,7 +19,7 @@
#ifdef HEAVY_DEBUG
#include <kdebug.h>
#include <khtml_part.h>
#include <tdehtml_part.h>
#include <klocale.h>
#include <tqstring.h>
#include <tqlayout.h>

@ -28,18 +28,18 @@
#include <kdebug.h>
#include <klocale.h>
#include <khtmlview.h>
#include <tdehtmlview.h>
#include <kmessagebox.h>
#include <ktrader.h>
#include <klibloader.h>
#include <kparts/factory.h>
#include <tdeparts/factory.h>
#include <dom/dom_node.h>
#include <dom/dom_text.h>
#include <dom/dom_exception.h>
#include <dom/dom_string.h>
#include <dom/dom2_range.h>
#include <khtml_events.h>
//#include <khtml_part.h>
#include <tdehtml_events.h>
//#include <tdehtml_part.h>
#include "kafkacommon.h"
#ifdef HEAVY_DEBUG
@ -117,7 +117,7 @@ KafkaWidget::KafkaWidget(TQWidget *parent, TQWidget *widgetParent, KafkaDocument
//d->domdialog = new KafkaDOMTreeDialog(view(), this);
//d->domdialog->show();
#endif
//IMPORTANT:without him, no document() is created in khtmlPart
//IMPORTANT:without him, no document() is created in tdehtmlPart
begin();
write("<html></html>");
end();
@ -2030,7 +2030,7 @@ void KafkaWidget::postprocessCursorPosition()
makeCursorVisible();
}
void KafkaWidget::khtmlMouseMoveEvent(khtml::MouseMoveEvent *event)
void KafkaWidget::tdehtmlMouseMoveEvent(tdehtml::MouseMoveEvent *event)
{
DOM::Node mouseNode = event->innerNode();
@ -2043,12 +2043,12 @@ void KafkaWidget::khtmlMouseMoveEvent(khtml::MouseMoveEvent *event)
else
view()->setCursor(TQt::arrowCursor);
KHTMLPart::khtmlMouseMoveEvent(event);
KHTMLPart::tdehtmlMouseMoveEvent(event);
}
void KafkaWidget::khtmlMouseReleaseEvent(khtml::MouseReleaseEvent *event)
void KafkaWidget::tdehtmlMouseReleaseEvent(tdehtml::MouseReleaseEvent *event)
{
KHTMLPart::khtmlMouseReleaseEvent(event);
KHTMLPart::tdehtmlMouseReleaseEvent(event);
if(m_currentNode.isNull() || m_currentNode.nodeName().string().lower() == "#document")
{
m_currentNode = w->body;
@ -2059,9 +2059,9 @@ void KafkaWidget::khtmlMouseReleaseEvent(khtml::MouseReleaseEvent *event)
quantaApp->aTab->setCurrentNode(w->getNode(event->innerNode()));
}
void KafkaWidget::khtmlMousePressEvent(khtml::MousePressEvent *event)
void KafkaWidget::tdehtmlMousePressEvent(tdehtml::MousePressEvent *event)
{
KHTMLPart::khtmlMousePressEvent(event);
KHTMLPart::tdehtmlMousePressEvent(event);
if(d->m_cursorOffset == 0 && !m_currentNode.isNull() &&
m_currentNode.nodeName().string().lower() == "body")
putCursorAtFirstAvailableLocation();
@ -2071,9 +2071,9 @@ void KafkaWidget::khtmlMousePressEvent(khtml::MousePressEvent *event)
}
void KafkaWidget::khtmlDrawContentsEvent(khtml::DrawContentsEvent *event)
void KafkaWidget::tdehtmlDrawContentsEvent(tdehtml::DrawContentsEvent *event)
{
KHTMLPart::khtmlDrawContentsEvent(event);
KHTMLPart::tdehtmlDrawContentsEvent(event);
}
void KafkaWidget::getCurrentNode(DOM::Node &_currentNode, long &offset)

@ -20,9 +20,9 @@
#define KAFKAHTMLPART_H
#include <kurl.h>
#include <khtml_part.h>
#include <khtml_events.h>
#include <kparts/event.h>
#include <tdehtml_part.h>
#include <tdehtml_events.h>
#include <tdeparts/event.h>
#include <tqstringlist.h>
#include <tqptrlist.h>
@ -235,10 +235,10 @@ signals:
protected:
bool eventFilter(TQObject *object, TQEvent *event);
virtual void khtmlMouseMoveEvent(khtml::MouseMoveEvent *event);
virtual void khtmlMousePressEvent(khtml::MousePressEvent *event);
virtual void khtmlMouseReleaseEvent(khtml::MouseReleaseEvent *event);
virtual void khtmlDrawContentsEvent(khtml::DrawContentsEvent *event);
virtual void tdehtmlMouseMoveEvent(tdehtml::MouseMoveEvent *event);
virtual void tdehtmlMousePressEvent(tdehtml::MousePressEvent *event);
virtual void tdehtmlMouseReleaseEvent(tdehtml::MouseReleaseEvent *event);
virtual void tdehtmlDrawContentsEvent(tdehtml::DrawContentsEvent *event);
private slots:

@ -24,10 +24,10 @@
#include <kconfig.h>
#include <kdebug.h>
#include <kiconloader.h>
#include <ktexteditor/editinterface.h>
#include <ktexteditor/editinterfaceext.h>
#include <ktexteditor/selectioninterface.h>
#include <ktexteditor/viewcursorinterface.h>
#include <tdetexteditor/editinterface.h>
#include <tdetexteditor/editinterfaceext.h>
#include <tdetexteditor/selectioninterface.h>
#include <tdetexteditor/viewcursorinterface.h>
#include <dom/dom_node.h>
#include <dom/dom_exception.h>

@ -22,13 +22,13 @@
#include <dom/dom_string.h>
#include <dom/css_stylesheet.h>
#include <kdebug.h>
#include <khtmlview.h>
#include <tdehtmlview.h>
#include <kstandarddirs.h>
#include <ktexteditor/editinterface.h>
#include <ktexteditor/selectioninterface.h>
#include <tdetexteditor/editinterface.h>
#include <tdetexteditor/selectioninterface.h>
#include <kstandarddirs.h>
#include <klocale.h>
#include <kmultipledrag.h>
#include <tdemultipledrag.h>
#include <kglobal.h>
#include <kcharsets.h>
@ -162,7 +162,7 @@ void KafkaDocument::loadDocument(Document *doc)
//create a empty document with a basic tree : HTML, HEAD, BODY
m_kafkaPart->newDocument();
// When loading a weird html file in khtml (e.g. without BODY or HTML), khtml takes care
// When loading a weird html file in tdehtml (e.g. without BODY or HTML), tdehtml takes care
// to create the necessary tags. But as we are handling directly the Nodes, we have to handle this!!
// creating and linking an empty node to the root DOM::Node (#document) and
// to HEAD, HTML, BODY
@ -718,7 +718,7 @@ bool KafkaDocument::buildKafkaNodeFromNode(Node *node, bool insertNode)
parentNode = *node->parent->leafNode();
else if(node->parent && !node->parent->leafNode())
{
//the parent tag was invalid and khtml refuse to insert it
//the parent tag was invalid and tdehtml refuse to insert it
//so impossible to inser the current node
disconnectDomNodeFromQuantaNode(newNode);
if(node->rootNode())

@ -374,7 +374,7 @@ public:
void coutLinkTree(Node *node, int indent);
/**
* In order to have khtml works whatever DTD is loaded, they must always exists
* In order to have tdehtml works whatever DTD is loaded, they must always exists
* and be valid.
*/
DOM::Node html, body, head;

@ -23,8 +23,8 @@
#include <kconfig.h>
#include <kdebug.h>
#include <tdeversion.h>
#include <khtml_settings.h>
#include <khtmlview.h>
#include <tdehtml_settings.h>
#include <tdehtmlview.h>
#include <klocale.h>
#include <kpopupmenu.h>
#include <ktempfile.h>

@ -20,7 +20,7 @@
#include <tqstrlist.h>
#include <khtml_part.h>
#include <tdehtml_part.h>
class KPopupMenu;
/**

@ -20,8 +20,8 @@
#include <klocale.h>
#include <kiconloader.h>
#include <kaction.h>
#include <kparts/componentfactory.h>
#include <kparts/part.h>
#include <tdeparts/componentfactory.h>
#include <tdeparts/part.h>
#include <klocale.h>
#include <kdockwidget.h>
#include <kdebug.h>

@ -19,7 +19,7 @@
#define QUANTAPLUGIN_H
/* KDE INCLUDES */
#include <kparts/part.h>
#include <tdeparts/part.h>
/* QT INCLUDES */
#include <tqguardedptr.h>

@ -36,14 +36,14 @@
#include <klocale.h>
#include <kmainwindow.h>
#include <kmessagebox.h>
#include <kparts/componentfactory.h>
#include <tdeparts/componentfactory.h>
#include <kprogress.h>
#include <kstringhandler.h>
#include <kurlrequester.h>
#include <kurlrequesterdlg.h>
#include <ktexteditor/markinterface.h>
#include <ktexteditor/viewcursorinterface.h>
#include <tdetexteditor/markinterface.h>
#include <tdetexteditor/viewcursorinterface.h>
// application headers
#include "copyto.h"

@ -39,7 +39,7 @@
#include <klocale.h>
#include <kmainwindow.h>
#include <kmessagebox.h>
#include <kparts/componentfactory.h>
#include <tdeparts/componentfactory.h>
#include <kprogress.h>
#include <kstandarddirs.h>
#include <ktempfile.h>

@ -884,7 +884,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<UML:Parameter stereotype="" package="" xmi.id="783" value="" type="TDEConfig *" abstract="0" documentation="" name="config" static="0" scope="200" />
</UML:Operation>
<UML:Operation stereotype="" package="" xmi.id="784" type="" abstract="0" documentation="" name="~SpellChecker" static="0" scope="200" />
<UML:Attribute stereotype="" package="" xmi.id="768" value="" type="KSpell *" abstract="0" documentation="" name="m_kspell" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="768" value="" type="KSpell *" abstract="0" documentation="" name="m_tdespell" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="769" value="" type="int" abstract="0" documentation="" name="m_mispellCount" static="0" scope="201" />
<UML:Attribute stereotype="" package="" xmi.id="770" value="" type="int" abstract="0" documentation="" name="m_replaceCount" static="0" scope="201" />
</UML:Class>
@ -3201,7 +3201,7 @@ See the operations in order to get a picture what's here." name="QuantaDoc" stat
<listitem open="0" type="813" id="767" label="SpellChecker" >
<listitem open="0" type="815" id="771" label="SpellChecker" />
<listitem open="0" type="815" id="774" label="locatePosition" />
<listitem open="0" type="814" id="768" label="m_kspell" />
<listitem open="0" type="814" id="768" label="m_tdespell" />
<listitem open="0" type="814" id="769" label="m_mispellCount" />
<listitem open="0" type="814" id="770" label="m_replaceCount" />
<listitem open="0" type="815" id="778" label="readConfig" />

@ -71,8 +71,8 @@ tde_add_executable( quanta AUTOMOC
framewizard-static csseditor-static
tableeditor-static preview-static
utility-static quantamodule-static
kafkalibrary-static kmdi-shared khtml-shared
knewstuff-shared kabc-shared ktexteditor-shared
kafkalibrary-static tdemdi-shared tdehtml-shared
knewstuff-shared kabc-shared tdetexteditor-shared
${LIBXML_LIBRARIES} ${LIBXSLT_LIBRARIES}
DESTINATION ${BIN_INSTALL_DIR}
)

@ -64,7 +64,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/quanta/dialogs \
quanta_METASOURCES = AUTO
# the library search path.
quanta_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor -lX11
quanta_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor -lX11
# this is where the kdelnk file will go
xdg_apps_DATA = quanta.desktop

@ -48,20 +48,20 @@
#include <kio/netaccess.h>
#include <kstandarddirs.h>
#include <ktexteditor/document.h>
#include <ktexteditor/view.h>
#include <ktexteditor/cursorinterface.h>
#include <ktexteditor/clipboardinterface.h>
#include <ktexteditor/codecompletioninterface.h>
#include <ktexteditor/configinterface.h>
#include <ktexteditor/editinterface.h>
#include <ktexteditor/editinterfaceext.h>
#include <ktexteditor/encodinginterface.h>
#include <ktexteditor/selectioninterface.h>
#include <ktexteditor/selectioninterfaceext.h>
#include <ktexteditor/viewcursorinterface.h>
#include <ktexteditor/wordwrapinterface.h>
#include <ktexteditor/markinterfaceextension.h>
#include <tdetexteditor/document.h>
#include <tdetexteditor/view.h>
#include <tdetexteditor/cursorinterface.h>
#include <tdetexteditor/clipboardinterface.h>
#include <tdetexteditor/codecompletioninterface.h>
#include <tdetexteditor/configinterface.h>
#include <tdetexteditor/editinterface.h>
#include <tdetexteditor/editinterfaceext.h>
#include <tdetexteditor/encodinginterface.h>
#include <tdetexteditor/selectioninterface.h>
#include <tdetexteditor/selectioninterfaceext.h>
#include <tdetexteditor/viewcursorinterface.h>
#include <tdetexteditor/wordwrapinterface.h>
#include <tdetexteditor/markinterfaceextension.h>
#include <kate/view.h>

@ -25,7 +25,7 @@
#include <tqwidget.h>
#include <kurl.h>
#include <ktexteditor/markinterfaceextension.h>
#include <tdetexteditor/markinterfaceextension.h>
//own includes
#include "qtag.h"

@ -62,7 +62,7 @@
#include <kmenubar.h>
#include <klocale.h>
#include <kconfig.h>
#include <khtmlview.h>
#include <tdehtmlview.h>
#include <kdialogbase.h>
#include <tdeversion.h>
#include <kkeydialog.h>
@ -87,25 +87,25 @@
#include <ktabwidget.h>
#include <ktip.h>
#include <kmimetype.h>
#include <kparts/partmanager.h>
#include <kparts/part.h>
#include <tdeparts/partmanager.h>
#include <tdeparts/part.h>
#include <kstringhandler.h>
#include <kstdguiitem.h>
#include <kurldrag.h>
#include <ktexteditor/editinterface.h>
#include <ktexteditor/encodinginterface.h>
#include <ktexteditor/selectioninterface.h>
#include <ktexteditor/markinterface.h>
#include <ktexteditor/viewcursorinterface.h>
#include <ktexteditor/printinterface.h>
#include <ktexteditor/popupmenuinterface.h>
#include <ktexteditor/dynwordwrapinterface.h>
#include <ktexteditor/encodinginterface.h>
#include <ktexteditor/undointerface.h>
#include <ktexteditor/document.h>
#include <ktexteditor/view.h>
#include <ktexteditor/clipboardinterface.h>
#include <tdetexteditor/editinterface.h>
#include <tdetexteditor/encodinginterface.h>
#include <tdetexteditor/selectioninterface.h>
#include <tdetexteditor/markinterface.h>
#include <tdetexteditor/viewcursorinterface.h>
#include <tdetexteditor/printinterface.h>
#include <tdetexteditor/popupmenuinterface.h>
#include <tdetexteditor/dynwordwrapinterface.h>
#include <tdetexteditor/encodinginterface.h>
#include <tdetexteditor/undointerface.h>
#include <tdetexteditor/document.h>
#include <tdetexteditor/view.h>
#include <tdetexteditor/clipboardinterface.h>
#include <kio/netaccess.h>

@ -40,10 +40,10 @@
// include files for KDE
#include <tdeversion.h>
#include <kdockwidget.h>
#include <kparts/browserextension.h>
#include <kparts/dockmainwindow.h>
#include <tdeparts/browserextension.h>
#include <tdeparts/dockmainwindow.h>
#include <kmdimainfrm.h>
#include <tdemdimainfrm.h>
//app includes
#include "dcopwindowmanagerif.h"

@ -45,7 +45,7 @@
#include <kmenubar.h>
#include <klocale.h>
#include <kconfig.h>
#include <khtmlview.h>
#include <tdehtmlview.h>
#include <kstandarddirs.h>
#include <kstatusbar.h>
#include <kaction.h>
@ -56,8 +56,8 @@
#include <ktip.h>
#include <kio/netaccess.h>
#include <ktabwidget.h>
#include <kmultitabbar.h>
#include <ktexteditor/view.h>
#include <tdemultitabbar.h>
#include <tdetexteditor/view.h>
#include "wkafkapart.h"
#include "kafkacommon.h"
@ -248,7 +248,7 @@ void QuantaInit::initQuanta()
break;
}
}
KActionMenu *toolviewMenu = (KActionMenu*)(m_quanta->actionCollection()->action("kmdi_toolview_menu"));
KActionMenu *toolviewMenu = (KActionMenu*)(m_quanta->actionCollection()->action("tdemdi_toolview_menu"));
if (toolviewMenu)
toolviewMenu->plug(m_quanta->windowMenu());

@ -23,7 +23,7 @@
#include <tqobject.h>
// include files for KDE
#include <kparts/dockmainwindow.h>
#include <tdeparts/dockmainwindow.h>
//app includes

@ -37,21 +37,21 @@
#include <kdebug.h>
#include <kiconloader.h>
#include <ktexteditor/view.h>
#include <ktexteditor/configinterface.h>
#include <ktexteditor/highlightinginterface.h>
#include <ktexteditor/popupmenuinterface.h>
#include <ktexteditor/markinterface.h>
#include <ktexteditor/undointerface.h>
#include <ktexteditor/viewcursorinterface.h>
#include <ktexteditor/clipboardinterface.h>
#include <ktexteditor/selectioninterface.h>
#include <ktexteditor/encodinginterface.h>
#include <ktexteditor/dynwordwrapinterface.h>
#include <ktexteditor/editorchooser.h>
#include <ktexteditor/editinterface.h>
#include <kparts/componentfactory.h>
#include <tdetexteditor/view.h>
#include <tdetexteditor/configinterface.h>
#include <tdetexteditor/highlightinginterface.h>
#include <tdetexteditor/popupmenuinterface.h>
#include <tdetexteditor/markinterface.h>
#include <tdetexteditor/undointerface.h>
#include <tdetexteditor/viewcursorinterface.h>
#include <tdetexteditor/clipboardinterface.h>
#include <tdetexteditor/selectioninterface.h>
#include <tdetexteditor/encodinginterface.h>
#include <tdetexteditor/dynwordwrapinterface.h>
#include <tdetexteditor/editorchooser.h>
#include <tdetexteditor/editinterface.h>
#include <tdeparts/componentfactory.h>
#include <klibloader.h>
#include <ktrader.h>

@ -35,7 +35,7 @@
#include <kaction.h>
#include <kdebug.h>
#include <kdirwatch.h>
#include <khtmlview.h>
#include <tdehtmlview.h>
#include <klocale.h>
#include <kstandarddirs.h>
#include <kmenubar.h>
@ -43,18 +43,18 @@
#include <kmessagebox.h>
#include <kurldrag.h>
#include <tdeversion.h>
#include <kparts/partmanager.h>
#include <tdeparts/partmanager.h>
#include <kstatusbar.h>
#include "undoredo.h"
#include "kafkacommon.h"
#include "wkafkapart.h"
#include <ktexteditor/document.h>
#include <ktexteditor/selectioninterface.h>
#include <ktexteditor/selectioninterfaceext.h>
#include <ktexteditor/view.h>
#include <ktexteditor/viewcursorinterface.h>
#include <tdetexteditor/document.h>
#include <tdetexteditor/selectioninterface.h>
#include <tdetexteditor/selectioninterfaceext.h>
#include <tdetexteditor/view.h>
#include <tdetexteditor/viewcursorinterface.h>
// application specific includes
#include "document.h"

@ -26,7 +26,7 @@
#include <tqtimer.h>
//kde includes
#include <kmdichildview.h>
#include <tdemdichildview.h>
#include <dom/dom_node.h>

@ -19,15 +19,15 @@
#include <kdirwatch.h>
#include <kiconloader.h>
#include <klocale.h>
#include <kmdimainfrm.h>
#include <tdemdimainfrm.h>
#include <kurl.h>
#include <kpopupmenu.h>
#include <ktexteditor/view.h>
#include <ktexteditor/encodinginterface.h>
#include <ktexteditor/highlightinginterface.h>
#include <ktexteditor/popupmenuinterface.h>
#include <ktexteditor/editorchooser.h>
#include <ktexteditor/markinterface.h>
#include <tdetexteditor/view.h>
#include <tdetexteditor/encodinginterface.h>
#include <tdetexteditor/highlightinginterface.h>
#include <tdetexteditor/popupmenuinterface.h>
#include <tdetexteditor/editorchooser.h>
#include <tdetexteditor/markinterface.h>
#include <kio/netaccess.h>

@ -34,7 +34,7 @@
#include <kmessagebox.h>
#include <kconfig.h>
#include <kdebug.h>
#include <ktexteditor/view.h>
#include <tdetexteditor/view.h>
// app includes
#include "messageoutput.h"

@ -28,10 +28,10 @@
#include <kstringhandler.h>
#include <kdebug.h>
#include <kiconloader.h>
#include <khtmlview.h>
#include <ktexteditor/editinterface.h>
#include <ktexteditor/viewcursorinterface.h>
#include <ktexteditor/view.h>
#include <tdehtmlview.h>
#include <tdetexteditor/editinterface.h>
#include <tdetexteditor/viewcursorinterface.h>
#include <tdetexteditor/view.h>
#include <dom/dom_node.h>
//app includes

@ -27,9 +27,9 @@
#include <kdebug.h>
#include <kpopupmenu.h>
#include <kstringhandler.h>
#include <ktexteditor/markinterface.h>
#include <ktexteditor/editinterface.h>
#include <ktexteditor/viewcursorinterface.h>
#include <tdetexteditor/markinterface.h>
#include <tdetexteditor/editinterface.h>
#include <tdetexteditor/viewcursorinterface.h>
#include <tqregexp.h>
#include <tqmemarray.h>

@ -35,11 +35,11 @@
#include <kshortcut.h>
#include <kstandarddirs.h>
#include <ktempfile.h>
#include <ktexteditor/document.h>
#include <ktexteditor/viewcursorinterface.h>
#include <ktexteditor/editinterface.h>
#include <ktexteditor/selectioninterface.h>
#include <ktexteditor/selectioninterfaceext.h>
#include <tdetexteditor/document.h>
#include <tdetexteditor/viewcursorinterface.h>
#include <tdetexteditor/editinterface.h>
#include <tdetexteditor/selectioninterface.h>
#include <tdetexteditor/selectioninterfaceext.h>
//app includes
#include "tagaction.h"

@ -18,7 +18,7 @@
#include <kstaticdeleter.h>
#include <kactioncollection.h>
#include <kaction.h>
#include <khtmlview.h>
#include <tdehtmlview.h>
#include <klocale.h>
#include <dom/dom_node.h>

Loading…
Cancel
Save