8#include <QSystemTrayIcon>
21int main(
int argc,
char *argv[])
28 a.addWindowStateOption();
29 a.addDBusAddressOption();
31 if (!a.parseCommandLineArgsAndLoadSetup())
36 const QString dBusAddress(a.getCmdDBusAddressValue());
46 a.cmdLineErrorMessage(
"System tray missing",
"I could not detect any system tray on this system.");
Configuration object for the contexts.
@ LocalInDBusServer
context runs in same process.
GUI application, a specialized version of swift::core::CApplication for GUI applications.
static const QString & swiftCore()
Name of swift core.
void init()
Initialize and start crashpad handler process.
static CCrashHandler * instance()
Get singleton instance.
static const QPixmap & swiftCore24()
swift icon
Backend services of the swift project, like dealing with the network or the simulators.
Free functions in swift::misc.
bool isSystemTrayAvailable()