summaryrefslogtreecommitdiffstats
path: root/kview/modules/template
diff options
context:
space:
mode:
Diffstat (limited to 'kview/modules/template')
-rw-r--r--kview/modules/template/kviewtemplate.cpp6
-rw-r--r--kview/modules/template/kviewtemplate.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/kview/modules/template/kviewtemplate.cpp b/kview/modules/template/kviewtemplate.cpp
index 54869912..f8277162 100644
--- a/kview/modules/template/kviewtemplate.cpp
+++ b/kview/modules/template/kviewtemplate.cpp
@@ -15,10 +15,10 @@
typedef KGenericFactory<KViewTemplate> KViewTemplateFactory;
K_EXPORT_COMPONENT_FACTORY( kview_templateplugin, KViewTemplateFactory( "kviewtemplateplugin" ) )
-KViewTemplate::KViewTemplate( TQObject* tqparent, const char* name, const TQStringList & )
- : Plugin( tqparent, name )
+KViewTemplate::KViewTemplate( TQObject* parent, const char* name, const TQStringList & )
+ : Plugin( parent, name )
{
- TQObjectList * viewerList = tqparent->queryList( 0, "KImageViewer Part", false, false );
+ TQObjectList * viewerList = parent->queryList( 0, "KImageViewer Part", false, false );
m_pViewer = static_cast<KImageViewer::Viewer *>( viewerList->getFirst() );
delete viewerList;
if( m_pViewer )
diff --git a/kview/modules/template/kviewtemplate.h b/kview/modules/template/kviewtemplate.h
index 03470b3d..379a4cc8 100644
--- a/kview/modules/template/kviewtemplate.h
+++ b/kview/modules/template/kviewtemplate.h
@@ -14,7 +14,7 @@ class KViewTemplate : public KParts::Plugin
Q_OBJECT
TQ_OBJECT
public:
- KViewTemplate( TQObject* tqparent, const char* name, const TQStringList & );
+ KViewTemplate( TQObject* parent, const char* name, const TQStringList & );
virtual ~KViewTemplate();
private slots: