#include <qvaluevector.h>#include <qmap.h>#include <qstring.h>Go to the source code of this file.
Classes | |
| class | ExceptionManager |
| class | ExceptionManager::Exception |
Defines | |
| #define | EM_DECLARE(x) int x |
| #define | EM_INIT(x, y) ExceptionManager::em()->init(&x, QString(y)) |
| #define | EM_REGISTER(x) ExceptionManager::em()->add(x, true) |
| #define | EM_REGISTER_Q(x) ExceptionManager::em()->add(x, false) |
| #define | EM_REMOVE(x) ExceptionManager::em()->remove(x) |
| #define | EM_RAISE(x) ExceptionManager::em()->raise(x) |
| #define | EM_MATCH(x, y, z) ExceptionManager::em()->isMatch(x,y,QString(z)) |
| #define | EM_DESC(x) ExceptionManager::em()->desc(x) |
| #define | EM_IS_PENDING(x) ExceptionManager::em()->isPending(x) |
| #define | EM_THROW_PENDING ExceptionManager::em()->throwPending() |
| #define | EM_BEFORE_PROCESS_EVENTS int _region = ExceptionManager::em()->saveThrowableSet() |
| #define | EM_AFTER_PROCESS_EVENTS |
| #define | EM_PROCESS_EVENTS |
| #define | EM_PROCESS_EVENTS_NO_INPUT |
| #define EM_AFTER_PROCESS_EVENTS |
Value:
ExceptionManager::em()->restoreThrowableSet(_region); \ ExceptionManager::em()->throwPending()
Definition at line 28 of file exceptionmanager.h.
Referenced by MyProcess::runSync().
| #define EM_BEFORE_PROCESS_EVENTS int _region = ExceptionManager::em()->saveThrowableSet() |
| #define EM_DECLARE | ( | x | ) | int x |
Definition at line 15 of file exceptionmanager.h.
| #define EM_DESC | ( | x | ) | ExceptionManager::em()->desc(x) |
Definition at line 22 of file exceptionmanager.h.
Referenced by Annotate::getAncestor(), Git::init(), FileContent::lookupAnnotation(), FileContent::rangeFilter(), MainImpl::setRepository(), and Domain::update().
| #define EM_INIT | ( | x, | |||
| y | ) | ExceptionManager::em()->init(&x, QString(y)) |
Definition at line 16 of file exceptionmanager.h.
Referenced by Annotate::Annotate(), Domain::Domain(), Git::Git(), and MainImpl::MainImpl().
| #define EM_IS_PENDING | ( | x | ) | ExceptionManager::em()->isPending(x) |
Definition at line 23 of file exceptionmanager.h.
Referenced by Domain::deleteWhenDone(), Annotate::deleteWhenDone(), Domain::on_deleteWhenDone(), and Annotate::on_deleteWhenDone().
| #define EM_MATCH | ( | x, | |||
| y, | |||||
| z | ) | ExceptionManager::em()->isMatch(x,y,QString(z)) |
Definition at line 21 of file exceptionmanager.h.
Referenced by Annotate::getAncestor(), Domain::isThrowOnDeleteRaised(), Git::isThrowOnStopRaised(), and MainImpl::setRepository().
| #define EM_PROCESS_EVENTS |
Value:
do { EM_BEFORE_PROCESS_EVENTS; \ qApp->processEvents(); \ EM_AFTER_PROCESS_EVENTS; \ } while (false)
Definition at line 31 of file exceptionmanager.h.
Referenced by MainImpl::customEvent(), MainImpl::filterList(), Git::init(), MyProcess::launchMe(), RevsView::on_droppedRevisions(), CommitImpl::pushButtonOk_clicked(), and CommitImpl::pushButtonUpdateCache_clicked().
| #define EM_PROCESS_EVENTS_NO_INPUT |
Value:
do { EM_BEFORE_PROCESS_EVENTS; \ qApp->processEvents(QEventLoop::ExcludeUserInput); \ EM_AFTER_PROCESS_EVENTS; \ } while (false)
Definition at line 36 of file exceptionmanager.h.
Referenced by FileContent::rangeFilter(), and Git::stop().
| #define EM_RAISE | ( | x | ) | ExceptionManager::em()->raise(x) |
Definition at line 20 of file exceptionmanager.h.
Referenced by MainImpl::closeEvent(), Domain::deleteWhenDone(), Annotate::deleteWhenDone(), Git::stop(), and Domain::update().
| #define EM_REGISTER | ( | x | ) | ExceptionManager::em()->add(x, true) |
Definition at line 17 of file exceptionmanager.h.
Referenced by Annotate::getAncestor(), MainImpl::setRepository(), Domain::setThrowOnDelete(), and Git::setThrowOnStop().
| #define EM_REGISTER_Q | ( | x | ) | ExceptionManager::em()->add(x, false) |
| #define EM_REMOVE | ( | x | ) | ExceptionManager::em()->remove(x) |
Definition at line 19 of file exceptionmanager.h.
Referenced by Annotate::getAncestor(), MainImpl::setRepository(), Domain::setThrowOnDelete(), Git::setThrowOnStop(), and Domain::update().
| #define EM_THROW_PENDING ExceptionManager::em()->throwPending() |
Definition at line 24 of file exceptionmanager.h.
Referenced by Annotate::getAncestor(), Git::init(), FileContent::lookupAnnotation(), FileContent::rangeFilter(), MainImpl::setRepository(), and Domain::update().
1.5.3