summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2012-02-15 10:42:41 +0100
committerErik Verbruggen <erik.verbruggen@nokia.com>2012-02-15 16:24:46 +0100
commit3fa55b7ab9b1d6ae10fac1c9bcc653e9000157f8 (patch)
treee31dbd1b4605530e59c9864166f155b4edabc721 /doc/examples
parent9a9ba12028ab0a6b1a248be612d5c576d39f69d6 (diff)
downloadqt-creator-3fa55b7ab9b1d6ae10fac1c9bcc653e9000157f8.tar.gz
Removed module names from #include directives.
Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/batterystatus/main.cpp2
-rw-r--r--doc/examples/textfinder/main.cpp2
-rw-r--r--doc/examples/textfinder/textfinder.cpp6
-rw-r--r--doc/examples/textfinder/textfinder.h2
-rw-r--r--doc/examples/transitions/main.cpp2
5 files changed, 7 insertions, 7 deletions
diff --git a/doc/examples/batterystatus/main.cpp b/doc/examples/batterystatus/main.cpp
index c55d38af38..ca003947d2 100644
--- a/doc/examples/batterystatus/main.cpp
+++ b/doc/examples/batterystatus/main.cpp
@@ -36,7 +36,7 @@
**
****************************************************************************/
-#include <QtGui/QApplication>
+#include <QApplication>
#include "qmlapplicationviewer.h"
int main(int argc, char *argv[])
diff --git a/doc/examples/textfinder/main.cpp b/doc/examples/textfinder/main.cpp
index 9599599ed5..b04245f431 100644
--- a/doc/examples/textfinder/main.cpp
+++ b/doc/examples/textfinder/main.cpp
@@ -38,7 +38,7 @@
#include "textfinder.h"
-#include <QtGui/QApplication>
+#include <QApplication>
int main(int argc, char *argv[])
{
diff --git a/doc/examples/textfinder/textfinder.cpp b/doc/examples/textfinder/textfinder.cpp
index df2f520b12..3528b4386f 100644
--- a/doc/examples/textfinder/textfinder.cpp
+++ b/doc/examples/textfinder/textfinder.cpp
@@ -39,10 +39,10 @@
#include "textfinder.h"
//! [1]
-#include <QtCore/QFile>
-#include <QtCore/QTextStream>
+#include <QFile>
+#include <QTextStream>
//! [1]
-#include <QtGui/QMessageBox>
+#include <QMessageBox>
//! [3]
TextFinder::TextFinder(QWidget *parent)
diff --git a/doc/examples/textfinder/textfinder.h b/doc/examples/textfinder/textfinder.h
index 36e0667f13..3458cffcd5 100644
--- a/doc/examples/textfinder/textfinder.h
+++ b/doc/examples/textfinder/textfinder.h
@@ -41,7 +41,7 @@
#include "ui_textfinder.h"
-#include <QtGui/QWidget>
+#include <QWidget>
namespace Ui
{
diff --git a/doc/examples/transitions/main.cpp b/doc/examples/transitions/main.cpp
index 8a046c3328..cc176f1864 100644
--- a/doc/examples/transitions/main.cpp
+++ b/doc/examples/transitions/main.cpp
@@ -1,4 +1,4 @@
-#include <QtGui/QApplication>
+#include <QApplication>
#include "qmlapplicationviewer.h"
int main(int argc, char *argv[])