Re: Struggling with "C++ GUI Programming with Qt 3"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2016/11/30 09:22 AM, Leslie Turriff wrote:
> On 2016-11-28 19:39:46 Michele Calgaro wrote:
>>> 	I also notice that while Tutorial1 seems to work okay with
>>> tqapplication.h and tqpushbutton.h, there also exist ntqapplication.h and
>>> ntqpushbutton.h. Again, how does one know which to use?
>>
>> To try to keep it simple, the ntq* headers are tqt3 header files.
>> The tq* are the tqtinterface header files.
>> The tqtinterface was an intermediate layer that was born to support the
>> migration of TDE to qt4. In the end TDE remained with tqt3, but the
>> tqtinterface was already part of the code and it stayed.
> 	Sounds like tq* is the preferred API, but the examples all seem to use ntq*.

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

>>
>> If you are only interested in qt,
> 	As opposed to what?
Opposed to "the whole TDE environment"

> 
>> you can use the ntq* headers, but 
>> normally we use the tq* ones. When you move to TDE development there will
>> also be the TDE headers and additional libraries needs to be linked.
> 	At this point, I think that the TDE parts are probably way too advanced for 
> me. :-)
> 
> Leslie
> 

Attachment: tqt-tde.png
Description: PNG image

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux