Public Member Functions | |
~NotebookSocket () | |
The class destructor. | |
bool | connectToNotebook () |
Try to connect with other notebook instance, if succesfull the function will return true. If unable to connect the function trys to start a server (that waits for incomming communiction). Returns false if successful in setting up the loop. If both attemps fails the function throws an exception. | |
bool | closeNotebookSocket () |
Closes socket and dose clean up. | |
bool | sendFilename (QString filename) |
Sends a filename to the main/correct process, returns true on success - otherwise false. |
|
The class destructor.
|
|
Closes socket and dose clean up.
|
|
Try to connect with other notebook instance, if succesfull the function will return true. If unable to connect the function trys to start a server (that waits for incomming communiction). Returns false if successful in setting up the loop. If both attemps fails the function throws an exception.
|
|
Sends a filename to the main/correct process, returns true on success - otherwise false.
|