2 Author: Marco Costalba (C) 2005-2007
4 Copyright: See COPYING file that comes with this distribution
11 #include "ui_revsview.h" // needed by moc_* file to understand tab() function
20 class RevsView
: public Domain
{
23 RevsView(MainImpl
* parent
, Git
* git
, bool isMain
= false);
25 void clear(bool complete
);
26 void viewPatch(bool newTab
);
27 void setEnabled(bool b
);
28 void setTabLogDiffVisible(bool);
29 Ui_TabRev
* tab() { return revTab
; }
32 void toggleDiffView();
35 void on_newRevsAdded(const FileHistory
*, const QVector
<ShaString
>&);
36 void on_loadCompleted(const FileHistory
*, const QString
& stats
);
37 void on_lanesContextMenuRequested(const QStringList
&, const QStringList
&);
38 void on_updateRevDesc();
41 virtual bool doUpdate(bool force
);
44 friend class MainImpl
;
46 void updateLineEditSHA(bool clear
= false);
49 QPointer
<PatchView
> linkedPatchView
;