summaryrefslogtreecommitdiff
path: root/dist/changes-3.0.0-beta1
blob: e351ed15985aa39a3183d94806ff7f8ed7f747b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
Qt 3.0 adds a lot of new features and improvements over the Qt 2.x
series. Some internals have undergone major redesign and new classes
and methods have been added.

We have tried to keep the API of Qt 3.0 as compatible as possible with
the Qt 2.x series. For most applications only minor changes will be
needed to compile and run them successfully using Qt 3.0.

One of the major new features that has been added in the 3.0 release
is a module allowing you to easily work with databases. The API is
platform independent and database neutral. This module is seamlessly
integrated into Qt Designer, greatly simplifying the process of
building database applications and using data aware widgets.

Other major new features include a component architecture allowing you
to build cross platform components, 'plugins' with Qt. You can use
your own and third party plugins your own applications. The Unicode
support of Qt 2.x has been greatly enhanced, it now includes full
support for scripts written from right to left (e.g. Arabic and
Hebrew) and also provides improved support for Asian languages.

Many new classes have been added to the Qt Library. Amongst them are
classes that provide a docking architecture (QDockArea/QDockWindow), a
powerful rich text editor (QTextEdit), a class to store and access
application settings (QSettings) and a class to create and communicate
with processes (QProcess).

Apart from the changes in the library itself a lot has been done to
make the development of Qt applications with Qt 3.0 even easier than
before. Two new applications have been added: Qt Linguist is a tool to
help you translate your application into different languages; Qt
Assistant is an easy to use help browser for the Qt documentation that
supports bookmarks and can search by keyword.

Another change concerns the Qt build system, which has been reworked
to make it a lot easier to port Qt to new platforms. You can use this
platform independent build system for your own applications.


The Qt Library
========================================

A large number of new features has been added to Qt 3.0. The following
list gives an overview of the most important new and changed aspects
of the Qt library. A full list of every new method follows the
overview.


Database support
----------------

One of the major new features in Qt 3.0 is the SQL module that
provides cross-platform access to SQL databases, making database
application programming with Qt seamless and portable. The API, built
with standard SQL, is database-neutral and software development is
independent of the underlying database.

A collection of tightly focused C++ classes are provided to give the
programmer direct access to SQL databases. Developers can send raw SQL
to the database server or have the Qt SQL classes generate SQL queries
automatically.  Drivers for Oracle, PostgreSQL, MySQL and ODBC are
available and writing new drivers is straightforward.

Tying the results of SQL queries to GUI components is fully supported
by Qt's SQL widgets. These classes include a tabular data widget
(for spreadsheet-like data presentation with in-place editing), a
form-based data browser (which provides data navigation and edit
functions) and a form-based data viewer (which provides read-only
forms). This framework can be extended by using custom field editors,
allowing for example, a data table to use custom widgets for in-place
editing. The SQL module fully supports Qt's signal/slots mechanism,
making it easy for developers to include their own data validation and
auditing code.

Qt Designer fully supports Qt's SQL module. All SQL widgets can be
laid out within Qt Designer, and relationships can be established
between controls visually. Many interactions can be defined purely in
terms of Qt's signals/slots mechanism directly in Qt Designer.


Component model - plugins
-------------------------

The QLibrary class provides a platform independent wrapper for runtime
loading of shared libraries. Access to the shared libraries uses a
COM-like interface. QPluginManager makes it trivial to implement
plugin support in applications. The Qt library is able to load
additional styles, database drivers and text codecs from plugins which
implement the relevant interfaces, e.g. QStyleFactoryInterface,
QSqlDriverInterface or QTextCodecInterface. It is possible to remove
unused components from the Qt library, and easy to extend any
application with 3rd party styles, database drivers or text codecs.

Qt Designer supports custom widgets in plugins, and will use the
widgets both when designing and previewing forms.

QComponentFactory makes it easy to register any kind of component in a
global database (e.g. the Windows Registry) and to use any registered
component.


Rich text engine and editor
---------------------------

The rich text engine originally introduced in Qt 2.0 has been further
optimized and extended to support editing. It allows editing formatted
text with different fonts, colors, paragraph styles, tables and
images. The editor supports different word wrap modes, command-based
undo/redo, multiple selections, drag and drop, and many other
features.  The engine is highly optimized for proccesing and displaying
large documents quickly and efficiently.


Unicode
-------

Apart from the rich text engine, another new feature of Qt 3.0 that
relates to text handling is the greatly improved Unicode support. Qt
3.0 includes an implementation of the bidirectional algorithm (BiDi)
as defined in the Unicode standard and a shaping engine for Arabic,
which gives full native language support to Arabic and Hebrew speaking
people. At the same time the support for Asian languages has been
greatly enhanced.

The support is almost transparent for the developer using Qt to
develop their applications. This means that developers who developed
applications using Qt 2.x will automatically gain the full support for
these languages when switching to Qt 3.0. Developers can rely on their
application to work for people using writing systems different from
Latin1, without having to worry about the complexities involved with
these scripts, as Qt takes care of this automatically.


Docked and Floating Windows
---------------------------

Qt 3.0 introduces the concept of Dock Windows and Dock Areas. Dock
windows are widgets, that can be attached to, and detached from, dock
areas. The commonest kind of dock window is a tool bar. Any number of
dock windows may be placed in a dock area. A main window can have dock
areas, for example, QMainWindow provides four dock areas (top, left,
bottom, right) by default. The user can freely move dock windows and
place them at a convenient place in a dock area, or drag them out of
the application and have them float freely as top level windows in
their own right. Dock windows can also be minimized or hidden.

For developers, dock windows behave just like ordinary widgets. QToolbar
for example is now a specialized subclass of a dock window.  The API
of QMainWindow and QToolBar is source compatible with Qt 2.x, so
existing code which uses these classes will continue to work.


Regular Expressions
-------------------

Qt has always provided regular expression support, but that support
was pretty much limited to what was required in common GUI control
elements such as file dialogs. Qt 3.0 introduces a new regular
expression engine that supports most of Perl's regex features and is
Unicode based. The most useful additions are support for parentheses
(capturing and non-capturing) and backreferences.


Storing application settings
----------------------------

Most programs will need to store some settings between runs, for
example, user selected fonts, colors and other preferences, or a list
of recently used files.  The new QSettings class provides a platform
independent way to achieve this goal. The API makes it easy to store
and retrieve most of the basic data types used in Qt (such as basic
C++ types, strings, lists, colors, etc). The class uses the registry
on the Windows platform and traditional resource files on Unix.


Creating and controlling other processes
----------------------------------------

QProcess is a class that allows you to start other programs from
within a Qt application in a platform independent manner. It gives you
full control over the started program, for example you can redirect
the input and output of console applications.


Accessibility (not part of the beta1 release)
---------------------------------------------

Accessibility means making software usable and accessible to a wide
range of users, including those with disabilities. In Qt 3.0, most
widgets provide accessibility information for assistive tools that can
be used by a wide range of disabled users. Qt standard widgets like
buttons or range controls are fully supported. Support for complex
widgets, like e.g. QListView, is in development. Existing applications
that make use of standard widgets will become accessible just by using
Qt 3.0.

Qt uses the Active Accessibility infrastructure on Windows, and needs
the MSAA SDK, which is part of most platform SDKs. With improving
standardization of accessibility on other platforms, Qt will support
assistive technologies on other systems, too.

The accessibility API in Qt is not yet stable, which is why we decided
not to make it a part of the beta1 release.


XML Improvements
----------------

The XML framework introduced in Qt 2.2 has been vastly improved. Qt
2.2 already supported level 1 of the Document Object Model (DOM), a
W3C standard for accessing and modifying XML documents.  Qt 3.0 has
added support for DOM Level 2 and XML namespaces.

The XML parser has been extended to allow incremental parsing of XML
documents. This allows you to start parsing the document directly
after the first parts of the data have arrived, and to continue
whenever new data is available.  This is especially useful if the XML
document is read from a slow source, e.g. over the network, as it
allows the application to start working on the data at a very early
stage.


SVG support
-----------

SVG is a W3C standard for "Scalable Vector Graphics". Qt 3.0's SVG
support means that QPicture can optionally generate and import static
SVG documents. All the SVG features that have an equivalent in
QPainter are supported.


Multihead support
-----------------

Many professional applications, such as DTP and CAD software, are able
to display data on two or more monitors. In Qt 3.0 the QDesktopWidget
class provides the application with runtime information about the
number and geometry of the desktops on the different monitors and such
allows applications to efficiently use a multi-monitor setup.

The virtual desktop of Windows 98 and 2000 is supported, as well as
the traditional multi-screen and the newer Xinerama multihead setups
on X11.


X11 specific enhancements
-------------------------

Qt 3.0 now complies with the NET WM Specification, recently adopted
by KDE 2.0.  This allows easy integration and proper execution with
desktop environments that support the NET WM specification.

The font handling on X11 has undergone major changes.  QFont no longer
has a one-to-one relation with window system fonts.  QFont is now a
logical font that can load multiple window system fonts to simplify
Unicode text display.  This completely removes the burden of
changing/setting fonts for a specific locale/language from the
programmer.  For end-users, any font can be used in any locale.  For
example, a user in Norway will be able to see Korean text without
having to set their locale to Korean.

Qt 3.0 also supports the new render extension recently added to
XFree86. This adds support for anti aliased text and pixmaps with
alpha channel (semi transparency) on the systems that support the
rendering extension (at the moment XFree 4.0.3 and later).


Printing
--------

Printing support has been enhanced on all platforms. The QPrinter
class now supports setting a virtual resolution for the painting
process. This makes WYSIWYG printing trivial, and also allows you to
take full advantage of the high resolution of a printer when painting
on it.

The postscript driver built into Qt and used on Unix has been greatly
enhanced. It supports the embedding of true/open type and type1 fonts
into the document, and can correctly handle and display Unicode.
Support for fonts built into the printer has been enhanced and Qt now
knows about the most common printer fonts used for Asian languages.


QHttp
-----

This class provides a simple interface for HTTP downloads and uploads.


Compatibility with the Standard Template Library (STL)
------------------------------------------------------

Support for the C++ Standard Template Library has been added to the Qt
Template Library (QTL).  The QTL classes now contain appropriate copy
constructors and typedefs so that they can be freely mixed with other
STL containers and algorithms.  In addition, new member functions have
been added to QTL template classes which correspond to STL-style
naming conventions (e.g., push_back()).


Qt Designer
========================================

Qt Designer was a pure dialog editor in Qt 2.2 but has now been
extended to provide the full functionality of a GUI design tool.

This includes the ability to lay out main windows with menus and
toolbars. Actions can be edited within Qt Designer and then plugged
into toolbars and menu bars via drag and drop. Splitters can now be
used in a way similar to layouts to group widgets horizontally or
vertically.

In Qt 2.2, many of the dialogs created by Qt Designer had to be
subclassed to implement functionality beyond the predefined signal and
slot connections. Whilst the subclassing approach is still fully supported,
Qt Designer now offers an alternative: a plugin for editing 
slots. The editor offers features such as syntax highlighting,
completion, parentheses matching and incremental search.

The functionality of Qt Designer can now be extended via plugins.
Using Qt Designer's interface or by implementing one of the provided
interfaces in a plugin, a two way communication between plugin and Qt
Designer can be established. This functionality is used to implement
plugins for custom widgets, so that they can be used as real widgets
inside the designer.

Basic support for project management has been added. This allows you
to read and edit *.pro files, add and remove files to/from the project
and do some global operations on the project. You can now open the
project file and have one-click access to all the *.ui forms in the
project.

In addition to generating code via uic, Qt Designer now supports the
dynamic creation of widgets directly from XML user interface
description files (*.ui files) at runtime. This eliminates the need of
recompiling your application when the GUI changes, and could be used
to enable your customers to do their own customizations. Technically,
the feature is provided by a new class, QWidgetFactory in the
QResource library.


Qt Linguist
========================================

Qt Linguist is a GUI utility to support translating the user-visible
text in applications written with Qt. It comes with two command-line
tools: lupdate and lrelease.

Translation of a Qt application is a three-step process:

  1) Run lupdate to extract user-visible text from the C++ source
     code of the Qt application, resulting in a translation source file
     (a *.ts file).
  2) Provide translations for the source texts in the *.ts file using
     Qt Linguist.
  3) Run lrelease to obtain a light-weight message file (a *.qm file)
     from the *.ts file, which provides very fast lookup for released
     applications.

Qt Linguist is a tool suitable for use by translators. Each
user-visible (source) text is characterized by the text itself, a
context (usually the name of the C++ class containing the text), and
an optional comment to help the translator. The C++ class name will
usually be the name of the relevant dialog, and the comment will often
contain instructions that describe how to navigate to the relevant
dialog.

You can create phrase books for Qt Linguist to provide common
translations to help ensure consistency and to speed up the
translation process. Whenever a translator navigates to a new text to
translate, Qt Linguist uses an intelligent algorithm to provide a list
of possible translations: the list is composed of relevant text from
any open phrase books and also from identical or similar text that has
already been translated.

Once a translation is complete it can be marked as "done"; such
translations are included in the *.qm file. Text that has not been
"done" is included in the *.qm file in its original form. Although Qt
Linguist is a GUI application with dock windows and mouse control,
toolbars, etc., it has a full set of keyboard shortcuts to make
translation as fast and efficient as possible.

When the Qt application that you're developing evolves (e.g. from
version 1.0 to version 1.1), the utility lupdate merges the source
texts from the new version with the previous translation source file,
reusing existing translations. In some typical cases, lupdate may
suggest translations. These translations are marked as unfinished, so
you can easily find and check them.


Qt Assistant
========================================

Due to the positive feedback we received about the help system built
into Qt Designer, we decided to offer this part as a separate
application called Qt Assistant. Qt Assistant can be used to browse
the Qt class documentation as well as the manuals for Qt Designer and
Qt Linguist. It offers index searching, a contents overview, bookmarks
history and incremental search. Qt Assistant is used by both Qt
Designer and Qt Linguist for browsing their help documentation.


QMake
========================================

To ease portability we now provide the qmake utility to replace tmake.
QMake is a C++ version of tmake which offers additional functionallity
that is difficult to reproduce in tmake. Qt uses qmake in its
build system and we have released it as free software.


Qt Functions
========================================

QAction
-------

All new functions:
	void addedTo( QWidget *actionWidget, QWidget *container );
	void addedTo( int index, QPopupMenu *menu );

QActionGroup
------------

New mode "uses drop down", where members are shown in a separate
subwidget such as a combobox or a submenu (enable with
setUsesDropDown(TRUE) )

All new functions:
	void add(QAction*);
	void addSeparator();
	void addedTo( QWidget *actionWidget, QWidget *container, QAction *a );
	void addedTo( int index, QPopupMenu *menu, QAction *a );
	void setUsesDropDown( bool enable );
	bool usesDropDown() const;


QApplication
------------

Added the setStyle(const QString&) overload that takes the name of the
style as its argument. This loads a style plugin via a QStyleFactory.

desktop() now returns a QDesktopWidget that provides access to
multi-head information. Prior to 3.0, it returned a normal QWidget.

New functions to define the library search path for plugins
(setLibraryPaths, ...).

New functions to define reverse layout for bidirectional languages
(setReverseLayout, ...).

All new functions:
	bool hasPendingEvents()

	void setLibraryPaths(const QStringList &);
	QStringList libraryPaths();
	void addLibraryPath(const QString &);
	void removeLibraryPath(const QString &);

	void setReverseLayout( bool b );
	bool reverseLayout();
	int horizontalAlignment( int align );



QClipboard
----------

On systems that support it, for example X11, QClipboard now
differentiates between the primary selection and the data in the clipboard.

All new functions:
	bool supportsSelection() const;
	bool ownsClipboard() const;
	void setSelectionMode(bool enable);
	bool selectionModeEnabled() const;
New signals:
	void selectionChanged()
	


QCursor
-------

Now inherits Qt namespace. Enum values like ArrowCursor,
UpArrowCursor, CrossCursor etc. are now part of that namespace.


QDataStream
-----------

Added missing operators for Q_LONG and Q_ULONG


QDateTime / QDate / QTime
-------------------------

More sophisticated toString() function that takes a DateFormat, where
DateFormat can be either TextDate (the default), ISODate (ISO 8601) or
LocalDate (locale dependent).

All new functions:
	QDate addMonths( int months ) const;
	QDate addYears( int years ) const;
	QDate fromString( const QString& s, Qt::DateFormat f = Qt::TextDate );
	static QString shortMonthName( int month );
	static QString longMonthName( int month );
	static QString shortDayName( int weekday );
	static QString longDayName( int weekday );
	static void setShortMonthNames( const QStringList& names );
	static void setLongMonthNames( const QStringList& names );
	static void setShortDayNames( const QStringList& names );
	static void setLongDayNames( const QStringList& names );

QDialog
-------

Merged with QSemiModal. Calling show() on a modal dialog will return
immediately, not enter a local event loop. Showing a modal dialog in
its own event loop is achieved using exec().

exec() is now a public slot.

Usability: For widgets supporting What's This help, QDialog
automatically offers a context menu containing a "What's This?" entry.


QEvent
------

Mouse events are now propagated up to the toplevel widget if no widget
accepts them and no event filter filters them out. In previous Qt
versions, only key events were propagated.

All events carry a flag 'spontaneous' to determine whether the even
came from the outside or was generated by code within the
applications. Previously, only show and hide events had this flag.

Enter/Leave event generation has been fixed. Previously, a widget
received a leave event when the mouse pointer entered one of its
children. This was both unnatural and contradictive to the
documentation.

QWheelevent now carries an orientation to differentiate between
horizontal and vertical wheels.

QFocusEvent: new reason 'Backtab' (previously only 'Tab' was
available). This makes it possible to discover from what direction on
the tab-focus chain the widget was entered.

New events: QContextMenuEvent, QIMEvent


QFile
-----

Ported from int to Q_LONG to prepare for large file sizes on 64 bit
systems.

Filter handling made more flexible.


QFileDialog
-----------

All new Functions:
	void setSelectedFilter( const QString& );
	void setSelectedFilter( int );
New signals:
	void filesSelected( const QStringList& );
	void filterSelected( const QString& );

If you try to specify an invalid file when using getOpenFileName(s), an error message
will appear and the file will not be accepted.  In 2.x, this function behaved differently
because users were using getOpenFileName(s) as a Save File Dialog; you should use
getSaveFileName() when you require a Save File Dialog.	


QCanvas Module
--------------

	New classes:
		QCanvasSpline - a multi-bezier spline

	QCanvasItemList
		void update();

	QCanvas:
		QRect rect() const;
		void setUnchanged( const QRect& area );
		void drawArea(const QRect&, QPainter* p, bool double_buffer);
		void drawViewArea( QCanvasView* view, QPainter* p, const QRect& r, bool dbuf );
		QRect changeBounds(const QRect& inarea);

	QCanvasView:
		const QWMatrix &worldMatrix() const;
		const QWMatrix &inverseWorldMatrix() const;
		void setWorldMatrix( const QWMatrix & );
	QCanvasSprite:
		int leftEdge() const;
		int topEdge() const;
		int rightEdge() const;
		int bottomEdge() const;
		int leftEdge(int nx) const;
		int topEdge(int ny) const;
		int rightEdge(int nx) const;
		int bottomEdge(int ny) const;

QCanvasSprite can now be set to animate its frames without the need to
subclass.


QFont, QFontDatabase, QFontInfo, QFontMetrics
---------------------------------------------

The QFont::CharSet enum has been removed and replaced with the
QFont::Script enum. With this change, a QFont is not associated with a
specific character set. Instead, QFont uses Unicode Scripts for
loading fonts.  On platforms where most fonts do not use the Unicode
encoding (currently only X11), multiple locale and character-set
dependent fonts can be loaded for the individual Unicode Scripts.

Another new feature of QFont is a much more flexible substitution
mechanism. Each family can have a list of appropriate substitutes. The
font substitution feature allows you to specify a list of substitute
fonts. Substitute fonts are used when a font cannot be loaded, or if
the specified font doesn't have a particular character (X11 only).

For example (on X11), you select the font Lucida, which doesn't have
Korean characters. For Korean text, you want to use the Mincho font
family. By adding Mincho to the list, any Korean characters not found
in Lucida will be used from Mincho. Because the font substitutions are
lists, you can also select multiple families, such as Song Ti (for use
with Chinese text).

QFontInfo and QFontMetrics had small API changes related to the
disappearance of QFont::CharSet.  In terms of functionality, the
behavior of these classes is unchanged.

QFontDatabase had several API cleanups related to the disappearance of
QFont::CharSet.  Most QFontDatabase member functions take one less
argument, yet compatibility functions still exist to keep old source
code working.

Family and style names returned from QFontDatabase are now processed
and formatted in a way that is suitable for display to users.  Family
and foundry names are capitalized and foundry names are enclosed in
square brackets after the family name.  For example, the Helvetica
font family might have 3 different foundries: Adobe, Cronyx and
Phaisarn. In 2.x, QFontDatabase listed them like this:

	adobe-helvetica
	cronyx-helvetica
	phaisarn-helvetica

Starting with 3.0, QFontDatabase lists them like this:

	Helvetica [Adobe]
	Helvetica [Cronyx]
	Helvetica [Phaisarn]


QFrame
------

Two new frame shapes for more sophisticated style features:
MenuBarPanel and ToolBarPanel.


QGrid
-----

The member type

    enum Direction { Horizontal, Vertical };

has been eliminated, as it is redundant: use Qt::Orientation instead.
Old code referring to QGrid::Horizontal or QGrid::Vertical will still
work, as QGrid counts Qt among its ancestors.


QGroupBox
---------

More functionality of the built-in layout is exposed:

	int insideMargin() const;
	int insideSpacing() const;
	void setInsideMargin( int m );
	void setInsideSpacing( int s );


QHeader
-------

New property: bool stretching

New functions:
	bool isStretchEnabled( int section );
	void setStretchEnabled( bool b, int section );
	

QIconSet
--------

In addition to the mode - which can be either Normal, Disabled or
Active - QIconSet now supports different pixmaps for a state, i.e. On
or Off. The functions pixmap() and setPixmap() have been extended
accordingly.

The default constructor no longer initializes the iconset to
contain a null pixmap. QIconSet::isNull() returns TRUE for un-
initialized iconsets, and pixmap() still returns a null pixmap for
pixmaps that couldn't be generated.


QIconView
---------

Extended findItem() to support ComparisonFlags. Support for
soft-hyphens when doing word wrap.

New signal:
	contextMenuRequested( QIconViewItem*, const QPoint& pos);


QIconViewItem
-------------

Added support for explicit rtti.

New function:
	int rtti() const;



QListBox
--------

Extended findItem() to support ComparisonFlags.

New signal:
	void contextMenu( QListBoxItem *, const QPoint & );


QListBoxItem
------------

Added support for explicit rtti.

New function:
	int rtti() const;



QListView
---------

It was never really hard to implement drag and drop with QListView,
but since many applications demand this functionality today, we
decided to add it to the listview itself.

In addition, in-place editing and per-item tooltips have been added.
Extended findItem() to support ComparisonFlags

New properties:
	bool showToolTips
	ResizeMode resizeMode

New signals:
	contextMenuRequested( QIconViewItem*, const QPoint& pos);
	void dropped( QDropEvent *e );
	void itemRenamed( QListViewItem *item, int col, const QString & );
	void itemRenamed( QListViewItem *item, int col  );

New functions:
	void setResizeMode( ResizeMode m );
	ResizeMode resizeMode() const;
	QDragObject *dragObject();
	void startDrag();
	void startRename();


QListViewItem
-------------

Added support for explicit rtti.

New functions:
	void setDragEnabled( bool allow );
	void setDropEnabled( bool allow );
	bool dragEnabled() const;
	bool dropEnabled() const;
	bool acceptDrop( const QMimeSource *mime ) const;
	void setVisible( bool b );
	bool isVisible() const;
	void setRenameEnabled( int col, bool b );
	bool renameEnabled( int col ) const;
	void startRename( int col );
	void setEnabled( bool b );
	bool isEnabled() const;
	int rtti() const;

	void dropped( QDropEvent *e );
	void dragEntered();
	void dragLeft();
	void okRename( int col );
	void cancelRename( int col );


QLabel
------

In addition to text, rich text, pixmaps and movies, QLabel can now
display QPicture vector graphics.

New functions:

	QPicture *picture() const;
	void setPicture( const QPicture & );


QLineEdit
---------

New property: bool dragEnabled

New signal:
	contextMenuRequested( QIconViewItem*, const QPoint& pos);

New functions:
	void cursorForward( bool mark, int steps = 1 );
	void cursorBackward( bool mark, int steps = 1 );
	void cursorWordForward( bool mark );
	void cursorWordBackward( bool mark );
	bool dragEnabled();
	void setDragEnabled( bool b );


QMainWindow
-----------

Added a dock window architecture. Previous versions of QMainWindow
could only deal with toolbars, now they handle generalized dock
windows. QToolBar inherits QDockWindow.


New property:
	bool dockWindowsMovable;

New signals:
	void dockWindowPositionChanged( QDockWindow * );

New functions:
	void setDockEnabled( Dock dock, bool enable );
	bool isDockEnabled( Dock dock ) const;
	bool isDockEnabled( QDockArea *area ) const;
	void setDockEnabled( QDockWindow *tb, Dock dock, bool enable );
	bool isDockEnabled( QDockWindow *tb, Dock dock ) const;
	bool isDockEnabled( QDockWindow *tb, QDockArea *area ) const;

	void addDockWindow( QDockWindow *, Dock = Top, bool newLine = FALSE );
	void addDockWindow( QDockWindow *, const QString &label, Dock = Top, bool newLine = FALSE );
	void moveDockWindow( QDockWindow *, Dock = Top );
	void moveDockWindow( QDockWindow *, Dock, bool nl, int index, int extraOffset = -1 );
	void removeDockWindow( QDockWindow * );

	QDockArea *dockingArea( const QPoint &p );
	QDockArea *leftDock() const;
	QDockArea *rightDock() const;
	QDockArea *topDock() const;
	QDockArea *bottomDock() const;
	
	bool isCustomizable() const;
	bool appropriate( QDockWindow *dw ) const;
	QPopupMenu *createDockWindowMenu( DockWindows dockWindows = AllDockWindows ) const;

	bool showDockMenu( const QPoint &globalPos );


QMetaObject
-----------

###TODO


QMimeSourceFactory
------------------

New static functions:
	QMimeSourceFactory* takeDefaultFactory();
	static void addFactory( QMimeSourceFactory *f );


QNetworkProtocol
----------------

Spelling fix in Error::ErrListChildren enum.


QRegExp
-------

QRegExp now has a more complete regular expression engine similar to
Perl's, with full Unicode and backreference support.

New functions:
	bool minimal() const;
	void setMinimal( bool minimal );
	bool exactMatch( const QString& str );
	bool exactMatch( const QString& str ) const;
	int search( const QString& str, int start = 0 );
	int search( const QString& str, int start = 0 ) const;
	int searchRev( const QString& str, int start = -1 );
	int searchRev( const QString& str, int start = -1 ) const;
	int matchedLength();
	QStringList capturedTexts();
	QString cap( int nth = 0 );
	int pos( int nth = 0 );


QSessionManager
---------------

Renamed the misnamed setProperty() overloads to setManagerProperty()
to resolve the conflict with the now virtual QObject::setProperty().


QString
-------

New functions:
	bool endsWith( const QString & );
	int similarityWith( const QString & );

### TODO

QStyle
------

### TODO

QTabBar
-------

The extended QTabWidget support in Qt Designer made two more
functions handy to have:
	QTab * tabAt( int ) const;
	int indexOf( int ) const;



QToolBar
--------

Inherits QDockWindow now, previously only QWidget.


QToolButton
-----------

New property:
	QIconSet iconSet

New functions:
	QIconSet iconSet() const;
	virtual void setIconSet( const QIconSet & );

QWidget
-------

New functions:

    const QColor & eraseColor() const;
    virtual void setEraseColor( const QColor & );
    const QPixmap * erasePixmap() const;
    virtual void setErasePixmap( const QPixmap & );



QWizard
-------

New property: QString titleFont

New functions:
	QFont titleFont() const;
	void setTitleFont( const QFont & );
	int indexOf( QWidget* ) const;


QWMatrix
--------

New function:
	bool isIdentity() const;
	

QGL Module
----------

QGLWidget
New functions:
	QGLFormat requestedFormat() const;
	QImage grabFrameBuffer( bool withAlpha = FALSE );


QWorkspace Module
-----------------

A new property scrollBarsEnabled makes it possible to add on-demand
scrollbars to the workspace. We define this property in Qt Designer to
make designing forms larger than the available space on the desktop
more comfortable.

New property:
	bool scrollBarsEnabled


QXML Module
-----------
Many new functions have been added:
	QDomImplementation
		QDomDocumentType createDocumentType( const QString& qName, const QString& publicId, const QString& systemId );
		QDomDocument createDocument( const QString& nsURI, const QString& qName, const QDomDocumentType& doctype );
	QDomNode
		QDomNode insertBefore( const QDomNode& newChild, const QDomNode& refChild );
		QDomNode insertAfter( const QDomNode& newChild, const QDomNode& refChild );
		QDomNode replaceChild( const QDomNode& newChild, const QDomNode& oldChild );
		QDomNode removeChild( const QDomNode& oldChild );
		QDomNode appendChild( const QDomNode& newChild );
		bool hasChildNodes() const;
		QDomNode cloneNode( bool deep = TRUE ) const;
		void normalize();
		bool isSupported( const QString& feature, const QString& version ) const;
		QString namespaceURI() const;
		QString localName() const;
		bool hasAttributes() const;
	QDomDocument
		bool setContent( const QCString& text, bool namespaceProcessing=FALSE );
		bool setContent( const QByteArray& text, bool namespaceProcessing=FALSE );
		bool setContent( const QString& text, bool namespaceProcessing=FALSE );
		bool setContent( QIODevice* dev, bool namespaceProcessing=FALSE );
	QDomNamedNodeMap
		QDomNode namedItemNS( const QString& nsURI, const QString& localName ) const;
		QDomNode setNamedItemNS( const QDomNode& newNode );
		QDomNode removeNamedItemNS( const QString& nsURI, const QString& localName );

	QDomElement
		QString attributeNS( const QString nsURI, const QString& localName, const QString& defValue ) const;
		void setAttributeNS( const QString nsURI, const QString& qName, const QString& value );
		void setAttributeNS( const QString nsURI, const QString& qName, int value );
		void setAttributeNS( const QString nsURI, const QString& qName, uint value );
		void setAttributeNS( const QString nsURI, const QString& qName, double value );
		void removeAttributeNS( const QString& nsURI, const QString& localName );
		QDomAttr attributeNodeNS( const QString& nsURI, const QString& localName );
		QDomAttr setAttributeNodeNS( const QDomAttr& newAttr );
		QDomNodeList elementsByTagNameNS( const QString& nsURI, const QString& localName ) const;
		bool hasAttributeNS( const QString& nsURI, const QString& localName ) const;

	
	QXmlAttributes
		void clear();
		void append( const QString &qName, const QString &uri, const QString &localPart, const QString &value );

	QXmlInputSource:
		void setData( const QByteArray& dat );
		void fetchData();
		QString data();
		QChar next();
		void reset();
		QString fromRawData( const QByteArray &data, bool beginning = FALSE );

	QXmlSimpleReader:
		bool parse( const QXmlInputSource& input, bool incremental );
		bool parseContinue();

	QXmlEntityResolver:
		bool startEntity( const QString& name );
		bool endEntity( const QString& name );

	

New classes
-----------

QAquaStyle (only on MacOS X)
QCleanupHandler
QComponentFactory
QComponentFactoryInterface
QComponentServerInterface
QContextMenuEvent
QDesktopWidget
QDockArea
QDockWindow
QErrorMessage
QFeatureListInterface
QHttp [network]
QInterfaceListInterface
QInterfacePtr
QIMEvent
QLibrary
QLibraryInterface
QStyleFactory
QStyleInterface
QTextCodecInterface
QUnknownInterface
QUuid
QRegExpValidator
QTextEdit


Renamed Classes
---------------

QArray has been renamed QMemArray
QCollection has been renamed QPtrCollection
QList has been renamed QPtrList
QListIterator has been renamed QPtrListIterator
QQueue has been renamed QPtrQueue
QStack has been renamed QPtrStack
QVector has been renamed QPtrVector

The include file names have changed accordingly (e.g., <qmemarray.h>).


New Modules
-----------

SQL
	QDataBrowser
	QDataTable
	QDataView
	QDateTimeEdit
	QEditFactory


Obsolete classes
----------------

	QSemiModal, use QDialog instead.
	QMultiLineEdit, use QTextEdit instead.
	QTableView, use QScrollView or QTable instead.
	QAsyncIO, QDataSink, QDataSource, QDataPump and QIODeviceSource


Obsolete functions
------------------
	QActionGroup::insert( QAction * ),  use QActionGroup::add( QAction* ) instead.
	QApplication::setWinStyleHighlightColor( const QColor &c ), use setPalette() instead
	QApplication::winStyleHighlightColor(), use palette() instead
	QDir::encodedEntryList( int filterSpec, int sortSpec ), use QDir::entryList() instead
	QDir::encodedEntryList( const QString &nameFilter, int filterSpec, int sortSpec ), use QDir::entryList() instead
	QMainWindow::addToolBar( QDockWindow *, Dock = Top, bool newLine = FALSE );
	QMainWindow::addToolBar( QDockWindow *, const QString &label,  Dock = Top, bool newLine = FALSE );
	QMainWindow::moveToolBar( QDockWindow *, Dock = Top );
	QMainWindow::moveToolBar( QDockWindow *, Dock, bool nl, int index, int extraOffset = -1 );
	QMainWindow::removeToolBar( QDockWindow * );
	QMainWindow::toolBarsMovable() const;
	QMainWindow::toolBars( Dock dock ) const;
	QMainWindow::lineUpToolBars( bool keepNewLines = FALSE );
	QRegExp::match( const QString& str, int index = 0, int *len = 0,
			bool indexIsStart = TRUE );
	QToolButton::setOnIconSet( const QIconSet & )
	QToolButton::setOffIconSet( const QIconSet & )
	QToolButton::onIconSet() const
	QToolButton::offIconSet() const
	QToolButton::setIconSet( const QIconSet & set, bool on )
	QToolButton::iconSet( bool on ) const
	QXmlInputSource::QXmlInputSource( QFile& file ), use QXmlInputSource( QIODevice *dev ) instead.
	QXmlInputSource::QXmlInputSource( QTextStream& stream ), use QXmlInputSource( QIODevice *dev ) instead.

Removed functions:
	QWidget::setFontPropagation
	QWidget::setPalettePropagation
	QMenuBar::setActItem
	QMenuBar::setWindowsAltMode
	QCheckListItem::paintBranches
	QString::visual
	QString::basicDirection
	QRegExp::find( const QString& str, int index ) const; - has been renamed QRegExp::search()
	QFont::charSet() const, not needed anymore
	QFont::setCharSet( QFont::CharSet ), not needed anymore
	QPushButton::upButton(), not relevant anymore
	QPushButton::downButton(), not relevant anymore
	QSpinBox::upButton(), not relevant anymore
	QSpinBox::downButton(), not relevant anymore


Removed preprocessor directives
-------------------------------

	qcstring.h no longer contains the following defines:

		#define strlen qstrlen
		#define strcpy qstrcpy
		#define strcmp qstrcmp
		#define strncmp qstrncmp
		#define stricmp	qstricmp
		#define strnicmp qstrnicmp

	These directives were meant to automagically replace calls to the
	above listed standard C functions with the equivalent Qt wrappers.
	The latter pre-check the input parameters for null pointers as those
	might cause crashes on some platforms.

	Although convenient, this trick turned out to sometimes conflict with
	third-party code, or, simply be nullified by standard system and
	library headers depending on version and include order.

	The name of some debugging macro variables has been changed.

		DEBUG becomes QT_DEBUG
		NO_DEBUG becomes QT_NO_DEBUG
		NO_CHECK becomes QT_NO_CHECK
		CHECK_STATE becomes QT_CHECK_STATE
		CHECK_RANGE becomes QT_CHECK_RANGE
		CHECK_NULL becomes QT_CHECK_NULL
		CHECK_MATH becomes QT_CHECK_MATH

	The name of some other debugging macro functions has also been changed
	but source compatibility should not be affected if the macro variable
	QT_CLEAN_NAMESPACE is not defined:

		ASSERT becomes Q_ASSERT
		CHECK_PTR becomes Q_CHECK_PTR

	For the record these undocumented macro variables that are not part of
	the API have been changed:

		_OS_*_ becomes Q_OS_*
		_WS_*_ becomes Q_WS_*
		_CC_*_ becomes Q_CC_*


[Qt 3.0]