mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-18 03:14:06 +00:00
15 lines
273 B
C++
15 lines
273 B
C++
|
#include "globalbroadcaster.h"
|
||
|
#include <QGlobalStatic>
|
||
|
|
||
|
|
||
|
Q_GLOBAL_STATIC(GlobalBroadcaster, bdcaster)
|
||
|
GlobalBroadcaster::GlobalBroadcaster(QObject *parent) : QObject(parent)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
GlobalBroadcaster* GlobalBroadcaster::instance() { return bdcaster; }
|
||
|
|
||
|
// namespace global
|