summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/tutorials/gettingStarted/gsQt/part1/main.cpp4
-rw-r--r--examples/tutorials/gettingStarted/gsQt/part2/main.cpp4
-rw-r--r--examples/tutorials/gettingStarted/gsQt/part3/main.cpp4
-rw-r--r--examples/tutorials/gettingStarted/gsQt/part4/main.cpp4
-rw-r--r--examples/tutorials/gettingStarted/gsQt/part5/main.cpp4
5 files changed, 10 insertions, 10 deletions
diff --git a/examples/tutorials/gettingStarted/gsQt/part1/main.cpp b/examples/tutorials/gettingStarted/gsQt/part1/main.cpp
index c9f8f836..dc1639f 100644
--- a/examples/tutorials/gettingStarted/gsQt/part1/main.cpp
+++ b/examples/tutorials/gettingStarted/gsQt/part1/main.cpp
@@ -41,9 +41,9 @@
#include <QtGui>
-int main(int argv, char **args)
+int main(int argc, char **argv)
{
- QApplication app(argv, args);
+ QApplication app(argc, argv);
QTextEdit textEdit;
textEdit.show();
diff --git a/examples/tutorials/gettingStarted/gsQt/part2/main.cpp b/examples/tutorials/gettingStarted/gsQt/part2/main.cpp
index 40af868..9279a9d 100644
--- a/examples/tutorials/gettingStarted/gsQt/part2/main.cpp
+++ b/examples/tutorials/gettingStarted/gsQt/part2/main.cpp
@@ -40,9 +40,9 @@
#include <QtGui>
-int main(int argv, char **args)
+int main(int argc, char **argv)
{
- QApplication app(argv, args);
+ QApplication app(argc, argv);
QTextEdit *textEdit = new QTextEdit;
QPushButton *quitButton = new QPushButton("&Quit");
diff --git a/examples/tutorials/gettingStarted/gsQt/part3/main.cpp b/examples/tutorials/gettingStarted/gsQt/part3/main.cpp
index 07e31c5..9e9338f 100644
--- a/examples/tutorials/gettingStarted/gsQt/part3/main.cpp
+++ b/examples/tutorials/gettingStarted/gsQt/part3/main.cpp
@@ -83,9 +83,9 @@ void Notepad::quit()
qApp->quit();
}
-int main(int argv, char **args)
+int main(int argc, char **argv)
{
- QApplication app(argv, args);
+ QApplication app(argc, argv);
Notepad notepad;
notepad.show();
diff --git a/examples/tutorials/gettingStarted/gsQt/part4/main.cpp b/examples/tutorials/gettingStarted/gsQt/part4/main.cpp
index 3ea8527..2af2c7b 100644
--- a/examples/tutorials/gettingStarted/gsQt/part4/main.cpp
+++ b/examples/tutorials/gettingStarted/gsQt/part4/main.cpp
@@ -94,9 +94,9 @@ void Notepad::save()
}
-int main(int argv, char **args)
+int main(int argc, char **argv)
{
- QApplication app(argv, args);
+ QApplication app(argc, argv);
Notepad notepad;
notepad.show();
diff --git a/examples/tutorials/gettingStarted/gsQt/part5/main.cpp b/examples/tutorials/gettingStarted/gsQt/part5/main.cpp
index 5a21558..337f6a1 100644
--- a/examples/tutorials/gettingStarted/gsQt/part5/main.cpp
+++ b/examples/tutorials/gettingStarted/gsQt/part5/main.cpp
@@ -120,9 +120,9 @@ void Notepad::save()
}
}
-int main(int argv, char **args)
+int main(int argc, char **argv)
{
- QApplication app(argv, args);
+ QApplication app(argc, argv);
Notepad notepad;
notepad.show();