Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt Creator "override method" shortcut?

Does Qt Creator have a "override method" shortcut like eclipse?

For those who don't know eclipse, there is a context menu "Source > Override Method" that show a dialog. Check the method you want to override, and it will generate stubs for those method.

like image 213
J-16 SDiZ Avatar asked Feb 17 '12 03:02

J-16 SDiZ


1 Answers

  1. right click on the class name
  2. from context menu, select Refactor -> Insert Virtual Functions of Base Classes

btw, I'm using Qt Creator 3.4.1.

like image 173
sean Avatar answered Oct 01 '22 20:10

sean