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_1W
> 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.
> 
> 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

Reply via email to