The wireless switch circuit comprises of Operational amplifier LM741 (used as a sensitive voltage comparator), LDR, Preset VR1 (which provides a reference voltage to the non-inverting terminal pin 3 and LDR), R2( connected to inverting pin 2 of IC1) and few more components.
Working: When we do not put our hand on LDR device remains off and as a result pin 2 of IC1 goes high. Consequently, output pin 6 of IC1 remains low.
As soon as anyone puts his hand over LDR, pin 2 of IC1 goes low in comparison to pin 3 of IC1 . Pin 6 becomes high thus providing a clock pulse to pin 13 of IC2 which is a flip flop whose stage is controlled by the logic levels present at J and K input with some internal control. Change in state occurs at the positive going transition of the clock pulse. In this, set and reset pins are independent of the clock and they are initiated when a high signal is present on any of the input pins.
The circuit shown is triggered on the leading edge of the switch pulse which means that output changes when you again put your hand over LDR. From the circuit you can see that both J and K are tied to high input so at every negative or positive transition, the clock pulse pin 13 toggles between high to low. This can be verified with the help of the truth table of the JK flip flop. Therefore, when it receives the clock pulse from IC1 due to hand over LDR, transistor connected to pin15 starts conducting and we will receive the output with the help of relay. You can adjust the sensitivity of LDR with the help of VR1.