1 Here is a list of changes in Qt from 0.91 to 0.92. Also look out
2 for a few new classes; QPrinter, QFileDialog, QDir and QFileInfo.
7 Use setMainWidget( x ), not exec( x ).
11 upper(), lower(), stripWhiteSpace() and simplifyWhiteSpace() etc.
12 do NOT modify the string, instead they return a new string.
16 Changed argument in QList::toVector() from reference to pointer
17 Changed argument in QVector::toList() from reference to pointer
18 Removed QVector::apply()
19 Removed QList::apply()
23 pen(), brush() and font() no longer returns references.
24 You cannot do this any longer:
27 p.pen().setColor( red );
28 p.brush().setStyle( NoBrush );
29 Instead, set a new pen or brush:
31 p.setBrush( NoBrush );
32 This enables us to do better optimization, particularly for complex
35 QFile, QFileInfo (new):
36 -----------------------
37 Removed QFile::setFileName,
38 QFile::isRegular => QFileInfo::isFile
39 QFile::isDirectory => QFileInfo::isDir
40 QFile::isSymLink => QFileInfo::isSymLink
44 Q2DMatrix has been replaced with QWMatrix (qwmatrix.h)
48 enableImageCache() renamed to setOptimization().
49 Optimization is now default ON. See doc for other optimization functions.
53 scanline() => scanLine()
57 signal textChanged( char * ) => textChanged( const char * );
58 slot display( char * ) => display( const char * )
62 hourGlassCursor => waitCursor
66 QIconButton removed, setPixmap() added to QButton to replace QIconButton
70 Renamed to QTableView (qtablevw.h)
71 Using int to identify rows and columns, not long.
75 Using int values, not long.
79 Using int values, not long.
83 removed setStrList(), use clear(); insertStrList( ... , 0 ); instead
92 QFontMetrics and QFontInfo:
93 ---------------------------
94 Get font metrics from QWidget::fontMetrics() and QPainter::fontMetrics().
95 Get font info from QWidget::fontInfo() and QPainter::fontInfo().
96 The QFontMetrics(QFont) constructor no longer works.
97 We had to do these changes to support printing and Windows.
100 There are more changes, left out because we consider them minor and
101 uninteresting or because we forgot to mention them. :)