diff options
author | hjk <[email protected]> | 2008-12-02 16:19:05 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2008-12-02 16:19:05 +0100 |
commit | cf11b696431d26920f54598c8f03f0a5cf822ffa (patch) | |
tree | 9387102d435481132b721fde8ca062c5b8a4f73f /tests/manual/dockwidgets | |
parent | 10e963fb6134b3974901707daa99f5a94d696bed (diff) |
more code cosmetics
Diffstat (limited to 'tests/manual/dockwidgets')
-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 |
3 files changed, 7 insertions, 42 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 |