summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMorten Engvoldsen <morten.engvoldsen@nokia.com>2009-05-18 13:00:59 (GMT)
committerMorten Engvoldsen <morten.engvoldsen@nokia.com>2009-05-18 13:01:19 (GMT)
commit5c25207628fbcc94e92b129ac7660af14613ad85 (patch)
treea7594dca3cc4a12b20de04cb6b8fdedfdfc3aa72 /doc
parent42f96b60da9b51048e66247c3cfe77d320315fe2 (diff)
downloadQt-5c25207628fbcc94e92b129ac7660af14613ad85.zip
Qt-5c25207628fbcc94e92b129ac7660af14613ad85.tar.gz
Qt-5c25207628fbcc94e92b129ac7660af14613ad85.tar.bz2
Adding change details in to Qt 3 to Qt 4 porting guide
Adding details about QCloseEvents being acceptet by default in Qt 4 opposed to Qt 3 Task-number: 192607 Rev-by: msorvig
Diffstat (limited to 'doc')
-rw-r--r--doc/src/porting4-overview.qdoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/src/porting4-overview.qdoc b/doc/src/porting4-overview.qdoc
index b0146a6..462f849 100644
--- a/doc/src/porting4-overview.qdoc
+++ b/doc/src/porting4-overview.qdoc
@@ -364,4 +364,10 @@
In Qt 4.2 and later, \l{Qt Style Sheets} can be used to
implement many common modifications to existing styles, and
this may be sufficient for Qt 3 applications.
+
+ \section2 Events
+ In Qt 3, QCloseEvents were not accepted by default. In Qt 4,
+ the event handler QWidget::closeEvent() receives QCloseEvents,
+ and accepts them by default closing the application. To avoid
+ this, please reimplement QWidget::closeEvent().
*/