diff options
Diffstat (limited to 'src/plugins/vcsbase/vcsbaseplugin.h')
-rw-r--r-- | src/plugins/vcsbase/vcsbaseplugin.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/plugins/vcsbase/vcsbaseplugin.h b/src/plugins/vcsbase/vcsbaseplugin.h index a9351ed4703..4f4a6393dff 100644 --- a/src/plugins/vcsbase/vcsbaseplugin.h +++ b/src/plugins/vcsbase/vcsbaseplugin.h @@ -34,7 +34,8 @@ #include <extensionsystem/iplugin.h> -#include <QSharedDataPointer> +#include <QtCore/QSharedDataPointer> +#include <QtCore/QList> QT_BEGIN_NAMESPACE class QAction; @@ -149,6 +150,9 @@ public: const VCSBasePluginState ¤tState() const; Core::IVersionControl *versionControl() const; + // For internal tests: Create actions driving IVersionControl's snapshot interface. + QList<QAction*> createSnapShotTestActions(); + public slots: // Convenience slot for "Delete current file" action. Prompts to // delete the file via VCSManager. @@ -175,6 +179,10 @@ protected: private slots: void slotSubmitEditorAboutToClose(VCSBaseSubmitEditor *submitEditor, bool *result); void slotStateChanged(const VCSBase::Internal::State &s, Core::IVersionControl *vc); + void slotTestSnapshot(); + void slotTestListSnapshots(); + void slotTestRestoreSnapshot(); + void slotTestRemoveSnapshot(); private: VCSBasePluginPrivate *d; |