Changeset 835 for trunk/src/gui/util
- Timestamp:
- Mar 18, 2011, 2:10:26 AM (15 years ago)
- Location:
- trunk/src/gui/util
- Files:
-
- 2 edited
-
qsystemtrayicon_pm.cpp (modified) (3 diffs)
-
util.pri (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/util/qsystemtrayicon_pm.cpp
r659 r835 48 48 #include "qapplication.h" 49 49 #include "qdesktopwidget.h" 50 50 51 #include "qt_os2.h" 51 52 52 #include "xsystray_api.h" 53 // for dynamic linking to xsystray DLL 54 #define xstQuerySysTrayVersion (*_xstQuerySysTrayVersion) 55 #define xstAddSysTrayIcon (*_xstAddSysTrayIcon) 56 #define xstReplaceSysTrayIcon (*_xstReplaceSysTrayIcon) 57 #define xstRemoveSysTrayIcon (*_xstRemoveSysTrayIcon) 58 #define xstSetSysTrayIconToolTip (*_xstSetSysTrayIconToolTip) 59 #define xstQuerySysTrayIconRect (*_xstQuerySysTrayIconRect) 60 #define xstGetSysTrayCreatedMsgId (*_xstGetSysTrayCreatedMsgId) 61 #define xstGetSysTrayMaxTextLen (*_xstGetSysTrayMaxTextLen) 62 63 #include "xsystray.h" 53 64 54 65 QT_BEGIN_NAMESPACE … … 56 67 #define WM_XST_MYNOTIFY (WM_USER + 1000) 57 68 58 static ULONG WM_XST_CREATED = xstGetSysTrayCreatedMsgId();59 static ULONG MaxTextLen = xstGetSysTrayMaxTextLen();69 static ULONG WM_XST_CREATED = ; 70 static ULONG MaxTextLen = ; 60 71 61 72 class QSystemTrayIconSys : QWidget … … 307 318 bool QSystemTrayIconPrivate::isSystemTrayAvailable_sys() 308 319 { 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 309 345 return xstQuerySysTrayVersion(0, 0, 0); 310 346 } -
trunk/src/gui/util/util.pri
r769 r835 31 31 os2 { 32 32 SOURCES += \ 33 util/qsystemtrayicon_pm.cpp \ 34 ../3rdparty/os2/xsystray/xsystray_api.c 33 util/qsystemtrayicon_pm.cpp 34 # @todo this should be required to present extenrally in the 35 # environment when it gets moved to XWP (see #99 for details) 35 36 INCLUDEPATH += \ 36 ../3rdparty/os2/xsystray 37 ../3rdparty/os2/xsystray 37 38 } 38 39
Note:
See TracChangeset
for help on using the changeset viewer.
