icon

KDAB's helper class for single-instance policy applications (source files)

kdsingleapplication_source-1.2.0-1-source

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'.

パッケージ名
kdsingleapplication_source
リポジトリ
HaikuPorts
リポジトリソース
haikuports_x86_64
バージョン
1.2.0-1
ダウンロードサイズ
84.3 KB
ソースコードは入手可か
いいえ
カテゴリー
カテゴリー無し
このバージョンの閲覧回数
0