|
|
|
@ -38,7 +38,7 @@
|
|
|
|
|
typedef KParts::GenericFactory<KSquirrelPart> KSquirrelFactory;
|
|
|
|
|
K_EXPORT_COMPONENT_FACTORY(libksquirrelpart, KSquirrelFactory)
|
|
|
|
|
|
|
|
|
|
KSquirrelPart::KSquirrelPart(TQWidget *tqparentWidget, const char *,
|
|
|
|
|
KSquirrelPart::KSquirrelPart(TQWidget *parentWidget, const char *,
|
|
|
|
|
TQObject* tqparent, const char *name,
|
|
|
|
|
const TQStringList &) : KParts::ReadOnlyPart(tqparent, name)
|
|
|
|
|
{
|
|
|
|
@ -52,7 +52,7 @@ KSquirrelPart::KSquirrelPart(TQWidget *tqparentWidget, const char *,
|
|
|
|
|
KGlobal::locale()->setActiveCatalogue(KSquirrelFactory::instance()->instanceName());
|
|
|
|
|
|
|
|
|
|
if(!SQ_ErrorString::instance())
|
|
|
|
|
new SQ_ErrorString(TQT_TQOBJECT(tqparentWidget));
|
|
|
|
|
new SQ_ErrorString(TQT_TQOBJECT(parentWidget));
|
|
|
|
|
|
|
|
|
|
if(!SQ_Config::instance())
|
|
|
|
|
new SQ_Config;
|
|
|
|
@ -72,7 +72,7 @@ KSquirrelPart::KSquirrelPart(TQWidget *tqparentWidget, const char *,
|
|
|
|
|
|
|
|
|
|
new SQ_DirOperator;
|
|
|
|
|
|
|
|
|
|
gl = new SQ_GLWidget(tqparentWidget, "ksquirrelpart-opengl-widget");
|
|
|
|
|
gl = new SQ_GLWidget(parentWidget, "ksquirrelpart-opengl-widget");
|
|
|
|
|
gl->glInitA();
|
|
|
|
|
|
|
|
|
|
connect(gl, TQT_SIGNAL(message(const TQString &)), this, TQT_SIGNAL(setStatusBarText(const TQString&)));
|
|
|
|
|