|
|
|
@ -766,12 +766,12 @@ void MainDlg::resetZoom()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// It's usually safe to leave the factory code alone.. with the
|
|
|
|
|
// notable exception of the KAboutData data
|
|
|
|
|
// notable exception of the TDEAboutData data
|
|
|
|
|
#include <kaboutdata.h>
|
|
|
|
|
#include <klocale.h>
|
|
|
|
|
|
|
|
|
|
KInstance* KmPlotPartFactory::s_instance = 0L;
|
|
|
|
|
KAboutData* KmPlotPartFactory::s_about = 0L;
|
|
|
|
|
TDEInstance* KmPlotPartFactory::s_instance = 0L;
|
|
|
|
|
TDEAboutData* KmPlotPartFactory::s_about = 0L;
|
|
|
|
|
|
|
|
|
|
KmPlotPartFactory::KmPlotPartFactory()
|
|
|
|
|
: KParts::Factory()
|
|
|
|
@ -795,12 +795,12 @@ KParts::Part* KmPlotPartFactory::createPartObject( TQWidget *parentWidget, const
|
|
|
|
|
return obj;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
KInstance* KmPlotPartFactory::instance()
|
|
|
|
|
TDEInstance* KmPlotPartFactory::instance()
|
|
|
|
|
{
|
|
|
|
|
if( !s_instance )
|
|
|
|
|
{
|
|
|
|
|
s_about = new KAboutData("kmplot",I18N_NOOP( "KmPlotPart" ), "1");
|
|
|
|
|
s_instance = new KInstance(s_about);
|
|
|
|
|
s_about = new TDEAboutData("kmplot",I18N_NOOP( "KmPlotPart" ), "1");
|
|
|
|
|
s_instance = new TDEInstance(s_about);
|
|
|
|
|
}
|
|
|
|
|
return s_instance;
|
|
|
|
|
}
|
|
|
|
|