aboutsummaryrefslogtreecommitdiffstats
path: root/doc/example
diff options
context:
space:
mode:
authorhjk <[email protected]>2008-12-02 12:57:59 +0100
committerhjk <[email protected]>2008-12-02 12:57:59 +0100
commit1472bdb0cc0c96b254cdf682bbe004c766be4a26 (patch)
tree35113d1759af5eff670c7bb13b52a7a2e3017885 /doc/example
parente2fb40c7631c959bc51e6cf56661bb633951f7cc (diff)
some file cosmetics (mostly #include order and whitespace)
Diffstat (limited to 'doc/example')
-rw-r--r--doc/example/textfinder/main.cpp4
-rw-r--r--doc/example/textfinder/textfinder.cpp6
-rw-r--r--doc/example/textfinder/textfinder.h4
3 files changed, 10 insertions, 4 deletions
diff --git a/doc/example/textfinder/main.cpp b/doc/example/textfinder/main.cpp
index 7f8c63d951b..e790b6e989f 100644
--- a/doc/example/textfinder/main.cpp
+++ b/doc/example/textfinder/main.cpp
@@ -30,9 +30,11 @@
** 1.2, included in the file GPL_EXCEPTION.txt in this package.
**
***************************************************************************/
-#include <QtGui/QApplication>
+
#include "textfinder.h"
+#include <QtGui/QApplication>
+
int main(int argc, char *argv[])
{
Q_INIT_RESOURCE(textfinder);
diff --git a/doc/example/textfinder/textfinder.cpp b/doc/example/textfinder/textfinder.cpp
index a524f1c869a..c2a9f50f869 100644
--- a/doc/example/textfinder/textfinder.cpp
+++ b/doc/example/textfinder/textfinder.cpp
@@ -30,10 +30,12 @@
** 1.2, included in the file GPL_EXCEPTION.txt in this package.
**
***************************************************************************/
-#include <QtGui/QMessageBox>
+
+#include "textfinder.h"
+
#include <QtCore/QFile>
#include <QtCore/QTextStream>
-#include "textfinder.h"
+#include <QtGui/QMessageBox>
TextFinder::TextFinder(QWidget *parent, Qt::WFlags flags)
: QWidget(parent, flags)
diff --git a/doc/example/textfinder/textfinder.h b/doc/example/textfinder/textfinder.h
index 2563a2016ac..d5d10c6b525 100644
--- a/doc/example/textfinder/textfinder.h
+++ b/doc/example/textfinder/textfinder.h
@@ -30,12 +30,14 @@
** 1.2, included in the file GPL_EXCEPTION.txt in this package.
**
***************************************************************************/
+
#ifndef TEXTFINDER_H
#define TEXTFINDER_H
-#include <QtGui/QWidget>
#include "ui_textfinder.h"
+#include <QtGui/QWidget>
+
class QPushButton;
class QTextEdit;
class QLineEdit;