[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bindings
Subject: [Kde-bindings] qtruby WFlags bugs?
From: jm <jm () transact ! com ! au>
Date: 2004-06-29 7:51:52
Message-ID: 2EDF42C0-C9A1-11D8-854D-000A95D0C980 () transact ! com ! au
[Download RAW message or body]
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
a.exec()
gives
./bugstest.rb:10:in `method_missing': unresolved method call
(ArgumentError)
from ./bugstest.rb:10
while
rbqtapi -ir "wflags\("
gives
void QWidget::clearWFlags(Qt::WFlags)
Qt::WFlags QWidget::getWFlags() const
void QWidget::setWFlags(Qt::WFlags)
Qt::WFlags QWidget::testWFlags(Qt::WFlags) const
so what is with the const on the end? Is this caused by a parsing
problem in the generation of the library or is there something a miss
in the script?
Jeff.
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic