summaryrefslogtreecommitdiffstats
path: root/khtml/khtml_factory.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /khtml/khtml_factory.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/khtml_factory.cpp')
-rw-r--r--khtml/khtml_factory.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/khtml/khtml_factory.cpp b/khtml/khtml_factory.cpp
index e265073d3..7eedc6311 100644
--- a/khtml/khtml_factory.cpp
+++ b/khtml/khtml_factory.cpp
@@ -37,7 +37,7 @@
#include <kdebug.h>
-template class QPtrList<KHTMLPart>;
+template class TQPtrList<KHTMLPart>;
extern "C" KDE_EXPORT void *init_libkhtml()
{
@@ -61,8 +61,8 @@ unsigned long int KHTMLFactory::s_refcnt = 0;
KInstance *KHTMLFactory::s_instance = 0;
KAboutData *KHTMLFactory::s_about = 0;
KHTMLSettings *KHTMLFactory::s_settings = 0;
-QPtrList<KHTMLPart> *KHTMLFactory::s_parts = 0;
-QString *KHTMLSettings::avFamilies = 0;
+TQPtrList<KHTMLPart> *KHTMLFactory::s_parts = 0;
+TQString *KHTMLSettings::avFamilies = 0;
KHTMLFactory::KHTMLFactory( bool clone )
{
@@ -103,7 +103,7 @@ KHTMLFactory::~KHTMLFactory()
deref();
}
-KParts::Part *KHTMLFactory::createPartObject( QWidget *parentWidget, const char *widgetName, QObject *parent, const char *name, const char *className, const QStringList & )
+KParts::Part *KHTMLFactory::createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject *parent, const char *name, const char *className, const TQStringList & )
{
KHTMLPart::GUIProfile prof = KHTMLPart::DefaultGUI;
if ( strcmp( className, "Browser/View" ) == 0 )
@@ -118,7 +118,7 @@ void KHTMLFactory::ref()
{
// we can't use a staticdeleter here, because that would mean
// that the factory gets deleted from within a qPostRoutine, called
- // from the QApplication destructor. That however is too late, because
+ // from the TQApplication destructor. That however is too late, because
// we want to destruct a KInstance object, which involves destructing
// a KConfig object, which might call KGlobal::dirs() (in sync()) which
// probably is not going to work ;-)
@@ -144,7 +144,7 @@ void KHTMLFactory::deref()
void KHTMLFactory::registerPart( KHTMLPart *part )
{
if ( !s_parts )
- s_parts = new QPtrList<KHTMLPart>;
+ s_parts = new TQPtrList<KHTMLPart>;
if ( !s_parts->containsRef( part ) )
{