#include <domain.h>
Public Slots | |
void | on_closeAllTabs () |
Signals | |
void | updateRequested (StateInfo newSt) |
void | cancelDomainProcesses () |
Public Member Functions | |
Domain () | |
Domain (MainImpl *m, Git *git) | |
void | deleteWhenDone () |
void | setThrowOnDelete (bool b) |
bool | isThrowOnDeleteRaised (int excpId, SCRef curContext) |
MainImpl * | m () const |
const QString | dragHostName () const |
bool | isReadyToDrag () const |
bool | setReadyToDrag (bool b) |
bool | isDragging () const |
bool | setDragging (bool b) |
bool | isDropping () const |
void | setDropping (bool b) |
bool | isLinked () const |
int | tabPos () const |
virtual QWidget * | tab ()=0 |
Public Attributes | |
StateInfo | st |
Protected Slots | |
virtual void | on_contextMenu (const QString &, int) |
void | on_tabClosed (int) |
void | on_updateRequested (StateInfo newSt) |
void | on_deleteWhenDone () |
Protected Member Functions | |
virtual void | customEvent (QCustomEvent *e) |
virtual bool | doUpdate (bool force)=0 |
void | linkDomain (Domain *d) |
void | unlinkDomain (Domain *d) |
Protected Attributes | |
Git * | git |
bool | busy |
int | tabPosition |
Private Member Functions | |
void | populateState () |
void | update (bool fromMaster, bool force) |
bool | flushQueue () |
void | sendPopupEvent () |
EM_DECLARE (exDeleteRequest) | |
EM_DECLARE (exCancelRequest) | |
Private Attributes | |
bool | readyToDrag |
bool | dragging |
bool | dropping |
bool | linked |
int | popupType |
QString | popupData |
QString | statusBarRequest |
Definition at line 99 of file domain.h.
Definition at line 93 of file domain.cpp.
void deleteWhenDone | ( | ) |
void setThrowOnDelete | ( | bool | b | ) |
Definition at line 135 of file domain.cpp.
Referenced by FileContent::lookupAnnotation(), FileContent::rangeFilter(), and update().
bool isThrowOnDeleteRaised | ( | int | excpId, | |
SCRef | curContext | |||
) |
Definition at line 143 of file domain.cpp.
Referenced by FileContent::lookupAnnotation(), FileContent::rangeFilter(), and update().
MainImpl * m | ( | ) | const |
Definition at line 148 of file domain.cpp.
Referenced by FileView::clear(), customEvent(), RevsView::doUpdate(), PatchView::doUpdate(), FileView::doUpdate(), dragHostName(), FileView::FileView(), FileView::filterOnRange(), TreeView::initMimePix(), FileContent::on_annotateReady(), RevsView::on_droppedRevisions(), FileView::on_loadCompleted(), FileView::on_toolButtonRangeFilter_toggled(), RevsView::on_updateRevDesc(), PatchView::on_updateRevDesc(), PatchView::PatchView(), RevsView::RevsView(), sendPopupEvent(), update(), RevsView::updateLineEditSHA(), FileView::updateProgressBar(), RevsView::viewPatch(), FileView::~FileView(), and PatchView::~PatchView().
const QString dragHostName | ( | ) | const |
bool isReadyToDrag | ( | ) | const [inline] |
Definition at line 109 of file domain.h.
Referenced by ListBoxFiles::mouseMoved(), and ListView::on_onItem().
bool setReadyToDrag | ( | bool | b | ) |
Definition at line 158 of file domain.cpp.
Referenced by ListView::on_clicked(), ListBoxFiles::on_clicked(), ListView::on_mouseButtonPressed(), ListBoxFiles::on_mouseButtonPressed(), and update().
bool setDragging | ( | bool | b | ) |
Definition at line 164 of file domain.cpp.
Referenced by ListBoxFiles::mouseMoved(), and ListView::on_onItem().
bool isDropping | ( | ) | const [inline] |
void setDropping | ( | bool | b | ) | [inline] |
bool isLinked | ( | ) | const [inline] |
Definition at line 115 of file domain.h.
Referenced by PatchView::doUpdate(), and PatchView::on_contextMenu().
int tabPos | ( | ) | const [inline] |
Definition at line 116 of file domain.h.
Referenced by MainImpl::accelActivated(), MainImpl::ActViewRev_activated(), MainImpl::currentTabType(), MainImpl::openFileTab(), and RevsView::viewPatch().
virtual QWidget* tab | ( | ) | [pure virtual] |
void updateRequested | ( | StateInfo | newSt | ) | [signal] |
Referenced by linkDomain(), unlinkDomain(), and update().
void cancelDomainProcesses | ( | ) | [signal] |
Referenced by deleteWhenDone(), and update().
void on_closeAllTabs | ( | ) | [slot] |
void on_contextMenu | ( | const QString & | data, | |
int | type | |||
) | [protected, virtual, slot] |
Reimplemented in PatchView.
Definition at line 348 of file domain.cpp.
Referenced by FileView::FileView(), PatchView::on_contextMenu(), and RevsView::RevsView().
void on_tabClosed | ( | int | tabPos | ) | [protected, slot] |
void on_updateRequested | ( | StateInfo | newSt | ) | [protected, slot] |
void on_deleteWhenDone | ( | ) | [protected, slot] |
void customEvent | ( | QCustomEvent * | e | ) | [protected, virtual] |
Reimplemented in FileView.
Definition at line 210 of file domain.cpp.
Referenced by FileView::customEvent(), and RevsView::doUpdate().
virtual bool doUpdate | ( | bool | force | ) | [protected, pure virtual] |
void linkDomain | ( | Domain * | d | ) | [protected] |
void unlinkDomain | ( | Domain * | d | ) | [protected] |
void populateState | ( | ) | [private] |
void update | ( | bool | fromMaster, | |
bool | force | |||
) | [private] |
bool flushQueue | ( | ) | [private] |
void sendPopupEvent | ( | ) | [private] |
EM_DECLARE | ( | exDeleteRequest | ) | [private] |
EM_DECLARE | ( | exCancelRequest | ) | [private] |
Definition at line 119 of file domain.h.
Referenced by MainImpl::ActCheckWorkDir_toggled(), MainImpl::ActSaveFile_activated(), MainImpl::ActViewDiff_activated(), MainImpl::ActViewRev_activated(), PatchView::centerOnFileHeader(), RevsView::clear(), PatchView::clear(), FileView::clear(), customEvent(), Domain(), RevsView::doUpdate(), PatchView::doUpdate(), FileView::doUpdate(), FileContent::FileContent(), MainImpl::filterList(), flushQueue(), MainImpl::getExternalDiffArgs(), MainImpl::lineEditSHA_returnPressed(), ListBoxFiles::ListBoxFiles(), ListView::ListView(), PatchView::on_buttonGroupDiff_clicked(), on_contextMenu(), MainImpl::on_fileList_doubleClicked(), MainImpl::on_goRef_activated(), RevsView::on_lanesContextMenuRequested(), RevDesc::on_linkClicked(), RevsView::on_loadCompleted(), FileView::on_spinBoxRevision_valueChanged(), on_updateRequested(), RevsView::on_updateRevDesc(), PatchView::on_updateRevDesc(), MainImpl::openFileTab(), populateState(), TreeView::TreeView(), update(), RevsView::updateLineEditSHA(), PatchView::updatePatch(), FileView::updateProgressBar(), and RevsView::viewPatch().
Definition at line 140 of file domain.h.
Referenced by PatchView::centerOnFileHeader(), RevsView::doUpdate(), PatchView::doUpdate(), FileView::doUpdate(), FileView::FileView(), PatchView::on_buttonGroupDiff_clicked(), RevsView::on_droppedRevisions(), RevsView::on_lanesContextMenuRequested(), RevsView::on_loadCompleted(), RevsView::on_updateRevDesc(), PatchView::on_updateRevDesc(), PatchView::PatchView(), populateState(), RevsView::RevsView(), update(), FileView::updateEnabledButtons(), PatchView::updatePatch(), RevsView::viewPatch(), and PatchView::~PatchView().
bool busy [protected] |
Definition at line 141 of file domain.h.
Referenced by customEvent(), Domain(), flushQueue(), on_contextMenu(), setReadyToDrag(), and update().
int tabPosition [protected] |
Definition at line 142 of file domain.h.
Referenced by Domain(), FileView::FileView(), on_tabClosed(), PatchView::PatchView(), RevsView::RevsView(), and tabPos().
bool readyToDrag [private] |
Definition at line 153 of file domain.h.
Referenced by Domain(), isReadyToDrag(), setDragging(), and setReadyToDrag().
bool dragging [private] |
Definition at line 154 of file domain.h.
Referenced by Domain(), isDragging(), setDragging(), setReadyToDrag(), and update().
bool dropping [private] |
Definition at line 155 of file domain.h.
Referenced by Domain(), isDropping(), setDragging(), setDropping(), and setReadyToDrag().
bool linked [private] |
Definition at line 156 of file domain.h.
Referenced by Domain(), isLinked(), linkDomain(), unlinkDomain(), and update().
int popupType [private] |
Definition at line 157 of file domain.h.
Referenced by Domain(), on_contextMenu(), sendPopupEvent(), and update().
QString popupData [private] |
QString statusBarRequest [private] |