interfaces
koChart.cc00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #include "koChart.h"
00020
00021 #include <qobjectlist.h>
00022
00023 using namespace KoChart;
00024
00025 WizardExtension::WizardExtension( Part *part, const char *name )
00026 : QObject( part, name )
00027 {
00028 m_part = part;
00029 }
00030
00031 WizardExtension::~WizardExtension()
00032 {
00033 }
00034
00035 Part::Part( QWidget *parentWidget, const char *widgetName,
00036 QObject *parent, const char *name,
00037 bool singleViewMode )
00038 : KoDocument( parentWidget, widgetName, parent, name, singleViewMode )
00039 {
00040 }
00041
00042 Part::~Part()
00043 {
00044 }
00045
00046 WizardExtension *Part::wizardExtension()
00047 {
00048 QObjectListIt it( *QObject::children() );
00049 for (; it.current(); ++it )
00050 if ( it.current()->inherits( "KoChart::WizardExtension" ) )
00051 return static_cast<WizardExtension *>( it.current() );
00052
00053 return 0;
00054 }
00055
00056 #include "koChart.moc"
|