diff options
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/dockwidgets/main.cpp | 16 | ||||
-rw-r--r-- | tests/manual/dockwidgets/mainwindow.cpp | 19 | ||||
-rw-r--r-- | tests/manual/dockwidgets/mainwindow.h | 14 | ||||
-rw-r--r-- | tests/manual/gdbdebugger/simple/app.cpp | 13 | ||||
-rw-r--r-- | tests/manual/gdbdebugger/simple/plugin.cpp | 1 | ||||
-rw-r--r-- | tests/manual/progressmanager/main.cpp | 4 | ||||
-rw-r--r-- | tests/manual/progressmanager/roundprogress.cpp | 1 | ||||
-rw-r--r-- | tests/manual/progressmanager/roundprogress.h | 6 | ||||
-rw-r--r-- | tests/manual/proparser/main.cpp | 3 |
9 files changed, 16 insertions, 61 deletions
diff --git a/tests/manual/dockwidgets/main.cpp b/tests/manual/dockwidgets/main.cpp index dc2a5960f5d..e07796c8841 100644 --- a/tests/manual/dockwidgets/main.cpp +++ b/tests/manual/dockwidgets/main.cpp @@ -30,23 +30,11 @@ ** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** ***************************************************************************/ -/**************************************************************************** -** -** Copyright (C) 2005-$THISYEAR$ Trolltech AS. All rights reserved. -** -** This file is part of the $MODULE$ of the Qt Toolkit. -** -** $LICENSE$ -** -** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -** -****************************************************************************/ - -#include <QApplication> #include "mainwindow.h" +#include <QApplication> + int main(int argc, char *argv[]) { QApplication app(argc, argv); diff --git a/tests/manual/dockwidgets/mainwindow.cpp b/tests/manual/dockwidgets/mainwindow.cpp index 8944d3c425f..561a2c42d2d 100644 --- a/tests/manual/dockwidgets/mainwindow.cpp +++ b/tests/manual/dockwidgets/mainwindow.cpp @@ -30,24 +30,12 @@ ** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** ***************************************************************************/ -/**************************************************************************** -** -** Copyright (C) 2005-$THISYEAR$ Trolltech AS. All rights reserved. -** -** This file is part of the $MODULE$ of the Qt Toolkit. -** -** $LICENSE$ -** -** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -** -****************************************************************************/ - -#include <QtGui> #include "qdockarrows.h" #include "mainwindow.h" +#include <QtGui> + class TestTool : public QWidget { Q_OBJECT @@ -88,7 +76,6 @@ private: QPixmap m_tmp; QLabel *m_widget; }; -#include "mainwindow.moc" MainWindow::MainWindow() { @@ -122,3 +109,5 @@ void MainWindow::createDockWindows() addDockWidget(Qt::RightDockWidgetArea, dock); } } + +#include "mainwindow.moc" diff --git a/tests/manual/dockwidgets/mainwindow.h b/tests/manual/dockwidgets/mainwindow.h index b96d9368588..220c32dc74a 100644 --- a/tests/manual/dockwidgets/mainwindow.h +++ b/tests/manual/dockwidgets/mainwindow.h @@ -30,18 +30,6 @@ ** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** ***************************************************************************/ -/**************************************************************************** -** -** Copyright (C) 2005-$THISYEAR$ Trolltech AS. All rights reserved. -** -** This file is part of the $MODULE$ of the Qt Toolkit. -** -** $LICENSE$ -** -** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -** -****************************************************************************/ #ifndef MAINWINDOW_H #define MAINWINDOW_H @@ -63,4 +51,4 @@ private: QLabel *centralWidget; }; -#endif +#endif // MAINWINDOW_H diff --git a/tests/manual/gdbdebugger/simple/app.cpp b/tests/manual/gdbdebugger/simple/app.cpp index 5ca2cf3b233..b00a259457e 100644 --- a/tests/manual/gdbdebugger/simple/app.cpp +++ b/tests/manual/gdbdebugger/simple/app.cpp @@ -31,19 +31,6 @@ ** ***************************************************************************/ -/**************************************************************************** -** -** Copyright (C) 2004-$THISYEAR$ Trolltech AS. All rights reserved. -** -** This file is part of the $MODULE$ of the Qt Toolkit. -** -** $LICENSE$ -** -** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE -** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. -** -****************************************************************************/ - #include <QtCore/QDebug> #include <QtCore/QDir> #include <QtCore/QHash> diff --git a/tests/manual/gdbdebugger/simple/plugin.cpp b/tests/manual/gdbdebugger/simple/plugin.cpp index d348c979125..a240f229739 100644 --- a/tests/manual/gdbdebugger/simple/plugin.cpp +++ b/tests/manual/gdbdebugger/simple/plugin.cpp @@ -31,7 +31,6 @@ ** ***************************************************************************/ - #include <stdio.h> #include <qglobal.h> diff --git a/tests/manual/progressmanager/main.cpp b/tests/manual/progressmanager/main.cpp index cf01a62928e..0ee436deb25 100644 --- a/tests/manual/progressmanager/main.cpp +++ b/tests/manual/progressmanager/main.cpp @@ -30,9 +30,11 @@ ** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** ***************************************************************************/ -#include <QtGui/QApplication> + #include "roundprogress.h" +#include <QtGui/QApplication> + int main(int argc, char *argv[]) { QApplication a(argc, argv); diff --git a/tests/manual/progressmanager/roundprogress.cpp b/tests/manual/progressmanager/roundprogress.cpp index 6adc3753efe..9e952212191 100644 --- a/tests/manual/progressmanager/roundprogress.cpp +++ b/tests/manual/progressmanager/roundprogress.cpp @@ -30,6 +30,7 @@ ** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** ***************************************************************************/ + #include "roundprogress.h" #include "multitask.h" #include "runextensions.h" diff --git a/tests/manual/progressmanager/roundprogress.h b/tests/manual/progressmanager/roundprogress.h index efd7a0fbb56..8c09f70a5c2 100644 --- a/tests/manual/progressmanager/roundprogress.h +++ b/tests/manual/progressmanager/roundprogress.h @@ -30,19 +30,19 @@ ** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** ***************************************************************************/ + #ifndef ROUNDPROGRESS_H #define ROUNDPROGRESS_H -#include <QtGui/QMainWindow> #include "ui_roundprogress.h" + #include <QtCore> #include <QtGui> #include <QtDebug> +#include <QtGui/QMainWindow> #include <QtCore/QFutureInterface> #include <QtCore/QFuture> -class MyInternalTask; - class MyInternalTask : public QObject { Q_OBJECT diff --git a/tests/manual/proparser/main.cpp b/tests/manual/proparser/main.cpp index 83e635265b1..c99fc16cac4 100644 --- a/tests/manual/proparser/main.cpp +++ b/tests/manual/proparser/main.cpp @@ -30,12 +30,13 @@ ** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** ***************************************************************************/ -#include <QtCore/QDebug> #include "proreader.h" #include "proitems.h" #include "proxml.h" +#include <QtCore/QDebug> + int main(int argc, char *argv[]) { ProReader pr; |