diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2009-11-06 12:32:38 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2009-11-06 12:32:38 +0100 |
commit | b0e1fdbfc45967c3371b1771a08ac9a25f9f4a1b (patch) | |
tree | 8b66b64b3dba04fd72ea6cc5c1c8beeb310d87a4 /src/plugins/mercurial/optionspage.h | |
parent | d570b05beccec87187aa357ad96525e24c655fb9 (diff) | |
download | qt-creator-b0e1fdbfc45967c3371b1771a08ac9a25f9f4a1b.tar.gz |
Mercurial: Save resources, polishing.
Start the jobrunner on demand, save options only if changed,
give it the structure used elsewhere in the VCS plugins. Remove
last traces of the cmd /c hack.
Diffstat (limited to 'src/plugins/mercurial/optionspage.h')
-rw-r--r-- | src/plugins/mercurial/optionspage.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/mercurial/optionspage.h b/src/plugins/mercurial/optionspage.h index 1e68c31b95..362a435a07 100644 --- a/src/plugins/mercurial/optionspage.h +++ b/src/plugins/mercurial/optionspage.h @@ -40,13 +40,16 @@ namespace Mercurial { namespace Internal { +class MercurialSettings; + class OptionsPageWidget : public QWidget { Q_OBJECT public: explicit OptionsPageWidget(QWidget *parent = 0); - void updateOptions(); - void saveOptions(); + + MercurialSettings settings() const; + void setSettings(const MercurialSettings &s); private: Ui::OptionsPage m_ui; |