trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: November 2016

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

From: Leslie Turriff <jlturriff@...>
Date: Tue, 29 Nov 2016 18:22:03 -0600
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*.
>
> If you are only interested in qt,
	As opposed to what?

> 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