Changeset View
Changeset View
Standalone View
Standalone View
src/platforms/osx/kwindowsystem.cpp
Show First 20 Lines • Show All 332 Lines • ▼ Show 20 Line(s) | |||||
333 | } | 333 | } | ||
334 | 334 | | |||
335 | bool KWindowSystem::hasWId(WId id) | 335 | bool KWindowSystem::hasWId(WId id) | ||
336 | { | 336 | { | ||
337 | KWindowSystemPrivate *d = KWindowSystem::s_d_func(); | 337 | KWindowSystemPrivate *d = KWindowSystem::s_d_func(); | ||
338 | return d->windows.contains(id); | 338 | return d->windows.contains(id); | ||
339 | } | 339 | } | ||
340 | 340 | | |||
341 | #ifndef KWINDOWSYSTEM_NO_DEPRECATED | 341 | #if KWINDOWSYSTEM_BUILD_DEPRECATED_SINCE(5, 0) | ||
342 | KWindowInfo KWindowSystem::windowInfo(WId win, unsigned long properties, unsigned long properties2) | 342 | KWindowInfo KWindowSystem::windowInfo(WId win, unsigned long properties, unsigned long properties2) | ||
343 | { | 343 | { | ||
344 | KWindowSystemPrivate *d = KWindowSystem::s_d_func(); | 344 | KWindowSystemPrivate *d = KWindowSystem::s_d_func(); | ||
345 | if (d->windows.contains(win)) { | 345 | if (d->windows.contains(win)) { | ||
346 | return d->windows[win]; | 346 | return d->windows[win]; | ||
347 | } else { | 347 | } else { | ||
348 | return KWindowInfo(win, properties, properties2); | 348 | return KWindowInfo(win, properties, properties2); | ||
349 | } | 349 | } | ||
▲ Show 20 Lines • Show All 292 Lines • Show Last 20 Lines |