diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-07 11:10:35 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-07 11:10:35 -0600 |
commit | dd29637a530d87da7bb7d5241a7ba259231f5870 (patch) | |
tree | c9458f9f1e6e79f073a595e8562dd74bf4970ccf /debian/squeeze/dependencies/tqt3/debian/maintain/man/qt20fix.1 | |
parent | 620b34b176f6d9ad9cccece34b3e32fb803186f3 (diff) | |
download | tde-packaging-dd29637a530d87da7bb7d5241a7ba259231f5870.tar.gz tde-packaging-dd29637a530d87da7bb7d5241a7ba259231f5870.zip |
Add preliminary tqt3 packaging to Debian
Diffstat (limited to 'debian/squeeze/dependencies/tqt3/debian/maintain/man/qt20fix.1')
-rw-r--r-- | debian/squeeze/dependencies/tqt3/debian/maintain/man/qt20fix.1 | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/squeeze/dependencies/tqt3/debian/maintain/man/qt20fix.1 b/debian/squeeze/dependencies/tqt3/debian/maintain/man/qt20fix.1 new file mode 100644 index 000000000..352921be8 --- /dev/null +++ b/debian/squeeze/dependencies/tqt3/debian/maintain/man/qt20fix.1 @@ -0,0 +1,32 @@ +.TH "qt20fix" "1" "3.0.3" "Troll Tech AS, Norway." "" +.SH "NAME" +.LP +qt20fix \- Helps clean namespace when porting an app from Qt1 to Qt2 +.SH "SYNTAX" +.LP +qt20fix myapp.cpp + +.SH "DESCRIPTION" +.LP +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), which is inherited by most Qt 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/qt20fix 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, +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/> |