diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-21 19:05:32 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-21 19:05:32 +0900 |
commit | 23b535df5bc08e8f5e98270859c5dc5c73f4ebdd (patch) | |
tree | 0bb79edeb79d219b3c55958f57e808ce088a6b09 /doc/man/man1 | |
parent | c048ce6e8cc109b317293d380a5053e19a37dd31 (diff) | |
download | tqt3-23b535df5bc08e8f5e98270859c5dc5c73f4ebdd.tar.gz tqt3-23b535df5bc08e8f5e98270859c5dc5c73f4ebdd.zip |
Removed some obsolete code related to Qt1.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man1')
-rw-r--r-- | doc/man/man1/tqt20fix.1 | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/doc/man/man1/tqt20fix.1 b/doc/man/man1/tqt20fix.1 deleted file mode 100644 index d2b361164..000000000 --- a/doc/man/man1/tqt20fix.1 +++ /dev/null @@ -1,32 +0,0 @@ -.TH "tqt20fix" "1" "3.0.3" "Troll Tech AS, Norway." "" -.SH "NAME" -.LP -tqt20fix \- Helps clean namespace when porting an app from Qt1 to Qt2 -.SH "SYNTAX" -.LP -tqt20fix myapp.cpp - -.SH "DESCRIPTION" -.LP -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 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 -these identifiers like this: Qt::red, Qt::LeftButton, -Qt::AlignRight, etc. - -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 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" -.LP -TrollTech <http://www.trolltech.com/> |