21 m_activeWindow(nullptr)
34 : QApplication(argc, argv)
41 : QApplication(argc, argv)
50 return d->m_peer->isClient();
56 return d->m_peer->applicationId();
62 d->m_activeWindow = aw;
77 return d->m_activeWindow;
83 return d->m_peer->sendMessage(message, timeout);
91 d->m_activeWindow->setWindowState(d->m_activeWindow->windowState() & ~Qt::WindowMinimized);
92 d->m_activeWindow->raise();
93 d->m_activeWindow->activateWindow();
The class of the ttk application private.
The class of the ttk local peer.
The class of the ttk application.
QWidget * activationWindow() const
void messageReceived(const QString &message)
TTKApplication(int &argc, char **argv)
void initialize(const QString &id={})
void setActivationWindow(QWidget *aw, bool activateOnMessage=true) const
bool sendMessage(const QString &message, int timeout=5000)
#define TTK_INIT_PRIVATE(Class)
The class of the ttk private base.