On Wednesday 17 December 2014 08:35:33 André Somers wrote:
> Thiago Macieira schreef op 16-12-2014 17:13:
> > On Tuesday 16 December 2014 12:41:35 Igor Mironchik wrote:
> >> And my question is: is it ok to use QtPrivate::FunctionPointer in my
> >> classes?
> >
> > No. That's only permitted for cod
Thiago Macieira schreef op 16-12-2014 17:13:
On Tuesday 16 December 2014 12:41:35 Igor Mironchik wrote:
And my question is: is it ok to use QtPrivate::FunctionPointer in my
classes?
No. That's only permitted for code that is part of Qt itself (hosted on qt-
project.org, part of qt.git)
Isn't it
On Tue, 16 Dec 2014 21:04:03 +0300, Thiago Macieira
wrote:
> On Tuesday 16 December 2014 20:31:14 Igor Mironchik wrote:
>> On Tue, 16 Dec 2014 19:13:14 +0300, Thiago Macieira
>>
>> wrote:
>> > On Tuesday 16 December 2014 12:41:35 Igor Mironchik wrote:
>> >> And my question is: is it ok to use
On Tuesday 16 December 2014 20:31:14 Igor Mironchik wrote:
> On Tue, 16 Dec 2014 19:13:14 +0300, Thiago Macieira
>
> wrote:
> > On Tuesday 16 December 2014 12:41:35 Igor Mironchik wrote:
> >> And my question is: is it ok to use QtPrivate::FunctionPointer in my
> >> classes?
> >
> > No. That's on
Of course there is no license restriction on using QtPrivate::FunctionPointer.
And of course it is permitted to use it. It is just not a very wise thing
to do. Private namespace = no guarantees, can change with every minor update.
Of course, if you have full control over your deployment, i.e. you
On Tue, 16 Dec 2014 19:13:14 +0300, Thiago Macieira
wrote:
> On Tuesday 16 December 2014 12:41:35 Igor Mironchik wrote:
>> And my question is: is it ok to use QtPrivate::FunctionPointer in my
>> classes?
>
> No. That's only permitted for code that is part of Qt itself (hosted on
> qt-
> proje
On Tuesday 16 December 2014 12:41:35 Igor Mironchik wrote:
> And my question is: is it ok to use QtPrivate::FunctionPointer in my
> classes?
No. That's only permitted for code that is part of Qt itself (hosted on qt-
project.org, part of qt.git)
--
Thiago Macieira - thiago.macieira (AT) intel.c
Hi,
On Tue, 16 Dec 2014 10:49:53 +0300, Igor Mironchik
wrote:
>
> I.e. I want to have, for example, next method in my widget:
>
> Something * addSomething( QObject * receiver, PointerToMemberFunction
> method );
>
I've answered on the second question by myself. And now I have next code
in
Hi,
On Tue, 16 Dec 2014 10:55:03 +0300, Dmitry Volosnykh
wrote:
Igor, have you read "New Signal Slot Syntax in Qt 5" article
(http://qt-project.org/wiki/New_Signal_Slot_Syntax)? It might shed light
on some of your >questions.
Thanks for your reply. But this article didn't answer on my
Igor, have you read "New Signal Slot Syntax in Qt 5" article (
http://qt-project.org/wiki/New_Signal_Slot_Syntax)? It might shed light on
some of your questions.
On Tue, Dec 16, 2014 at 10:49 AM, Igor Mironchik
wrote:
>
> Hi guys,
>
> Qt has cool new syntax now. But some things doesn't support it
Hi guys,
Qt has cool new syntax now. But some things doesn't support it yet.
For example look at QMenu::addAction. There is now overload with
PointerToMemberFunction.
And I have two questions:
Is it planned to add this support,
and how can I use PointerToMemberFunction in my own widgets?
I.
11 matches
Mail list logo