Rename kiobuffer and KHTML

pull/1/head
Timothy Pearson 12 years ago
parent f21b018270
commit a5a7573f35

@ -1 +1 @@
Subproject commit 9a217903f9fa35ca12213a6e9ee3d2cb87d1131d Subproject commit 274366fb8b90704586d7beef216b765cc0688b08

@ -102,7 +102,7 @@ Validators</ulink></para>
Filter</ulink></para> Filter</ulink></para>
</listitem> </listitem>
<listitem> <listitem>
<para><ulink url="help:/konq-plugins/tdehtmlsettings/index.html">KHTMLSettings</ulink></para> <para><ulink url="help:/konq-plugins/tdehtmlsettings/index.html">TDEHTMLSettings</ulink></para>
</listitem> </listitem>
<listitem> <listitem>
<para><ulink url="help:/konq-plugins/uachanger/index.html">The User Agent Changer</ulink></para> <para><ulink url="help:/konq-plugins/uachanger/index.html">The User Agent Changer</ulink></para>

@ -43,10 +43,10 @@
</sect1info> </sect1info>
<title>KHTMLSettings</title> <title>TDEHTMLSettings</title>
<sect2> <sect2>
<title>Using KHTMLSettings</title> <title>Using TDEHTMLSettings</title>
<para>The &HTML; settings plugin can be accessed in the &konqueror; menubar under <menuchoice><guimenu>Tools</guimenu><guimenuitem>HTML Settings</guimenuitem></menuchoice>. Below is a list of the settings and a short description of each one.</para> <para>The &HTML; settings plugin can be accessed in the &konqueror; menubar under <menuchoice><guimenu>Tools</guimenu><guimenuitem>HTML Settings</guimenuitem></menuchoice>. Below is a list of the settings and a short description of each one.</para>

@ -53,7 +53,7 @@ limit access to those using a particular web browser.</para>
<variablelist> <variablelist>
<varlistentry> <varlistentry>
<term><guimenuitem>Default Identification</guimenuitem></term> <term><guimenuitem>Default Identification</guimenuitem></term>
<listitem><para>The default User Agent header for &konqueror; is Mozilla/5.0(compatible;Konqueror/3.2)(KHTML, like Gecko). If you come across a site that refuses this browser access, change your User Agent to one of the options below.</para></listitem> <listitem><para>The default User Agent header for &konqueror; is Mozilla/5.0(compatible;Konqueror/3.2)(TDEHTML, like Gecko). If you come across a site that refuses this browser access, change your User Agent to one of the options below.</para></listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>

@ -7,8 +7,8 @@ METASOURCES = AUTO
#kde_module_LTLIBRARIES = katefll_initplugin.la katefll_plugin.la #kde_module_LTLIBRARIES = katefll_initplugin.la katefll_plugin.la
kde_module_LTLIBRARIES = katefll_plugin.la kde_module_LTLIBRARIES = katefll_plugin.la
# This is all standard. Remove the LIB_KHTML reference if you are not # This is all standard. Remove the LIB_TDEHTML reference if you are not
# using the KHTML Part # using the TDEHTML Part
#katefll_initplugin_la_SOURCES = katefll_initplugin.cpp #katefll_initplugin_la_SOURCES = katefll_initplugin.cpp
#katefll_initplugin_la_LIBADD = -lkateinterfaces #katefll_initplugin_la_LIBADD = -lkateinterfaces
#katefll_initplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) #katefll_initplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
@ -18,7 +18,7 @@ katefll_plugin_la_LIBADD = -lkateinterfaces
katefll_plugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) katefll_plugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
# Install the .rc file in the Part's directory (in this case, the part # Install the .rc file in the Part's directory (in this case, the part
# is KHTMLPart) # is TDEHTMLPart)
pluginsdir = $(kde_datadir)/kate/plugins/katefll pluginsdir = $(kde_datadir)/kate/plugins/katefll
plugins_DATA = ui.rc plugins_DATA = ui.rc

@ -4,14 +4,14 @@ METASOURCES = AUTO
# Install this plugin in the KDE modules directory # Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = katehtmltoolsplugin.la kde_module_LTLIBRARIES = katehtmltoolsplugin.la
# This is all standard. Remove the LIB_KHTML reference if you are not # This is all standard. Remove the LIB_TDEHTML reference if you are not
# using the KHTML Part # using the TDEHTML Part
katehtmltoolsplugin_la_SOURCES = plugin_katehtmltools.cpp katehtmltoolsplugin_la_SOURCES = plugin_katehtmltools.cpp
katehtmltoolsplugin_la_LIBADD = -lkateinterfaces katehtmltoolsplugin_la_LIBADD = -lkateinterfaces
katehtmltoolsplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) katehtmltoolsplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
# Install the .rc file in the Part's directory (in this case, the part # Install the .rc file in the Part's directory (in this case, the part
# is KHTMLPart) # is TDEHTMLPart)
pluginsdir = $(kde_datadir)/kate/plugins/katehtmltools pluginsdir = $(kde_datadir)/kate/plugins/katehtmltools
plugins_DATA = ui.rc plugins_DATA = ui.rc

@ -4,14 +4,14 @@ METASOURCES = AUTO
# Install this plugin in the KDE modules directory # Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = kateinsertcommandplugin.la kde_module_LTLIBRARIES = kateinsertcommandplugin.la
# This is all standard. Remove the LIB_KHTML reference if you are not # This is all standard. Remove the LIB_TDEHTML reference if you are not
# using the KHTML Part # using the TDEHTML Part
kateinsertcommandplugin_la_SOURCES = plugin_kateinsertcommand.cpp kateinsertcommandplugin_la_SOURCES = plugin_kateinsertcommand.cpp
kateinsertcommandplugin_la_LIBADD = -lkateinterfaces kateinsertcommandplugin_la_LIBADD = -lkateinterfaces
kateinsertcommandplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) kateinsertcommandplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
# Install the .rc file in the Part's directory (in this case, the part # Install the .rc file in the Part's directory (in this case, the part
# is KHTMLPart) # is TDEHTMLPart)
pluginsdir = $(kde_datadir)/kate/plugins/kateinsertcommand pluginsdir = $(kde_datadir)/kate/plugins/kateinsertcommand
plugins_DATA = ui.rc plugins_DATA = ui.rc

@ -5,8 +5,8 @@ METASOURCES = AUTO
# Install this plugin in the KDE modules directory # Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = katekjswrapperplugin.la kde_module_LTLIBRARIES = katekjswrapperplugin.la
# This is all standard. Remove the LIB_KHTML reference if you are not # This is all standard. Remove the LIB_TDEHTML reference if you are not
# using the KHTML Part # using the TDEHTML Part
katekjswrapperplugin_la_SOURCES = plugin_katekjswrapper.cpp bindings.cpp katekjswrapperplugin_la_SOURCES = plugin_katekjswrapper.cpp bindings.cpp
katekjswrapperplugin_la_LIBADD = -lkateinterfaces -lkjsembed -lkjs katekjswrapperplugin_la_LIBADD = -lkateinterfaces -lkjsembed -lkjs
katekjswrapperplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) katekjswrapperplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)

@ -1,6 +1,6 @@
# Install the .rc file in the Part's directory (in this case, the part # Install the .rc file in the Part's directory (in this case, the part
# is KHTMLPart) # is TDEHTMLPart)
#pluginsdir=$(kde_datadir)/kate/plugins/katekjswrapper #pluginsdir=$(kde_datadir)/kate/plugins/katekjswrapper
#plugins_DATA=ui.rc #plugins_DATA=ui.rc

@ -4,14 +4,14 @@ METASOURCES = AUTO
# Install this plugin in the KDE modules directory # Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = katemakeplugin.la kde_module_LTLIBRARIES = katemakeplugin.la
# This is all standard. Remove the LIB_KHTML reference if you are not # This is all standard. Remove the LIB_TDEHTML reference if you are not
# using the KHTML Part # using the TDEHTML Part
katemakeplugin_la_SOURCES = plugin_katemake.cpp katemakeplugin_la_SOURCES = plugin_katemake.cpp
katemakeplugin_la_LIBADD = -lkateinterfaces katemakeplugin_la_LIBADD = -lkateinterfaces
katemakeplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) katemakeplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
# Install the .rc file in the Part's directory (in this case, the part # Install the .rc file in the Part's directory (in this case, the part
# is KHTMLPart) # is TDEHTMLPart)
pluginsdir = $(kde_datadir)/kate/plugins/katemake pluginsdir = $(kde_datadir)/kate/plugins/katemake
plugins_DATA = ui.rc plugins_DATA = ui.rc

@ -4,14 +4,14 @@ METASOURCES = AUTO
# Install this plugin in the KDE modules directory # Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = katemodelineplugin.la kde_module_LTLIBRARIES = katemodelineplugin.la
# This is all standard. Remove the LIB_KHTML reference if you are not # This is all standard. Remove the LIB_TDEHTML reference if you are not
# using the KHTML Part # using the TDEHTML Part
katemodelineplugin_la_SOURCES = ModelinePlugin.cpp katemodelineplugin_la_SOURCES = ModelinePlugin.cpp
katemodelineplugin_la_LIBADD = -lkateinterfaces katemodelineplugin_la_LIBADD = -lkateinterfaces
katemodelineplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) katemodelineplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
# Install the .rc file in the Part's directory (in this case, the part # Install the .rc file in the Part's directory (in this case, the part
# is KHTMLPart) # is TDEHTMLPart)
pluginsdir = $(kde_datadir)/kate/plugins/katemodeline pluginsdir = $(kde_datadir)/kate/plugins/katemodeline
plugins_DATA = ui.rc plugins_DATA = ui.rc

@ -4,14 +4,14 @@ METASOURCES = AUTO
# Install this plugin in the KDE modules directory # Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = kateopenheaderplugin.la kde_module_LTLIBRARIES = kateopenheaderplugin.la
# This is all standard. Remove the LIB_KHTML reference if you are not # This is all standard. Remove the LIB_TDEHTML reference if you are not
# using the KHTML Part # using the TDEHTML Part
kateopenheaderplugin_la_SOURCES = plugin_kateopenheader.cpp kateopenheaderplugin_la_SOURCES = plugin_kateopenheader.cpp
kateopenheaderplugin_la_LIBADD = -lkateinterfaces kateopenheaderplugin_la_LIBADD = -lkateinterfaces
kateopenheaderplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) kateopenheaderplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
# Install the .rc file in the Part's directory (in this case, the part # Install the .rc file in the Part's directory (in this case, the part
# is KHTMLPart) # is TDEHTMLPart)
pluginsdir = $(kde_datadir)/kate/plugins/kateopenheader pluginsdir = $(kde_datadir)/kate/plugins/kateopenheader
plugins_DATA = ui.rc plugins_DATA = ui.rc

@ -4,14 +4,14 @@ METASOURCES = AUTO
# Install this plugin in the KDE modules directory # Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = katetextfilterplugin.la kde_module_LTLIBRARIES = katetextfilterplugin.la
# This is all standard. Remove the LIB_KHTML reference if you are not # This is all standard. Remove the LIB_TDEHTML reference if you are not
# using the KHTML Part # using the TDEHTML Part
katetextfilterplugin_la_SOURCES = plugin_katetextfilter.cpp katetextfilterplugin_la_SOURCES = plugin_katetextfilter.cpp
katetextfilterplugin_la_LIBADD = -lkateinterfaces katetextfilterplugin_la_LIBADD = -lkateinterfaces
katetextfilterplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) katetextfilterplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
# Install the .rc file in the Part's directory (in this case, the part # Install the .rc file in the Part's directory (in this case, the part
# is KHTMLPart) # is TDEHTMLPart)
pluginsdir = $(kde_datadir)/kate/plugins/katetextfilter pluginsdir = $(kde_datadir)/kate/plugins/katetextfilter
plugins_DATA = ui.rc plugins_DATA = ui.rc

@ -4,14 +4,14 @@ METASOURCES = AUTO
# Install this plugin in the KDE modules directory # Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = katexmlcheckplugin.la kde_module_LTLIBRARIES = katexmlcheckplugin.la
# This is all standard. Remove the LIB_KHTML reference if you are not # This is all standard. Remove the LIB_TDEHTML reference if you are not
# using the KHTML Part # using the TDEHTML Part
katexmlcheckplugin_la_SOURCES = plugin_katexmlcheck.cpp katexmlcheckplugin_la_SOURCES = plugin_katexmlcheck.cpp
katexmlcheckplugin_la_LIBADD = -lkateinterfaces katexmlcheckplugin_la_LIBADD = -lkateinterfaces
katexmlcheckplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) katexmlcheckplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
# Install the .rc file in the Part's directory (in this case, the part # Install the .rc file in the Part's directory (in this case, the part
# is KHTMLPart) # is TDEHTMLPart)
pluginsdir = $(kde_datadir)/kate/plugins/katexmlcheck pluginsdir = $(kde_datadir)/kate/plugins/katexmlcheck
plugins_DATA = ui.rc plugins_DATA = ui.rc

@ -4,14 +4,14 @@ METASOURCES = AUTO
# Install this plugin in the KDE modules directory # Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = katexmltoolsplugin.la kde_module_LTLIBRARIES = katexmltoolsplugin.la
# This is all standard. Remove the LIB_KHTML reference if you are not # This is all standard. Remove the LIB_TDEHTML reference if you are not
# using the KHTML Part # using the TDEHTML Part
katexmltoolsplugin_la_SOURCES = pseudo_dtd.cpp plugin_katexmltools.cpp katexmltoolsplugin_la_SOURCES = pseudo_dtd.cpp plugin_katexmltools.cpp
katexmltoolsplugin_la_LIBADD = -lkateinterfaces katexmltoolsplugin_la_LIBADD = -lkateinterfaces
katexmltoolsplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) katexmltoolsplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
# Install the .rc file in the Part's directory (in this case, the part # Install the .rc file in the Part's directory (in this case, the part
# is KHTMLPart) # is TDEHTMLPart)
pluginsdir = $(kde_datadir)/kate/plugins/katexmltools pluginsdir = $(kde_datadir)/kate/plugins/katexmltools
plugins_DATA = ui.rc plugins_DATA = ui.rc

@ -4,7 +4,7 @@ This module contains plugins that interact with Konqueror.
babelfish babelfish
------------------- -------------------
This works on KHTMLPart. It uses AltaVista's BabelFish site to This works on TDEHTMLPart. It uses AltaVista's BabelFish site to
translate the current page to whatever language you want (within translate the current page to whatever language you want (within
reason). reason).
@ -19,17 +19,17 @@ Displays the document object model (DOM) in a dialog box.
htmlvalidator htmlvalidator
------------------- -------------------
This works on KHTMLPart. It uses the w3c HTML validator to validate This works on TDEHTMLPart. It uses the w3c HTML validator to validate
the current page. This is very handy when creating web pages. the current page. This is very handy when creating web pages.
cssvalidator cssvalidator
------------------- -------------------
This works on KHTMLPart. It uses the w3c HTML validator to validate This works on TDEHTMLPart. It uses the w3c HTML validator to validate
the current page. This is very handy when debugging Cascading Style Sheets. the current page. This is very handy when debugging Cascading Style Sheets.
tdehtmlsettingsplugin tdehtmlsettingsplugin
------------------- -------------------
This works on KHTMLPart. This allows you to enable or disable a bunch This works on TDEHTMLPart. This allows you to enable or disable a bunch
of HTML settings without going through the settings dialog. of HTML settings without going through the settings dialog.
kimgalleryplugin kimgalleryplugin
@ -39,7 +39,7 @@ all the images in the current directory.
uachanger uachanger
------------------- -------------------
This works on KHTMLPart. It allows you to change the user agent This works on TDEHTMLPart. It allows you to change the user agent
without going through the settings dialog. without going through the settings dialog.
kuick kuick
@ -77,7 +77,7 @@ This lets you quickly archive or unarchive files from Konqueror, using Ark
akregator akregator
------------------- -------------------
This works on KHTMLPart and allows you to add feeds to Akregator directly from Konqueror. This works on TDEHTMLPart and allows you to add feeds to Akregator directly from Konqueror.
mediarealfolder mediarealfolder
------------------- -------------------

@ -5,7 +5,7 @@ METASOURCES = AUTO
kde_module_LTLIBRARIES = libadblock.la kde_module_LTLIBRARIES = libadblock.la
libadblock_la_SOURCES = adblock.cpp adblockdialogue.cpp libadblock_la_SOURCES = adblock.cpp adblockdialogue.cpp
libadblock_la_LIBADD = $(LIB_KHTML) -lkonq libadblock_la_LIBADD = $(LIB_TDEHTML) -lkonq
libadblock_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) libadblock_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
pluginsdir = $(kde_datadir)/tdehtml/kpartplugins pluginsdir = $(kde_datadir)/tdehtml/kpartplugins

@ -60,8 +60,8 @@ AdBlock::AdBlock(TQObject *parent, const char *name, const TQStringList &) :
KParts::Plugin(parent, name), KParts::Plugin(parent, name),
m_label(0), m_menu(0) m_label(0), m_menu(0)
{ {
m_part = dynamic_cast<KHTMLPart *>(parent); m_part = dynamic_cast<TDEHTMLPart *>(parent);
if(!m_part) { kdDebug() << "couldn't get KHTMLPart" << endl; return; } if(!m_part) { kdDebug() << "couldn't get TDEHTMLPart" << endl; return; }
m_menu = new KPopupMenu(m_part->widget()); m_menu = new KPopupMenu(m_part->widget());
m_menu->insertTitle(i18n("Adblock")); m_menu->insertTitle(i18n("Adblock"));
@ -147,7 +147,7 @@ void AdBlock::fillBlockableElements(AdElementList &elements)
fillWithHtmlTag(elements, "object", "src", "OBJECT"); fillWithHtmlTag(elements, "object", "src", "OBJECT");
fillWithImages(elements); fillWithImages(elements);
const KHTMLSettings *settings = m_part->settings(); const TDEHTMLSettings *settings = m_part->settings();
AdElementList::iterator it; AdElementList::iterator it;
for ( it = elements.begin(); it != elements.end(); ++it ) for ( it = elements.begin(); it != elements.end(); ++it )
@ -212,7 +212,7 @@ void AdBlock::fillWithHtmlTag(AdElementList &elements,
void AdBlock::addAdFilter(const TQString &url) void AdBlock::addAdFilter(const TQString &url)
{ {
//FIXME hackish //FIXME hackish
KHTMLSettings *settings = const_cast<KHTMLSettings *>(m_part->settings()); TDEHTMLSettings *settings = const_cast<TDEHTMLSettings *>(m_part->settings());
settings->addAdFilter(url); settings->addAdFilter(url);
} }

@ -25,9 +25,9 @@
#include <tqvaluelist.h> #include <tqvaluelist.h>
#include <tdeparts/plugin.h> #include <tdeparts/plugin.h>
class KHTMLPart; class TDEHTMLPart;
class KURLLabel; class KURLLabel;
class KHTMLSettings; class TDEHTMLSettings;
class AdElement; class AdElement;
class KPopupMenu; class KPopupMenu;
@ -53,7 +53,7 @@ public:
~AdBlock(); ~AdBlock();
private: private:
TQGuardedPtr<KHTMLPart> m_part; TQGuardedPtr<TDEHTMLPart> m_part;
KURLLabel *m_label; KURLLabel *m_label;
KPopupMenu *m_menu; KPopupMenu *m_menu;

@ -6,11 +6,11 @@ METASOURCES = AUTO
kde_module_LTLIBRARIES = libakregatorkonqplugin.la libakregatorkonqfeedicon.la kde_module_LTLIBRARIES = libakregatorkonqplugin.la libakregatorkonqfeedicon.la
libakregatorkonqplugin_la_SOURCES = akregatorplugin.cpp pluginbase.cpp libakregatorkonqplugin_la_SOURCES = akregatorplugin.cpp pluginbase.cpp
libakregatorkonqplugin_la_LIBADD = -lkonq $(LIB_KHTML) libakregatorkonqplugin_la_LIBADD = -lkonq $(LIB_TDEHTML)
libakregatorkonqplugin_la_LDFLAGS = -module $(KDE_PLUGIN) -avoid-version -no-undefined $(all_libraries) libakregatorkonqplugin_la_LDFLAGS = -module $(KDE_PLUGIN) -avoid-version -no-undefined $(all_libraries)
libakregatorkonqfeedicon_la_SOURCES = konqfeedicon.cpp feeddetector.cpp pluginbase.cpp libakregatorkonqfeedicon_la_SOURCES = konqfeedicon.cpp feeddetector.cpp pluginbase.cpp
libakregatorkonqfeedicon_la_LIBADD = -lkonq $(LIB_KHTML) libakregatorkonqfeedicon_la_LIBADD = -lkonq $(LIB_TDEHTML)
libakregatorkonqfeedicon_la_LDFLAGS = -module $(KDE_PLUGIN) -avoid-version -no-undefined $(all_libraries) libakregatorkonqfeedicon_la_LDFLAGS = -module $(KDE_PLUGIN) -avoid-version -no-undefined $(all_libraries)
konqplugindir = $(kde_servicesdir) konqplugindir = $(kde_servicesdir)

@ -63,10 +63,10 @@ AkregatorMenu::AkregatorMenu( KonqPopupMenu * popupmenu, const char *name, const
return; return;
*/ */
KHTMLView* view = 0L; TDEHTMLView* view = 0L;
if (popupmenu && popupmenu->parent() && popupmenu->parent()->inherits("KHTMLView")) if (popupmenu && popupmenu->parent() && popupmenu->parent()->inherits("TDEHTMLView"))
view = static_cast<KHTMLView*>(TQT_TQWIDGET(popupmenu->parent())); view = static_cast<TDEHTMLView*>(TQT_TQWIDGET(popupmenu->parent()));
if (view) if (view)
m_part = view->part(); m_part = view->part();

@ -28,7 +28,7 @@
#include "pluginbase.h" #include "pluginbase.h"
class KAction; class KAction;
class KHTMLPart; class TDEHTMLPart;
namespace Akregator namespace Akregator
{ {
@ -51,7 +51,7 @@ protected:
private: private:
TQStringList m_feedMimeTypes; TQStringList m_feedMimeTypes;
TDEConfig *m_conf; TDEConfig *m_conf;
KHTMLPart *m_part; TDEHTMLPart *m_part;
TQString m_feedURL; TQString m_feedURL;
}; };

@ -60,7 +60,7 @@ KonqFeedIcon::KonqFeedIcon(TQObject *parent, const char *name, const TQStringLis
{ {
TDEGlobal::locale()->insertCatalogue("akregator_konqplugin"); TDEGlobal::locale()->insertCatalogue("akregator_konqplugin");
m_part = dynamic_cast<KHTMLPart*>(parent); m_part = dynamic_cast<TDEHTMLPart*>(parent);
if(!m_part) { kdDebug() << "couldn't get part" << endl; return; } if(!m_part) { kdDebug() << "couldn't get part" << endl; return; }
// FIXME: need to do this because of a bug in tdehtmlpart, it's fixed now for 3.4 (and prolly backported for 3.3.3?) // FIXME: need to do this because of a bug in tdehtmlpart, it's fixed now for 3.4 (and prolly backported for 3.3.3?)
//connect(m_part->view(), TQT_SIGNAL(finishedLayout()), this, TQT_SLOT(addFeedIcon())); //connect(m_part->view(), TQT_SIGNAL(finishedLayout()), this, TQT_SLOT(addFeedIcon()));

@ -35,7 +35,7 @@
@author Teemu Rytilahti @author Teemu Rytilahti
*/ */
class KURLLabel; class KURLLabel;
class KHTMLPart; class TDEHTMLPart;
class TQStringList; class TQStringList;
namespace KParts { namespace KParts {
@ -59,7 +59,7 @@ private:
*/ */
bool feedFound(); bool feedFound();
TQGuardedPtr<KHTMLPart> m_part; TQGuardedPtr<TDEHTMLPart> m_part;
KURLLabel *m_feedIcon; KURLLabel *m_feedIcon;
KParts::StatusBarExtension *m_statusBarEx; KParts::StatusBarExtension *m_statusBarEx;
FeedDetectorEntryList m_feedList; FeedDetectorEntryList m_feedList;

@ -26,7 +26,7 @@
#define PLUGINBASE_H #define PLUGINBASE_H
class FeedDetectorEntry; class FeedDetectorEntry;
class KHTMLPart; class TDEHTMLPart;
class TQString; class TQString;
class TQStringList; class TQStringList;

@ -4,7 +4,7 @@ INCLUDES = $(all_includes)
libautorefresh_la_METASOURCES = AUTO libautorefresh_la_METASOURCES = AUTO
libautorefresh_la_SOURCES = autorefresh.cpp libautorefresh_la_SOURCES = autorefresh.cpp
libautorefresh_la_LIBADD = $(LIB_KHTML) libautorefresh_la_LIBADD = $(LIB_TDEHTML)
libautorefresh_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) libautorefresh_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)

@ -5,7 +5,7 @@ METASOURCES = AUTO
kde_module_LTLIBRARIES = libbabelfishplugin.la kde_module_LTLIBRARIES = libbabelfishplugin.la
libbabelfishplugin_la_SOURCES = plugin_babelfish.cpp libbabelfishplugin_la_SOURCES = plugin_babelfish.cpp
libbabelfishplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KHTML) libbabelfishplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_TDEHTML)
libbabelfishplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -no-undefined libbabelfishplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -no-undefined
pluginsdir = $(kde_datadir)/tdehtml/kpartplugins pluginsdir = $(kde_datadir)/tdehtml/kpartplugins

@ -178,7 +178,7 @@ PluginBabelFish::PluginBabelFish( TQObject* parent, const char* name,
m_menu->setEnabled( true ); m_menu->setEnabled( true );
// TODO: we could also support plain text viewers... // TODO: we could also support plain text viewers...
if ( parent && parent->inherits( "KHTMLPart" ) ) if ( parent && parent->inherits( "TDEHTMLPart" ) )
{ {
KParts::ReadOnlyPart* part = static_cast<KParts::ReadOnlyPart *>(parent); KParts::ReadOnlyPart* part = static_cast<KParts::ReadOnlyPart *>(parent);
connect( part, TQT_SIGNAL(started(TDEIO::Job*)), this, connect( part, TQT_SIGNAL(started(TDEIO::Job*)), this,
@ -193,7 +193,7 @@ PluginBabelFish::~PluginBabelFish()
void PluginBabelFish::slotStarted( TDEIO::Job* ) void PluginBabelFish::slotStarted( TDEIO::Job* )
{ {
if ( parent()->inherits("KHTMLPart") && if ( parent()->inherits("TDEHTMLPart") &&
// Babelfish wants http URLs only. No https. // Babelfish wants http URLs only. No https.
static_cast<KParts::ReadOnlyPart *>(parent())->url().protocol().lower() == "http" ) static_cast<KParts::ReadOnlyPart *>(parent())->url().protocol().lower() == "http" )
{ {
@ -211,8 +211,8 @@ void PluginBabelFish::translateURL()
if ( !sender() ) if ( !sender() )
return; return;
// The parent is assumed to be a KHTMLPart // The parent is assumed to be a TDEHTMLPart
if ( !parent()->inherits("KHTMLPart") ) if ( !parent()->inherits("TDEHTMLPart") )
{ {
TQString title = i18n( "Cannot Translate Source" ); TQString title = i18n( "Cannot Translate Source" );
TQString text = i18n( "Only web pages can be translated using " TQString text = i18n( "Only web pages can be translated using "
@ -227,7 +227,7 @@ void PluginBabelFish::translateURL()
TQString engine = cfg.readEntry( TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name(), "babelfish" ); TQString engine = cfg.readEntry( TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name(), "babelfish" );
// Get URL // Get URL
KHTMLPart *part = dynamic_cast<KHTMLPart *>(parent()); TDEHTMLPart *part = dynamic_cast<TDEHTMLPart *>(parent());
if ( !part ) if ( !part )
return; return;

@ -3,7 +3,7 @@ METASOURCES = AUTO
kde_module_LTLIBRARIES = libcrashesplugin.la kde_module_LTLIBRARIES = libcrashesplugin.la
libcrashesplugin_la_SOURCES = crashesplugin.cpp libcrashesplugin_la_SOURCES = crashesplugin.cpp
libcrashesplugin_la_LIBADD = $(LIB_KHTML) -lkonq libcrashesplugin_la_LIBADD = $(LIB_TDEHTML) -lkonq
libcrashesplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) libcrashesplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
pluginsdir = $(kde_datadir)/tdehtml/kpartplugins pluginsdir = $(kde_datadir)/tdehtml/kpartplugins

@ -40,7 +40,7 @@ K_EXPORT_COMPONENT_FACTORY( libcrashesplugin, CrashesPluginFactory( "crashesplug
CrashesPlugin::CrashesPlugin( TQObject* parent, const char* name, const TQStringList & ) CrashesPlugin::CrashesPlugin( TQObject* parent, const char* name, const TQStringList & )
: KParts::Plugin( parent, name ) : KParts::Plugin( parent, name )
{ {
m_part = (parent && parent->inherits( "KHTMLPart" )) ? static_cast<KHTMLPart*>(parent) : 0L; m_part = (parent && parent->inherits( "TDEHTMLPart" )) ? static_cast<TDEHTMLPart*>(parent) : 0L;
m_pCrashesMenu = new KActionMenu( i18n("&Crashes"), "core", m_pCrashesMenu = new KActionMenu( i18n("&Crashes"), "core",
actionCollection(), "crashes" ); actionCollection(), "crashes" );

@ -29,7 +29,7 @@
#include <klibloader.h> #include <klibloader.h>
#include <tdeparts/plugin.h> #include <tdeparts/plugin.h>
class KHTMLPart; class TDEHTMLPart;
class KActionMenu; class KActionMenu;
class CrashesPlugin : public KParts::Plugin class CrashesPlugin : public KParts::Plugin
@ -53,7 +53,7 @@ protected slots:
private: private:
int m_selectedItem; int m_selectedItem;
KHTMLPart* m_part; TDEHTMLPart* m_part;
KActionMenu* m_pCrashesMenu; KActionMenu* m_pCrashesMenu;
typedef TQPair<TQString,TQCString> Crash; typedef TQPair<TQString,TQCString> Crash;

@ -20,7 +20,7 @@ libdomtreeviewerplugin_la_SOURCES = plugin_domtreeviewer.cpp \
messagedialog.ui messagedialog.ui
# klistview.cpp \ # klistview.cpp \
# #
libdomtreeviewerplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KHTML) libdomtreeviewerplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_TDEHTML)
libdomtreeviewerplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) libdomtreeviewerplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
pluginsdir = $(kde_datadir)/tdehtml/kpartplugins pluginsdir = $(kde_datadir)/tdehtml/kpartplugins

@ -115,9 +115,9 @@ DOMTreeView::~DOMTreeView()
disconnectFromActivePart(); disconnectFromActivePart();
} }
void DOMTreeView::setHtmlPart(KHTMLPart *_part) void DOMTreeView::setHtmlPart(TDEHTMLPart *_part)
{ {
KHTMLPart *oldPart = part; TDEHTMLPart *oldPart = part;
part = _part; part = _part;
if (oldPart) { if (oldPart) {

@ -42,7 +42,7 @@ class TQListViewItem;
class KPushButton; class KPushButton;
class KEdFind; class KEdFind;
class KHTMLPart; class TDEHTMLPart;
class DOMTreeView : public DOMTreeViewBase class DOMTreeView : public DOMTreeViewBase
{ {
@ -53,8 +53,8 @@ class DOMTreeView : public DOMTreeViewBase
DOMTreeView(TQWidget *parent, const char* name, bool allowSaving = true); DOMTreeView(TQWidget *parent, const char* name, bool allowSaving = true);
~DOMTreeView(); ~DOMTreeView();
KHTMLPart *htmlPart() const { return part; } TDEHTMLPart *htmlPart() const { return part; }
void setHtmlPart(KHTMLPart *); void setHtmlPart(TDEHTMLPart *);
/** returns the main window */ /** returns the main window */
DOMTreeWindow *mainWindow() const; DOMTreeWindow *mainWindow() const;
@ -67,7 +67,7 @@ class DOMTreeView : public DOMTreeViewBase
signals: signals:
/** emitted when the part has been changed. */ /** emitted when the part has been changed. */
void htmlPartChanged(KHTMLPart *part); void htmlPartChanged(TDEHTMLPart *part);
public slots: public slots:
void refresh(); void refresh();
@ -151,7 +151,7 @@ class DOMTreeView : public DOMTreeViewBase
private: private:
KEdFind* m_findDialog; KEdFind* m_findDialog;
KHTMLPart *part; TDEHTMLPart *part;
TQTextStream* m_textStream; TQTextStream* m_textStream;
const KListView* m_rootListView; const KListView* m_rootListView;

@ -89,8 +89,8 @@ DOMTreeWindow::DOMTreeWindow(PluginDomtreeviewer *plugin)
connect(m_view, TQT_SIGNAL(signalChangeCaption(const TQString&)), connect(m_view, TQT_SIGNAL(signalChangeCaption(const TQString&)),
this, TQT_SLOT(changeCaption(const TQString&))); this, TQT_SLOT(changeCaption(const TQString&)));
#endif #endif
connect(view(), TQT_SIGNAL(htmlPartChanged(KHTMLPart *)), connect(view(), TQT_SIGNAL(htmlPartChanged(TDEHTMLPart *)),
TQT_SLOT(slotHtmlPartChanged(KHTMLPart *))); TQT_SLOT(slotHtmlPartChanged(TDEHTMLPart *)));
ManipulationCommand::connect(TQT_SIGNAL(error(int, const TQString &)), ManipulationCommand::connect(TQT_SIGNAL(error(int, const TQString &)),
TQT_TQOBJECT(this), TQT_SLOT(addMessage(int, const TQString &))); TQT_TQOBJECT(this), TQT_SLOT(addMessage(int, const TQString &)));
@ -328,7 +328,7 @@ void DOMTreeWindow::changeCaption(const TQString& text)
setCaption(text); setCaption(text);
} }
void DOMTreeWindow::slotHtmlPartChanged(KHTMLPart *p) void DOMTreeWindow::slotHtmlPartChanged(TDEHTMLPart *p)
{ {
kdDebug(90180) << k_funcinfo << p << endl; kdDebug(90180) << k_funcinfo << p << endl;
@ -356,7 +356,7 @@ void DOMTreeWindow::slotActivePartChanged(KParts::Part *p)
m_commandHistory->clear(); m_commandHistory->clear();
view()->disconnectFromTornDownPart(); view()->disconnectFromTornDownPart();
view()->setHtmlPart(::tqqt_cast<KHTMLPart *>(p)); view()->setHtmlPart(::tqqt_cast<TDEHTMLPart *>(p));
} }
void DOMTreeWindow::slotPartRemoved(KParts::Part *p) void DOMTreeWindow::slotPartRemoved(KParts::Part *p)

@ -46,7 +46,7 @@ class TDEConfig;
class KPrinter; class KPrinter;
class KURL; class KURL;
class KCommandHistory; class KCommandHistory;
class KHTMLPart; class TDEHTMLPart;
class MessageDialog; class MessageDialog;
class TQPopupMenu; class TQPopupMenu;
@ -168,7 +168,7 @@ private slots:
void changeStatusbar(const TQString& text); void changeStatusbar(const TQString& text);
void changeCaption(const TQString& text); void changeCaption(const TQString& text);
void slotHtmlPartChanged(KHTMLPart *); void slotHtmlPartChanged(TDEHTMLPart *);
void slotActivePartChanged(KParts::Part *); void slotActivePartChanged(KParts::Part *);
void slotPartRemoved(KParts::Part *); void slotPartRemoved(KParts::Part *);
void slotClosePart(); void slotClosePart();

@ -38,7 +38,7 @@ void PluginDomtreeviewer::slotShowDOMTree()
delete m_dialog; delete m_dialog;
Q_ASSERT((DOMTreeWindow *)m_dialog == (DOMTreeWindow *)0); Q_ASSERT((DOMTreeWindow *)m_dialog == (DOMTreeWindow *)0);
} }
if (KHTMLPart *part = ::tqqt_cast<KHTMLPart *>(parent())) if (TDEHTMLPart *part = ::tqqt_cast<TDEHTMLPart *>(parent()))
{ {
m_dialog = new DOMTreeWindow(this); m_dialog = new DOMTreeWindow(this);
connect( m_dialog, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) ); connect( m_dialog, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) );

@ -6,8 +6,8 @@ METASOURCES = AUTO
# Install this plugin in the KDE modules directory # Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = libkuickplugin.la kde_module_LTLIBRARIES = libkuickplugin.la
# This is all standard. Remove the LIB_KHTML reference if you are not # This is all standard. Remove the LIB_TDEHTML reference if you are not
# using the KHTML Part # using the TDEHTML Part
libkuickplugin_la_SOURCES = kuick_plugin.cpp kdirmenu.cpp kmetamenu.cpp kimcontactmenu.cpp libkuickplugin_la_SOURCES = kuick_plugin.cpp kdirmenu.cpp kmetamenu.cpp kimcontactmenu.cpp
libkuickplugin_la_LIBADD = $(LIB_KABC) -ltdeimproxy -lkonq libkuickplugin_la_LIBADD = $(LIB_KABC) -ltdeimproxy -lkonq
libkuickplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) libkuickplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
@ -19,7 +19,7 @@ appsdir = $(kde_appsdir)/.hidden
apps_DATA = kuickplugin.desktop apps_DATA = kuickplugin.desktop
# Install the .rc file in the Part's directory (in this case, the part # Install the .rc file in the Part's directory (in this case, the part
# is KHTMLPart) # is TDEHTMLPart)
messages: rc.cpp messages: rc.cpp
$(XGETTEXT) *.cpp *.h -o $(podir)/kuick_plugin.pot $(XGETTEXT) *.cpp *.h -o $(podir)/kuick_plugin.pot

@ -6,7 +6,7 @@ METASOURCES = AUTO
kde_module_LTLIBRARIES = libmfkonqmficon.la kde_module_LTLIBRARIES = libmfkonqmficon.la
libmfkonqmficon_la_SOURCES = konqmficon.cpp pluginbase.cpp libmfkonqmficon_la_SOURCES = konqmficon.cpp pluginbase.cpp
libmfkonqmficon_la_LIBADD = -lkonq $(LIB_KHTML) libmfkonqmficon_la_LIBADD = -lkonq $(LIB_TDEHTML)
libmfkonqmficon_la_LDFLAGS = -module $(KDE_PLUGIN) -avoid-version -no-undefined $(all_libraries) libmfkonqmficon_la_LDFLAGS = -module $(KDE_PLUGIN) -avoid-version -no-undefined $(all_libraries)
konqmficondir = $(kde_datadir)/tdehtml/kpartplugins konqmficondir = $(kde_datadir)/tdehtml/kpartplugins

@ -45,7 +45,7 @@ KonqMFIcon::KonqMFIcon(TQObject *parent, const char *name, const TQStringList &)
: KParts::Plugin(parent, name), PluginBase(), m_part(0), m_mfIcon(0), m_statusBarEx(0), m_menu(0) { : KParts::Plugin(parent, name), PluginBase(), m_part(0), m_mfIcon(0), m_statusBarEx(0), m_menu(0) {
TDEGlobal::locale()->insertCatalogue("mf_konqplugin"); TDEGlobal::locale()->insertCatalogue("mf_konqplugin");
m_part = dynamic_cast<KHTMLPart*>(parent); m_part = dynamic_cast<TDEHTMLPart*>(parent);
if (!m_part) { if (!m_part) {
kdDebug() << "couldn't get part" << endl; kdDebug() << "couldn't get part" << endl;
return; return;

@ -53,7 +53,7 @@ class KonqMFIcon : public KParts::Plugin, PluginBase {
void extractCard(DOM::Node node); void extractCard(DOM::Node node);
void extractEvent(DOM::Node node); void extractEvent(DOM::Node node);
TQGuardedPtr<KHTMLPart> m_part; TQGuardedPtr<TDEHTMLPart> m_part;
KURLLabel *m_mfIcon; KURLLabel *m_mfIcon;
KParts::StatusBarExtension *m_statusBarEx; KParts::StatusBarExtension *m_statusBarEx;
TQGuardedPtr<KPopupMenu> m_menu; TQGuardedPtr<KPopupMenu> m_menu;

@ -4,7 +4,7 @@ KDE_ICON = AUTO
kde_module_LTLIBRARIES = libminitoolsplugin.la kde_module_LTLIBRARIES = libminitoolsplugin.la
libminitoolsplugin_la_SOURCES = minitoolsplugin.cpp libminitoolsplugin_la_SOURCES = minitoolsplugin.cpp
libminitoolsplugin_la_LIBADD = $(LIB_KHTML) -lkonq libminitoolsplugin_la_LIBADD = $(LIB_TDEHTML) -lkonq
libminitoolsplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) libminitoolsplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
pluginsdir = $(kde_datadir)/tdehtml/kpartplugins pluginsdir = $(kde_datadir)/tdehtml/kpartplugins

@ -44,7 +44,7 @@ K_EXPORT_COMPONENT_FACTORY( libminitoolsplugin, MinitoolsPluginFactory("minitool
MinitoolsPlugin::MinitoolsPlugin(TQObject* parent, const char* name, const TQStringList &) MinitoolsPlugin::MinitoolsPlugin(TQObject* parent, const char* name, const TQStringList &)
: KParts::Plugin(parent, name) { : KParts::Plugin(parent, name) {
m_part = (parent && parent->inherits( "KHTMLPart" )) ? static_cast<KHTMLPart*>(parent) : 0L; m_part = (parent && parent->inherits( "TDEHTMLPart" )) ? static_cast<TDEHTMLPart*>(parent) : 0L;
m_pMinitoolsMenu = new KActionMenu(i18n("&Minitools"), "minitools", actionCollection(), "minitools"); m_pMinitoolsMenu = new KActionMenu(i18n("&Minitools"), "minitools", actionCollection(), "minitools");

@ -29,7 +29,7 @@
#include <klibloader.h> #include <klibloader.h>
#include <tdeparts/plugin.h> #include <tdeparts/plugin.h>
class KHTMLPart; class TDEHTMLPart;
class KActionMenu; class KActionMenu;
class MinitoolsPlugin : public KParts::Plugin { class MinitoolsPlugin : public KParts::Plugin {
@ -55,7 +55,7 @@ private:
int m_selectedItem; int m_selectedItem;
KHTMLPart* m_part; TDEHTMLPart* m_part;
KActionMenu* m_pMinitoolsMenu; KActionMenu* m_pMinitoolsMenu;
typedef TQPair<TQString,TQCString> Minitool; typedef TQPair<TQString,TQCString> Minitool;

@ -26,6 +26,6 @@ Sun Mar 21 16:23 CET 2004 - Franck Qu
o Distinction between "rel" and "rev" relations o Distinction between "rel" and "rev" relations
Tue Jun 22 23:05 CET 2004 - Kevin Krammer <kevin.krammer@gmx.at> Tue Jun 22 23:05 CET 2004 - Kevin Krammer <kevin.krammer@gmx.at>
o Move toolbar creation from XML GUI to code as a workaround o Move toolbar creation from XML GUI to code as a workaround
because KHTML loads the plugins before it initializes its because TDEHTML loads the plugins before it initializes its
d pointer and so there is no way to get to either the view or d pointer and so there is no way to get to either the view or
the toolbar in the plugin's contructor. the toolbar in the plugin's contructor.

@ -2,7 +2,7 @@ INCLUDES = $(all_includes)
METASOURCES = AUTO METASOURCES = AUTO
kde_module_LTLIBRARIES = librellinksplugin.la kde_module_LTLIBRARIES = librellinksplugin.la
librellinksplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) librellinksplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
librellinksplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KHTML) librellinksplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_TDEHTML)
librellinksplugin_la_SOURCES = plugin_rellinks.cpp librellinksplugin_la_SOURCES = plugin_rellinks.cpp
plugins_DATA = plugin_rellinks.rc plugin_rellinks.desktop plugins_DATA = plugin_rellinks.rc plugin_rellinks.desktop
pluginsdir = $(kde_datadir)/tdehtml/kpartplugins pluginsdir = $(kde_datadir)/tdehtml/kpartplugins

@ -175,7 +175,7 @@ RelLinksPlugin::RelLinksPlugin(TQObject *parent, const char *name, const TQStrin
disableAll(); disableAll();
// When the rendering of the HTML is done, we update the site navigation bar // When the rendering of the HTML is done, we update the site navigation bar
m_part = dynamic_cast<KHTMLPart *>(parent); m_part = dynamic_cast<TDEHTMLPart *>(parent);
if (!m_part) if (!m_part)
return; return;
@ -364,7 +364,7 @@ void RelLinksPlugin::updateToolbar() {
void RelLinksPlugin::guessRelations() void RelLinksPlugin::guessRelations()
{ {
m_part = dynamic_cast<KHTMLPart *>(parent()); m_part = dynamic_cast<TDEHTMLPart *>(parent());
if (!m_part || m_part->document().isNull() ) if (!m_part || m_part->document().isNull() )
return; return;
@ -421,8 +421,8 @@ void RelLinksPlugin::guessRelations()
/** Menu links */ /** Menu links */
void RelLinksPlugin::goToLink(const TQString & rel, int id) { void RelLinksPlugin::goToLink(const TQString & rel, int id) {
// have the KHTML part open it // have the TDEHTML part open it
KHTMLPart *part = dynamic_cast<KHTMLPart *>(parent()); TDEHTMLPart *part = dynamic_cast<TDEHTMLPart *>(parent());
if (!part) if (!part)
return; return;

@ -44,8 +44,8 @@ typedef TQMap<TQString, KActionMenu*> KActionMenuMap;
// forward declarations // forward declarations
class KActionMenu; class KActionMenu;
class KHTMLPart; class TDEHTMLPart;
class KHTMLView; class TDEHTMLView;
class KToolBar; class KToolBar;
class KURL; class KURL;
class TQTimer; class TQTimer;
@ -70,13 +70,13 @@ private slots:
void delayedSetup(); void delayedSetup();
/** /**
* KHTMLPart has created a new document, disable actions and * TDEHTMLPart has created a new document, disable actions and
* start polling for links * start polling for links
*/ */
void newDocument(); void newDocument();
/** /**
* KHTMLPart has finished loading, stop the poller and * TDEHTMLPart has finished loading, stop the poller and
* parse the document a last time. * parse the document a last time.
*/ */
void loadingFinished(); void loadingFinished();
@ -149,8 +149,8 @@ private:
void goToLink(const TQString & rel, int id=0); void goToLink(const TQString & rel, int id=0);
private: private:
KHTMLPart* m_part; TDEHTMLPart* m_part;
KHTMLView* m_view; TDEHTMLView* m_view;
bool m_viewVisible; bool m_viewVisible;
KActionMenu *m_document; KActionMenu *m_document;

@ -5,7 +5,7 @@ INCLUDES = $(all_includes)
kde_module_LTLIBRARIES = libsearchbarplugin.la kde_module_LTLIBRARIES = libsearchbarplugin.la
libsearchbarplugin_la_SOURCES = searchbar.cpp libsearchbarplugin_la_SOURCES = searchbar.cpp
libsearchbarplugin_la_LIBADD = $(LIB_KHTML) libsearchbarplugin_la_LIBADD = $(LIB_TDEHTML)
libsearchbarplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) libsearchbarplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
pluginsdir = $(kde_datadir)/konqueror/kpartplugins pluginsdir = $(kde_datadir)/konqueror/kpartplugins

@ -515,7 +515,7 @@ void SearchBarPlugin::configurationChanged()
void SearchBarPlugin::partChanged(KParts::Part *newPart) void SearchBarPlugin::partChanged(KParts::Part *newPart)
{ {
m_part = ::tqqt_cast<KHTMLPart*>(newPart); m_part = ::tqqt_cast<TDEHTMLPart*>(newPart);
//Delay since when destroying tabs part 0 gets activated for a bit, before the proper part //Delay since when destroying tabs part 0 gets activated for a bit, before the proper part
TQTimer::singleShot(0, this, TQT_SLOT(updateComboVisibility())); TQTimer::singleShot(0, this, TQT_SLOT(updateComboVisibility()));

@ -31,7 +31,7 @@
#include <tqpixmap.h> #include <tqpixmap.h>
#include <tqstring.h> #include <tqstring.h>
class KHTMLPart; class TDEHTMLPart;
class TDEProcess; class TDEProcess;
class TQPopupMenu; class TQPopupMenu;
class TQTimer; class TQTimer;
@ -68,7 +68,7 @@ class SearchBarCombo : public KHistoryCombo
/** /**
* Sets whether the plugin is active. It can be inactive * Sets whether the plugin is active. It can be inactive
* in case the current Konqueror part isn't a KHTML part. * in case the current Konqueror part isn't a TDEHTML part.
*/ */
void setPluginActive(bool pluginActive); void setPluginActive(bool pluginActive);
@ -174,7 +174,7 @@ class SearchBarPlugin : public KParts::Plugin
void nextSearchEntry(); void nextSearchEntry();
void previousSearchEntry(); void previousSearchEntry();
TQGuardedPtr<KHTMLPart> m_part; TQGuardedPtr<TDEHTMLPart> m_part;
SearchBarCombo *m_searchCombo; SearchBarCombo *m_searchCombo;
KWidgetAction *m_searchComboAction; KWidgetAction *m_searchComboAction;
TQPopupMenu *m_popupMenu; TQPopupMenu *m_popupMenu;

@ -9,7 +9,7 @@ konqsidebar_metabar_la_SOURCES = metabar.cpp metabarwidget.cpp configdialog.cpp
serviceloader.cpp defaultplugin.cpp protocolplugin.cpp settingsplugin.cpp \ serviceloader.cpp defaultplugin.cpp protocolplugin.cpp settingsplugin.cpp \
remoteplugin.cpp httpplugin.cpp metabarfunctions.cpp remoteplugin.cpp httpplugin.cpp metabarfunctions.cpp
konqsidebar_metabar_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkonqsidebarplugin konqsidebar_metabar_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkonqsidebarplugin
konqsidebar_metabar_la_LIBADD = $(LIB_KIO) $(LIB_KHTML) $(LIB_KPARTS) konqsidebar_metabar_la_LIBADD = $(LIB_KIO) $(LIB_TDEHTML) $(LIB_KPARTS)
metabar_entrydir = $(kde_datadir)/konqsidebartng/entries metabar_entrydir = $(kde_datadir)/konqsidebartng/entries
metabar_entry_DATA = metabar.desktop metabar_entry_DATA = metabar.desktop

@ -53,7 +53,7 @@
#define EVENT_TYPE DOM::DOMString("click") #define EVENT_TYPE DOM::DOMString("click")
#define MODIFICATION 1 #define MODIFICATION 1
DefaultPlugin::DefaultPlugin(KHTMLPart* html, MetabarFunctions *functions, const char *name) : ProtocolPlugin (html, functions, name) DefaultPlugin::DefaultPlugin(TDEHTMLPart* html, MetabarFunctions *functions, const char *name) : ProtocolPlugin (html, functions, name)
{ {
services = new ServiceLoader(m_html->view(), "serviceloader"); services = new ServiceLoader(m_html->view(), "serviceloader");

@ -35,7 +35,7 @@ class DefaultPlugin : public ProtocolPlugin
public: public:
DefaultPlugin(KHTMLPart* html, MetabarFunctions *functions, const char *name = 0); DefaultPlugin(TDEHTMLPart* html, MetabarFunctions *functions, const char *name = 0);
~DefaultPlugin(); ~DefaultPlugin();
void deactivate(); void deactivate();

@ -38,7 +38,7 @@
#include <dom_node.h> #include <dom_node.h>
#include <html_inline.h> #include <html_inline.h>
HTTPPlugin::HTTPPlugin(KHTMLPart* html, MetabarFunctions *functions, const char *name) : ProtocolPlugin (html, functions, name) HTTPPlugin::HTTPPlugin(TDEHTMLPart* html, MetabarFunctions *functions, const char *name) : ProtocolPlugin (html, functions, name)
{ {
} }

@ -34,7 +34,7 @@ class HTTPPlugin : public ProtocolPlugin
public: public:
HTTPPlugin(KHTMLPart* html, MetabarFunctions *functions, const char *name = 0); HTTPPlugin(TDEHTMLPart* html, MetabarFunctions *functions, const char *name = 0);
~HTTPPlugin(); ~HTTPPlugin();
bool handleRequest(const KURL &url); bool handleRequest(const KURL &url);

@ -32,7 +32,7 @@
#define RESIZE_SPEED 5 #define RESIZE_SPEED 5
#define RESIZE_STEP 2 #define RESIZE_STEP 2
MetabarFunctions::MetabarFunctions(KHTMLPart *html, TQObject *parent, const char* name) : TQObject(parent, name), m_html(html) MetabarFunctions::MetabarFunctions(TDEHTMLPart *html, TQObject *parent, const char* name) : TQObject(parent, name), m_html(html)
{ {
timer = new TQTimer(this); timer = new TQTimer(this);
connect(timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(animate())); connect(timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(animate()));

@ -35,7 +35,7 @@ class MetabarFunctions : public TQObject
public: public:
MetabarFunctions(KHTMLPart *html, TQObject *parent = 0, const char* name=0); MetabarFunctions(TDEHTMLPart *html, TQObject *parent = 0, const char* name=0);
~MetabarFunctions(); ~MetabarFunctions();
void toggle(DOM::DOMString item); void toggle(DOM::DOMString item);
@ -45,7 +45,7 @@ class MetabarFunctions : public TQObject
void handleRequest(const KURL &url); void handleRequest(const KURL &url);
protected: protected:
KHTMLPart *m_html; TDEHTMLPart *m_html;
private: private:
TQTimer *timer; TQTimer *timer;

@ -88,7 +88,7 @@ MetabarWidget::MetabarWidget(TQWidget *parent, const char *name) : TQWidget(pare
connect(dir_watch, TQT_SIGNAL(created(const TQString&)), this, TQT_SLOT(slotUpdateCurrentInfo(const TQString&))); connect(dir_watch, TQT_SIGNAL(created(const TQString&)), this, TQT_SLOT(slotUpdateCurrentInfo(const TQString&)));
connect(dir_watch, TQT_SIGNAL(deleted(const TQString&)), this, TQT_SLOT(slotDeleteCurrentInfo(const TQString&))); connect(dir_watch, TQT_SIGNAL(deleted(const TQString&)), this, TQT_SLOT(slotDeleteCurrentInfo(const TQString&)));
html = new KHTMLPart(this, "metabarhtmlpart"); html = new TDEHTMLPart(this, "metabarhtmlpart");
html->setJScriptEnabled(true); html->setJScriptEnabled(true);
html->setPluginsEnabled(true); html->setPluginsEnabled(true);
html->setCaretVisible(false); html->setCaretVisible(false);

@ -53,7 +53,7 @@ class MetabarWidget : public TQWidget
KFileItemList *currentItems; KFileItemList *currentItems;
TDEConfig *config; TDEConfig *config;
KHTMLPart *html; TDEHTMLPart *html;
ProtocolPlugin *currentPlugin; ProtocolPlugin *currentPlugin;
ProtocolPlugin *defaultPlugin; ProtocolPlugin *defaultPlugin;

@ -32,7 +32,7 @@
ProtocolPlugin* ProtocolPlugin::activePlugin = 0; ProtocolPlugin* ProtocolPlugin::activePlugin = 0;
ProtocolPlugin::ProtocolPlugin(KHTMLPart *html, MetabarFunctions *functions, const char* name) : TQObject(html, name), m_html(html), m_functions(functions) ProtocolPlugin::ProtocolPlugin(TDEHTMLPart *html, MetabarFunctions *functions, const char* name) : TQObject(html, name), m_html(html), m_functions(functions)
{ {
} }

@ -35,7 +35,7 @@ class ProtocolPlugin : public TQObject{
public: public:
static ProtocolPlugin* activePlugin; static ProtocolPlugin* activePlugin;
ProtocolPlugin(KHTMLPart *html, MetabarFunctions *functions, const char* name = 0); ProtocolPlugin(TDEHTMLPart *html, MetabarFunctions *functions, const char* name = 0);
~ProtocolPlugin(); ~ProtocolPlugin();
void setFileItems(const KFileItemList &items); void setFileItems(const KFileItemList &items);
@ -54,7 +54,7 @@ class ProtocolPlugin : public TQObject{
virtual void loadBookmarks(DOM::HTMLElement node) = 0; virtual void loadBookmarks(DOM::HTMLElement node) = 0;
KFileItemList m_items; KFileItemList m_items;
KHTMLPart *m_html; TDEHTMLPart *m_html;
MetabarFunctions *m_functions; MetabarFunctions *m_functions;
}; };

@ -24,7 +24,7 @@
#include <klocale.h> #include <klocale.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
RemotePlugin::RemotePlugin(KHTMLPart* html, MetabarFunctions *functions, const char *name) : DefaultPlugin (html, functions, name) RemotePlugin::RemotePlugin(TDEHTMLPart* html, MetabarFunctions *functions, const char *name) : DefaultPlugin (html, functions, name)
{ {
} }

@ -29,7 +29,7 @@ class RemotePlugin : public DefaultPlugin
public: public:
RemotePlugin(KHTMLPart* html, MetabarFunctions *functions, const char *name = 0); RemotePlugin(TDEHTMLPart* html, MetabarFunctions *functions, const char *name = 0);
~RemotePlugin(); ~RemotePlugin();
void loadActions(DOM::HTMLElement node); void loadActions(DOM::HTMLElement node);

@ -29,7 +29,7 @@
#include <html_element.h> #include <html_element.h>
#include <dom_string.h> #include <dom_string.h>
SettingsPlugin::SettingsPlugin(KHTMLPart* html, MetabarFunctions *functions, const char *name) : ProtocolPlugin (html, functions, name) SettingsPlugin::SettingsPlugin(TDEHTMLPart* html, MetabarFunctions *functions, const char *name) : ProtocolPlugin (html, functions, name)
{ {
list_job = 0; list_job = 0;
} }

@ -32,7 +32,7 @@ class SettingsPlugin : public ProtocolPlugin
public: public:
SettingsPlugin(KHTMLPart* html, MetabarFunctions *functions, const char *name = 0); SettingsPlugin(TDEHTMLPart* html, MetabarFunctions *functions, const char *name = 0);
~SettingsPlugin(); ~SettingsPlugin();
void deactivate(); void deactivate();

@ -3,7 +3,7 @@ INCLUDES = $(all_includes)
kde_module_LTLIBRARIES = libtdehtmlsettingsplugin.la kde_module_LTLIBRARIES = libtdehtmlsettingsplugin.la
libtdehtmlsettingsplugin_la_SOURCES = settingsplugin.cpp libtdehtmlsettingsplugin_la_SOURCES = settingsplugin.cpp
libtdehtmlsettingsplugin_la_LIBADD = $(LIB_KHTML) libtdehtmlsettingsplugin_la_LIBADD = $(LIB_TDEHTML)
libtdehtmlsettingsplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) libtdehtmlsettingsplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
pluginsdir = $(kde_datadir)/tdehtml/kpartplugins pluginsdir = $(kde_datadir)/tdehtml/kpartplugins

@ -118,13 +118,13 @@ SettingsPlugin::~SettingsPlugin()
void SettingsPlugin::showPopup() void SettingsPlugin::showPopup()
{ {
if( !parent() || !parent()->inherits("KHTMLPart")) if( !parent() || !parent()->inherits("TDEHTMLPart"))
return; return;
if (!mConfig) if (!mConfig)
mConfig = new TDEConfig("settingspluginrc", false, false); mConfig = new TDEConfig("settingspluginrc", false, false);
KHTMLPart *part = static_cast<KHTMLPart *>( parent() ); TDEHTMLPart *part = static_cast<TDEHTMLPart *>( parent() );
KProtocolManager::reparseConfiguration(); KProtocolManager::reparseConfiguration();
bool cookies = cookiesEnabled( part->url().url() ); bool cookies = cookiesEnabled( part->url().url() );
@ -159,28 +159,28 @@ void SettingsPlugin::showPopup()
void SettingsPlugin::toggleJava() void SettingsPlugin::toggleJava()
{ {
if( parent() && parent()->inherits("KHTMLPart")) if( parent() && parent()->inherits("TDEHTMLPart"))
{ {
KHTMLPart *part = static_cast<KHTMLPart *>(parent()); TDEHTMLPart *part = static_cast<TDEHTMLPart *>(parent());
part->setJavaEnabled( ((KToggleAction*)actionCollection()->action("java"))->isChecked() ); part->setJavaEnabled( ((KToggleAction*)actionCollection()->action("java"))->isChecked() );
} }
} }
void SettingsPlugin::toggleJavascript() void SettingsPlugin::toggleJavascript()
{ {
if( parent() && parent()->inherits("KHTMLPart")) if( parent() && parent()->inherits("TDEHTMLPart"))
{ {
KHTMLPart *part = static_cast<KHTMLPart *>(parent()); TDEHTMLPart *part = static_cast<TDEHTMLPart *>(parent());
part->setJScriptEnabled( ((KToggleAction*)actionCollection()->action("javascript"))->isChecked() ); part->setJScriptEnabled( ((KToggleAction*)actionCollection()->action("javascript"))->isChecked() );
} }
} }
void SettingsPlugin::toggleCookies() void SettingsPlugin::toggleCookies()
{ {
if( !parent() || !parent()->inherits("KHTMLPart")) if( !parent() || !parent()->inherits("TDEHTMLPart"))
return; return;
KHTMLPart *part = static_cast<KHTMLPart *>( parent() ); TDEHTMLPart *part = static_cast<TDEHTMLPart *>( parent() );
TQString advice; TQString advice;
bool enable = ((KToggleAction*)actionCollection()->action("cookies"))->isChecked(); bool enable = ((KToggleAction*)actionCollection()->action("cookies"))->isChecked();
@ -203,18 +203,18 @@ void SettingsPlugin::toggleCookies()
void SettingsPlugin::togglePlugins() void SettingsPlugin::togglePlugins()
{ {
if( parent() && parent()->inherits("KHTMLPart")) if( parent() && parent()->inherits("TDEHTMLPart"))
{ {
KHTMLPart *part = static_cast<KHTMLPart *>(parent()); TDEHTMLPart *part = static_cast<TDEHTMLPart *>(parent());
part->setPluginsEnabled( ((KToggleAction*)actionCollection()->action("plugins"))->isChecked() ); part->setPluginsEnabled( ((KToggleAction*)actionCollection()->action("plugins"))->isChecked() );
} }
} }
void SettingsPlugin::toggleImageLoading() void SettingsPlugin::toggleImageLoading()
{ {
if( parent() && parent()->inherits("KHTMLPart")) if( parent() && parent()->inherits("TDEHTMLPart"))
{ {
KHTMLPart *part = static_cast<KHTMLPart *>(parent()); TDEHTMLPart *part = static_cast<TDEHTMLPart *>(parent());
part->setAutoloadImages( ((KToggleAction*)actionCollection()->action("imageloading"))->isChecked() ); part->setAutoloadImages( ((KToggleAction*)actionCollection()->action("imageloading"))->isChecked() );
} }
} }

@ -9,128 +9,128 @@ X-TDE-PluginInfo-Category=Tools
X-TDE-PluginInfo-Depends= X-TDE-PluginInfo-Depends=
X-TDE-PluginInfo-License=GPL X-TDE-PluginInfo-License=GPL
X-TDE-PluginInfo-EnabledByDefault=true X-TDE-PluginInfo-EnabledByDefault=true
Name=KHTML Settings Name=TDEHTML Settings
Name[af]=Khtml Instellings Name[af]=Khtml Instellings
Name[ar]=اعدادات KHTML Name[ar]=اعدادات TDEHTML
Name[az]=KHTML Qurğuları Name[az]=TDEHTML Qurğuları
Name[bg]=Настройки на KHTML Name[bg]=Настройки на TDEHTML
Name[br]=Dibarzhoù KHTML Name[br]=Dibarzhoù TDEHTML
Name[bs]=KHTML postavke Name[bs]=TDEHTML postavke
Name[ca]=Preferències KHTML Name[ca]=Preferències TDEHTML
Name[cs]=Nastavení KHTML Name[cs]=Nastavení TDEHTML
Name[cy]=Gosodiadau KHTML Name[cy]=Gosodiadau TDEHTML
Name[da]=KHTML-opsætning Name[da]=TDEHTML-opsætning
Name[de]=KHTML-Einstellungen Name[de]=TDEHTML-Einstellungen
Name[el]=Ρυθμίσεις KHTML Name[el]=Ρυθμίσεις TDEHTML
Name[eo]=KHTML-agordo Name[eo]=TDEHTML-agordo
Name[es]=Preferencias de KHTML Name[es]=Preferencias de TDEHTML
Name[et]=KHTML seadistused Name[et]=TDEHTML seadistused
Name[eu]=KHTMLren ezarpenak Name[eu]=TDEHTMLren ezarpenak
Name[fa]=تنظیمات KHTML Name[fa]=تنظیمات TDEHTML
Name[fi]=KHTML-asetukset Name[fi]=TDEHTML-asetukset
Name[fo]=KHTML-uppseting Name[fo]=TDEHTML-uppseting
Name[fr]=Réglages KHTML Name[fr]=Réglages TDEHTML
Name[fy]=KHTML-ynstellingen Name[fy]=TDEHTML-ynstellingen
Name[ga]=Socruithe KHTML Name[ga]=Socruithe TDEHTML
Name[gl]=Configuración de KHTML Name[gl]=Configuración de TDEHTML
Name[he]=הגדרות KHTML Name[he]=הגדרות TDEHTML
Name[hi]=के-एचटीएमएल विन्यास Name[hi]=के-एचटीएमएल विन्यास
Name[hr]=KHTML postavke Name[hr]=TDEHTML postavke
Name[hu]=KHTML-beállítások Name[hu]=TDEHTML-beállítások
Name[it]=Impostazioni KHTML Name[it]=Impostazioni TDEHTML
Name[ja]=KHTML 設定 Name[ja]=TDEHTML 設定
Name[ka]=KHTML პარამეტრები Name[ka]=TDEHTML პარამეტრები
Name[kk]=KHTML параметрлері Name[kk]=TDEHTML параметрлері
Name[km]=ការ​កំណត់​ KHTML Name[km]=ការ​កំណត់​ TDEHTML
Name[lt]=KHTML nustatymai Name[lt]=TDEHTML nustatymai
Name[mk]=Поставувања за KHTML Name[mk]=Поставувања за TDEHTML
Name[ms]=Seting KHTML Name[ms]=Seting TDEHTML
Name[nb]=KHTML-innstillinger Name[nb]=TDEHTML-innstillinger
Name[nds]=KHTML-Instellen Name[nds]=TDEHTML-Instellen
Name[ne]=केएचटीएमएल सेटिङ Name[ne]=केएचटीएमएल सेटिङ
Name[nl]=KHTML-instellingen Name[nl]=TDEHTML-instellingen
Name[nn]=KHTML-innstillingar Name[nn]=TDEHTML-innstillingar
Name[pa]=KHTML ਸਥਾਪਨ Name[pa]=TDEHTML ਸਥਾਪਨ
Name[pl]=Ustawienia KHTML Name[pl]=Ustawienia TDEHTML
Name[pt]=Configuração do KHTML Name[pt]=Configuração do TDEHTML
Name[pt_BR]=Configurações KHTML Name[pt_BR]=Configurações TDEHTML
Name[ro]=Setări KHTML Name[ro]=Setări TDEHTML
Name[ru]=Параметры KHTML Name[ru]=Параметры TDEHTML
Name[sk]=KHTML nastavenia Name[sk]=TDEHTML nastavenia
Name[sl]=Nastavitve KHTML Name[sl]=Nastavitve TDEHTML
Name[sr]=Подешавања KHTML-а Name[sr]=Подешавања TDEHTML-а
Name[sr@Latn]=Podešavanja KHTML-a Name[sr@Latn]=Podešavanja TDEHTML-a
Name[sv]=KHTML-inställningar Name[sv]=TDEHTML-inställningar
Name[ta]=KHTML அமைப்புகள் Name[ta]=TDEHTML அமைப்புகள்
Name[tg]=Танзимотҳои KHTML Name[tg]=Танзимотҳои TDEHTML
Name[tr]=KHTML Ayarları Name[tr]=TDEHTML Ayarları
Name[uk]=Параметри KHTML Name[uk]=Параметри TDEHTML
Name[uz]=KHTML moslamalari Name[uz]=TDEHTML moslamalari
Name[uz@cyrillic]=KHTML мосламалари Name[uz@cyrillic]=TDEHTML мосламалари
Name[vi]=Thiết lập KHTML Name[vi]=Thiết lập TDEHTML
Name[xh]=Ucwangciso lwe KHTML Name[xh]=Ucwangciso lwe TDEHTML
Name[zh_CN]=KHTML 设置 Name[zh_CN]=TDEHTML 设置
Name[zh_TW]=KHTML 設定 Name[zh_TW]=TDEHTML 設定
Comment=Fast way to change the KHTML settings Comment=Fast way to change the TDEHTML settings
Comment[af]=Vinnige weg na verander die Khtml instellings Comment[af]=Vinnige weg na verander die Khtml instellings
Comment[ar]=طريقة سهلة لتغيير اعدادات KHTML Comment[ar]=طريقة سهلة لتغيير اعدادات TDEHTML
Comment[az]=KHTML qurğularını dəyişdirmənin sür'ətli yolu Comment[az]=TDEHTML qurğularını dəyişdirmənin sür'ətli yolu
Comment[bg]=Бърз начин да се променят някои от най-важните настройки на KHTML Comment[bg]=Бърз начин да се променят някои от най-важните настройки на TDEHTML
Comment[bs]=Brz način za mijenjanje KHTML postavki Comment[bs]=Brz način za mijenjanje TDEHTML postavki
Comment[ca]=Per a canviar ràpidament les preferències de KHTML Comment[ca]=Per a canviar ràpidament les preferències de TDEHTML
Comment[cs]=Rychlé přepínání nastavení KHTML Comment[cs]=Rychlé přepínání nastavení TDEHTML
Comment[cy]=Ffordd cyflym o newid y gosodiadau KHTML Comment[cy]=Ffordd cyflym o newid y gosodiadau TDEHTML
Comment[da]=Hurtig måde at ændre KHTML-opsætningen på Comment[da]=Hurtig måde at ændre TDEHTML-opsætningen på
Comment[de]=Schnelle Möglichkeiten zur Änderung der KHTML-Einstellungen Comment[de]=Schnelle Möglichkeiten zur Änderung der TDEHTML-Einstellungen
Comment[el]=Γρήγορος τρόπος αλλαγής των ρυθμίσεων του KHTML Comment[el]=Γρήγορος τρόπος αλλαγής των ρυθμίσεων του TDEHTML
Comment[eo]=Rapida kielo por ŝanĝi la KHTML-agordon Comment[eo]=Rapida kielo por ŝanĝi la TDEHTML-agordon
Comment[es]=Una forma rápida de cambiar las preferencias de KHTML Comment[es]=Una forma rápida de cambiar las preferencias de TDEHTML
Comment[et]=Kiirmeetod muuta KHTML seadistusi Comment[et]=Kiirmeetod muuta TDEHTML seadistusi
Comment[eu]=KHTMLren ezarpenak aldatzeko bide azkarra Comment[eu]=TDEHTMLren ezarpenak aldatzeko bide azkarra
Comment[fa]=روش سریع تغییر تنظیمات KHTML Comment[fa]=روش سریع تغییر تنظیمات TDEHTML
Comment[fi]=Nopea tapa muuttaa KHTML asetuksia Comment[fi]=Nopea tapa muuttaa TDEHTML asetuksia
Comment[fo]=Snarvegur uppsetingin av KHTML Comment[fo]=Snarvegur uppsetingin av TDEHTML
Comment[fr]=Méthode rapide pour configurer les réglages KHTML Comment[fr]=Méthode rapide pour configurer les réglages TDEHTML
Comment[fy]=Snelle manier om de ynstellingen fan KHTML te wizigjen Comment[fy]=Snelle manier om de ynstellingen fan TDEHTML te wizigjen
Comment[gl]=Unha forma rápida de alterar a configuración de KHTML Comment[gl]=Unha forma rápida de alterar a configuración de TDEHTML
Comment[he]=דרך מהירה לשנות את ההגדרות של KHTML Comment[he]=דרך מהירה לשנות את ההגדרות של TDEHTML
Comment[hi]=के-एचटीएमएल विन्यास बदलने का तेज तरीका Comment[hi]=के-एचटीएमएल विन्यास बदलने का तेज तरीका
Comment[hr]=Brz način izmjene KHTML postavki Comment[hr]=Brz način izmjene TDEHTML postavki
Comment[hu]=A KHTML objektum beállításai Comment[hu]=A TDEHTML objektum beállításai
Comment[is]=Fljótvirk leið til að stilla KHTML Comment[is]=Fljótvirk leið til að stilla TDEHTML
Comment[it]=Modo veloce per cambiare le impostazioni KHTML Comment[it]=Modo veloce per cambiare le impostazioni TDEHTML
Comment[ja]=KHTML 設定を素早く変更します Comment[ja]=TDEHTML 設定を素早く変更します
Comment[ka]=KHTML პარამეტრების შეცვლის სწრაფი გზა Comment[ka]=TDEHTML პარამეტრების შეცვლის სწრაფი გზა
Comment[kk]=KHTML параметрлерін шұғыл өзгертудің жолы Comment[kk]=TDEHTML параметрлерін шұғыл өзгертудің жолы
Comment[km]=​វិធី​ដ៏​​រហ័ស​ដើម្បី​ផ្លាស់ប្ដូរ​ការ​កំណត់ KHTML Comment[km]=​វិធី​ដ៏​​រហ័ស​ដើម្បី​ផ្លាស់ប្ដូរ​ការ​កំណត់ TDEHTML
Comment[lt]=Greitas būdas KHTML parinktims pakeisti Comment[lt]=Greitas būdas TDEHTML parinktims pakeisti
Comment[mk]=Брз начин за промена на поставувањата за KHTML Comment[mk]=Брз начин за промена на поставувањата за TDEHTML
Comment[ms]=Cara pantas untuk mengubah seting KHTML Comment[ms]=Cara pantas untuk mengubah seting TDEHTML
Comment[nb]=Rask måte å endre KHTML-innstillinger Comment[nb]=Rask måte å endre TDEHTML-innstillinger
Comment[nds]=De KHTML-Instellen gau ännern Comment[nds]=De TDEHTML-Instellen gau ännern
Comment[ne]=केएचटीएमएल सेटिङ परिवर्तन गर्ने छिटो तरिका Comment[ne]=केएचटीएमएल सेटिङ परिवर्तन गर्ने छिटो तरिका
Comment[nl]=Snelle manier om de instellingen van KHTML te wijzigen Comment[nl]=Snelle manier om de instellingen van TDEHTML te wijzigen
Comment[nn]=Ein rask måte å endra KHTML-innstillingane Comment[nn]=Ein rask måte å endra TDEHTML-innstillingane
Comment[pl]=Szybka zmiana ustawień KHTML Comment[pl]=Szybka zmiana ustawień TDEHTML
Comment[pt]=Uma forma rápida de alterar a configuração do KHTML Comment[pt]=Uma forma rápida de alterar a configuração do TDEHTML
Comment[pt_BR]=Modo rápido de mudar as configurações do KHTML Comment[pt_BR]=Modo rápido de mudar as configurações do TDEHTML
Comment[ro]=Configurează rapid şi uşor setările KHTML Comment[ro]=Configurează rapid şi uşor setările TDEHTML
Comment[ru]=Быстрое изменение параметров KHTML Comment[ru]=Быстрое изменение параметров TDEHTML
Comment[sk]=Rýchla cesta ako zmeniť nastavenia KHTML Comment[sk]=Rýchla cesta ako zmeniť nastavenia TDEHTML
Comment[sl]=Hiter način za spreminjanje nastavitev KHTML Comment[sl]=Hiter način za spreminjanje nastavitev TDEHTML
Comment[sr]=Брз начин за промену подешавања KHTML-а Comment[sr]=Брз начин за промену подешавања TDEHTML-а
Comment[sr@Latn]=Brz način za promenu podešavanja KHTML-a Comment[sr@Latn]=Brz način za promenu podešavanja TDEHTML-a
Comment[sv]=Snabbt sätt att ändra KHTML-inställningarna Comment[sv]=Snabbt sätt att ändra TDEHTML-inställningarna
Comment[ta]=KHTML அமைப்புகளை மாற்றுவதற்கான விரைவான வழி Comment[ta]=TDEHTML அமைப்புகளை மாற்றுவதற்கான விரைவான வழி
Comment[tg]=Тағйирёбии тези танзимотҳои KHTML Comment[tg]=Тағйирёбии тези танзимотҳои TDEHTML
Comment[tr]=KHTML ayarlarını değiştirmek için hızlı bir yol Comment[tr]=TDEHTML ayarlarını değiştirmek için hızlı bir yol
Comment[uk]=Швидкий шлях змінити параметри KHTML Comment[uk]=Швидкий шлях змінити параметри TDEHTML
Comment[uz]=KHTML moslamalarini tez oʻzgartirish yoʻli Comment[uz]=TDEHTML moslamalarini tez oʻzgartirish yoʻli
Comment[uz@cyrillic]=KHTML мосламаларини тез ўзгартириш йўли Comment[uz@cyrillic]=TDEHTML мосламаларини тез ўзгартириш йўли
Comment[vi]=Cách thay đổi nhanh thiết lập KHTML Comment[vi]=Cách thay đổi nhanh thiết lập TDEHTML
Comment[xh]=Indlela ekhawulezayo yokutshintsha ucwangciso lwe KHTML Comment[xh]=Indlela ekhawulezayo yokutshintsha ucwangciso lwe TDEHTML
Comment[zh_CN]=改变 KHTML 设置的快速方式 Comment[zh_CN]=改变 TDEHTML 设置的快速方式
Comment[zh_TW]=快速變更 KHTML 設定的方法 Comment[zh_TW]=快速變更 TDEHTML 設定的方法
X-TDE-ParentApp=konqueror X-TDE-ParentApp=konqueror
Icon=configure Icon=configure
DocPath=konq-plugins/tdehtmlsettings/index.html DocPath=konq-plugins/tdehtmlsettings/index.html

@ -1,5 +1,5 @@
Begin4 Begin4
Title: KHTMLSettingsPlugin Title: TDEHTMLSettingsPlugin
Version: R14.0.0 Version: R14.0.0
Entered-date: 2010-05-10 Entered-date: 2010-05-10
Description: Puts a button with a dropdown menu with settings for Java, Javascript, Cookies Description: Puts a button with a dropdown menu with settings for Java, Javascript, Cookies

@ -4,7 +4,7 @@ AM_CPPFLAGS = $(all_includes)
METASOURCES = AUTO METASOURCES = AUTO
libuachangerplugin_la_SOURCES = uachangerplugin.cpp libuachangerplugin_la_SOURCES = uachangerplugin.cpp
libuachangerplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KHTML) libuachangerplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_TDEHTML)
libuachangerplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) libuachangerplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
pluginsdir = $(kde_datadir)/tdehtml/kpartplugins pluginsdir = $(kde_datadir)/tdehtml/kpartplugins

@ -65,9 +65,9 @@ UAChangerPlugin::UAChangerPlugin( TQObject* parent, const char* name,
m_pUAMenu->setEnabled ( false ); m_pUAMenu->setEnabled ( false );
if ( parent && parent->inherits( "KHTMLPart" ) ) if ( parent && parent->inherits( "TDEHTMLPart" ) )
{ {
m_part = static_cast<KHTMLPart*>(parent); m_part = static_cast<TDEHTMLPart*>(parent);
connect( m_part, TQT_SIGNAL(started(TDEIO::Job*)), this, connect( m_part, TQT_SIGNAL(started(TDEIO::Job*)), this,
TQT_SLOT(slotStarted(TDEIO::Job*)) ); TQT_SLOT(slotStarted(TDEIO::Job*)) );
} }

@ -29,7 +29,7 @@
#include <klibloader.h> #include <klibloader.h>
#include <tdeparts/plugin.h> #include <tdeparts/plugin.h>
class KHTMLPart; class TDEHTMLPart;
class KActionMenu; class KActionMenu;
class TDEConfig; class TDEConfig;
@ -72,7 +72,7 @@ private:
bool m_bApplyToDomain; bool m_bApplyToDomain;
bool m_bSettingsLoaded; bool m_bSettingsLoaded;
KHTMLPart* m_part; TDEHTMLPart* m_part;
KActionMenu* m_pUAMenu; KActionMenu* m_pUAMenu;
TDEConfig* m_config; TDEConfig* m_config;

@ -5,7 +5,7 @@ METASOURCES = AUTO
kde_module_LTLIBRARIES = libvalidatorsplugin.la kde_module_LTLIBRARIES = libvalidatorsplugin.la
libvalidatorsplugin_la_SOURCES = plugin_validators.cpp validatorsdialog.cpp libvalidatorsplugin_la_SOURCES = plugin_validators.cpp validatorsdialog.cpp
libvalidatorsplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KHTML) libvalidatorsplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_TDEHTML)
libvalidatorsplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) libvalidatorsplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
pluginsdir = $(kde_datadir)/tdehtml/kpartplugins pluginsdir = $(kde_datadir)/tdehtml/kpartplugins

@ -71,14 +71,14 @@ PluginValidators::PluginValidators( TQObject* parent, const char* name,
m_menu->setEnabled( false ); m_menu->setEnabled( false );
if ( parent && parent->inherits( "KHTMLPart" )) if ( parent && parent->inherits( "TDEHTMLPart" ))
{ {
m_menu->insert( new KAction( i18n( "C&onfigure Validator..." ), m_menu->insert( new KAction( i18n( "C&onfigure Validator..." ),
"configure", 0, "configure", 0,
this, TQT_SLOT(slotConfigure()), this, TQT_SLOT(slotConfigure()),
actionCollection(), "configure") ); actionCollection(), "configure") );
m_part = static_cast<KHTMLPart *>( parent ); m_part = static_cast<TDEHTMLPart *>( parent );
m_configDialog = new ValidatorsDialog( m_part->widget() ); m_configDialog = new ValidatorsDialog( m_part->widget() );
setURLs(); setURLs();
@ -140,8 +140,8 @@ void PluginValidators::slotConfigure()
void PluginValidators::validateURL(const KURL &url, const KURL &uploadUrl) void PluginValidators::validateURL(const KURL &url, const KURL &uploadUrl)
{ {
// The parent is assumed to be a KHTMLPart // The parent is assumed to be a TDEHTMLPart
if ( !parent()->inherits("KHTMLPart") ) if ( !parent()->inherits("TDEHTMLPart") )
{ {
TQString title = i18n( "Cannot Validate Source" ); TQString title = i18n( "Cannot Validate Source" );
TQString text = i18n( "You cannot validate anything except web pages with " TQString text = i18n( "You cannot validate anything except web pages with "

@ -60,7 +60,7 @@ private:
KActionMenu *m_menu; KActionMenu *m_menu;
TQGuardedPtr<ValidatorsDialog> m_configDialog; // | TQGuardedPtr<ValidatorsDialog> m_configDialog; // |
// +-> Order dependency. // +-> Order dependency.
KHTMLPart* m_part; // | TDEHTMLPart* m_part; // |
KURL m_WWWValidatorUrl, m_WWWValidatorUploadUrl; KURL m_WWWValidatorUrl, m_WWWValidatorUploadUrl;
KURL m_CSSValidatorUrl, m_CSSValidatorUploadUrl; KURL m_CSSValidatorUrl, m_CSSValidatorUploadUrl;

@ -6,7 +6,7 @@ METASOURCES = AUTO
kde_module_LTLIBRARIES = libwebarchiverplugin.la webarchivethumbnail.la kde_module_LTLIBRARIES = libwebarchiverplugin.la webarchivethumbnail.la
libwebarchiverplugin_la_SOURCES = plugin_webarchiver.cpp archiveviewbase.ui archivedialog.cpp libwebarchiverplugin_la_SOURCES = plugin_webarchiver.cpp archiveviewbase.ui archivedialog.cpp
libwebarchiverplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_KHTML) libwebarchiverplugin_la_LIBADD = $(LIB_KPARTS) $(LIB_TDEHTML)
libwebarchiverplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) libwebarchiverplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
pluginsdir = $(kde_datadir)/tdehtml/kpartplugins pluginsdir = $(kde_datadir)/tdehtml/kpartplugins
@ -20,7 +20,7 @@ install-data-local: $(srcdir)/../uninstall.desktop
$(INSTALL_DATA) $(srcdir)/../uninstall.desktop $(DESTDIR)$(pluginsdir)/webarchiverplugin.desktop $(INSTALL_DATA) $(srcdir)/../uninstall.desktop $(DESTDIR)$(pluginsdir)/webarchiverplugin.desktop
webarchivethumbnail_la_SOURCES = webarchivecreator.cpp webarchivethumbnail_la_SOURCES = webarchivecreator.cpp
webarchivethumbnail_la_LIBADD = $(LIB_KHTML) webarchivethumbnail_la_LIBADD = $(LIB_TDEHTML)
webarchivethumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) webarchivethumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
servicesdir = $(kde_servicesdir) servicesdir = $(kde_servicesdir)

@ -50,7 +50,7 @@
#define CONTENT_TYPE "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">" #define CONTENT_TYPE "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">"
ArchiveDialog::ArchiveDialog(TQWidget *parent, const TQString &filename, ArchiveDialog::ArchiveDialog(TQWidget *parent, const TQString &filename,
KHTMLPart *part) : TDEHTMLPart *part) :
KDialogBase(parent, "WebArchiveDialog", false, i18n("Web Archiver"), KDialogBase(parent, "WebArchiveDialog", false, i18n("Web Archiver"),
KDialogBase::Ok | KDialogBase::Cancel | KDialogBase::User1 ), KDialogBase::Ok | KDialogBase::Cancel | KDialogBase::User1 ),
m_bPreserveWS(false), m_tmpFile(0), m_url(part->url()) m_bPreserveWS(false), m_tmpFile(0), m_url(part->url())
@ -271,7 +271,7 @@ void ArchiveDialog::saveArchiveRecursive(const DOM::Node &pNode, const KURL& bas
/* Going recursively down creating a DOM-Tree for the Frame, second Level of recursion */ /* Going recursively down creating a DOM-Tree for the Frame, second Level of recursion */
//## Add Termination criteria, on the other hand frames are not indefinetly nested, are they :) //## Add Termination criteria, on the other hand frames are not indefinetly nested, are they :)
KHTMLPart* part = new KHTMLPart(); TDEHTMLPart* part = new TDEHTMLPart();
KURL absoluteURL = getAbsoluteURL(baseURL, attrValue); KURL absoluteURL = getAbsoluteURL(baseURL, attrValue);
part->openURL(absoluteURL); part->openURL(absoluteURL);
saveFile(getUniqueFileName(absoluteURL.fileName()), part); saveFile(getUniqueFileName(absoluteURL.fileName()), part);

@ -32,7 +32,7 @@
#include <tqvaluelist.h> #include <tqvaluelist.h>
class TQWidget; class TQWidget;
class KHTMLPart; class TDEHTMLPart;
class ArchiveViewBase; class ArchiveViewBase;
class KURL; class KURL;
class KTar; class KTar;
@ -44,7 +44,7 @@ class ArchiveDialog : public KDialogBase
Q_OBJECT Q_OBJECT
public: public:
ArchiveDialog(TQWidget *parent, const TQString &targetFilename, KHTMLPart *part); ArchiveDialog(TQWidget *parent, const TQString &targetFilename, TDEHTMLPart *part);
~ArchiveDialog(); ~ArchiveDialog();
void archive(); void archive();

@ -67,9 +67,9 @@ PluginWebArchiver::~PluginWebArchiver()
void PluginWebArchiver::slotSaveToArchive() void PluginWebArchiver::slotSaveToArchive()
{ {
// ## Unicode ok? // ## Unicode ok?
if( !parent() || !parent()->inherits("KHTMLPart")) if( !parent() || !parent()->inherits("TDEHTMLPart"))
return; return;
KHTMLPart *part = static_cast<KHTMLPart *>( parent() ); TDEHTMLPart *part = static_cast<TDEHTMLPart *>( parent() );
TQString archiveName = TQString::fromUtf8(part->htmlDocument().title().string().utf8()); TQString archiveName = TQString::fromUtf8(part->htmlDocument().title().string().utf8());

@ -52,7 +52,7 @@ bool WebArchiveCreator::create(const TQString &path, int width, int height, TQIm
{ {
if (!m_html) if (!m_html)
{ {
m_html = new KHTMLPart; m_html = new TDEHTMLPart;
connect(m_html, TQT_SIGNAL(completed()), TQT_SLOT(slotCompleted())); connect(m_html, TQT_SIGNAL(completed()), TQT_SLOT(slotCompleted()));
m_html->setJScriptEnabled(false); m_html->setJScriptEnabled(false);
m_html->setJavaEnabled(false); m_html->setJavaEnabled(false);

@ -24,7 +24,7 @@
#include <tdeio/thumbcreator.h> #include <tdeio/thumbcreator.h>
class KHTMLPart; class TDEHTMLPart;
class WebArchiveCreator : public TQObject, public ThumbCreator class WebArchiveCreator : public TQObject, public ThumbCreator
{ {
@ -43,7 +43,7 @@ private slots:
void slotCompleted(); void slotCompleted();
private: private:
KHTMLPart *m_html; TDEHTMLPart *m_html;
bool m_completed; bool m_completed;
}; };

@ -4,7 +4,7 @@ kde_module_LTLIBRARIES = noatunlyrics.la
noatunlyrics_la_SOURCES = lyrics.cpp historymanager.cpp cmodule.cpp noatunlyrics_la_SOURCES = lyrics.cpp historymanager.cpp cmodule.cpp
noatunlyrics_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined noatunlyrics_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined
noatunlyrics_la_LIBADD = $(LIB_KHTML) $(LIB_KFILE) -lnoatun noatunlyrics_la_LIBADD = $(LIB_TDEHTML) $(LIB_KFILE) -lnoatun
noatunlyrics_la_METASOURCES = AUTO noatunlyrics_la_METASOURCES = AUTO

@ -49,7 +49,7 @@ Lyrics::Lyrics() : KMainWindow(), Plugin(), active(false)
/* Create history manager and htmlpart */ /* Create history manager and htmlpart */
history = new HistoryManager(TQT_TQOBJECT(this)); history = new HistoryManager(TQT_TQOBJECT(this));
htmlpart = new KHTMLPart(this); htmlpart = new TDEHTMLPart(this);
//htmlpart->view()->setMinimumSize(350, 420); //htmlpart->view()->setMinimumSize(350, 420);
/* Connect signals/slots */ /* Connect signals/slots */

@ -45,7 +45,7 @@ private:
KToggleAction *follow_act; KToggleAction *follow_act;
KToggleAction *attach_act; KToggleAction *attach_act;
KSelectAction *site_act; KSelectAction *site_act;
KHTMLPart *htmlpart; TDEHTMLPart *htmlpart;
TQValueVector<SearchProvider> mSites; TQValueVector<SearchProvider> mSites;
HistoryManager *history; HistoryManager *history;
bool active; bool active;

@ -15,7 +15,7 @@ pluginsdir = $(kde_servicesdir)
plugins_DATA = renimagedlg.desktop plugins_DATA = renimagedlg.desktop
# Install the .rc file in the Part's directory (in this case, the part # Install the .rc file in the Part's directory (in this case, the part
# is KHTMLPart) # is TDEHTMLPart)
messages: rc.cpp messages: rc.cpp
$(XGETTEXT) *.cpp -o $(podir)/imagerename_plugin.pot $(XGETTEXT) *.cpp -o $(podir)/imagerename_plugin.pot

Loading…
Cancel
Save