Kai:
Thanks. :)

--
Gemfield.org



> -----原始邮件-----
> 发件人: Koehne Kai <[email protected]>
> 发送时间: 2013年4月15日 星期一
> 收件人: gemfield <[email protected]>
> 抄送: "[email protected]" <[email protected]>, 
> "[email protected]" <[email protected]>
> 主题: RE: [Interest] How to use DiffEditorPlugin::diff() API in my own Qt 
> creator plugin?
> 
> 
> 
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]] On Behalf
> > Of gemfield
> > Sent: Saturday, April 13, 2013 3:11 PM
> > To: [email protected]
> > Subject: [Interest] How to use DiffEditorPlugin::diff() API in my own Qt
> > creator plugin?
> > 
> > There have a DiffEditorPlugin::diff() API new added in Qt Creator 2.7, 
> > though
> > I can use it from Qt Creator Menu, I want to use it directly from my own Qt
> > Creator plugin.So, the question is:
> > How to invoke DiffEditorPlugin::diff() API (with Qt Creator style)in my own 
> > Qt
> > Creator plugin?
> 
> Hi Gemfield,
> 
> This question would better fit to the qt-creator@ mailing list. I took the 
> freedom to cross-post it there.
> 
> For the original question, diff() is a private slot of a non-exported class. 
> Anyhow, as a workaround you should be able to trigger it via 
> Core::ActionManager::command(), with ID = "DiffEditor.Diff". 
> 
> A cleaner solution would of course be to expose this functionality directly 
> ... Maybe this could be done for 2.8?
> 
> Regards
> 
> Kai


_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to