diff options
Diffstat (limited to 'doc/man/man1/tqt20fix.1')
-rw-r--r-- | doc/man/man1/tqt20fix.1 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man1/tqt20fix.1 b/doc/man/man1/tqt20fix.1 index 56a79a18d..d2b361164 100644 --- a/doc/man/man1/tqt20fix.1 +++ b/doc/man/man1/tqt20fix.1 @@ -8,11 +8,11 @@ tqt20fix myapp.cpp .SH "DESCRIPTION" .LP -Qt 2.x is namespace\-clean, unlike 1.x. Qt now uses very +Qt 2.x is namespace\-clean, unlike 1.x. TQt 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 -ntqnamespace.h), which is inherited by most Qt classes. +are now part of a special class TQt (defined in +ntqnamespace.h), which is inherited by most TQt classes. Member functions of classes that inherit from QWidget, etc. are totally unaffected, but code that is not in functions of classes inherited from Qt, you must qualify @@ -23,8 +23,8 @@ The qt/bin/tqt20fix script helps to fix the code that needs adaption, though most code does not need changing. Compiling with \-DQT1COMPATIBILITY will help you get going -with Qt 2.x \- it allows all the old "dirty namespace" -identifiers from Qt 1.x to continue working. Without it, +with TQt 2.x \- it allows all the old "dirty namespace" +identifiers from TQt 1.x to continue working. Without it, you'll get compile errors that can easily be fixed by searching this page for the clean identifiers. .SH "AUTHORS" |