summaryrefslogtreecommitdiffstats
path: root/part/kxmleditorfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'part/kxmleditorfactory.cpp')
-rw-r--r--part/kxmleditorfactory.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/part/kxmleditorfactory.cpp b/part/kxmleditorfactory.cpp
index 7295ba1..7479d31 100644
--- a/part/kxmleditorfactory.cpp
+++ b/part/kxmleditorfactory.cpp
@@ -35,7 +35,7 @@ extern "C"
KInstance * KXMLEditorFactory::s_instance = 0L;
KXEConfiguration * KXMLEditorFactory::s_pKXEConfig = 0L;
-KXMLEditorFactory::KXMLEditorFactory( QObject * pParent, const char * pszName )
+KXMLEditorFactory::KXMLEditorFactory( TQObject * pParent, const char * pszName )
: KParts::Factory(pParent,pszName)
{
}
@@ -53,7 +53,7 @@ KXMLEditorFactory::~KXMLEditorFactory()
s_instance = 0L;
}
-KParts::Part * KXMLEditorFactory::createPartObject( QWidget * pParentWidget, const char * pszWidgetName, QObject * pParent, const char * pszName, const char * pszClassName, const QStringList & )
+KParts::Part * KXMLEditorFactory::createPartObject( TQWidget * pParentWidget, const char * pszWidgetName, TQObject * pParent, const char * pszName, const char * pszClassName, const TQStringList & )
{
// eliminating compiler warnings
pParent = pParent;
@@ -61,14 +61,14 @@ KParts::Part * KXMLEditorFactory::createPartObject( QWidget * pParentWidget, con
KParts::Part * pPart=0L;
KXEDocument* pDocument=0L;
- if ( QCString(pszClassName) == "KParts::ReadOnlyPart" )
+ if ( TQCString(pszClassName) == "KParts::ReadOnlyPart" )
{
pDocument = new KXEDocument();
pPart = new KXMLEditorPart( false, pDocument, pParentWidget, pszWidgetName );
kdDebug() << "KXMLEditorFactory::createPartObject: read only KXMLEditorPart created" << endl;
}
- else if ( (QCString(pszClassName) == "KParts::ReadWritePart") ||
- (QCString(pszClassName) == "KXMLEditorPart") )
+ else if ( (TQCString(pszClassName) == "KParts::ReadWritePart") ||
+ (TQCString(pszClassName) == "KXMLEditorPart") )
{
pDocument = new KXEDocument();
pPart = new KXMLEditorPart( true, pDocument, pParentWidget, pszWidgetName );