summaryrefslogtreecommitdiffstats
path: root/kugar/kudesigner
diff options
context:
space:
mode:
Diffstat (limited to 'kugar/kudesigner')
-rw-r--r--kugar/kudesigner/kudesigner_doc.cpp8
-rw-r--r--kugar/kudesigner/kudesigner_doc.h4
-rw-r--r--kugar/kudesigner/kudesigner_factory.cpp8
-rw-r--r--kugar/kudesigner/kudesigner_factory.h4
-rw-r--r--kugar/kudesigner/kudesigner_view.cpp4
-rw-r--r--kugar/kudesigner/kudesigner_view.h2
6 files changed, 15 insertions, 15 deletions
diff --git a/kugar/kudesigner/kudesigner_doc.cpp b/kugar/kudesigner/kudesigner_doc.cpp
index 28ed36d1..0e7355b2 100644
--- a/kugar/kudesigner/kudesigner_doc.cpp
+++ b/kugar/kudesigner/kudesigner_doc.cpp
@@ -41,8 +41,8 @@
#include "kudesigner_view.h"
-KudesignerDoc::KudesignerDoc( TQWidget *parentWidget, const char *widgetName, TQObject* tqparent, const char* name, bool singleViewMode )
- : KoDocument( parentWidget, widgetName, tqparent, name, singleViewMode ), m_plugin( 0 ), m_propPos( DockRight ), m_modified( false )
+KudesignerDoc::KudesignerDoc( TQWidget *parentWidget, const char *widgetName, TQObject* parent, const char* name, bool singleViewMode )
+ : KoDocument( parentWidget, widgetName, parent, name, singleViewMode ), m_plugin( 0 ), m_propPos( DockRight ), m_modified( false )
{
setInstance( KudesignerFactory::global(), false );
setTemplateType("kudesigner_template");
@@ -121,9 +121,9 @@ void KudesignerDoc::initEmpty()
setModified(false);
}
-KoView* KudesignerDoc::createViewInstance( TQWidget* tqparent, const char* name )
+KoView* KudesignerDoc::createViewInstance( TQWidget* parent, const char* name )
{
- return new KudesignerView( this, tqparent, name );
+ return new KudesignerView( this, parent, name );
}
bool KudesignerDoc::loadOasis( const TQDomDocument&, KoOasisStyles&, const TQDomDocument&, KoStore* )
diff --git a/kugar/kudesigner/kudesigner_doc.h b/kugar/kudesigner/kudesigner_doc.h
index 659b3e1c..1085a975 100644
--- a/kugar/kudesigner/kudesigner_doc.h
+++ b/kugar/kudesigner/kudesigner_doc.h
@@ -39,7 +39,7 @@ class KudesignerDoc: public KoDocument
Q_OBJECT
TQ_OBJECT
public:
- KudesignerDoc( TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject* tqparent = 0, const char* name = 0, bool singleViewMode = false );
+ KudesignerDoc( TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject* parent = 0, const char* name = 0, bool singleViewMode = false );
~KudesignerDoc();
@@ -77,7 +77,7 @@ public slots:
virtual void initEmpty();
protected:
- virtual KoView* createViewInstance( TQWidget* tqparent, const char* name );
+ virtual KoView* createViewInstance( TQWidget* parent, const char* name );
virtual bool completeSaving( KoStore* store );
virtual bool completeLoading( KoStore* store );
diff --git a/kugar/kudesigner/kudesigner_factory.cpp b/kugar/kudesigner/kudesigner_factory.cpp
index f8712f03..1f5a8740 100644
--- a/kugar/kudesigner/kudesigner_factory.cpp
+++ b/kugar/kudesigner/kudesigner_factory.cpp
@@ -29,8 +29,8 @@
KInstance* KudesignerFactory::s_global = 0L;
KAboutData* KudesignerFactory::s_aboutData = 0L;
-KudesignerFactory::KudesignerFactory( TQObject* tqparent, const char* name )
- : KoFactory( tqparent, name )
+KudesignerFactory::KudesignerFactory( TQObject* parent, const char* name )
+ : KoFactory( parent, name )
{
global();
}
@@ -43,13 +43,13 @@ KudesignerFactory::~KudesignerFactory()
s_global = 0L;
}
-KParts::Part* KudesignerFactory::createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject* tqparent, const char* name, const char* classname, const TQStringList & data )
+KParts::Part* KudesignerFactory::createPartObject( TQWidget *parentWidget, const char *widgetName, TQObject* parent, const char* name, const char* classname, const TQStringList & data )
{
// If classname is "KoDocument", our host is a koffice application
// otherwise, the host wants us as a simple part, so switch to readonly and single view.
bool bWantKoDocument = ( strcmp( classname, "KoDocument" ) == 0 );
// parentWidget and widgetName are used by KoDocument for the "readonly+singleView" case.
- KudesignerDoc *part = new KudesignerDoc( parentWidget, widgetName, tqparent, name, !bWantKoDocument );
+ KudesignerDoc *part = new KudesignerDoc( parentWidget, widgetName, parent, name, !bWantKoDocument );
if ( !bWantKoDocument )
part->setReadWrite( false );
diff --git a/kugar/kudesigner/kudesigner_factory.h b/kugar/kudesigner/kudesigner_factory.h
index fd8956f6..1cf4e103 100644
--- a/kugar/kudesigner/kudesigner_factory.h
+++ b/kugar/kudesigner/kudesigner_factory.h
@@ -30,10 +30,10 @@ class KUGARDESIGNER_EXPORT KudesignerFactory : public KoFactory
Q_OBJECT
TQ_OBJECT
public:
- KudesignerFactory( TQObject* tqparent = 0, const char* name = 0 );
+ KudesignerFactory( TQObject* parent = 0, const char* name = 0 );
~KudesignerFactory();
- virtual KParts::Part *createPartObject( TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject *tqparent = 0, const char *name = 0, const char *classname = "KoDocument", const TQStringList &args = TQStringList() );
+ virtual KParts::Part *createPartObject( TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject *parent = 0, const char *name = 0, const char *classname = "KoDocument", const TQStringList &args = TQStringList() );
static KInstance* global();
diff --git a/kugar/kudesigner/kudesigner_view.cpp b/kugar/kudesigner/kudesigner_view.cpp
index 4533813d..991d8304 100644
--- a/kugar/kudesigner/kudesigner_view.cpp
+++ b/kugar/kudesigner/kudesigner_view.cpp
@@ -68,8 +68,8 @@
using namespace Kudesigner;
-KudesignerView::KudesignerView( KudesignerDoc* part, TQWidget* tqparent, const char* name )
- : KoView( part, tqparent, name ), m_propertyEditor( 0 ), m_doc( part )
+KudesignerView::KudesignerView( KudesignerDoc* part, TQWidget* parent, const char* name )
+ : KoView( part, parent, name ), m_propertyEditor( 0 ), m_doc( part )
{
setInstance( KudesignerFactory::global() );
if ( !part->isReadWrite() ) // readonly case, e.g. when embedded into konqueror
diff --git a/kugar/kudesigner/kudesigner_view.h b/kugar/kudesigner/kudesigner_view.h
index 2b1cc752..26cd9648 100644
--- a/kugar/kudesigner/kudesigner_view.h
+++ b/kugar/kudesigner/kudesigner_view.h
@@ -61,7 +61,7 @@ class KudesignerView: public KoView
friend class Kudesigner::View;
public:
- KudesignerView( KudesignerDoc* part, TQWidget* tqparent = 0, const char* name = 0 );
+ KudesignerView( KudesignerDoc* part, TQWidget* parent = 0, const char* name = 0 );
virtual ~KudesignerView();
Kudesigner::View *view()