diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-08-19 13:50:45 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-07 08:58:49 (GMT) |
commit | ee383b89f16a9a75a934076255bddbef5a075fa3 (patch) | |
tree | 22118d8368e89aae2ebf09e41b79f3d69d811cae /examples/dialogs/standarddialogs | |
parent | c14455b78904f25e724cd928652c49f9583c6aa0 (diff) | |
download | Qt-ee383b89f16a9a75a934076255bddbef5a075fa3.zip Qt-ee383b89f16a9a75a934076255bddbef5a075fa3.tar.gz Qt-ee383b89f16a9a75a934076255bddbef5a075fa3.tar.bz2 |
Integrate the GuiPlatformPlugin interface
This is an internal interface for plugins that can be provided by
the platform to give platform-specific features by platforms built on
top of Qt.
We can easlily integrate Qt on Windows, Mac, Gnome, ... without any
plugin because we can link to their respective library (dynamically
if we don't want to depend on it). On Gnome, we can dynamically
resolve Gtk+ symbols.
This is however not possible for KDE or other platform built on top
of Qt: we can't link against their library because they depend on us
and we can't dynamically resolve the symbols because they are
mangled (C++)
So this plugin provides hooks inside Qt to be able to do things
like native File or Color dialog, native icons, accurate reading of
the config file, and so on.
This is currently private API.
Task-number: QT-406
Reviewed-by: Jens Bache-Wiig
Reviewed-by: Oswald Buddenhagen
Diffstat (limited to 'examples/dialogs/standarddialogs')
-rw-r--r-- | examples/dialogs/standarddialogs/dialog.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/dialogs/standarddialogs/dialog.cpp b/examples/dialogs/standarddialogs/dialog.cpp index c29d2dd..6e06190 100644 --- a/examples/dialogs/standarddialogs/dialog.cpp +++ b/examples/dialogs/standarddialogs/dialog.cpp @@ -150,11 +150,6 @@ Dialog::Dialog(QWidget *parent) native = new QCheckBox(this); native->setText("Use native file dialog."); native->setChecked(true); -#ifndef Q_WS_WIN -#ifndef Q_OS_MAC - native->hide(); -#endif -#endif QGridLayout *layout = new QGridLayout; layout->setColumnStretch(1, 1); layout->setColumnMinimumWidth(1, 250); |