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 -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Waldemar Wittmann Gesendet: Freitag, 4. Juli 2008 11:44 An: Eskil Abrahamsen Blomfeldt; [email protected] Betreff: Re: [Qt-jambi-interest] Error on connecting QCheckBox.toggledwith QDialog.setVisible(boolean) Hi Eskil and all, i think the same or a bit different problem is with QTreeView -> setAnimated(boolean) If I do (in the constructor) of an arbitrary Class with a reference "view" on QTreeView: checkBox.toggled.connect(view, "setAnimated(boolean)"); i get: Exception in thread "main" com.trolltech.qt.QNoSuchSlotException: public final void com.trolltech.qt.gui.QTreeView.setAnimated(boolean) I do simply: checkBox.toggled.connect(this, "mySetAnimated(boolean)"); ... } mySetAnimated(boolean b) { view.setAnimated(b); } and it works ... regards, Waldemar _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
