icon

KDAB's helper class for single-instance policy applications

kdsingleapplication-1.0.0-1-x86_64

Currently the documentation is woefully lacking, but see the examples or tests for inspiration. Basically it involves:

1. Create a 'Q(Core|Gui)Application' object.
2. Create a 'KDSingleApplication' object.
3. Check if the current instance is *primary* (or master) or *secondary* (or slave) by calling 'isPrimaryInstance':
* the *primary* instance needs to listen from messages coming from the secondary instances, by connecting a slot to the 'messageReceived' signal;
* the *secondary* instances can send messages to the primary instance by calling 'sendMessage'.

Nome
kdsingleapplication
Repositório
HaikuPorts
Origem do Repositório
haikuports_x86_64
Versão
1.0.0-1
Tamanho da descarga
26.5 KB
Código-fonte disponível
Sim
Categorias
Nenhuma
Visualizações da Versão
12