aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports
Commit message (Collapse)AuthorAgeFilesLines
* Eradicate remaining Q_FOREACH and mark the module free of themMarc Mutz2019-06-191-2/+0
| | | | | | | | Q_FOREACH is scheduled for deprecation, or at the very least banned from use in Qt code. Change-Id: Iaf9e8d8be7e43231f31a86eec575605366db4e03 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Fix clang warnings about repetitive type namesFriedemann Kleint2019-06-047-15/+15
| | | | | | | | Fix warning like: warning: use auto when initializing with new/reinterpret_cast to avoid duplicating the type name [modernize-use-auto] Change-Id: I46919c041f6a217e098b82c9f7f6548e0a0a9ec5 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Fix various clang warningsFriedemann Kleint2019-06-043-11/+4
| | | | | | | | | - Use static QFileInfo::exists() - Fix else after return/break - Use Q_ENUM Change-Id: I08d5b48224e5b43c795929765b4ab4c0b137224f Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Introduce nullptrFriedemann Kleint2019-06-0513-24/+21
| | | | | | | | Apply Fixits by Qt Creator. Introduce more member initialization. Change-Id: I81c6860188f0e1592c4df2435ff7f91500456741 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Fix clang warnings about class definitionsFriedemann Kleint2019-06-0411-31/+17
| | | | | | | | Use member initialization, add override, use "= default" for trivial constructors and destructors. Change-Id: I30f64f3d39c1656d52e21653f75935e5c41bca71 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Update plugins.qmltypes for Qt 5.13v5.13.0-beta1Kai Koehne2019-02-261-156/+2
| | | | | | Task-number: QTBUG-73739 Change-Id: Ied9f66aec094ff51de2529c1a27f0250a06d7a0e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Make QML import available under 1.QT_MINOR_VERSIONFriedemann Kleint2019-02-252-1/+2
| | | | | | Fixes: QTBUG-74038 Change-Id: I7e48806bc99bbfc0a5df6db9610e1a4de831ae1f Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Fix Qt include statementsFriedemann Kleint2018-05-221-1/+1
| | | | | | | | | | | Change #include <QtCore/QDebug>, #include <QDebug> to #include <QtCore/qdebug.h> according to the coding style. Change-Id: I45fa5e55222e6913972d743908c47480b23cd92c Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Remove the code to manually initialize resources in static buildsSimon Hausmann2018-04-271-8/+1
| | | | | | | | | After commit be9a56e5e3ced5d0d668fa24e4c65ae928f2e25a in qtbase, this is not needed anymore. Instead the resource system injects the plugin entry point with a reference to all resources. Change-Id: I9c47e29e336efac47e41a583bb1ba4368f3170fd Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Fix build of the QML import with -no-openglFriedemann Kleint2017-01-251-1/+1
| | | | | | | | Add -luser32 in that case. Task-number: QTBUG-58415 Change-Id: I052dac8b44409f60b461e93f463d0e4854718a57 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Eradicate Q_FOREACH loops and mark the libraries as Q_FOREACH-freev5.8.0-beta1Marc Mutz2016-09-054-4/+7
| | | | | Change-Id: I4dbad7ab4c9f467b2e2fd90eff44e1c4a58d43e2 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Improve robustness of QML plugin loadingv5.8.0-alpha1Simon Hausmann2016-08-261-1/+1
| | | | | | | | Use a variable that expands to the latest plugin version instead of hard-coding the string. Change-Id: Ica08496d3a9a357db32d0cd1e0abc8503c575c2e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Adjust to qtConfig() changes in qtbaseLars Knoll2016-08-191-1/+1
| | | | | | Change-Id: Ia72129947858da59a05a7114a5b35514e443909f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Enable using the module in a statically built applicationv5.7.0-alpha1Andy Shaw2016-02-262-0/+9
| | | | | | Change-Id: I703af8402b38309562c2de9029070ac19a36c7f0 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
* Updated license headersAntti Kokko2016-01-1922-327/+459
| | | | | | | | | | From Qt 5.7 -> LGPL v2.1 isn't an option anymore, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new LGPL header instead of LGPL21 one (in those files which will be under LGPL v3) Change-Id: Ie3a7eb2a349a0c80b8ae4ca5f4a32baf7a646fa1 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Add missing "We mean it" comments to private headers.Friedemann Kleint2015-10-0510-0/+110
| | | | | Change-Id: I27447f8bf4a3243e517d1f2c7ad7b07d00d2e83f Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
* Update plugins.qmltypesKai Koehne2015-09-171-2/+157
| | | | | | Change-Id: I8f8e221b6c9d9e06a7b18bfcc979a9b9e27e2077 Reviewed-by: Marco Benelli <marco.benelli@theqtcompany.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
* Port to new Q_ENUM macro.Friedemann Kleint2015-04-021-1/+2
| | | | | Change-Id: I0b6d44dfed0a7b71f84dc175fd3c82831cc7fc90 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Update copyright headersv5.5.0-alpha1Antti Kokko2015-02-1622-151/+151
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: Ia5781193927251d6b6786f53a9b1cfba9e6d0782 Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Merge remote-tracking branch 'origin/5.4' into devFrederik Gladhorn2015-01-021-2/+7
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I0e3a17d947087a01ea98826c73ad190165751c04
| * Update plugins.qmltypesKai Koehne2014-12-051-2/+7
| | | | | | | | | | Change-Id: If4fa3c8d3fcc150535e9d513f87e0bee2a2ad9d1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
* | Use Qt 5 signals & slot syntax.Friedemann Kleint2014-12-172-7/+7
|/ | | | | Change-Id: I548076eebc2c8f1204ef76bb4e6e09ed00352553 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Update license headers and add new license filesAntti Kokko2014-08-2422-410/+234
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I4852e1e3fb306319e63d919675acad9a64e43db6 Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* Implement iconic live previews/iconic thumbnail icons.Friedemann Kleint2014-07-073-0/+127
| | | | | | | | | | | [ChangeLog][QWinThumbnailToolBar] Added pixmap properties and change notifications for thumbnail icons and live preview. Task-number: QTBUG-36730 Change-Id: I31ad0ff347235bc7933c1c14dece359ec0c36b39 Reviewed-by: Oliver Wolff <oliver.wolff@digia.com> Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Refactor QQuickIconLoader.Friedemann Kleint2014-07-026-108/+178
| | | | | | | | | | | | Instead using a QObject with a single icon member variable that needs to be instantiated for each task bar button, introduce a static load function that takes a member function pointer accepting a QVariant. For synchronous requests, invoke it immediately; connect it to a slot for network requests. Task-number: QTBUG-36730 Change-Id: Ic70422d98d0bc3d486b32fb3534400b9fff8d324 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Fix build with dynamic GL.Friedemann Kleint2014-05-281-0/+2
| | | | | Change-Id: I9dafdea8745e680a20c162496f3b5089b38037de Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
* Add missing include for QQuickDwmFeatures plugin.v5.2.0Friedemann Kleint2013-12-031-0/+1
| | | | | | | Task-number: QTBUG-35260 Change-Id: I8145fd8a98b8549de7e819740e6b7529d0785488 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Add plugins.qmltypes fileKai Koehne2013-11-301-0/+207
| | | | | | | Task-number: QTBUG-35207 Change-Id: If6843d71c2d6e0a9afec3dca3683ac0fcd1188b6 Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Change camel-case header <QWinFunctions> to <QtWin>Sze Howe Koh2013-10-292-2/+2
| | | | | | | | | | | Name the header after its namespace, to reduce the number of names developers must remember. Change-Id: I7b653886c1b504678d73117dfa4a9bfe2a2edbc4 Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Fix and change the way QQuickDwmFeatures works.Ivan Vizir2013-10-073-28/+81
| | | | | | | | | | Made it update each DWM property separately but not all at once every time a property changes. Added manual test for DwmFeatures QML item. Added blurBehindEnabled property. Change-Id: Icfa6fb922be0ac4554c232ba4b41b71d0e7585ca Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Turn QtWin back to a namespaceJ-P Nurmi2013-10-026-12/+90
| | | | | | | | | | | The conditional QT_WIDGETS_LIB inline functions won't work on MSVC when they are class members. Symbols would have to be exported from the lib. The enum duplication can be hopefully solved later by adding Q_ENUMS() support for namespaces. Change-Id: Ibf01e9c64db2be7e5f189f2088e879e9d8fabf54 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Docs: fix "missing \qmlpropertygroup" warningsJ-P Nurmi2013-10-021-0/+2
| | | | | | Change-Id: I73eab1f97e43726e7092d91c7898b8f628f19808 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
* Rename QML JumpLink/Destination to JumpListLink/DestinationJ-P Nurmi2013-09-264-16/+16
| | | | | | Change-Id: If7e761e435e75c218f50c50f8940428bb8c14a23 Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Sync the jump lists QML APIJ-P Nurmi2013-09-268-200/+537
| | | | | | | | The C++ API was changed - update the QML API accordingly. Change-Id: I89d0939c4ffc27580e7db53a479db4ff70ee0fef Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Jump Lists: introduce "categories" & hide COMJ-P Nurmi2013-09-202-13/+6
| | | | | | | | | | | | | | | | | | | | QWinJumpList now has three built-in categories: Recent, Frequent and Tasks. In addition to that, user can add custom categories. A new type, QWinJumpListCategory, represents all these categories, providing access to items in the category. The former COM-like begin(), append(), commit(), abort() API has been replaced by a more property/ attribute-based API. The jump list automatically invalidates and lazily rebuilds itself behind the scenes. Furthermore, the API has been minimalized for now - restoring the application identifier as a full-fledged property is in the works. Change-Id: I623a658b4b1fcfc881006f67e2300acadb483c97 Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
* QQuickDwm: use QtWin::WindowFlip3DPolicyJ-P Nurmi2013-09-164-26/+13
| | | | | | Change-Id: Ifa74acbf7cde330838b37505e18a5b7376116216 Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Revamp QQuickDwmFeaturesJ-P Nurmi2013-09-133-27/+56
| | | | | | | | | | Add missing change notifiers, fix property names vs. isFoo() accessor names, remove unused member variables, fix the event filter and add missing updates... Change-Id: Ie86a89dc1415ad082ac5c2e839245d55a446a1d4 Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Overhaul the TaskbarButton QML typeJ-P Nurmi2013-09-123-43/+101
| | | | | | | | | | Make the overlay a grouped property, and use QQuickIconLoader internally to support remote icon sources. Change-Id: I888244fe5384702dceebe372b0bd0dd50891629a Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Tidy up the QtQuick classesJ-P Nurmi2013-09-1115-200/+214
| | | | | | | | | | | - not part of the public API => private header naming convention - unify class names (quick-prefix vs. win-prefix vs. quickwin-prefix) => drop the superfluous win-prefix from the class names, just like for the registered QML type names Change-Id: I408cb22b38ae1db71e9bd7cdb8fa29c1aa1f504a Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Tidy up the QML extension pluginJ-P Nurmi2013-09-103-82/+20
| | | | | | | | | Remove redundant qwinextrasplugin.h, fix Q_PLUGIN_METADATA(), and rename qwinextrasplugin.cpp to plugin.cpp to follow the established convention in qtdeclarative/src/imports. Change-Id: I6f2f710283cfdd43fa15b01dcc63bcb65ab1eca7 Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Rename namespace QtWinExtras to QtWin.Friedemann Kleint2013-09-101-13/+13
| | | | | | | | | As discussed on mailing list. Change-Id: I7ef41d758730998e365d9e616118c4a7c811eebf Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* TaskbarButton::overlayAccessibleDescriptionJ-P Nurmi2013-09-062-11/+9
| | | | | | | | | | | | | Unify the following properties to "overlayAccessibleDescription": - QWinTaskbarButton::overlayIconAccessibilityDescription and - QQuickWinTaskbarButton::iconDescription. "overlayAccessibleDescription" is nice pair for "overlayIcon" and more importantly, consistent with QWidget::accessibleDescription. Change-Id: Id5c3afb1c9db6881876983ce482d622c90db3f2d Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* ThumbnailToolBar: support dynamic button manipulationJ-P Nurmi2013-09-052-3/+76
| | | | | | Change-Id: I5c424f883134ea2352f7cda6100525bd6b4a00d8 Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Unify QML type namesJ-P Nurmi2013-09-052-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | Currently few of the QML types have a Win-prefix while others don't: - WinDwmFeatures, WinTaskbarButton, WinTaskbarProgress - JumpList, JumpListItem, JumpListCategory, ThumbnailToolBar, ThumbnailToolButton In QML it is easy to import stuff into namespaces to avoid potential conflicts, or to do it just for clarity if one prefers: import QtWinExtras 1.0 as Win Win.JumpList { ... } => Remove the hardcoded Win-prefix that is unnecessary for QML types. Change-Id: I699498640e5d7c32695193147323b929cf5dae86 Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Laszlo Papp <lpapp@kde.org> Reviewed-by: Alan Alpert <aalpert@blackberry.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* QWinTaskbarButton::progressBar() -> progress()J-P Nurmi2013-08-301-1/+1
| | | | | | | | | | The class is called QWinTaskbarProgress -> use the same name for the accessor. That name was also used for the QML grouped property name since it looks really nice. :) Change-Id: I6c46ea4336dd3f420b16a305de47b490f7629adb Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Grouped WinTaskbarButton.progress propertyJ-P Nurmi2013-08-303-81/+7
| | | | | | | | | | | | | Usage in QML becomes: WinTaskbarButton { progress.value: 50 progress.visible: true } Change-Id: I5cd4b2d99fc110709e056b3d6c5f0c89b03735e3 Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Fix namespaced build.Friedemann Kleint2013-08-281-2/+2
| | | | | Change-Id: Ie1e51e2aed78e16145a7f7ca548921a40ecb122f Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Rename the QWinExtras namespace to QtWinExtrasJ-P Nurmi2013-08-281-12/+12
| | | | | Change-Id: I24cc4cfa5b51d14bc70a895d625c98e49af4537d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Refactor QWinTaskbarProgress out of QWinTaskbarButtonJ-P Nurmi2013-08-282-13/+14
| | | | | | Change-Id: I8b95d7804d9070c8e93993ad6acf5c22d964880d Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Rename QJumpList(Item) to QWinJumpList(Item)J-P Nurmi2013-08-132-14/+14
| | | | | | | | Follow the existing QtWinExtras class naming convention. All the other public classes are currently named QWinXxx. Change-Id: I2509961e280b9794547e7420b941469fc8cdd2fa Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>