File indexing completed on 2024-05-05 05:41:39
0001 #include <QtCore/QString> 0002 #include <QtWidgets/QPushButton> 0003 #include <QtGui/QKeySequence> 0004 0005 void foo(QString) {} 0006 void bar() 0007 { 0008 foo("test"); // OK, since it's in a UI file 0009 QPushButton b; 0010 b.setShortcut(QString("Alt+F4")); // OK, since it's in a UI file 0011 }