[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Re: Horizontal automatic scrolling treeview - what can we do with
From:       Tom Albers <tomalbers () kde ! nl>
Date:       2008-04-12 13:05:27
Message-ID: 4954572.cRIfZ4m6zM () kde ! nl
[Download RAW message or body]


Op Thursday 10 April 2008 16:10 schreef u:
> I was planning to add the actual scrolling code today, but hit a wall 
> when I realized I don't know how to handle private signals/slots 
> together with d-pointers (where do I define them if the d-pointer class 
> is not private?)

Please don't top post.

A d-pointer class not private? Anyhow in the private part of the declaration, you can \
add something like:  Q_PRIVATE_SLOT( d, void theslot() )

And then define the theSlot() in the d-pointer class. In the main class you can than \
make a connect as usual (so connect(this, SIGNAL( foo() ), this, SLOT( theSlot() ) );

Hope this helps.

Toma



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic