K
hm, habs nochmal geändert auf mem_fun und nun gehts. Aber jetzt auch schon wieder zu einem anderen Problem. Wieso geht das hier:
virtual void on_treeview_row_activated(const Gtk::TreeModel::Path& path, Gtk::TreeViewColumn* column);
....
void ExampleWindow::on_treeview_row_activated(const Gtk::TreeModel::Path& path,
Gtk::TreeViewColumn* /* column */)
Und das hier nicht:
virtual void on_qNameEntry_enter(const Gtk::TreeModel::Path& path, Gtk::TreeViewColumn* column);
...
void ExampleWindow::on_qNameEntry_enter(const Gtk::TreeModel::Path& path,
Gtk::TreeViewColumn* /* column */)
Upps, hier noch die compiler Meldung:
/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h: In member function »typename sigc::adaptor_functor<T_functor>::result_type sigc::adaptor_functor<T_functor>::operator()() const [with T_functor = sigc::bound_mem_functor2<void, ExampleWindow, const Gtk::TreePath&, Gtk::TreeViewColumn*>]«:
/usr/include/sigc++-2.0/sigc++/functors/slot.h:103: instantiated from »static T_return sigc::internal::slot_call0<T_functor, T_return>::call_it(sigc::internal::slot_rep*) [with T_functor = sigc::bound_mem_functor2<void, ExampleWindow, const Gtk::TreePath&, Gtk::TreeViewColumn*>, T_return = void]«
/usr/include/sigc++-2.0/sigc++/functors/slot.h:110: instantiated from »static void* (* sigc::internal::slot_call0<T_functor, T_return>::address())(void*) [with T_functor = sigc::bound_mem_functor2<void, ExampleWindow, const Gtk::TreePath&, Gtk::TreeViewColumn*>, T_return = void]«
/usr/include/sigc++-2.0/sigc++/functors/slot.h:454: instantiated from »sigc::slot0<T_return>::slot0(const T_functor&) [with T_functor = sigc::bound_mem_functor2<void, ExampleWindow, const Gtk::TreePath&, Gtk::TreeViewColumn*>, T_return = void]«
/usr/include/sigc++-2.0/sigc++/functors/slot.h:1130: instantiated from »sigc::slot<T_return, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>::slot(const T_functor&) [with T_functor = sigc::bound_mem_functor2<void, ExampleWindow, const Gtk::TreePath&, Gtk::TreeViewColumn*>, T_return = void]«
../src/examplewindow.cc:73: instantiated from here
/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251: Fehler: keine Übereinstimmung für Aufruf von »(sigc::bound_mem_functor2<void, ExampleWindow, const Gtk::TreePath&, Gtk::TreeViewColumn*>) ()«
/usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1916: Anmerkung: Kandidaten sind: T_return sigc::bound_mem_functor2<T_return, T_obj, T_arg1, T_arg2>::operator()(typename sigc::type_trait<T_arg3>::take, typename sigc::type_trait<T_arg4>::take) const [with T_return = void, T_obj = ExampleWindow, T_arg1 = const Gtk::TreePath&, T_arg2 = Gtk::TreeViewColumn*]
/usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251: Fehler: Return-Anweisung mit Wert in »void« zurückgebender Funktion
make: *** [src/examplewindow.o] Fehler 1