Hi,

I want to switch header/source from another plugin, I was wondering what is 
the best way to do this.
Right now, I'm doing this:
        Core::ActionManager *am = core->actionManager();
        am->command(CppTools::Constants::SWITCH_HEADER_SOURCE)->action()-
>trigger();

But I didn't find such example in the code. Is there a better way to do this?

Thanks,
Nicolas

-- 
Nicolas Arnaud-Cormos | [email protected] | Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions

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

Reply via email to