aboutsummaryrefslogtreecommitdiffstats
path: root/src/winextras/qwinthumbnailtoolbar.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix some clang-tidy warningsFriedemann Kleint2018-07-251-8/+6
| | | | | | | | | | | - Fix 'if (foo) delete foo' to 'delete foo' - Use ' = default' for trivial constructors/destructors - Use range based for where possible - Fix invocations of static methods - Replace some reinterpret_cast by static_cast Change-Id: I998572f370f3e8a1fc39e6c763e941d5a2f598b0 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Fix Qt include statementsFriedemann Kleint2018-05-221-5/+4
| | | | | | | | | | | 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>
* Raise minimum supported MSVC version to 2015Friedemann Kleint2018-01-051-5/+0
| | | | | | | | Remove code for older versions and streamline #ifdefs. Task-number: QTBUG-51673 Change-Id: Id16d53d4342691e1e01913c2aec3a252dddbdadb Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Directly link to functions available from Windows 7 onwardsFriedemann Kleint2017-09-281-10/+12
| | | | | | Change-Id: I8033100c34c703e6119e4b1f322b795b0cc1ff4a Reviewed-by: Andre de la Rocha <andre.rocha@qt.io> Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Eradicate Q_FOREACH loops and mark the libraries as Q_FOREACH-freev5.8.0-beta1Marc Mutz2016-09-051-1/+1
| | | | | Change-Id: I4dbad7ab4c9f467b2e2fd90eff44e1c4a58d43e2 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Increase API level to 0x600 (Windows Vista).Friedemann Kleint2016-05-251-6/+3
| | | | | | | | | | | | Directly link against dwmapi which should be present on Windows Vista and remove duplicated header constants. Only the functions for iconic live preview which are present on Windows 7 onwards are still dynamically resolved. Similarly, shell32 can now be directly linked, leaving SetCurrentProcessExplicitAppUserModelID() present on Windows 7 onwards. Task-number: QTBUG-51673 Change-Id: I54b6827d4582318542729fa43f73f2c4e41ec71f Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-02-151-5/+5
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I2b3428a182d8012eee19acbaa0666c184a26d8d0
| * Fix some CLANG warnings.Friedemann Kleint2016-01-191-5/+5
| | | | | | | | | | | | | | Remove C-style casts and fix integer conversion issues. Change-Id: I26e969e9108eb6f68c029ad5c507b95d95cd4d26 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | Updated license headersAntti Kokko2016-01-191-15/+21
|/ | | | | | | | | | 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>
* Update copyright headersv5.5.0-alpha1Antti Kokko2015-02-161-7/+7
| | | | | | | | | 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>
* Use Qt 5 signals & slot syntax.Friedemann Kleint2014-12-171-4/+6
| | | | | Change-Id: I548076eebc2c8f1204ef76bb4e6e09ed00352553 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
* Fix for QWinThumbnailToolBar GDI leakxcdix2014-09-291-9/+11
| | | | | | | QTBUG-41635 Change-Id: I60e34c8f32df6fc7ff9eac2812f71d611b903f41 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Update license headers and add new license filesAntti Kokko2014-08-241-19/+11
| | | | | | | | | - 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-071-12/+246
| | | | | | | | | | | [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>
* winextras: Fix compilation with MSVC 2008.Friedemann Kleint2014-01-201-6/+15
| | | | | | | | | | | MSVC 2008 is lacking operator | for the enumerations, some defines and has a different signature for ITaskbarList3::ThumbBarAddButtons(). Task-number: QTBUG-35980 Change-Id: I8ac49e7f2f12d122df077ff33c2451b5258e36a0 Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Prefix the various CLSID/IID symbols by 'q'.Friedemann Kleint2013-11-081-3/+4
| | | | | | | | | | Avoid clashes with the various MinGW libraries. Task-number: QTBUG-34638 Change-Id: I1fe0e1b79b52f887522c1c19a15bbdcb256fd917 Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Enhance the QWinThumbnailToolBar & QWinThumbnailToolButton docsJ-P Nurmi2013-10-041-10/+32
| | | | | Change-Id: I1f82a537aea550a9c714284a19f79c31cb707ae7 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
* Rename namespace QtWinExtras to QtWin.Friedemann Kleint2013-09-101-4/+4
| | | | | | | | | 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>
* Rename the QWinExtras namespace to QtWinExtrasJ-P Nurmi2013-08-281-4/+4
| | | | | Change-Id: I24cc4cfa5b51d14bc70a895d625c98e49af4537d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Fix QWinThumbnailToolBar::setButtons()J-P Nurmi2013-08-271-2/+2
| | | | | | | It was inserting buttons twice to the internal list. Change-Id: I62ffc2f50c0a13624f30ef5bc6ca6389221a0a5e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Fix license headersSergio Ahumada2013-08-061-1/+1
| | | | | | Change-Id: Ibe5544297ee69e776e81dd39e61c99430fe1de0e Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Ivan Vizir <define-true-false@yandex.com>
* Doc: created an overview topic for Qt Windows ExtrasLeena Miettinen2013-08-051-8/+0
| | | | | | | | | | | Pulled introductory information from the code source files to a new file called qtwinextras-overview.qdoc. Change-Id: I93247a99638ecb8d98c58859b1bf2333963d2848 Reviewed-by: Ivan Vizir <define-true-false@yandex.com> Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Simplify the event typesJ-P Nurmi2013-08-021-2/+2
| | | | | | | | | | Dedicated classes for parameterless event types and pimpl in event classes is overkill. Following the QEvent conventions, some "int/void* reserved" can be added if felt necessary. Change-Id: Ie5536dd8c68333be07ebae13ac5c74129236e9df Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Introduce QWinThumbnailToolBar and QWinThumbnailToolButtonIvan Vizir2013-08-021-0/+375
Change-Id: I55d8f2e01c3647b49d117b2e7e8f7757fa843cba Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>