trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: November 2016

Re: [Bulk] [trinity-users] Re: Struggling with "C++ GUI Programming with Qt 3"

From: Michele Calgaro <michele.calgaro@...>
Date: Wed, 30 Nov 2016 18:12:48 +0900
On 2016/11/30 03:37 PM, deloptes wrote:
> Leslie Turriff wrote:
> 
>>
>>
>> On 2016-11-29 19:55:21 Michele Calgaro wrote:
>>> On 2016/11/30 09:22 AM, Leslie Turriff wrote:
>>> :
>>> The original Qt3 framework used the q* API. In TDE, Qt3 has become TQt3,
>>> thus the tq* API. Since the introduction of the TQtInterface, the TQT3's
>>> tq* API has become ntq* API and the tq* has been moved to the
>>> TQtInterface level.
>>> See the sketch attached, hope it helps to nuderstand better
>> So,
>> TDE API               = TDE*
>> TQtInterface  = tq*
>> TQt3                  = ntq*  <== and I should use this one.
>> correct?
>>
>>>> Leslie
> 
> Leslie, feel free to use whatever suits your needs the best. Just have a
> look into those files and it will be clear to you, that you can use for
> what purpose.
> As Michele already said
> "If you are only interested in qt, you can use the ntq* headers, but
> normally we use the tq* ones."
> 
> regards
> 

Emanoil explained very well my point.
In TDE we mostly work with TDE and tqtinterface API, but since you are just starting out with TQt, it would be easier to
start from the ntq* API and later move to TDE level. Basically the more complex an API is, the more you need to know.
Just find out what fits the best for your current level and move forward from there ;-)



Attachments: