summaryrefslogtreecommitdiff
path: root/x11-toolkits/qt32/files/qapplication.cpp.diff
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-03-09 19:41:12 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-03-09 19:41:12 +0000
commitf64c6af4f4d0803346188ad60d5055ea8b8d63dc (patch)
treea4ccebaea6c27a0834589e8629dbcdc5ee328c8b /x11-toolkits/qt32/files/qapplication.cpp.diff
parent. Build and install API documentation if NOPORTDOCS isn't set. (diff)
Update to KDE 3.2.1 / QT 3.3.1
Important changes: ================== KDE: - Audio/arts does not install artswrapper anymore, instead it is provided by audio/artswrapper. See UPDATING. - misc/kdeaddons3 is now a metaport with editors/kate-plugins editors/vimpart games/atlantikdesigner misc/kaddressbook-plugins misc/kfile-plugins misc/kicker-applets misc/knewsticker-scripts misc/konq-plugins misc/ksig misc/renamedlgplugins multimedia/noatun-plugins net/kontact-plugins as slave ports. - A number of KDE ports now uses OPTIONS do make various WITH_* options more visible. - Plist fixes - devel/kdevelop should be able to detect FreeBSD's autoconf/automake now for newly created projects. - kdebase will no longer remove previous KDM configurations. This won't take effect during the update from 3.2.0 to 3.2.1 (as deinstalling 3.2.0 will still remove the configuration), but subsequent updates will merge old configs. QT: - Previous versions of QT could be compiled with debugging-support enabled by defining DEBUG. This switch has been renamed to the more unambiguous WANT_QT_DEBUG (similar to WANT_KDE_DEBUG in the KDE ports).
Diffstat (limited to 'x11-toolkits/qt32/files/qapplication.cpp.diff')
-rw-r--r--x11-toolkits/qt32/files/qapplication.cpp.diff74
1 files changed, 0 insertions, 74 deletions
diff --git a/x11-toolkits/qt32/files/qapplication.cpp.diff b/x11-toolkits/qt32/files/qapplication.cpp.diff
deleted file mode 100644
index b84fd01f8f74..000000000000
--- a/x11-toolkits/qt32/files/qapplication.cpp.diff
+++ /dev/null
@@ -1,74 +0,0 @@
-===================================================================
-RCS file: /home2/webcvs/mirror/qt-copy/src/kernel/qapplication.cpp,v
-retrieving revision 1.61
-retrieving revision 1.62
-diff -u -p -r1.61 -r1.62
---- qt-copy/src/kernel/qapplication.cpp 2002/11/13 16:46:34 1.61
-+++ qt-copy/src/kernel/qapplication.cpp 2002/11/14 08:57:34 1.62
-@@ -3257,6 +3257,66 @@ Q_EXPORT void qt_dispatchEnterLeave( QWi
- }
-
-
-+#ifdef Q_WS_MACX
-+extern QWidget *qt_tryModalHelperMac( QWidget * top ); //qapplication_mac.cpp
-+#endif
-+
-+
-+/*!\internal
-+
-+ Called from qapplication_<platform>.cpp, returns TRUE
-+ if the widget should accept the event.
-+ */
-+bool qt_tryModalHelper( QWidget *widget, QWidget **rettop ) {
-+ QWidget *modal=0, *top=QApplication::activeModalWidget();
-+ if ( rettop ) *rettop = top;
-+
-+ if ( qApp->activePopupWidget() )
-+ return TRUE;
-+
-+#ifdef Q_WS_MACX
-+ top = qt_tryModalHelperMac( top );
-+ if ( rettop ) *rettop = top;
-+#endif
-+
-+ QWidget* groupLeader = widget;
-+ widget = widget->topLevelWidget();
-+
-+ if ( widget->testWFlags(Qt::WShowModal) ) // widget is modal
-+ modal = widget;
-+ if ( !top || modal == top ) // don't block event
-+ return TRUE;
-+
-+ QWidget * p = widget->parentWidget(); // Check if the active modal widget is a parent of our widget
-+ while ( p ) {
-+ if ( p == top )
-+ return TRUE;
-+ p = p->parentWidget();
-+ }
-+
-+ while ( groupLeader && !groupLeader->testWFlags( Qt::WGroupLeader ) )
-+ groupLeader = groupLeader->parentWidget();
-+
-+ if ( groupLeader ) {
-+ // Does groupLeader have a child in qt_modal_stack?
-+ bool unrelated = TRUE;
-+ modal = qt_modal_stack->first();
-+ while (modal && unrelated) {
-+ QWidget* p = modal->parentWidget();
-+ while ( p && p != groupLeader && !p->testWFlags( Qt::WGroupLeader) ) {
-+ p = p->parentWidget();
-+ }
-+ modal = qt_modal_stack->next();
-+ if ( p == groupLeader ) unrelated = FALSE;
-+ }
-+
-+ if ( unrelated )
-+ return TRUE; // don't block event
-+ }
-+ return FALSE;
-+}
-+
-+
- /*!
- Returns the desktop widget (also called the root window).
-