[Kde-bindings] branches/KDE/3.5/kdebindings/qtruby/rubylib/qtruby

Richard Dale Richard_Dale at tipitina.demon.co.uk
Wed Feb 8 18:09:07 UTC 2006


On Tuesday 07 February 2006 10:42, Han Holl wrote:
> On Tuesday 31 January 2006 10:57, Richard Dale wrote:
> > --- branches/KDE/3.5/kdebindings/qtruby/rubylib/qtruby/handlers.cpp
> > #504060:504061 @@ -189,6 +189,8 @@
> >
> >  			|| strcmp(className, "KCommand") == 0
> >  			|| strcmp(className, "KNamedCommand") == 0
> >  			|| strcmp(className, "KMacroCommand") == 0
> >
> > +			|| strcmp(className, "KAboutData") == 0
> > +			|| strcmp(className, "KCmdLineArgs") == 0
> >
> >  			|| strcmp(className, "QSqlCursor") == 0 )
> >
> >  	{
> >  		// Don't delete instances of these classes for now
>
> Hi Richard,
>
> I just upgraded to kdebindings-3.5.1 which doesn't have this patch yet.
> Should I worry over the fact that with
> KDE::CmdLineArgs.init()
> I never get a reference to a CmdLineArgs object (these are void class
> functions), so that my CmdLineArgs object could be gc'ed ?
Yes you're right, it isn't a problem as it won't create a ruby instance in 
this case..

-- Richard



More information about the Kde-bindings mailing list