Rename kiobuffer and KHTML

pull/1/head
Timothy Pearson 12 years ago
parent c57861ffc9
commit 9018d91bdf

@ -1960,7 +1960,7 @@ VERSION 1.2.3:
* "Remove Duplicates / Missing" fixed. Removes dead entries correctly.
* Fix units for samplerate. (BR 101528)
* amaroK using 100% CPU on some systems. (BR 101524)
(a KHTML bug which got exposed by code in amaroK 1.2.2)
(a TDEHTML bug which got exposed by code in amaroK 1.2.2)
VERSION 1.2.2:

@ -2099,7 +2099,7 @@ if test $kde_qtver = 3; then
AC_SUBST(LIB_SMB, "-lsmb")
AC_SUBST(LIB_KAB, "-lkab")
AC_SUBST(LIB_KABC, "-lkabc")
AC_SUBST(LIB_KHTML, "-ltdehtml")
AC_SUBST(LIB_TDEHTML, "-ltdehtml")
AC_SUBST(LIB_KSPELL, "-ltdespell")
AC_SUBST(LIB_KPARTS, "-ltdeparts")
AC_SUBST(LIB_TDEPRINT, "-ltdeprint")
@ -2120,7 +2120,7 @@ elif test $kde_qtver = 2; then
AC_SUBST(LIB_SMB, "-lsmb")
AC_SUBST(LIB_KFILE, "-ltdefile")
AC_SUBST(LIB_KAB, "-lkab")
AC_SUBST(LIB_KHTML, "-ltdehtml")
AC_SUBST(LIB_TDEHTML, "-ltdehtml")
AC_SUBST(LIB_KSPELL, "-ltdespell")
AC_SUBST(LIB_KPARTS, "-ltdeparts")
AC_SUBST(LIB_TDEPRINT, "-ltdeprint")

@ -158,7 +158,7 @@ libamarok_la_LIBADD = \
$(top_builddir)/amarok/src/statusbar/libstatusbar.la \
$(top_builddir)/amarok/src/metadata/libmetadata.la \
$(top_builddir)/amarok/src/magnatunebrowser/libmagnatunebrowser.la \
$(LIB_QT) $(LIB_KPARTS) -lDCOP -ltdefx $(KDE_MT_LIBS) $(LIB_KFILE) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_KHTML) $(LIB_KNEWSTUFF) \
$(LIB_QT) $(LIB_KPARTS) -lDCOP -ltdefx $(KDE_MT_LIBS) $(LIB_KFILE) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_TDEHTML) $(LIB_KNEWSTUFF) \
$(TAGLIB_LIBS) $(gl_libs) $(LIB_SQLITE) $(LIB_SQLITE_LOCAL) \
$(LIB_TUNEPIMP) \
$(mysql_libs) \

@ -147,7 +147,7 @@ namespace Amarok
void albumArtistTrackFromUrl( TQString url, TQString &artist, TQString &album, TQString &detail )
{
if ( !url.contains("@@@") ) return;
//KHTML removes the trailing space!
//TDEHTML removes the trailing space!
if ( url.endsWith( " @@@" ) )
url += ' ';
@ -392,8 +392,8 @@ ContextBrowser::~ContextBrowser()
ThreadManager::instance()->abortAllJobsNamed( "CurrentTrackJob" );
// Ensure the KHTMLPart dies before its KHTMLView dies,
// because KHTMLPart's dtoring relies on its KHTMLView still being alive
// Ensure the TDEHTMLPart dies before its TDEHTMLView dies,
// because TDEHTMLPart's dtoring relies on its TDEHTMLView still being alive
// (see bug 130494).
delete m_currentTrackPage;
delete m_lyricsPage;

@ -28,7 +28,7 @@ KTempFile *HTMLView::m_shadowGradientImage = 0;
int HTMLView::m_instances = 0;
HTMLView::HTMLView( TQWidget *parentWidget, const char *widgetname, const bool DNDEnabled, const bool JScriptEnabled )
: KHTMLPart( parentWidget, widgetname )
: TDEHTMLPart( parentWidget, widgetname )
{
m_instances++;
setJavaEnabled( false );
@ -74,7 +74,7 @@ HTMLView::enableCopyAction()
void
HTMLView::selectAll()
{
KHTMLPart::selectAll();
TDEHTMLPart::selectAll();
}
void
@ -120,8 +120,8 @@ HTMLView::loadStyleSheet()
const TQColor bgColor = ContextBrowser::instance()->colorGroup().highlight();
TQColor gradientColor = bgColor;
//we have to set the color for body due to a KHTML bug
//KHTML sets the base color but not the text color
//we have to set the color for body due to a TDEHTML bug
//TDEHTML sets the base color but not the text color
styleSheet = TQString( "body { margin: 8px; font-size: %1px; color: %2; background-color: %3; font-family: %4; }" )
.arg( pxSize )
.arg( text )
@ -185,8 +185,8 @@ HTMLView::loadStyleSheet()
m_headerGradientImage->setAutoDelete( true );
m_shadowGradientImage->setAutoDelete( true );
//we have to set the color for body due to a KHTML bug
//KHTML sets the base color but not the text color
//we have to set the color for body due to a TDEHTML bug
//TDEHTML sets the base color but not the text color
styleSheet = TQString( "body { margin: 4px; font-size: %1px; color: %2; background-color: %3; background-image: url( %4 ); background-repeat: repeat; font-family: %5; }" )
.arg( pxSize )
.arg( text )

@ -13,7 +13,7 @@
class KAction;
class KTempFile;
class HTMLView : public KHTMLPart
class HTMLView : public TDEHTMLPart
{
Q_OBJECT

@ -5,7 +5,7 @@ kde_module_LTLIBRARIES = konqsidebar_universalamarok.la
konqsidebar_universalamarok_la_SOURCES = universalamarok.cpp amarokdcopiface.stub
konqsidebar_universalamarok_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) -lkonqsidebarplugin
konqsidebar_universalamarok_la_LIBADD = $(LIB_KHTML) $(LIB_QT) $(LIB_TDECORE) -lDCOP $(LIB_TDEUI)
konqsidebar_universalamarok_la_LIBADD = $(LIB_TDEHTML) $(LIB_QT) $(LIB_TDECORE) -lDCOP $(LIB_TDEUI)
amarokdcopiface_DIR=$(top_srcdir)/amarok/src/amarokcore

@ -88,8 +88,8 @@ UniversalAmarok::UniversalAmarok(TDEInstance *inst,TQObject *parent,TQWidget *wi
topBar->insertButton( "document", 0, TQT_SIGNAL( clicked() ), this, TQT_SLOT( lyrics() ) );
topBar->insertButton( "personal", 0, TQT_SIGNAL( clicked() ), this, TQT_SLOT( wiki() ) );
browser = new KHTMLPart(widget, "widget-browser");
//browser=new KHTMLPart(widget);
browser = new TDEHTMLPart(widget, "widget-browser");
//browser=new TDEHTMLPart(widget);
kdDebug() << "parentPart() << " << browser->parentPart() << endl;
browser->setDNDEnabled( true );
browser->setEncoding( "utf8", true );

@ -72,7 +72,7 @@ public:
private:
amarokWidget* widget;
KHTMLPart* browser;
TDEHTMLPart* browser;
TQString amarokPlaying;
DCOPClient* amarokDCOP;
TQFileInfo* fileInfo;

@ -26,7 +26,7 @@
#include <tqfile.h>
MagnatuneArtistInfoBox::MagnatuneArtistInfoBox( TQWidget *parentWidget, const char *widgetname )
: KHTMLPart( parentWidget, widgetname )
: TDEHTMLPart( parentWidget, widgetname )
{}

@ -29,11 +29,11 @@
#include <tdeio/job.h>
/**
A specialized KHTMLPart for displaying html info about a Magnatune artist or album
A specialized TDEHTMLPart for displaying html info about a Magnatune artist or album
@author Nikolaj Hald Nielsen <nhnFreespirit@gmail.com>
*/
class MagnatuneArtistInfoBox : public KHTMLPart
class MagnatuneArtistInfoBox : public TDEHTMLPart
{
Q_OBJECT

@ -3156,8 +3156,8 @@ InfoPane::InfoPane( TQWidget *parent )
InfoPane::~InfoPane()
{
// Ensure the KHTMLPart dies before its KHTMLView dies,
// because KHTMLPart's dtoring relies on its KHTMLView still being alive
// Ensure the TDEHTMLPart dies before its TDEHTMLView dies,
// because TDEHTMLPart's dtoring relies on its TDEHTMLView still being alive
// (see bug 130494).
delete m_infoBrowser;
}

@ -416,7 +416,7 @@ void TagDialog::init()
const TQStringList labels = CollectionDB::instance()->labelList();
//TODO: figure out a way to add auto-completion support to kTestEdit_selectedLabels
//m_labelCloud = new KHTMLPart( labels_favouriteLabelsFrame );
//m_labelCloud = new TDEHTMLPart( labels_favouriteLabelsFrame );
m_labelCloud = new HTMLView( labels_favouriteLabelsFrame );
m_labelCloud->view()->setSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Ignored, false );
m_labelCloud->view()->setVScrollBarMode( TQScrollView::AlwaysOff );

@ -127,7 +127,7 @@ class TagDialog : public TagDialogBase
TQStringList m_removedLabels;
KURL m_mbTrack;
TQString m_commaSeparatedLabels;
//KHTMLPart *m_labelCloud;
//TDEHTMLPart *m_labelCloud;
HTMLView *m_labelCloud;
};

@ -1 +1 @@
Subproject commit 9a217903f9fa35ca12213a6e9ee3d2cb87d1131d
Subproject commit 274366fb8b90704586d7beef216b765cc0688b08
Loading…
Cancel
Save