summaryrefslogtreecommitdiffstats
path: root/kugar/part
diff options
context:
space:
mode:
Diffstat (limited to 'kugar/part')
-rw-r--r--kugar/part/kugar_factory.cpp6
-rw-r--r--kugar/part/kugar_factory.h4
-rw-r--r--kugar/part/kugar_part.cpp8
-rw-r--r--kugar/part/kugar_part.h4
-rw-r--r--kugar/part/kugar_view.cpp4
-rw-r--r--kugar/part/kugar_view.h2
6 files changed, 14 insertions, 14 deletions
diff --git a/kugar/part/kugar_factory.cpp b/kugar/part/kugar_factory.cpp
index cc7631e3..f0206802 100644
--- a/kugar/part/kugar_factory.cpp
+++ b/kugar/part/kugar_factory.cpp
@@ -29,7 +29,7 @@ K_EXPORT_COMPONENT_FACTORY( libkugarpart, KugarFactory )
// The factory ctor.
-KugarFactory::KugarFactory( TQObject *tqparent, const char* name ) : KoFactory( tqparent, name )
+KugarFactory::KugarFactory( TQObject *parent, const char* name ) : KoFactory( parent, name )
{
global();
}
@@ -66,7 +66,7 @@ KAboutData *KugarFactory::aboutData()
// Create a new part.
KParts::Part* KugarFactory::createPartObject( TQWidget *parentWidget, const char *widgetName,
- TQObject* tqparent, const char* name, const char* classname, const TQStringList & data )
+ TQObject* parent, const char* name, const char* classname, const TQStringList & data )
{
TQString forcedUserTemplate;
for ( TQStringList::const_iterator it = data.begin();it != data.end();++it )
@@ -78,7 +78,7 @@ KParts::Part* KugarFactory::createPartObject( TQWidget *parentWidget, const char
bool bWantKoDocument = ( strcmp( classname, "KoDocument" ) == 0 );
// parentWidget and widgetName are used by KoDocument for the "readonly+singleView" case.
- KugarPart *part = new KugarPart( parentWidget, widgetName, tqparent, name, !bWantKoDocument );
+ KugarPart *part = new KugarPart( parentWidget, widgetName, parent, name, !bWantKoDocument );
// if ( !bWantKoDocument )
part->setReadWrite( false );
diff --git a/kugar/part/kugar_factory.h b/kugar/part/kugar_factory.h
index 390b21df..7b313aa7 100644
--- a/kugar/part/kugar_factory.h
+++ b/kugar/part/kugar_factory.h
@@ -18,11 +18,11 @@ class KugarFactory : public KoFactory
Q_OBJECT
TQ_OBJECT
public:
- KugarFactory( TQObject* tqparent = 0, const char* name = 0 );
+ KugarFactory( TQObject* parent = 0, const char* name = 0 );
~KugarFactory();
virtual KParts::Part *createPartObject( TQWidget *parentWidget = 0, const char *widgetName = 0,
- TQObject *tqparent = 0, const char *name = 0, const char *classname = "KoDocument",
+ TQObject *parent = 0, const char *name = 0, const char *classname = "KoDocument",
const TQStringList &args = TQStringList() );
static KInstance* global();
diff --git a/kugar/part/kugar_part.cpp b/kugar/part/kugar_part.cpp
index c8249505..38ac5257 100644
--- a/kugar/part/kugar_part.cpp
+++ b/kugar/part/kugar_part.cpp
@@ -31,8 +31,8 @@
#include <KoFilterManager.h>
KugarPart::KugarPart( TQWidget *parentWidget, const char *widgetName,
- TQObject* tqparent, const char* name, bool singleViewMode )
- : KoDocument( parentWidget, widgetName, tqparent, name, singleViewMode ),
+ TQObject* parent, const char* name, bool singleViewMode )
+ : KoDocument( parentWidget, widgetName, parent, name, singleViewMode ),
m_templateOk( false )
{
setInstance( KugarFactory::global(), false );
@@ -138,9 +138,9 @@ bool KugarPart::initDoc( InitDocFlags /*flags*/, TQWidget* /*parentWidget*/ )
return TRUE;
}
-KoView* KugarPart::createViewInstance( TQWidget* tqparent, const char* name )
+KoView* KugarPart::createViewInstance( TQWidget* parent, const char* name )
{
- KugarView * v = new KugarView( this, tqparent, name );
+ KugarView * v = new KugarView( this, parent, name );
if ( m_templateOk )
v->renderReport();
return v;
diff --git a/kugar/part/kugar_part.h b/kugar/part/kugar_part.h
index e489ceb0..31e25355 100644
--- a/kugar/part/kugar_part.h
+++ b/kugar/part/kugar_part.h
@@ -21,7 +21,7 @@ class KugarPart: public KoDocument
public:
KugarPart( TQWidget *parentWidget = 0, const char *widgetName = 0,
- TQObject* tqparent = 0,
+ TQObject* parent = 0,
const char* name = 0, bool singleViewMode = false );
virtual ~KugarPart();
@@ -47,7 +47,7 @@ public:
}
protected:
- virtual KoView* createViewInstance( TQWidget* tqparent, const char* name );
+ virtual KoView* createViewInstance( TQWidget* parent, const char* name );
public slots:
void setForcedUserTemplate( const TQString &/*name*/ )
diff --git a/kugar/part/kugar_view.cpp b/kugar/part/kugar_view.cpp
index 28f0d871..ddd8dfe1 100644
--- a/kugar/part/kugar_view.cpp
+++ b/kugar/part/kugar_view.cpp
@@ -28,8 +28,8 @@
// The view ctor.
-KugarView::KugarView( KugarPart *part, TQWidget *tqparent, const char *name )
- : KoView( part, tqparent, name )
+KugarView::KugarView( KugarPart *part, TQWidget *parent, const char *name )
+ : KoView( part, parent, name )
{
setInstance( KugarFactory::global() );
diff --git a/kugar/part/kugar_view.h b/kugar/part/kugar_view.h
index b29ea624..6507f74a 100644
--- a/kugar/part/kugar_view.h
+++ b/kugar/part/kugar_view.h
@@ -18,7 +18,7 @@ class KugarView: public KoView
TQ_OBJECT
public:
- KugarView( KugarPart *part, TQWidget *tqparent, const char *name );
+ KugarView( KugarPart *part, TQWidget *parent, const char *name );
virtual ~KugarView();
void setForcedUserTemplate( const TQString &name );