[Qt-creator] Use git plugin in another plugin
Liebe Markus (RtP2/TEF72)
Markus.Liebe at de.bosch.com
Tue Feb 23 09:04:01 CET 2010
Hi there,
I want to use the gitplugin in an own plugin. I have the SHA ID of a commit and want to display the diff for this commit.
To display the diff I'd like to use the screen you get via: Git -> Log -> click on the SHA ID.
I digged around in the code and found that
void GitClient::show(const QString &source, const QString &id)
Seems to be the function that I'd like to call.
Is it possible to access this function from within my plugin? And if so, how would I do that?
Regards,
Markus
More information about the Qt-creator-old
mailing list