rem: Action * a = queue_.dequeue();  EmpathURL u = a->url();  switch (a->actionType()) { case RetrieveMessage: _retrieve(u, a->xxinfo(), a->xinfo()); break;  case MarkMessage: _mark(u, ((MarkAction *)a)->status(), a->xxinfo(), a->xinfo()); break;  case WriteMessage: _write(u, ((WriteAction *)a)->msg(), a->xxinfo(), a->xinfo()); break;  case RemoveMessage: _removeMessage(u, a->xxinfo(), a->xinfo()); break;  case CreateFolder: _createFolder(u, a->xxinfo(), a->xinfo()); break;  case RemoveFolder: _removeFolder(u, a->xxinfo(), a->xinfo()); break;  default: break; }
add: EmpathJobInfo * jobInfo = queue_.dequeue(); _runJob(*jobInfo); delete jobInfo; jobInfo = 0;
context: EmpathMailbox::_runQueue(){    while (queue_.count() != 0) {        Action * a = queue_.dequeue();        EmpathURL u = a->url();        switch (a->actionType())        {            case RetrieveMessage:                _retrieve(u, a->xxinfo(), a->xinfo());                break;                    case MarkMessage:                _mark(u, ((MarkAction *)a)->status(), a->xxinfo(), a->xinfo());                break;                    case WriteMessage:                _write(u, ((WriteAction *)a)->msg(), a->xxinfo(), a->xinfo());                break;                    case RemoveMessage:                _removeMessage(u, a->xxinfo(), a->xinfo());                break;                    case CreateFolder:                _createFolder(u, a->xxinfo(), a->xinfo());                break;                    case RemoveFolder:                _removeFolder(u, a->xxinfo(), a->xinfo());                break;                            default:                break;        }    }}