Warning, /plasma/kwin/src/plugins/nightcolor/org.kde.KWin.NightLight.xml is written in an unsupported language. File is not indexed.
0001 <!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> 0002 <node> 0003 <interface name="org.kde.KWin.NightLight"> 0004 <method name="setLocation"> 0005 <arg type="d" direction="in"/> 0006 <arg type="d" direction="in"/> 0007 </method> 0008 0009 <!-- 0010 Creates an inhibition lock for Night Light. 0011 0012 You can use this method to temporarily disable Night Light feature. 0013 After calling this method, the screen color temperature will be set 0014 back to the neutral temperature (6500K). 0015 0016 This method returns a cookie that uniquely identifies the inhibition 0017 request. You must pass the cookie to uninhibit() when you're done. 0018 0019 Note that the inhibition lock will be released automatically when 0020 the service, which requested it, is unregistered. 0021 0022 A client is allowed to hold more than just one inhibition lock. 0023 --> 0024 <method name="inhibit"> 0025 <arg name="cookie" type="u" direction="out"/> 0026 </method> 0027 0028 <!-- 0029 Releases an inhibition lock identified by the given cookie. 0030 0031 Note that the inhibition lock will be released automatically when 0032 the service, which requested it, is unregistered. 0033 --> 0034 <method name="uninhibit"> 0035 <arg name="cookie" type="u" direction="in"/> 0036 </method> 0037 0038 <!-- 0039 Previews a given temperature for a short time (15s). 0040 0041 If there is an existing preview running, replaces it. 0042 Preview can be ended before 15s too, by calling stopPreview. 0043 --> 0044 <method name="preview"> 0045 <arg name="temperature" type="u" direction="in"/> 0046 </method> 0047 0048 <!-- 0049 Stops an ongoing preview. 0050 0051 Has no effect if there is currently no preview. 0052 --> 0053 <method name="stopPreview"> 0054 </method> 0055 0056 <!-- 0057 This property holds a value to indicate whether Night Light is inhibited. 0058 --> 0059 <property name="inhibited" type="b" access="read"/> 0060 0061 <!-- 0062 This property holds a value to indicate whether Night Light is enabled. 0063 --> 0064 <property name="enabled" type="b" access="read"/> 0065 0066 <!-- 0067 This property holds a value to indicate whether Night Light is running. 0068 --> 0069 <property name="running" type="b" access="read"/> 0070 0071 <!-- 0072 This property holds a value to indicate whether Night Light is available. 0073 --> 0074 <property name="available" type="b" access="read"/> 0075 0076 <!-- 0077 This property holds a value to indicate the current screen color temperature. 0078 --> 0079 <property name="currentTemperature" type="u" access="read"/> 0080 0081 <!-- 0082 This property holds a value to indicate the target screen color temperature. 0083 --> 0084 <property name="targetTemperature" type="u" access="read"/> 0085 0086 <!-- 0087 This property holds a value to indicate the operating mode. 0088 0089 Valid modes: 0 - automatic, 1 - location, 2 - timings, 3 - constant. 0090 --> 0091 <property name="mode" type="u" access="read"/> 0092 0093 <!-- 0094 This property holds a value to indicate whether Night Light is currently on day or night time. 0095 0096 True = day time, false = night time 0097 --> 0098 <property name="daylight" type="b" access="read"/> 0099 0100 <!-- 0101 This property holds a Unix timestamp that specifies when the previous color 0102 temperature transition had started. Note that when Night Light operates in 0103 the constant mode, this property holds a value of 0. 0104 --> 0105 <property name="previousTransitionDateTime" type="t" access="read"/> 0106 0107 <!-- 0108 This property holds a value that specifies the duration of the previous color 0109 temperature transition, in milliseconds. Note that when Night Light operates 0110 in the constant mode, this property holds a value of 0. 0111 --> 0112 <property name="previousTransitionDuration" type="u" access="read"/> 0113 0114 <!-- 0115 This property holds a Unix timestamp that specifies when the next scheduled 0116 color temperature transition will start. Note that when Night Light operates 0117 in the constant mode, this property holds a value of 0. 0118 --> 0119 <property name="scheduledTransitionDateTime" type="t" access="read"/> 0120 0121 <!-- 0122 This property holds a value that specifies the duration of next scheduled 0123 color transition, in milliseconds. Note that when Night Light operates in 0124 the constant mode, this property holds a value of 0. 0125 --> 0126 <property name="scheduledTransitionDuration" type="u" access="read"/> 0127 </interface> 0128 </node>