equal
deleted
inserted
replaced
1 #include <QtGui/QApplication> |
1 #include <QtGui/QApplication> |
2 #include <QWidget> |
2 #include <QWidget> |
3 |
3 |
4 #include "mainwindow.h" |
4 #include "mainwindow.h" |
5 |
5 |
6 // By default, Actions is added to the Options menu. The |
6 // Tech Tip: By default, Actions is added to the Options menu. The |
7 // idea is to support context menus on non-touch mobiles. |
7 // idea is to support context menus on non-touch mobiles. |
8 void disableContextMenu() |
8 void disableContextMenu() |
9 { |
9 { |
10 QWidgetList widgets = QApplication::allWidgets(); |
10 QWidgetList widgets = QApplication::allWidgets(); |
11 QWidget* wid=0; |
11 QWidget* wid=0; |