[Qt-jambi-interest] Error on connecting QCheckBox.toggledwith QDialog.setVisible(boolean)
Waldemar Wittmann
w_wittmann at gmx.de
Fri Jul 4 12:06:33 CEST 2008
Am Freitag, den 04.07.2008, 11:51 +0200 schrieb Curt Nowak:
> Hi Waldemar,
>
> this must be a case of what Eskil explained:
> <quote>
> > If the Generator sees a
> > function in a QObject subclass (such as QDialog) which is not set as a
> > slot in C++, and thus not intended to be a slot in the API, then it will
> > mark it with a @QtBlockedSlot annotation in Java. This means the method
> > will not be connectable and will not turn up in lists over available
> > slots in Designer etc.
> </qoute>
> If you take a look at http://doc.trolltech.com/4.4/qtreeview.html you'll see setAnimated(bool) only as a function, but not as a slot.
>
> Curt
>
thx for your answer,
i thought i report it. I don't understand C++ and Qt, so why is the
function and all the other functions in Qt not declared as a slot?
Waldemar
More information about the Qt-jambi-interest
mailing list