From 938c94d7cc8b4ac54ed34bd90f069151107d9df8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 22 Dec 2011 17:54:59 +0100 Subject: [PATCH] Provides Context Help property --- client.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/client.h b/client.h index 8f506e6111..81075d4a1b 100644 --- a/client.h +++ b/client.h @@ -119,8 +119,11 @@ class Client Q_PROPERTY(bool modal READ isModal NOTIFY modalChanged) Q_PROPERTY(bool moveable READ isMovable) Q_PROPERTY(bool moveableAcrossScreens READ isMovableAcrossScreens) - // TODO: notify signal - Q_PROPERTY(bool providesContextHelp READ providesContextHelp) + /** + * Whether the Client provides context help. Mostly needed by decorations to decide whether to + * show the help button or not. + **/ + Q_PROPERTY(bool providesContextHelp READ providesContextHelp CONSTANT) Q_PROPERTY(bool resizeable READ isResizable) // TODO: notify signal Q_PROPERTY(bool shadeable READ isShadeable)