summaryrefslogtreecommitdiffstats
path: root/examples/corelib/mimetypes/mimetypebrowser/mainwindow.h
Commit message (Collapse)AuthorAgeFilesLines
* Revamp MIME Type Browser Ex: Fix includesRym Bouabid2023-09-221-4/+3
| | | | | | | | | | | | Fix include order to respect the Coding Conventions. Remove QT_{BEGIN,END}_NAMESPACE because these are private Qt macros that should not be used in the examples. Task-number: QTBUG-117146 Pick-to: 6.6 6.5 Change-Id: Iba7a4726180ec97d9654ed3b934baca8c1df0b5c Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Use SPDX license identifiersLucie Gérard2022-05-161-49/+2
| | | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: Id880c92784c40f3bbde861c0d93f58151c18b9f1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Replace outdated BSD license textKai Koehne2017-03-031-2/+12
| | | | | | | | For examples and documentation, use new BSD license text that includes the commercial licenses. Change-Id: I1cd74bd8e9c8f2746d8702df00780ee100cbebac Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Add mime type browser example.Friedemann Kleint2016-03-241-0/+79
Add an example showing the types in QMimeDatabase in a QTreeView with detailed information on click. The example has menu options to detect a file type and search by name. Change-Id: If6f1a6661edd100a54460a49562a8a8667245ddb Reviewed-by: David Faure <david.faure@kdab.com>