diff options
author | Slávek Banko <[email protected]> | 2016-03-26 12:35:35 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-03-26 14:10:15 +0100 |
commit | 38dca4b75c471ddf950e2f9f03801c550d7d26fd (patch) | |
tree | f5923ce5d84971f1f394baf7411146f078c02fab /part/kxmleditorfactory.cpp | |
parent | e28665ce3b2e9ec6f09b4c021db7443cac3c4128 (diff) | |
download | kxmleditor-38dca4b75c471ddf950e2f9f03801c550d7d26fd.tar.gz kxmleditor-38dca4b75c471ddf950e2f9f03801c550d7d26fd.zip |
Initial TQt conversion
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'part/kxmleditorfactory.cpp')
-rw-r--r-- | part/kxmleditorfactory.cpp | 10 |
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 ); |