summaryrefslogtreecommitdiffstats
path: root/src/gui/util/qsystemtrayicon_win.cpp
Commit message (Collapse)AuthorAgeFilesLines
* reverting the definition of WINVER and _WIN32_WINNT in qglobal.hJoerg Bornemann2009-08-261-4/+5
| | | | | | | | | | | | This just caused too much problems and must be solved another way. In qfsfileengine_win.cpp we define FSCTL_GET_REPARSE_POINT and all of the other stuff that's needed for NTFS symlink support, if its not defined. This is the case if _WIN32_WINNT is less than 0x0500. All other changes in this commit are just reversions of commits that were done for the infamous qglobal.h change. Discussed with prasanth, tested by pulse.
* qsystemtrayicon_win.cpp fix determination of NOTIFYICONDATA struct sizeJoerg Bornemann2009-08-251-5/+1
| | | | | | | | | | Now, that we define _WIN32_WINNT as 0x0500, we have no access to guidItem in NOTIFYICONDATA. Thus, we cannot determine NOTIFYICONDATAW_V2_SIZE. But in this case, NOTIFYICONDATAW_V2_SIZE is the same as sizeof(NOTIFYICONDATA). On Windows CE exists only one version of this struct anyway. Reviewed-By: mauricek
* Windows compile fix for code that needs WINVER > 0x500Joerg Bornemann2009-08-241-4/+7
| | | | | | This is premature and is about to change, probably. Reviewed-by: thierry
* Update contact URL in license headers.Jason McDonald2009-08-121-1/+1
| | | | Reviewed-by: Trust Me
* Fix QSystemTrayIcon causing three activated signals on doubleclickJens Bache-Wiig2009-07-241-2/+9
| | | | | | | | | | | The problem was that on Windows, we would activate on WM_LButtonUp, but a double click after activating will also generate a second WM_LButtonUp. Hence we get three activations. The fix was basically to filter out the second WM_LButtonUP, something we also do in qapplication_win.cpp. Task-number: 205499 Reviewed-by: denis
* support context menu for system tray icons on Windows CEJoerg Bornemann2009-07-141-2/+11
| | | | | | | | This is Windows CE only. For Windows mobile we don't support context menus for system tray icons. Task-number: 250528 Reviewed-by: thartman
* Getting rid of compiler warnings on windowsThierry Bastian2009-07-071-2/+2
|
* src/gui: Remove QT_WA and non-Unicode code paths, dropping Win9x and NT supportminiak2009-07-011-248/+75
| | | | | | | | | | | | | Also - Make winPeekMessage() & winPostMessage() obsolete - FlashWindowEx, IsValidLanguageGroup functions no longer resolved dynamically (available on >= Windows 2000) - LoadIcon/LoadCursor -> LoadImage w/LR_SHARED for system icons/cursors - qsystemtrayicon_win: use Shell_NotifyIconGetRect if available (Windows 7) Merge-request: 604 Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
* Merge license header changes from 4.5Volker Hilsheimer2009-06-161-2/+2
|\
| * Update license headers as requested by the marketing department.Jason McDonald2009-06-161-2/+2
| | | | | | | | Reviewed-by: Trust Me
| * Long live Qt 4.5!Lars Knoll2009-03-231-0/+748
|
* Removed qApp and replaced with QApplication:: for static member callsThierry Bastian2009-06-111-1/+1
|
* Fixed 'crazy' warnings about using a string instead of a characterThierry Bastian2009-05-251-1/+1
| | | | | | | Wherever I found that we were using a string instead of a single char I fixed the code. Reviewed-by: olivier
* introduce Q_WS_WINCEMaurice Kalinowski2009-04-291-5/+5
| | | | | | | | | | | Task-number: 246130 Reviewed-by: joerg Introduce Q_WS_WINCE for Windows CE only windowing parts. So far we decided to stick with Q_WS_WIN32, but having a separate define makes the code more readable. In addition Q_WS_WINCE_WM is available for Windows Mobile only parts, where we do not check for the OS on runtime.
* Long live Qt!Lars Knoll2009-03-231-0/+748