[Interest] is there any way to avoid compression of event

Efan... efanharris at gmail.com
Wed Mar 21 00:31:34 CET 2012


I rechecked it, it is not public function and not mentioned in
documentation, I found it in .h file it is protected member in
QApplication.h but not Virtual :( though I see it is virtual in
qcoreapplication.h

On Tue, Mar 20, 2012 at 4:27 PM, Efan... <efanharris at gmail.com> wrote:

> that is the problem it is not virtual in QApplication it is virtual in
> QCoreApplicatoin
>
>
> On Tue, Mar 20, 2012 at 4:24 PM, Thiago Macieira <
> thiago.macieira at intel.com> wrote:
>
>> On terça-feira, 20 de março de 2012 16.04.49, Efan... wrote:
>> > You mean I should use an object of myCoreApplication rathe
>> QCoreApplication,
>> >
>> > But documentation says for GUI application one will have to use
>> > QApplication and for non gui Qcoreapplication.
>> > So if i use subclass of qcoreapplication wont this create any problem
>> in my
>> > GUI.
>> > Documentation further says coreapplication class handles eventloop for
>> > console application and qapplication class for GUI aplication.
>> >
>> > Please help
>>
>> You shouldn't derive from QCoreApplication. You should derive from
>> QApplication.
>>
>> --
>> Thiago Macieira - thiago.macieira (AT) intel.com
>>  Software Architect - Intel Open Source Technology Center
>>     Intel Sweden AB - Registration Number: 556189-6027
>>     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>>
>
>
> --
> Efan Harris
>



-- 
Efan Harris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120320/ca9752bb/attachment.html>


More information about the Interest mailing list