[Kde-bindings] qtruby WFlags bugs?
Alexander Kellett
lypanov at kde.org
Tue Jun 29 08:02:39 UTC 2004
On Tue, Jun 29, 2004 at 01:09:42AM -0700, Ashley Winters wrote:
> --- jm <jm at transact.com.au> wrote:
> > version: qtruby cvs 2004-06-22
> >
> > example code,
> >
> > #!/usr/local/bin/ruby
> >
> > require 'Qt'
> >
> > a = Qt::Application.new(ARGV)
> >
> > b = Qt::PushButton.new("abutton",nil)
> > a.setMainWidget(b)
> > b.show()
> > p a.getWFlags() #<-- bug here
> ^
>
> Can't do that on your Qt::App. Perhaps you meant b.getWFlags()?
switch debugging on and qtruby will print out the possible methods.
major time saver, i make the above sort of bugs constantly be it
in ruby or c++ or newuberlanguagethatisperfect :P
Alex
More information about the Kde-bindings
mailing list