diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 21:04:37 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 21:04:37 -0600 |
commit | 642c256d47aef772f1ca802894dcced70404a81b (patch) | |
tree | 89a9acae31538c0adf6b989b9d17415303197855 /kapptemplate | |
parent | a51e36dd01b6fdd51475450fa909e0e0940ab56c (diff) | |
download | tdesdk-642c256d47aef772f1ca802894dcced70404a81b.tar.gz tdesdk-642c256d47aef772f1ca802894dcced70404a81b.zip |
Rename kiobuffer and KHTML
Diffstat (limited to 'kapptemplate')
-rw-r--r-- | kapptemplate/README | 2 | ||||
-rw-r--r-- | kapptemplate/kpartplugin/plugin-Makefile.am | 8 | ||||
-rw-r--r-- | kapptemplate/kpartplugin/plugin_app.cpp | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/kapptemplate/README b/kapptemplate/README index d48a2a3d..eb20be57 100644 --- a/kapptemplate/README +++ b/kapptemplate/README @@ -23,7 +23,7 @@ Currently, KAppTemplate creates four different types of frameworks: 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 diff --git a/kapptemplate/kpartplugin/plugin-Makefile.am b/kapptemplate/kpartplugin/plugin-Makefile.am index 21b5ccdd..7c01ef75 100644 --- a/kapptemplate/kpartplugin/plugin-Makefile.am +++ b/kapptemplate/kpartplugin/plugin-Makefile.am @@ -8,13 +8,13 @@ KDE_ICON = ${APP_NAME_LC} # Install this plugin in the KDE modules directory kde_module_LTLIBRARIES = lib${APP_NAME_LC}plugin.la -# This is all standard. Remove the LIB_KHTML reference if you are not -# using the KHTML Part +# This is all standard. Remove the LIB_TDEHTML reference if you are not +# using the TDEHTML Part 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) # Install the .rc file in the Part's directory (in this case, the part -# is KHTMLPart) +# is TDEHTMLPart) pluginsdir = \$(kde_datadir)/tdehtml/kpartplugins plugins_DATA = plugin_${APP_NAME_LC}.rc diff --git a/kapptemplate/kpartplugin/plugin_app.cpp b/kapptemplate/kpartplugin/plugin_app.cpp index 98a44cad..29388b46 100644 --- a/kapptemplate/kpartplugin/plugin_app.cpp +++ b/kapptemplate/kpartplugin/plugin_app.cpp @@ -30,10 +30,10 @@ Plugin${APP_NAME}::~Plugin${APP_NAME}() 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 // change the following block. - if ( !parent()->inherits("KHTMLPart") ) + if ( !parent()->inherits("TDEHTMLPart") ) { TQString title( i18n( "Cannot Translate Source" ) ); 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 // 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 // need. |