// Called from the Java Swing dispatch thread void DesktopIndicatorHandler::disable() { removeNotify(); PostThreadMessage( g_desktopIndicatorThread.getWinThreadId(), WM_DESKTOPINDICATOR, (WPARAM)disableCode, (LPARAM)this); }
void NotifyManager::nextNotify() { if (lst.isEmpty()) { return; } NotifyUI *showUI = lst.first(); if (showUI->valid) { return; } showUI->valid = true; showUI->showAnimation(); connect(showUI, SIGNAL(signalClose()), this, SLOT(nextNotify())); QTimer::singleShot(showUI->showTime(), this, SLOT(removeNotify())); }
TrayManager::~TrayManager() { while (FNotifyOrder.count() > 0) removeNotify(FNotifyOrder.first()); delete FContextMenu; }