Rename kiobuffer and KHTML

pull/1/head
Timothy Pearson 11 years ago
parent a51e36dd01
commit 642c256d47

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

@ -23,7 +23,7 @@ Currently, KAppTemplate creates four different types of frameworks:
3) KPart plugin 3) KPart plugin
This creates a sample KPart plugin that acts on KHTMLPart This creates a sample KPart plugin that acts on TDEHTMLPart
4) Existing application conversion 4) Existing application conversion

@ -8,13 +8,13 @@ KDE_ICON = ${APP_NAME_LC}
# Install this plugin in the KDE modules directory # Install this plugin in the KDE modules directory
kde_module_LTLIBRARIES = lib${APP_NAME_LC}plugin.la kde_module_LTLIBRARIES = lib${APP_NAME_LC}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
lib${APP_NAME_LC}plugin_la_SOURCES = plugin_${APP_NAME_LC}.cpp lib${APP_NAME_LC}plugin_la_SOURCES = plugin_${APP_NAME_LC}.cpp
lib${APP_NAME_LC}plugin_la_LIBADD = \$(LIB_KPARTS) \$(LIB_KHTML) lib${APP_NAME_LC}plugin_la_LIBADD = \$(LIB_KPARTS) \$(LIB_TDEHTML)
lib${APP_NAME_LC}plugin_la_LDFLAGS = -module \$(KDE_PLUGIN) \$(all_libraries) lib${APP_NAME_LC}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)/tdehtml/kpartplugins pluginsdir = \$(kde_datadir)/tdehtml/kpartplugins
plugins_DATA = plugin_${APP_NAME_LC}.rc plugins_DATA = plugin_${APP_NAME_LC}.rc

@ -30,10 +30,10 @@ Plugin${APP_NAME}::~Plugin${APP_NAME}()
void Plugin${APP_NAME}::slotAction() void Plugin${APP_NAME}::slotAction()
{ {
// This plugin assumes KHTMLPart. If your plugin can handle more // This plugin assumes TDEHTMLPart. If your plugin can handle more
// than this or a different Part than this, simply delete or // than this or a different Part than this, simply delete or
// change the following block. // change the following block.
if ( !parent()->inherits("KHTMLPart") ) if ( !parent()->inherits("TDEHTMLPart") )
{ {
TQString title( i18n( "Cannot Translate Source" ) ); TQString title( i18n( "Cannot Translate Source" ) );
TQString text( i18n( "You cannot translate anything except web pages " TQString text( i18n( "You cannot translate anything except web pages "
@ -45,7 +45,7 @@ void Plugin${APP_NAME}::slotAction()
// Get a handle on our parent so we may get the necessary data for // Get a handle on our parent so we may get the necessary data for
// processing // processing
KHTMLPart *part = dynamic_cast<KHTMLPart *>(parent()); TDEHTMLPart *part = dynamic_cast<TDEHTMLPart *>(parent());
// This plugin only uses the URL. You may use whatever data you // This plugin only uses the URL. You may use whatever data you
// need. // need.

@ -11,7 +11,7 @@ bin_PROGRAMS = kbugbuster
kbugbuster_SOURCES = main.cpp kbugbuster_SOURCES = main.cpp
kbugbuster_LDADD = -ltdeutils gui/libkbbmainwindow.la \ kbugbuster_LDADD = -ltdeutils gui/libkbbmainwindow.la \
backend/libkbbbackend.la $(LIB_KHTML) $(LIB_KIO) -ltdefx $(LIB_KUTILS) backend/libkbbbackend.la $(LIB_TDEHTML) $(LIB_KIO) -ltdefx $(LIB_KUTILS)
kbugbuster_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_KUTILS) kbugbuster_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_KUTILS)
xdg_apps_DATA = kbugbuster.desktop xdg_apps_DATA = kbugbuster.desktop

@ -15,7 +15,7 @@ Widgets, including a Qt designer .ui file:
centralwidget* The main widget of kbbmainwindow centralwidget* The main widget of kbbmainwindow
cwbuglistcontainer* The widget containing the bug list (top of central widget) cwbuglistcontainer* The widget containing the bug list (top of central widget)
cwbugdetailscontainer* The widget containing the bug details + the buttons in its right (bottom of central widget). cwbugdetailscontainer* The widget containing the bug details + the buttons in its right (bottom of central widget).
cwbugdetails* The widget showing details of a bug report, using KHTMLPart cwbugdetails* The widget showing details of a bug report, using TDEHTMLPart
cwsearchwidget* A future search widget on the left of the bug details. cwsearchwidget* A future search widget on the left of the bug details.
Same functionality is in the menus, this would take too much screen space IMHO (DF) Same functionality is in the menus, this would take too much screen space IMHO (DF)
preferencesdialog* Preferences dialog preferencesdialog* Preferences dialog

@ -40,7 +40,7 @@ CWBugDetails::CWBugDetails( TQWidget *parent , const char * name )
{ {
TQBoxLayout *topLayout = new TQVBoxLayout( this ); TQBoxLayout *topLayout = new TQVBoxLayout( this );
m_bugDesc = new KHTMLPart( this, "m_bugDesc" ); m_bugDesc = new TDEHTMLPart( this, "m_bugDesc" );
connect( m_bugDesc->browserExtension(), TQT_SIGNAL( openURLRequest( const KURL &, const KParts::URLArgs & ) ), connect( m_bugDesc->browserExtension(), TQT_SIGNAL( openURLRequest( const KURL &, const KParts::URLArgs & ) ),
this, TQT_SLOT( handleOpenURLRequest( const KURL &, const KParts::URLArgs & ) ) ); this, TQT_SLOT( handleOpenURLRequest( const KURL &, const KParts::URLArgs & ) ) );

@ -24,7 +24,7 @@
#include <tdeparts/browserextension.h> #include <tdeparts/browserextension.h>
class KHTMLPart; class TDEHTMLPart;
namespace KBugBusterMainWindow namespace KBugBusterMainWindow
{ {
@ -53,7 +53,7 @@ class CWBugDetails : public TQWidget
TQString textBugDetailsAttribute( const TQString &value, TQString textBugDetailsAttribute( const TQString &value,
const TQString &name ); const TQString &name );
KHTMLPart *m_bugDesc; TDEHTMLPart *m_bugDesc;
TQString mSource; TQString mSource;
}; };

Loading…
Cancel
Save