7 for (
int i = 1;
i < argc; ++
i) {
14int main(
int argc,
char* argv[])
18 if (qobject_cast<QApplication *>(
app.data())) {
57if ((startPos - currentPos).manhattanLength() >=
The QApplication class manages the GUI application's control flow and main settings.
static void setStyle(QStyle *)
Sets the application's GUI style to style.
static QWidgetList topLevelWidgets()
Returns a list of the top-level widgets (windows) in the application.
static int exec()
Enters the main event loop and waits until exit() is called, then returns the value that was set to e...
int startDragDistance
the minimum distance required for a drag and drop operation to start.
static QWidgetList allWidgets()
Returns a list of all the widgets in the application.
static QStyle * create(const QString &)
Q_CORE_EXPORT int qstrcmp(const char *str1, const char *str2)
QApplication app(argc, argv)
[0]