On Saturday 06 March 2010 12:32:52 pm Miller, Craig wrote:
> LOL.. yep, I forgot to included the connect() method.  Thanks.
> 
> On Sat, Mar 6, 2010 at 5:19 AM, Mike Teehan 
<[email protected]> wrote:
> > On Saturday 06 March 2010 12:00:21 am Miller, Craig wrote:
> > > How do I declare and set a slot for the
> >
> > WStandardItemModel::itemChanged()
> >
> > > signal?
> > >
> > > It is declared as:
> >
> > Signal<
> > 
http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1Signal.htm
> >
> > > l>
> >
> > 
<WStandardItem<http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1
> >W
> >
> > > StandardItem.html>*>& 
Wt::WStandardItemModel::itemChanged
> > > (
> > >  )  [inline]
> > >
> > > I tried implementing a method as:
> > >
> > > void OnItemChanged(WStandardItem* pItem);
> > >
> > > and setting it as a SLOT via:
> > >
> > > pItemModel->itemChanged(SLOT(this,
> >
> > Registrations::OnItemChanged));
> >
> > i think what you are looking for is something like:
> > pItemModel->itemChanged().connect(SLOT(this, blah));
> >
> > > If there is documentation on this, please let me know.  I'd be 
happy to
> > >  read it.

I suggest you get very familiar with 
http://www.webtoolkit.eu/wt/doc/reference/html/annotated.html -- the 
Wt annotated class list.

The examples are also very useful to see those classes in action.

> > >
> > > Thanks for the help,
> > > Craig
> >
> > -------------------------------------------------------------------------
> >----- Download Intel&#174; Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > _______________________________________________
> > witty-interest mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/witty-interest
> 

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to