NC Desktop Client Pause/Start in Code


i have downloaded the NextCloud desktop client, and i noticed that in the client i can pause and resume syncing, i have the NextCloud code (which in cpp) i just wanted to know where are the part of the code that is responsible about that functionality