summaryrefslogtreecommitdiffstats
path: root/kopete
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-27 21:04:23 -0600
committerTimothy Pearson <[email protected]>2013-01-27 21:04:23 -0600
commit4140fee92e2293c37a8e9aa8f21254dc66433a0a (patch)
treee34af01d770eb757086498062850842e7b525bd3 /kopete
parent44c26994c9087200cf941f08df9f77b553a1365e (diff)
downloadtdenetwork-4140fee92e2293c37a8e9aa8f21254dc66433a0a.tar.gz
tdenetwork-4140fee92e2293c37a8e9aa8f21254dc66433a0a.zip
Rename kiobuffer and KHTML
Diffstat (limited to 'kopete')
-rw-r--r--kopete/kopete/chatwindow/chatmessagepart.cpp14
-rw-r--r--kopete/kopete/chatwindow/chatmessagepart.h4
-rw-r--r--kopete/kopete/chatwindow/chatview.cpp2
-rw-r--r--kopete/kopete/config/appearance/appearanceconfig.cpp2
-rw-r--r--kopete/libkopete/tests/mock/Makefile.am2
-rw-r--r--kopete/libkopete/ui/Makefile.am2
-rw-r--r--kopete/libkopete/ui/userinfodialog.cpp4
-rw-r--r--kopete/libkopete/ui/userinfodialog.h2
-rw-r--r--kopete/plugins/history/Makefile.am4
-rw-r--r--kopete/plugins/history/historydialog.cpp2
-rw-r--r--kopete/plugins/history/historydialog.h8
-rw-r--r--kopete/plugins/statistics/Makefile.am2
-rw-r--r--kopete/plugins/statistics/statisticsdialog.cpp2
-rw-r--r--kopete/plugins/statistics/statisticsdialog.h4
-rw-r--r--kopete/protocols/irc/Makefile.am2
15 files changed, 28 insertions, 28 deletions
diff --git a/kopete/kopete/chatwindow/chatmessagepart.cpp b/kopete/kopete/chatwindow/chatmessagepart.cpp
index 7a6235f1..8b7d5e3e 100644
--- a/kopete/kopete/chatwindow/chatmessagepart.cpp
+++ b/kopete/kopete/chatwindow/chatmessagepart.cpp
@@ -36,7 +36,7 @@
#include <tqtimer.h>
#include <tqstylesheet.h>
-// KHTML::DOM includes
+// TDEHTML::DOM includes
#include <dom/dom_doc.h>
#include <dom/dom_text.h>
#include <dom/dom_element.h>
@@ -214,7 +214,7 @@ private:
};
ChatMessagePart::ChatMessagePart( Kopete::ChatSession *mgr, TQWidget *parent, const char *name)
- : KHTMLPart( parent, name ), d( new Private )
+ : TDEHTMLPart( parent, name ), d( new Private )
{
d->manager = mgr;
@@ -228,7 +228,7 @@ ChatMessagePart::ChatMessagePart( Kopete::ChatSession *mgr, TQWidget *parent, co
setMetaRefreshEnabled( false );
setOnlyLocalReferences( true );
- // Write the template to KHTMLPart
+ // Write the template to TDEHTMLPart
writeTemplate();
view()->setFocusPolicy( TQ_NoFocus );
@@ -834,7 +834,7 @@ void ChatMessagePart::copy(bool justselection /* default false */)
long startOffset, endOffset;
selection( startNode, startOffset, endNode, endOffset );
- //BEGIN: copied from KHTMLPart::selectedText
+ //BEGIN: copied from TDEHTMLPart::selectedText
bool hasNewLine = true;
DOM::Node n = startNode;
@@ -858,7 +858,7 @@ void ChatMessagePart::copy(bool justselection /* default false */)
unsigned short id = n.elementId();
switch(id)
{
- case ID_IMG: //here is the main difference with KHTMLView::selectedText
+ case ID_IMG: //here is the main difference with TDEHTMLView::selectedText
{
DOM::HTMLElement e = n;
if( !e.isNull() && e.hasAttribute( "title" ) )
@@ -936,7 +936,7 @@ void ChatMessagePart::copy(bool justselection /* default false */)
text=text.mid(start, end-start);
- //END: copied from KHTMLPart::selectedText
+ //END: copied from TDEHTMLPart::selectedText
#endif
if(text.isEmpty()) return;
@@ -974,7 +974,7 @@ void ChatMessagePart::print()
void ChatMessagePart::tdehtmlDrawContentsEvent( tdehtml::DrawContentsEvent * event) //virtual
{
- KHTMLPart::tdehtmlDrawContentsEvent(event);
+ TDEHTMLPart::tdehtmlDrawContentsEvent(event);
//copy(true /*selection only*/); not needed anymore.
}
void ChatMessagePart::slotCloseView( bool force )
diff --git a/kopete/kopete/chatwindow/chatmessagepart.h b/kopete/kopete/chatwindow/chatmessagepart.h
index 10eacd11..278291bb 100644
--- a/kopete/kopete/chatwindow/chatmessagepart.h
+++ b/kopete/kopete/chatwindow/chatmessagepart.h
@@ -36,7 +36,7 @@ class ChatWindowStyle;
/**
* @author Richard Smith
*/
-class ChatMessagePart : public KHTMLPart
+class ChatMessagePart : public TDEHTMLPart
{
Q_OBJECT
@@ -233,7 +233,7 @@ private:
TQString formatMessageBody( const Kopete::Message &message );
/**
- * Write the template file to KHTMLPart
+ * Write the template file to TDEHTMLPart
*/
void writeTemplate();
diff --git a/kopete/kopete/chatwindow/chatview.cpp b/kopete/kopete/chatwindow/chatview.cpp
index 136a9b4e..487f80c5 100644
--- a/kopete/kopete/chatwindow/chatview.cpp
+++ b/kopete/kopete/chatwindow/chatview.cpp
@@ -88,7 +88,7 @@ ChatView::ChatView( Kopete::ChatSession *mgr, ChatWindowPlugin *parent, const ch
//FIXME: don't widgets start off hidden anyway?
hide();
- //Create the view dock widget (KHTML Part), and set it to no docking (lock it in place)
+ //Create the view dock widget (TDEHTML Part), and set it to no docking (lock it in place)
viewDock = createDockWidget(TQString::fromLatin1( "viewDock" ), TQPixmap(),
0L,TQString::fromLatin1("viewDock"), TQString::fromLatin1(" "));
m_messagePart = new ChatMessagePart( mgr, viewDock, "m_messagePart" );
diff --git a/kopete/kopete/config/appearance/appearanceconfig.cpp b/kopete/kopete/config/appearance/appearanceconfig.cpp
index 0aff7691..56d5d3cf 100644
--- a/kopete/kopete/config/appearance/appearanceconfig.cpp
+++ b/kopete/kopete/config/appearance/appearanceconfig.cpp
@@ -238,7 +238,7 @@ AppearanceConfig::AppearanceConfig(TQWidget *parent, const char* /*name*/, const
d->preview->setJavaEnabled(false);
d->preview->setPluginsEnabled(false);
d->preview->setMetaRefreshEnabled(false);
- KHTMLView *htmlWidget = d->preview->view();
+ TDEHTMLView *htmlWidget = d->preview->view();
htmlWidget->setMarginWidth(4);
htmlWidget->setMarginHeight(4);
htmlWidget->setFocusPolicy(TQ_NoFocus);
diff --git a/kopete/libkopete/tests/mock/Makefile.am b/kopete/libkopete/tests/mock/Makefile.am
index b132a2a5..84b6dee7 100644
--- a/kopete/libkopete/tests/mock/Makefile.am
+++ b/kopete/libkopete/tests/mock/Makefile.am
@@ -7,7 +7,7 @@ noinst_LTLIBRARIES = libkopete_mock.la
libkopete_mock_la_SOURCES = kopetemessage_mock.cpp kopeteaccount_mock.cpp kopetecontact_mock.cpp kopetemetacontact_mock.cpp kopeteprotocol_mock.cpp
libkopete_mock_la_LDFLAGS = $(all_libraries) -lkabc
-libkopete_mock_la_LIBADD = ../../libkopete.la ../../private/libkopeteprivate.la $(LIB_KHTML)
+libkopete_mock_la_LIBADD = ../../libkopete.la ../../private/libkopeteprivate.la $(LIB_TDEHTML)
noinst_HEADERS = kopetemessage_mock.h kopetecontact_mock.h kopetemetacontact_mock.h kopeteaccount_mock.h kopeteprotocol_mock.h
diff --git a/kopete/libkopete/ui/Makefile.am b/kopete/libkopete/ui/Makefile.am
index bd7f3c21..3e88846d 100644
--- a/kopete/libkopete/ui/Makefile.am
+++ b/kopete/libkopete/ui/Makefile.am
@@ -15,7 +15,7 @@ libkopeteui_la_SOURCES = kopetecontactaction.cpp addcontactpage.cpp \
addressbooklinkwidget.cpp
libkopeteui_la_LDFLAGS = $(all_libraries) -lkabc
-libkopeteui_la_LIBADD = ../private/libkopeteprivate.la $(LIB_KHTML)
+libkopeteui_la_LIBADD = ../private/libkopeteprivate.la $(LIB_TDEHTML)
kopeteincludedir = $(includedir)/kopete/ui
kopeteinclude_HEADERS = accountselector.h fileconfirmbase.h \
diff --git a/kopete/libkopete/ui/userinfodialog.cpp b/kopete/libkopete/ui/userinfodialog.cpp
index 99c306f8..130973ce 100644
--- a/kopete/libkopete/ui/userinfodialog.cpp
+++ b/kopete/libkopete/ui/userinfodialog.cpp
@@ -45,7 +45,7 @@ struct UserInfoDialog::UserInfoDialogPrivate {
TQVBoxLayout *topLayout;
TQWidget *page;
DialogStyle style;
- KHTMLPart *htmlPart;
+ TDEHTMLPart *htmlPart;
KLineEdit *nameEdit;
KLineEdit *idEdit;
@@ -146,7 +146,7 @@ TQHBox* UserInfoDialog::addLabelEdit( const TQString& label, const TQString& tex
void UserInfoDialog::fillHTML()
{
- d->htmlPart = new KHTMLPart( this );
+ d->htmlPart = new TDEHTMLPart( this );
TQString text;
/*
diff --git a/kopete/libkopete/ui/userinfodialog.h b/kopete/libkopete/ui/userinfodialog.h
index 511aeb3f..9a7bcb4e 100644
--- a/kopete/libkopete/ui/userinfodialog.h
+++ b/kopete/libkopete/ui/userinfodialog.h
@@ -38,7 +38,7 @@ namespace Kopete {
/**
* Specifies the look of this dialog. If set to HTML only
- * KHTMLPart will be in the dialog and it's look can be customized
+ * TDEHTMLPart will be in the dialog and it's look can be customized
* through setStyleSheet
* @see setStyleSheet
*/
diff --git a/kopete/plugins/history/Makefile.am b/kopete/plugins/history/Makefile.am
index b43b8ed4..c0066373 100644
--- a/kopete/plugins/history/Makefile.am
+++ b/kopete/plugins/history/Makefile.am
@@ -7,11 +7,11 @@ kde_module_LTLIBRARIES = kopete_history.la kcm_kopete_history.la
kopete_history_la_SOURCES = historyplugin.cpp historydialog.cpp historyviewer.ui\
historylogger.cpp converter.cpp historyguiclient.cpp historyconfig.kcfgc
-kopete_history_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN) $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_KHTML) $(LIB_KUTILS)
+kopete_history_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN) $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_TDEHTML) $(LIB_KUTILS)
kopete_history_la_LIBADD = ../../libkopete/libkopete.la
kcm_kopete_history_la_SOURCES = historyprefsui.ui historypreferences.cpp historyconfig.kcfgc
-kcm_kopete_history_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN) $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_KHTML) $(LIB_KUTILS)
+kcm_kopete_history_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN) $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_TDEHTML) $(LIB_KUTILS)
kcm_kopete_history_la_LIBADD = ../../libkopete/libkopete.la $(LIB_KUTILS)
service_DATA = kopete_history.desktop
diff --git a/kopete/plugins/history/historydialog.cpp b/kopete/plugins/history/historydialog.cpp
index 708b85fc..1dd63cc3 100644
--- a/kopete/plugins/history/historydialog.cpp
+++ b/kopete/plugins/history/historydialog.cpp
@@ -135,7 +135,7 @@ HistoryDialog::HistoryDialog(Kopete::MetaContact *mc, TQWidget* parent,
// Initializing HTML Part
mMainWidget->htmlFrame->setFrameStyle(TQFrame::WinPanel | TQFrame::Sunken);
TQVBoxLayout *l = new TQVBoxLayout(mMainWidget->htmlFrame);
- mHtmlPart = new KHTMLPart(mMainWidget->htmlFrame, "htmlHistoryView");
+ mHtmlPart = new TDEHTMLPart(mMainWidget->htmlFrame, "htmlHistoryView");
//Security settings, we don't need this stuff
mHtmlPart->setJScriptEnabled(false);
diff --git a/kopete/plugins/history/historydialog.h b/kopete/plugins/history/historydialog.h
index 05295ad6..4df323d6 100644
--- a/kopete/plugins/history/historydialog.h
+++ b/kopete/plugins/history/historydialog.h
@@ -33,8 +33,8 @@ class HistoryViewer;
namespace Kopete { class MetaContact; }
namespace Kopete { class XSLT; }
class HistoryLogger;
-class KHTMLView;
-class KHTMLPart;
+class TDEHTMLView;
+class TDEHTMLPart;
class KURL;
namespace KParts { struct URLArgs; class Part; }
@@ -127,8 +127,8 @@ class HistoryDialog : public KDialogBase
TQPtrList<Kopete::MetaContact> mMetaContactList;
// History View
- KHTMLView *mHtmlView;
- KHTMLPart *mHtmlPart;
+ TDEHTMLView *mHtmlView;
+ TDEHTMLPart *mHtmlPart;
HistoryViewer *mMainWidget;
Kopete::XSLT *mXsltParser;
diff --git a/kopete/plugins/statistics/Makefile.am b/kopete/plugins/statistics/Makefile.am
index 93a8e28a..e7cb9c25 100644
--- a/kopete/plugins/statistics/Makefile.am
+++ b/kopete/plugins/statistics/Makefile.am
@@ -6,7 +6,7 @@ kde_module_LTLIBRARIES = kopete_statistics.la
kopete_statistics_la_SOURCES = statisticsplugin.cpp statisticsdb.cpp statisticsdialog.cpp statisticswidget.ui statisticscontact.cpp statisticsdcopiface.skel
-kopete_statistics_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN) $(all_libraries) -lsqlite3 $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_KHTML)
+kopete_statistics_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN) $(all_libraries) -lsqlite3 $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_TDEHTML)
kopete_statistics_la_LIBADD = ../../libkopete/libkopete.la -lsqlite3
service_DATA = kopete_statistics.desktop
diff --git a/kopete/plugins/statistics/statisticsdialog.cpp b/kopete/plugins/statistics/statisticsdialog.cpp
index ad7adb9e..02a5f4b7 100644
--- a/kopete/plugins/statistics/statisticsdialog.cpp
+++ b/kopete/plugins/statistics/statisticsdialog.cpp
@@ -53,7 +53,7 @@ StatisticsDialog::StatisticsDialog(StatisticsContact *contact, StatisticsDB *db,
TQHBox *hbox = new TQHBox(this);
- generalHTMLPart = new KHTMLPart(hbox);
+ generalHTMLPart = new TDEHTMLPart(hbox);
generalHTMLPart->setOnlyLocalReferences(true);
connect ( generalHTMLPart->browserExtension(), TQT_SIGNAL( openURLRequestDelayed( const KURL &, const KParts::URLArgs & ) ),
this, TQT_SLOT( slotOpenURLRequest( const KURL &, const KParts::URLArgs & ) ) );
diff --git a/kopete/plugins/statistics/statisticsdialog.h b/kopete/plugins/statistics/statisticsdialog.h
index def9d03e..a84f4b0e 100644
--- a/kopete/plugins/statistics/statisticsdialog.h
+++ b/kopete/plugins/statistics/statisticsdialog.h
@@ -29,7 +29,7 @@ class StatisticsPlugin;
class StatisticsDB;
class StatisticsContact;
-class KHTMLPart;
+class TDEHTMLPart;
class KURL;
namespace KParts
{
@@ -49,7 +49,7 @@ class StatisticsDialog : public KDialogBase
TQString stringFromSeconds(const int seconds);
StatisticsWidget *mainWidget;
- KHTMLPart *generalHTMLPart;
+ TDEHTMLPart *generalHTMLPart;
/// Database from which we get the statistics
StatisticsDB *m_db;
diff --git a/kopete/protocols/irc/Makefile.am b/kopete/protocols/irc/Makefile.am
index 37e27bad..93b5d46f 100644
--- a/kopete/protocols/irc/Makefile.am
+++ b/kopete/protocols/irc/Makefile.am
@@ -22,7 +22,7 @@ kopete_irc_la_SOURCES = \
kcodecaction.cpp \
ksparser.cpp
-kopete_irc_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_KHTML)
+kopete_irc_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor $(LIB_TDEHTML)
kopete_irc_la_LIBADD = ../../libkopete/libkopete.la \
./ui/libkopeteircui.la \
./libkirc/libkirc.la \