From ea318d1431c89e647598c510c4245c6571aa5f46 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 26 Jan 2012 23:32:43 -0600 Subject: Update to latest tqt3 automated conversion --- doc/porting2.doc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/porting2.doc') diff --git a/doc/porting2.doc b/doc/porting2.doc index 3d0fb0521..26ff61b59 100644 --- a/doc/porting2.doc +++ b/doc/porting2.doc @@ -149,7 +149,7 @@ that is the Qt Developer Community!

Qt 2.x is namespace-clean, unlike 1.x. Qt now uses very few global identifiers. Identifiers like red, blue, LeftButton, AlignRight, Key_Up, Key_Down, NoBrush etc. are now part of a -special class Qt (defined in qnamespace.h), +special class Qt (defined in ntqnamespace.h), which is inherited by most Qt classes. Member functions of classes that inherit from QWidget, etc. are totally unaffected, but code that is @@ -226,7 +226,7 @@ classes such as QGDict, QGList, and the subclasses such as QDict and QList.

The macro-based Qt collection classes are obsolete; use the -template-based classes instead. Simply remove includes of qgeneric.h and +template-based classes instead. Simply remove includes of ntqgeneric.h and replace e.g. Q_DECLARE(QCache,QPixmap) with QCache.

The GCI global typedef is replaced by QCollection::Item. Only if you @@ -1023,7 +1023,7 @@ removed. If you used it, do a global search-and-replace of the word

QEvent

-

The global #define macros in qevent.h have been replaced by an +

The global #define macros in ntqevent.h have been replaced by an enum in QEvent. Use e.g. QEvent::Paint instead of Event_Paint. Same for all of: Event_None, @@ -1063,7 +1063,7 @@ Event_DeactivateControl, and Event_User. -

The Q_*_EVENT macros in qevent.h have been deleted. Use an +

The Q_*_EVENT macros in ntqevent.h have been deleted. Use an explicit cast instead. The macros were: Q_TIMER_EVENT, Q_MOUSE_EVENT, -- cgit v1.2.1