diff options
Diffstat (limited to 'kipi-plugins/helloworld/plugin_helloworld.cpp')
-rw-r--r-- | kipi-plugins/helloworld/plugin_helloworld.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kipi-plugins/helloworld/plugin_helloworld.cpp b/kipi-plugins/helloworld/plugin_helloworld.cpp index c3c01f1..992d906 100644 --- a/kipi-plugins/helloworld/plugin_helloworld.cpp +++ b/kipi-plugins/helloworld/plugin_helloworld.cpp @@ -45,10 +45,10 @@ typedef KGenericFactory<Plugin_HelloWorld> Factory; K_EXPORT_COMPONENT_FACTORY( kipiplugin_helloworld, Factory("kipiplugin_helloworld")); -Plugin_HelloWorld::Plugin_HelloWorld(TQObject *tqparent, +Plugin_HelloWorld::Plugin_HelloWorld(TQObject *parent, const char*, const TQStringList&) - : KIPI::Plugin( Factory::instance(), tqparent, "HelloWorld") + : KIPI::Plugin( Factory::instance(), parent, "HelloWorld") { kdDebug( 51001 ) << "Plugin_HelloWorld plugin loaded" << endl; } @@ -68,7 +68,7 @@ void Plugin_HelloWorld::setup( TQWidget* widget ) addAction( m_actionHelloWorld ); - m_interface = dynamic_cast< KIPI::Interface* >( tqparent() ); + m_interface = dynamic_cast< KIPI::Interface* >( parent() ); if ( !m_interface ) { |