diff --git a/doc/example/textfinder/main.cpp b/doc/example/textfinder/main.cpp index 7f8c63d951b56d0ea8976cfcfe3fb1aad4bd381a..c388d8bba8ec5595708a29c0f0d185c4bfb6892d 100644 --- a/doc/example/textfinder/main.cpp +++ b/doc/example/textfinder/main.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,13 +26,15 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 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 a524f1c869af2f1bd730633347e0273a600372a3..7fcd061d6f1952f67425168a5af9c5a31a4ed60d 100644 --- a/doc/example/textfinder/textfinder.cpp +++ b/doc/example/textfinder/textfinder.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,14 +26,16 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 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 2563a2016acd9524eac006550ed0f8982fca1d57..0ff4839575d4f0af6534c5695de4493c5869c273 100644 --- a/doc/example/textfinder/textfinder.h +++ b/doc/example/textfinder/textfinder.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,16 +26,18 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 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; diff --git a/doc/qtcreator.qdoc b/doc/qtcreator.qdoc index d589d533bac0e690b4e6c6a81c6c688548d5b57a..a1f7ab3ed6f5acd617dd177f1ca21ff3923f4e41 100644 --- a/doc/qtcreator.qdoc +++ b/doc/qtcreator.qdoc @@ -788,31 +788,31 @@ \table \row \i \bold{Note:} - \i Gdb, and therefore Qt Creator's debugger works for optimized builds - on Linux and Mac OS X. However, optimization may lead to re-ordering of - instructions or sometimes even complete removal of some local variables. - In this case, the \gui{Locals and Watchers} view may show unexpected data. + + \i Gdb, and therefore Qt Creator's debugger works for optimized + builds on Linux and Mac OS X. However, optimization may lead + to re-ordering of instructions or sometimes even complete + removal of some local variables. In this case, the + \gui{Locals and Watchers} view may show unexpected data. + + \i The debug information provided by gcc does not include enough + information about the time when a variable is initialized. + Qt Creator therefore can not tell whether the contents of a + local variable contains "real data", or "initial noise". If a + QObject appears uninitialized, its value will be reported as + "out of scope". However, not all uninitialized objects can be + recognized as such. \endtable - \note - - \bold{Note:} The debug information provided by gcc does not include - enough information about the time at which a variable is initialized. - Qt Creator therefore can not tell whether the contents of a local - variable contains "real data", or "initial noise". If an QObject - appears uninitialized, its value will be reported as "out of scope". - Not all uninitialized objects can be recognized as such, though. - - The \gui{Locals and Watchers View} also gives accesst to the most powerful - feature of the Qt Creator Debugger: The comprehensive display of data - of objects of some of Qt's basic classes. - - To start using that feature, select \gui{Debug} and \gui{Use Custom - Display for Qt Objects}. The \gui{Locals and Watchers View} will - be re-organized to give a more high-level view of the objects - in question. So instead of displaying a pointer to some private - data structure in case of QObject, a list of children, signals - and slots will be shown. + + The \gui{Locals and Watchers} view also provides access to the most + powerful feature of the debugger: comprehensive display of data belonging + to Qt's basic objects. To enable this feature, select \gui{Use Custom + Display for Qt Objects} from the \gui Debug menu.The + \gui{Locals and Watchers} view will be re-organized to provide a high-level + view of the objects. For example, in case of QObject, instead of displaying + a pointer to some private data structure, you will see a list of children, + signals and slots. Similarily, instead of showing a bunch of pointers and ints, a QHash or QMap will display its contents in an orderly fashion, diff --git a/installer/installer.cpp b/installer/installer.cpp index 54ade16ce45166ffd2a3f38d1157dc5f84d95dcd..8357a6c597d7a19de9167f63f1a20db1dd66b87e 100644 --- a/installer/installer.cpp +++ b/installer/installer.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // This file contains the QtCreator-specific part of the installer. diff --git a/installer/qinstaller.cpp b/installer/qinstaller.cpp index 2144af60f119e509de82b12fd86533cfeb0f7db1..b0b4cbff77ecfba6f3e2988712f93938d2e2f825 100644 --- a/installer/qinstaller.cpp +++ b/installer/qinstaller.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qinstaller.h" diff --git a/installer/qinstaller.h b/installer/qinstaller.h index 9930cb8664eda0e10b73e50dbc3f7187a6a3c15b..0e4672a3f2ffa2523b5a57d516baec8f04ec1ef8 100644 --- a/installer/qinstaller.h +++ b/installer/qinstaller.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QINSTALLER_H diff --git a/installer/qinstallergui.cpp b/installer/qinstallergui.cpp index 0da9a6d47b4bc857523c62502d1beb28be8507da..3250052cc9950b72856538a535951715ab4271af 100644 --- a/installer/qinstallergui.cpp +++ b/installer/qinstallergui.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qinstallergui.h" diff --git a/installer/qinstallergui.h b/installer/qinstallergui.h index 93de1a1c559286a118ce761db18158726aa0d6dc..c176e2e0091d7391e5a656eedae3e10f260f2938 100644 --- a/installer/qinstallergui.h +++ b/installer/qinstallergui.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QINSTALLERGUI_H diff --git a/shared/cpaster/cgi.cpp b/shared/cpaster/cgi.cpp index 222d0c9d088c4b4b708912b68caebb3159a50eef..2e94dc96b0230ff877fcce8648ff73bf59ece381 100644 --- a/shared/cpaster/cgi.cpp +++ b/shared/cpaster/cgi.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,17 +26,18 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "cgi.h" #include <QByteArray> -// ------------------------------------------------------------------------------------------------- const char *cgi_chars = "0123456789abcdef"; // RFC 1738 suggests lower-case to be optimal + QString CGI::encodeURL(const QString &rawText) { QByteArray utf = rawText.toUtf8(); @@ -424,5 +425,3 @@ QString CGI::encodeHTML(const QString &rawText, int conversionFlags) return enc; } -// ------------------------------------------------------------------------------------------------- - diff --git a/shared/cpaster/cgi.h b/shared/cpaster/cgi.h index 37b3eb09986fde2fef8bae1d312de45929546ee4..f459b26715d30236302488406c65e3d56ab2e9f8 100644 --- a/shared/cpaster/cgi.h +++ b/shared/cpaster/cgi.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,12 +26,14 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -#ifndef _CGI_H_ -#define _CGI_H_ + +#ifndef CGI_H +#define CGI_H + #include <QString> class CGI @@ -54,5 +56,4 @@ private: inline QChar hexToChar(const QString &hx); }; -#endif // _CGI_H_ - +#endif // CGI_H diff --git a/shared/cpaster/fetcher.cpp b/shared/cpaster/fetcher.cpp index 19e9690b8bc5a43d3140af4fcfcfc84cc1e9b4cf..56b15907f0b68c33ed4d553eb2928455b4684257 100644 --- a/shared/cpaster/fetcher.cpp +++ b/shared/cpaster/fetcher.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "fetcher.h" #include "cgi.h" @@ -44,7 +45,7 @@ Fetcher::Fetcher(const QString &host) m_status = 0; m_hadError = false; connect(this, SIGNAL(requestFinished(int,bool)), SLOT(gotRequestFinished(int,bool))); - connect(this, SIGNAL(readyRead(const QHttpResponseHeader &)), SLOT(gotReadyRead(const QHttpResponseHeader &))); + connect(this, SIGNAL(readyRead(QHttpResponseHeader)), SLOT(gotReadyRead(QHttpResponseHeader))); } int Fetcher::fetch(const QString &url) diff --git a/shared/cpaster/fetcher.h b/shared/cpaster/fetcher.h index 989965c2714dfedb940d1d262a021b44c3f2dddc..9e998eea5979073386f0bd9852b57ab2521175a9 100644 --- a/shared/cpaster/fetcher.h +++ b/shared/cpaster/fetcher.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,16 +26,16 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FETCHER_H #define FETCHER_H #include <QHttp> #include <QHttpResponseHeader> - #include <QString> class Fetcher : public QHttp diff --git a/shared/cpaster/poster.cpp b/shared/cpaster/poster.cpp index 1b7f152ad2138fb617405aabb4f3a3870c04b1d2..de8b1fa9f40ae76d1a6e81991956d31bf155e88b 100644 --- a/shared/cpaster/poster.cpp +++ b/shared/cpaster/poster.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "poster.h" #include "cgi.h" @@ -43,7 +44,7 @@ Poster::Poster(const QString &host) m_status = 0; m_hadError = false; connect(this, SIGNAL(requestFinished(int,bool)), SLOT(gotRequestFinished(int,bool))); - connect(this, SIGNAL(responseHeaderReceived(const QHttpResponseHeader &)), SLOT(gotResponseHeaderReceived(const QHttpResponseHeader &))); + connect(this, SIGNAL(responseHeaderReceived(QHttpResponseHeader)), SLOT(gotResponseHeaderReceived(QHttpResponseHeader))); } void Poster::post(const QString &description, const QString &comment, diff --git a/shared/cpaster/poster.h b/shared/cpaster/poster.h index 2f405d4207a9f8b5c0f272bbbc36d20098a64717..00bc061df9c759c881e665c64b7283f991286d85 100644 --- a/shared/cpaster/poster.h +++ b/shared/cpaster/poster.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,16 +26,16 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef POSTER_H #define POSTER_H #include <QHttp> #include <QHttpResponseHeader> - #include <QString> class Poster : public QHttp diff --git a/shared/cpaster/splitter.cpp b/shared/cpaster/splitter.cpp index 15a74b02f1e36a10e869e8b0c4ea8895ca216d3a..08ec626f625a83352141e92c87baed8d6f62bb6d 100644 --- a/shared/cpaster/splitter.cpp +++ b/shared/cpaster/splitter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,11 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "splitter.h" + #include <QRegExp> FileDataList splitDiffToFiles(const QByteArray &data) diff --git a/shared/cpaster/splitter.h b/shared/cpaster/splitter.h index 0daaf378bf28636de5aee68105a6d88c0d4ea785..491fe27e5cce21b7f3efd584109490ee08e834d7 100644 --- a/shared/cpaster/splitter.h +++ b/shared/cpaster/splitter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,16 +26,17 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SPLITTER_H #define SPLITTER_H -#include <QString> #include <QByteArray> #include <QList> +#include <QString> struct FileData { diff --git a/shared/cpaster/view.cpp b/shared/cpaster/view.cpp index 1db8039ab5fd735cd936ff4a00153458a3b9ef7b..ca5bd270eb2d46aa3dc7ff6521ab2e99d442bbf8 100644 --- a/shared/cpaster/view.cpp +++ b/shared/cpaster/view.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "view.h" #include <QFontMetrics> @@ -38,7 +39,6 @@ #include <QPushButton> #include <QSettings> -// ------------------------------------------------------------------------------------------------- class ColumnIndicatorTextEdit : public QTextEdit { public: diff --git a/shared/cpaster/view.h b/shared/cpaster/view.h index 5ba72fd93842978ba42263ad9c14c7632ae3e0be..6058f4bc41a8547ef84cdf265d739129fd8fce0f 100644 --- a/shared/cpaster/view.h +++ b/shared/cpaster/view.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef VIEW_H #define VIEW_H @@ -63,4 +64,3 @@ private: }; #endif // VIEW_H - diff --git a/shared/cplusplus/AST.cpp b/shared/cplusplus/AST.cpp index ca3c1aab652deacbfca03a7e64ebe5d00d58d673..d3d6d051a5e8da0b45da6bd96601e9e9f9bf71b9 100644 --- a/shared/cplusplus/AST.cpp +++ b/shared/cplusplus/AST.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/AST.h b/shared/cplusplus/AST.h index e692a6097664cf26c568fcd88247b6fa0778fefc..5481aa29e7ac7ea70e5c9bfc5e1420822077ccaa 100644 --- a/shared/cplusplus/AST.h +++ b/shared/cplusplus/AST.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/ASTVisitor.cpp b/shared/cplusplus/ASTVisitor.cpp index 45d0157808b6fc856defcfdbeb010e872bcb5530..8a1a5a04ccd64aa938c5da3afdd04c0c0ce2ecb6 100644 --- a/shared/cplusplus/ASTVisitor.cpp +++ b/shared/cplusplus/ASTVisitor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/ASTVisitor.h b/shared/cplusplus/ASTVisitor.h index 50f74c75d072e8eb45d125ca0460fa448125e24c..ae0f12373e1c9b3fb7fe2e4c004ca5a3dca1820b 100644 --- a/shared/cplusplus/ASTVisitor.h +++ b/shared/cplusplus/ASTVisitor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/ASTfwd.h b/shared/cplusplus/ASTfwd.h index dbabed9e49853c210cc7904276b1f649c7c22b14..525cdd3e0c53bd01114bbbc14b2c069f13632992 100644 --- a/shared/cplusplus/ASTfwd.h +++ b/shared/cplusplus/ASTfwd.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Array.cpp b/shared/cplusplus/Array.cpp index e62ed1ee12a9d5b7e801c4b49aac100d1a0174ba..b04417bf111cec21e1b44440407f7e958e76bf41 100644 --- a/shared/cplusplus/Array.cpp +++ b/shared/cplusplus/Array.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,28 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -// Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. #include "Array.h" diff --git a/shared/cplusplus/Array.h b/shared/cplusplus/Array.h index 4f05996fec5b8249106d94fcb318018b9809262d..a4c994063565a5d83c73cd4c04e100c095df9fc7 100644 --- a/shared/cplusplus/Array.h +++ b/shared/cplusplus/Array.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/CPlusPlusForwardDeclarations.h b/shared/cplusplus/CPlusPlusForwardDeclarations.h index 91c55ca646773656f6d41c9b8b6e6d279b3a935d..d83b9540b7d9e2e43b68c712c7776b8dcb03ccaa 100644 --- a/shared/cplusplus/CPlusPlusForwardDeclarations.h +++ b/shared/cplusplus/CPlusPlusForwardDeclarations.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/CheckDeclaration.cpp b/shared/cplusplus/CheckDeclaration.cpp index 50ca8afc9e93238db9497f45de31b2c77fefc21d..b4c381d6175b061fdc7670b9b091346485a5ffa1 100644 --- a/shared/cplusplus/CheckDeclaration.cpp +++ b/shared/cplusplus/CheckDeclaration.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/CheckDeclaration.h b/shared/cplusplus/CheckDeclaration.h index 333f33175d49e1fe06f98b2549987ef525f092d3..ba6b696b0ce03437d34979ac13e926e66f062040 100644 --- a/shared/cplusplus/CheckDeclaration.h +++ b/shared/cplusplus/CheckDeclaration.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/CheckDeclarator.cpp b/shared/cplusplus/CheckDeclarator.cpp index a451f78ba259aba544f46c8d104a2ac6a6f5d29c..11ff36584f5e0f783dad16920c5f14d1cd545662 100644 --- a/shared/cplusplus/CheckDeclarator.cpp +++ b/shared/cplusplus/CheckDeclarator.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/CheckDeclarator.h b/shared/cplusplus/CheckDeclarator.h index c391bf99e6901531dffb6bcd46fcba2b6236c376..9626380492e5b808fb867634ebccfcbb9ad858b3 100644 --- a/shared/cplusplus/CheckDeclarator.h +++ b/shared/cplusplus/CheckDeclarator.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/CheckExpression.cpp b/shared/cplusplus/CheckExpression.cpp index 080f74eef1492b2d66f58e96033fcc3392b98664..993d44fb45089dc2f02a32ceef2b9a1fd60951b6 100644 --- a/shared/cplusplus/CheckExpression.cpp +++ b/shared/cplusplus/CheckExpression.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/CheckExpression.h b/shared/cplusplus/CheckExpression.h index 3501cf203c587c8029db36f29b96c38bb0cfa5ef..69900f94c23ee078272fe84fc803e50f26f41df1 100644 --- a/shared/cplusplus/CheckExpression.h +++ b/shared/cplusplus/CheckExpression.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/CheckName.cpp b/shared/cplusplus/CheckName.cpp index a0427e99a88db89620f30abf1619db337eb846ad..30f60f8f80657866dd2c0c147456833afe4ca26d 100644 --- a/shared/cplusplus/CheckName.cpp +++ b/shared/cplusplus/CheckName.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/CheckName.h b/shared/cplusplus/CheckName.h index 55cbe0fd92863aa492f04b2ce5248fa7db7de955..b953fdfd16de6fbc6c42b57fa63d66b5756d9782 100644 --- a/shared/cplusplus/CheckName.h +++ b/shared/cplusplus/CheckName.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/CheckSpecifier.cpp b/shared/cplusplus/CheckSpecifier.cpp index fba99c4e3a7d5312f5866afc8e6893a31360089d..5fda892900864e5868d298b81ac59b14ddbd1d3e 100644 --- a/shared/cplusplus/CheckSpecifier.cpp +++ b/shared/cplusplus/CheckSpecifier.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/CheckSpecifier.h b/shared/cplusplus/CheckSpecifier.h index 72e9073258c184b8ac08a2e4ef459f4414827b2d..0c5a6f92b27d5913ed183cbb535702ca96cf1f02 100644 --- a/shared/cplusplus/CheckSpecifier.h +++ b/shared/cplusplus/CheckSpecifier.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/CheckStatement.cpp b/shared/cplusplus/CheckStatement.cpp index 71ceb25a431a64bf32cd5b4c51a74d3a9acbb6df..7b1530f702dd0511a840799f599f28b87ac163d4 100644 --- a/shared/cplusplus/CheckStatement.cpp +++ b/shared/cplusplus/CheckStatement.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/CheckStatement.h b/shared/cplusplus/CheckStatement.h index 884c5a9225686dc08497841f3c271a83d3a41e00..1b96c6ded1066d33c4f027d80c8048097909e26d 100644 --- a/shared/cplusplus/CheckStatement.h +++ b/shared/cplusplus/CheckStatement.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Control.cpp b/shared/cplusplus/Control.cpp index f8bd8ea5105316d9bd7fb7e289c7b03bef0a33a8..c994dbab9a276f6885e121f0176cac8ff44a1972 100644 --- a/shared/cplusplus/Control.cpp +++ b/shared/cplusplus/Control.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Control.h b/shared/cplusplus/Control.h index be45afa3c2e9d61a972d02cb60b28f58ba97b0b6..fa7b4faa50256d43202acaa0591600ce1eb64ebe 100644 --- a/shared/cplusplus/Control.h +++ b/shared/cplusplus/Control.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/CoreTypes.cpp b/shared/cplusplus/CoreTypes.cpp index 6bcaf910532c958965999ad910cdf30d24bb2970..d2359fc12d724482ef3b4c72655479f0d0f1605f 100644 --- a/shared/cplusplus/CoreTypes.cpp +++ b/shared/cplusplus/CoreTypes.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/CoreTypes.h b/shared/cplusplus/CoreTypes.h index 4a516870d3cd19957ac8d4c2c4e0390b2d0b17fc..ced34f00853babb9efda697681b3db54324d8ef1 100644 --- a/shared/cplusplus/CoreTypes.h +++ b/shared/cplusplus/CoreTypes.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/DiagnosticClient.cpp b/shared/cplusplus/DiagnosticClient.cpp index f44f23f15815af84e0d71e0e073879fe14f0ab4b..ac35e60e532cd59b8845610b8ab6b0db27c1e642 100644 --- a/shared/cplusplus/DiagnosticClient.cpp +++ b/shared/cplusplus/DiagnosticClient.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/DiagnosticClient.h b/shared/cplusplus/DiagnosticClient.h index 1bc4bd9d450da3211b0f52a5bc916701316b3dc9..aefc5662676b8a0f87e1eecba849eab7d5753284 100644 --- a/shared/cplusplus/DiagnosticClient.h +++ b/shared/cplusplus/DiagnosticClient.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/FullySpecifiedType.cpp b/shared/cplusplus/FullySpecifiedType.cpp index dd70ec364e52a0a5a6ade1618f1a2d2962fcb021..7d7f97a29ad745f98dd089092344498d3a452951 100644 --- a/shared/cplusplus/FullySpecifiedType.cpp +++ b/shared/cplusplus/FullySpecifiedType.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/FullySpecifiedType.h b/shared/cplusplus/FullySpecifiedType.h index 98951b27fdb45eb13f7fe59850362c1f87086311..802e2215222c140039860abd860170b3d0ac44d6 100644 --- a/shared/cplusplus/FullySpecifiedType.h +++ b/shared/cplusplus/FullySpecifiedType.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Keywords.cpp b/shared/cplusplus/Keywords.cpp index f1c53d3c6ab70f9e6f19ae67af5662f6b27609bb..0e19b6b1d4f1be79f24c048cc18adbe41e71068e 100644 --- a/shared/cplusplus/Keywords.cpp +++ b/shared/cplusplus/Keywords.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Lexer.cpp b/shared/cplusplus/Lexer.cpp index 1996bc5ea0b850f78c23019e224c645985f39507..6b08e2ad082c0cc62017f8853c9749579ec4533e 100644 --- a/shared/cplusplus/Lexer.cpp +++ b/shared/cplusplus/Lexer.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Lexer.h b/shared/cplusplus/Lexer.h index 11d139cf0538878f87ef68d741ea891a927bda30..f2eebf2bacf543cc970876be9840726fef307012 100644 --- a/shared/cplusplus/Lexer.h +++ b/shared/cplusplus/Lexer.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/LiteralTable.cpp b/shared/cplusplus/LiteralTable.cpp index 8254c2868b9911d24bc3973f23ec4bb8a1ffcf89..226e640039524c8e350dacaf71e57969ae7e4815 100644 --- a/shared/cplusplus/LiteralTable.cpp +++ b/shared/cplusplus/LiteralTable.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,28 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -// Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. #include "LiteralTable.h" diff --git a/shared/cplusplus/LiteralTable.h b/shared/cplusplus/LiteralTable.h index e31930b10cbdb998b1613b248290b3f85fed7e5c..097f16185bff1e8f639055119b84c4b9ac6aca01 100644 --- a/shared/cplusplus/LiteralTable.h +++ b/shared/cplusplus/LiteralTable.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Literals.cpp b/shared/cplusplus/Literals.cpp index e94d53b565843d0f05a106585879a625e0aa45c9..ba2184a0034e29c97aa4f3b07c9c0415fe2385be 100644 --- a/shared/cplusplus/Literals.cpp +++ b/shared/cplusplus/Literals.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Literals.h b/shared/cplusplus/Literals.h index c5425942da4e656908517f3dbb09b88a4f04c44f..c777063086a169df260deb716d9b5b438eef836a 100644 --- a/shared/cplusplus/Literals.h +++ b/shared/cplusplus/Literals.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/MemoryPool.cpp b/shared/cplusplus/MemoryPool.cpp index 6d6876f6f0525ae34d3ccad1eef754e3c63e82b1..45cab6586e4abc86a3e65bcd66b8dd1d8e1c6178 100644 --- a/shared/cplusplus/MemoryPool.cpp +++ b/shared/cplusplus/MemoryPool.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/MemoryPool.h b/shared/cplusplus/MemoryPool.h index 7479ce651286f498e498bc67f8e5ee3a31c909e4..e71ae2d51c52aae4cecaa8e44ee28e1d231cab33 100644 --- a/shared/cplusplus/MemoryPool.h +++ b/shared/cplusplus/MemoryPool.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Name.cpp b/shared/cplusplus/Name.cpp index 864428b61cf328625b41c77013ff3c66b634bc97..18fbd0b126a589b6cf505c3e43fdd8ba2dbb97af 100644 --- a/shared/cplusplus/Name.cpp +++ b/shared/cplusplus/Name.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Name.h b/shared/cplusplus/Name.h index 250a9881276308849f4fd36dad62abddf230f78a..57936b1c8845bdc059f62d35812de309fbe4dfe0 100644 --- a/shared/cplusplus/Name.h +++ b/shared/cplusplus/Name.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/NameVisitor.cpp b/shared/cplusplus/NameVisitor.cpp index bc6f45f43651e22d9e9ca52293cfd5292c756801..8c394900792898cefb1bd2243aa7531645f9a6e6 100644 --- a/shared/cplusplus/NameVisitor.cpp +++ b/shared/cplusplus/NameVisitor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/NameVisitor.h b/shared/cplusplus/NameVisitor.h index 24948bfa4279ea185c69aa7f7fb3dcb3239422a0..f36a73aa94f2cd05071d63faf2a8f853697a6175 100644 --- a/shared/cplusplus/NameVisitor.h +++ b/shared/cplusplus/NameVisitor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Names.cpp b/shared/cplusplus/Names.cpp index b4e951ba49ba66ae530b2515690d577f5cd57f59..b6d703bfa67d81e3b996e5f5496369d904e0ffae 100644 --- a/shared/cplusplus/Names.cpp +++ b/shared/cplusplus/Names.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Names.h b/shared/cplusplus/Names.h index 85059e551eee9b7edeb78a532b0d6b4d208a5fee..88792d91eff79143e2a287e6a58a4b3ec0596624 100644 --- a/shared/cplusplus/Names.h +++ b/shared/cplusplus/Names.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Parser.cpp b/shared/cplusplus/Parser.cpp index bbd783f818d39daa506d84d7f6226a4fc2a8f1c9..46618dd112b8c653b33652ba41100a4109d31538 100644 --- a/shared/cplusplus/Parser.cpp +++ b/shared/cplusplus/Parser.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Parser.h b/shared/cplusplus/Parser.h index cddc9ec6668ea6961ba3a1a4b0a39050b28a5610..f35b20416603c910bfc839f8b9fdb52530611e1e 100644 --- a/shared/cplusplus/Parser.h +++ b/shared/cplusplus/Parser.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Scope.cpp b/shared/cplusplus/Scope.cpp index 293216f12919211194e7f37a88f22fac0ef8d4b7..2c1b986b2c9f48d5afc19a08f5bcb0fc7b90f629 100644 --- a/shared/cplusplus/Scope.cpp +++ b/shared/cplusplus/Scope.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Scope.h b/shared/cplusplus/Scope.h index b70b4b5fcc01dec84a6354b28d6bf4c828d5d26a..61f394f20d64da8934e8358cb815934859701dc1 100644 --- a/shared/cplusplus/Scope.h +++ b/shared/cplusplus/Scope.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Semantic.cpp b/shared/cplusplus/Semantic.cpp index 306a56d46987dc375f718ed3c8058299c6fd06d9..4f2ab18cbda33b91dce7349acf6b0c7ae83134e4 100644 --- a/shared/cplusplus/Semantic.cpp +++ b/shared/cplusplus/Semantic.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Semantic.h b/shared/cplusplus/Semantic.h index dedd471ab664ef13a5bd1f62ab829d7245e59788..10d80276d92d1814e0af3aaedb48c672c68b1c3a 100644 --- a/shared/cplusplus/Semantic.h +++ b/shared/cplusplus/Semantic.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/SemanticCheck.cpp b/shared/cplusplus/SemanticCheck.cpp index 65efec0f2cc8f98ee5d3d88ac7e674d3b0daa17c..6c829ad62d54fea8a418483a6578391e4438f740 100644 --- a/shared/cplusplus/SemanticCheck.cpp +++ b/shared/cplusplus/SemanticCheck.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/SemanticCheck.h b/shared/cplusplus/SemanticCheck.h index a0380a905c3a1eee60d665094e01735cc2cdfaa4..a03c40e20d56e2dbcfd213d8bc27ad253f4103bf 100644 --- a/shared/cplusplus/SemanticCheck.h +++ b/shared/cplusplus/SemanticCheck.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Symbol.cpp b/shared/cplusplus/Symbol.cpp index e2dca2a328c3f0032b9990587bc8b6f6f2936d8e..97abf7735471284d6ab437388719b3916925c5b7 100644 --- a/shared/cplusplus/Symbol.cpp +++ b/shared/cplusplus/Symbol.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Symbol.h b/shared/cplusplus/Symbol.h index 95777c2c72567a32c9969f56f45b578ff5154d40..1221f374ebc1d91c4fd7e214430e357f92fef0cf 100644 --- a/shared/cplusplus/Symbol.h +++ b/shared/cplusplus/Symbol.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/SymbolVisitor.cpp b/shared/cplusplus/SymbolVisitor.cpp index 39422bd8107d85c242bc107b8b0749d802c18f28..cc110f7c1e51c1d90a86560beaec5e7d78f636a0 100644 --- a/shared/cplusplus/SymbolVisitor.cpp +++ b/shared/cplusplus/SymbolVisitor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/SymbolVisitor.h b/shared/cplusplus/SymbolVisitor.h index bf91fe7814f2c0d37ef8429362f92af8fd114013..04b56df4146c4d98dcb731a2172fded3f6783e95 100644 --- a/shared/cplusplus/SymbolVisitor.h +++ b/shared/cplusplus/SymbolVisitor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Symbols.cpp b/shared/cplusplus/Symbols.cpp index b56235aff0ef4da94662d93b5a421a870d4a72db..7e7e148b18d450b4aa267bdd73d4e2f937754000 100644 --- a/shared/cplusplus/Symbols.cpp +++ b/shared/cplusplus/Symbols.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Symbols.h b/shared/cplusplus/Symbols.h index fe373b34123b17319a5bdaafd1bd9b008ec57cf1..9d43c6b235872dd6272e2e7784b872a304ded6f9 100644 --- a/shared/cplusplus/Symbols.h +++ b/shared/cplusplus/Symbols.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Token.cpp b/shared/cplusplus/Token.cpp index 755df25e58fc04244d4fe4a203fc12dbe8a9a8f2..40dfb9efab1b64ed0ade1a186883b4eb5389ee99 100644 --- a/shared/cplusplus/Token.cpp +++ b/shared/cplusplus/Token.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Token.h b/shared/cplusplus/Token.h index 4ceaaf01961b3f2b40e5bf775d8d1ba28ccba987..e172fea568059b365014a66c28a972136b57babd 100644 --- a/shared/cplusplus/Token.h +++ b/shared/cplusplus/Token.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/TranslationUnit.cpp b/shared/cplusplus/TranslationUnit.cpp index 06a7a3af4edb5746f3ce295826efd2ba7c167fd6..896ab7d1a55fa475646c69c76c1a0c138ebbd161 100644 --- a/shared/cplusplus/TranslationUnit.cpp +++ b/shared/cplusplus/TranslationUnit.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/TranslationUnit.h b/shared/cplusplus/TranslationUnit.h index 07929534d3162eb565b9466bf46a815b5231bce5..41f5a1d6e86e07f89847a3aed7f8928b452b8586 100644 --- a/shared/cplusplus/TranslationUnit.h +++ b/shared/cplusplus/TranslationUnit.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Type.cpp b/shared/cplusplus/Type.cpp index 7948dbe94a1c913407251fce9a70b582e7a6fb71..a58f855f689addb63371bbcca40323a90d239bb7 100644 --- a/shared/cplusplus/Type.cpp +++ b/shared/cplusplus/Type.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/Type.h b/shared/cplusplus/Type.h index 250b0ef1d6b024bd64838d8de09ce9ba79d5d0a3..1623ee560548c8728ff0bc45ade697ae2a1136fc 100644 --- a/shared/cplusplus/Type.h +++ b/shared/cplusplus/Type.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/TypeVisitor.cpp b/shared/cplusplus/TypeVisitor.cpp index 34fe26c92972fe27560859198b47ad49e7a6987e..02710256383901be29feb6c122d8f663c4c63a3c 100644 --- a/shared/cplusplus/TypeVisitor.cpp +++ b/shared/cplusplus/TypeVisitor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/cplusplus/TypeVisitor.h b/shared/cplusplus/TypeVisitor.h index de638b2e33ad560fcc70c28f8be198971008a0e6..6fa8f4f1afcb8594ca769adec5c975826a59bf17 100644 --- a/shared/cplusplus/TypeVisitor.h +++ b/shared/cplusplus/TypeVisitor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ // Copyright (c) 2008 Roberto Raggi <roberto.raggi@gmail.com> // diff --git a/shared/designerintegrationv2/formresizer.cpp b/shared/designerintegrationv2/formresizer.cpp index 1f3815efe5825adf4c7d8b540ab5992db98e3ff1..3b44599d7efb4a0518d3462908e748a19d5d11e3 100644 --- a/shared/designerintegrationv2/formresizer.cpp +++ b/shared/designerintegrationv2/formresizer.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "formresizer.h" #include "sizehandlerect.h" diff --git a/shared/designerintegrationv2/formresizer.h b/shared/designerintegrationv2/formresizer.h index fcf6e0d1c5bfc7730d5937adda75d979271f8dfe..912e7ab16992e80f366350f855aeb09d90fe9e4c 100644 --- a/shared/designerintegrationv2/formresizer.h +++ b/shared/designerintegrationv2/formresizer.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef FORMRESIZER_H #define FORMRESIZER_H diff --git a/shared/designerintegrationv2/sizehandlerect.cpp b/shared/designerintegrationv2/sizehandlerect.cpp index 459db47cc342c04f12af0ced98c67edb9f8f52f9..0061d9671b5dc969e76619e6c56ba6304c2b6b55 100644 --- a/shared/designerintegrationv2/sizehandlerect.cpp +++ b/shared/designerintegrationv2/sizehandlerect.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "sizehandlerect.h" #include "widgethostconstants.h" diff --git a/shared/designerintegrationv2/sizehandlerect.h b/shared/designerintegrationv2/sizehandlerect.h index 8e03f869c0472ebb2036e0d97c94489e2bfb4b3c..cbcc5b0777592b0bef92ddc6ab0873a98121e99f 100644 --- a/shared/designerintegrationv2/sizehandlerect.h +++ b/shared/designerintegrationv2/sizehandlerect.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SIZEHANDLERECT_H #define SIZEHANDLERECT_H diff --git a/shared/designerintegrationv2/widgethost.cpp b/shared/designerintegrationv2/widgethost.cpp index d7e09b4d544450ebcadd490e02dabd1a4a943933..763b101d4e4161b8f1ed4fe4341988be2ce69102 100644 --- a/shared/designerintegrationv2/widgethost.cpp +++ b/shared/designerintegrationv2/widgethost.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "widgethost.h" #include "formresizer.h" #include "widgethostconstants.h" diff --git a/shared/designerintegrationv2/widgethost.h b/shared/designerintegrationv2/widgethost.h index 392b1c26db618f79d4efcf932360bd2eb826ac98..1284707e4dcac28ad23736f5ca1d11800a680340 100644 --- a/shared/designerintegrationv2/widgethost.h +++ b/shared/designerintegrationv2/widgethost.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef WIDGETHOST_H #define WIDGETHOST_H @@ -80,4 +81,3 @@ private: } // namespace SharedTools #endif // WIDGETHOST_H - diff --git a/shared/designerintegrationv2/widgethostconstants.h b/shared/designerintegrationv2/widgethostconstants.h index 6555c7f494bb03a57cd0a567436975cf9b10fc4e..cfd3a4ac515afa66756b301f74b425eafd35f9f0 100644 --- a/shared/designerintegrationv2/widgethostconstants.h +++ b/shared/designerintegrationv2/widgethostconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef WIDGETHOST_CONSTANTS_H #define WIDGETHOST_CONSTANTS_H @@ -40,5 +41,5 @@ namespace SharedTools { } } -#endif //WIDGETHOST_CONSTANTS_H +#endif // WIDGETHOST_CONSTANTS_H diff --git a/shared/help/bookmarkmanager.cpp b/shared/help/bookmarkmanager.cpp index bc87e1c1112edfa696cc1e80fdc638a907e57a8b..2664fea2e0c46191cdffc3790b07e042b727c0ec 100644 --- a/shared/help/bookmarkmanager.cpp +++ b/shared/help/bookmarkmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "bookmarkmanager.h" diff --git a/shared/help/bookmarkmanager.h b/shared/help/bookmarkmanager.h index b5c68021f104230eab5345da929b15173b1d2030..a8afa867e65b92909617f3b4942ff812755e3eb4 100644 --- a/shared/help/bookmarkmanager.h +++ b/shared/help/bookmarkmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef BOOKMARKMANAGER_H diff --git a/shared/help/contentwindow.cpp b/shared/help/contentwindow.cpp index d67ac7c803db1620cbee2e4a6d1382c503cb540f..5a42be4efe57f4f51a7777384b684cba42369e6c 100644 --- a/shared/help/contentwindow.cpp +++ b/shared/help/contentwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "contentwindow.h" @@ -108,7 +108,7 @@ void ContentWindow::keyPressEvent(QKeyEvent *e) emit escapePressed(); } -bool ContentWindow::eventFilter(QObject* o, QEvent *e) +bool ContentWindow::eventFilter(QObject *o, QEvent *e) { if (m_contentWidget && o == m_contentWidget->viewport() && e->type() == QEvent::MouseButtonRelease) { diff --git a/shared/help/contentwindow.h b/shared/help/contentwindow.h index c3abb8084b32797ededef3eadbfab9955d7aaf94..22e519d49bf5ebb52ddf8069a835bf2d24c321de 100644 --- a/shared/help/contentwindow.h +++ b/shared/help/contentwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef CONTENTWINDOW_H @@ -66,7 +66,7 @@ private slots: private: void focusInEvent(QFocusEvent *e); void keyPressEvent(QKeyEvent *e); - bool eventFilter(QObject* o, QEvent *e); + bool eventFilter(QObject *o, QEvent *e); QHelpEngine *m_helpEngine; QHelpContentWidget *m_contentWidget; @@ -75,4 +75,4 @@ private: QT_END_NAMESPACE -#endif +#endif // CONTENTWINDOW_H diff --git a/shared/help/filternamedialog.cpp b/shared/help/filternamedialog.cpp index c6d9f3e78d3533c233ebbd2ab0120329394335ef..a2c0eff903c7453ec96c620e2c07a6ddb251c532 100644 --- a/shared/help/filternamedialog.cpp +++ b/shared/help/filternamedialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtGui/QPushButton> @@ -45,7 +45,7 @@ FilterNameDialog::FilterNameDialog(QWidget *parent) SIGNAL(clicked()), this, SLOT(accept())); connect(m_ui.buttonBox->button(QDialogButtonBox::Cancel), SIGNAL(clicked()), this, SLOT(reject())); - connect(m_ui.lineEdit, SIGNAL(textChanged(const QString&)), + connect(m_ui.lineEdit, SIGNAL(textChanged(QString)), this, SLOT(updateOkButton())); m_ui.buttonBox->button(QDialogButtonBox::Ok)->setDisabled(true); diff --git a/shared/help/filternamedialog.h b/shared/help/filternamedialog.h index 8fb02c921aca04fe22a110bccfe90ad4629302a1..41bcf17dcacd85c3de10be1224532ed2ef4fb20d 100644 --- a/shared/help/filternamedialog.h +++ b/shared/help/filternamedialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef FILTERNAMEDIALOG_H diff --git a/shared/help/helpviewer.cpp b/shared/help/helpviewer.cpp index 660d35b411b4a3f2ebcc0773ff85e91251336742..8619739f706296eb011ff4973abd20c2b014602f 100644 --- a/shared/help/helpviewer.cpp +++ b/shared/help/helpviewer.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "helpviewer.h" @@ -56,7 +56,7 @@ QT_BEGIN_NAMESPACE -#if defined(USE_WEBKIT) +#if !defined(QT_NO_WEBKIT) class HelpNetworkReply : public QNetworkReply { @@ -214,8 +214,8 @@ HelpViewer::HelpViewer(QHelpEngine *engine, CentralWidget *parent) connect(pageAction(QWebPage::Copy), SIGNAL(changed()), this, SLOT(actionChanged())); connect(pageAction(QWebPage::Back), SIGNAL(changed()), this, SLOT(actionChanged())); connect(pageAction(QWebPage::Forward), SIGNAL(changed()), this, SLOT(actionChanged())); - connect(page(), SIGNAL(linkHovered(const QString &, const QString &, const QString &)), this, SIGNAL(highlighted(const QString &))); - connect(this, SIGNAL(urlChanged(const QUrl &)), this, SIGNAL(sourceChanged(const QUrl &))); + connect(page(), SIGNAL(linkHovered(QString, QString, QString)), this, SIGNAL(highlighted(QString))); + connect(this, SIGNAL(urlChanged(QUrl)), this, SIGNAL(sourceChanged(QUrl))); } void HelpViewer::setSource(const QUrl &url) diff --git a/shared/help/helpviewer.h b/shared/help/helpviewer.h index 3156f196d06b2d3f19653605e7ad51b86379d81e..0e1b26b54009483ae60c32d76840ce21393dd79e 100644 --- a/shared/help/helpviewer.h +++ b/shared/help/helpviewer.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef HELPVIEWER_H @@ -39,7 +39,7 @@ #include <QtGui/QTextBrowser> #include <QtGui/QAction> -#if defined(USE_WEBKIT) +#if !defined(QT_NO_WEBKIT) #include <QWebView> #endif @@ -54,7 +54,7 @@ class QKeyEvent; class QMouseEvent; class QContextMenuEvent; -#if defined(USE_WEBKIT) +#if !defined(QT_NO_WEBKIT) class HelpViewer : public QWebView { diff --git a/shared/help/indexwindow.cpp b/shared/help/indexwindow.cpp index fdc919c5be3e3e2e8e056a57715e80e3f7fca267..8f5038dfaf8053a4f10faf200e7f8a1be29cae7b 100644 --- a/shared/help/indexwindow.cpp +++ b/shared/help/indexwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "indexwindow.h" @@ -60,8 +60,8 @@ IndexWindow::IndexWindow(QHelpEngine *helpEngine, QWidget *parent) m_searchLineEdit = new QLineEdit(); l->setBuddy(m_searchLineEdit); - connect(m_searchLineEdit, SIGNAL(textChanged(const QString&)), - this, SLOT(filterIndices(const QString&))); + connect(m_searchLineEdit, SIGNAL(textChanged(QString)), + this, SLOT(filterIndices(QString))); m_searchLineEdit->installEventFilter(this); layout->setMargin(4); layout->addWidget(m_searchLineEdit); @@ -72,11 +72,10 @@ IndexWindow::IndexWindow(QHelpEngine *helpEngine, QWidget *parent) this, SLOT(disableSearchLineEdit())); connect(m_helpEngine->indexModel(), SIGNAL(indexCreated()), this, SLOT(enableSearchLineEdit())); - connect(m_indexWidget, SIGNAL(linkActivated(const QUrl&, const QString&)), - this, SIGNAL(linkActivated(const QUrl&))); - connect(m_indexWidget, SIGNAL(linksActivated(const QMap<QString, QUrl>&, - const QString&)), this, SIGNAL(linksActivated(const QMap<QString, QUrl>&, - const QString&))); + connect(m_indexWidget, SIGNAL(linkActivated(QUrl, QString)), + this, SIGNAL(linkActivated(QUrl))); + connect(m_indexWidget, SIGNAL(linksActivated(QMap<QString, QUrl>, QString)), + this, SIGNAL(linksActivated(QMap<QString, QUrl>, QString))); connect(m_searchLineEdit, SIGNAL(returnPressed()), m_indexWidget, SLOT(activateCurrentItem())); layout->addWidget(m_indexWidget); diff --git a/shared/help/indexwindow.h b/shared/help/indexwindow.h index 9554979e7792f77b8cd034ef6372623a63153899..a95a166bf651b822c052324864499fd81f34c9a5 100644 --- a/shared/help/indexwindow.h +++ b/shared/help/indexwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,13 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -#ifndef INDEXWINDOW -#define INDEXWINDOW +#ifndef INDEXWINDOW_H +#define INDEXWINDOW_H #include <QtCore/QUrl> #include <QtGui/QWidget> @@ -75,4 +75,4 @@ private: QT_END_NAMESPACE -#endif +#endif // INDEXWINDOW_H diff --git a/shared/help/topicchooser.cpp b/shared/help/topicchooser.cpp index eeb17dc1f58840ed93475221f9bf2407a473a280..e5fa5ba9e754665cfc43c55cf12a5046ae97f966 100644 --- a/shared/help/topicchooser.cpp +++ b/shared/help/topicchooser.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtCore/QMap> diff --git a/shared/help/topicchooser.h b/shared/help/topicchooser.h index 45b65d2399783c3368563b3d46c6ed0ebccbb960..2c21ac520679a688a8d93aca45ab2a0855188a57 100644 --- a/shared/help/topicchooser.h +++ b/shared/help/topicchooser.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,20 +26,21 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef TOPICCHOOSER_H #define TOPICCHOOSER_H +#include "ui_topicchooser.h" + #include <QUrl> #include <QMap> #include <QString> #include <QtGui/QDialog> -#include "ui_topicchooser.h" QT_BEGIN_NAMESPACE @@ -60,4 +61,4 @@ private: QT_END_NAMESPACE -#endif +#endif // TOPICCHOOSER_H diff --git a/shared/indenter/constants.cpp b/shared/indenter/constants.cpp index 8ff9612ca37a31135d1bfaee5f9702d93f0cb3ad..2339ceb693872ff4364c12d610b1e25bf93c33e5 100644 --- a/shared/indenter/constants.cpp +++ b/shared/indenter/constants.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "indenter.h" using namespace SharedTools::IndenterInternal; diff --git a/shared/indenter/indenter.h b/shared/indenter/indenter.h index 4e2226245c7e2e28eed6c1d9aa1532bc32e885e6..0f4be063407d505966817a51462b7d4ae27ac08e 100644 --- a/shared/indenter/indenter.h +++ b/shared/indenter/indenter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef INDENTER_H #define INDENTER_H @@ -141,4 +142,4 @@ private: #include "indenter_impl.h" -#endif +#endif // INDENTER_H diff --git a/shared/indenter/indenter_impl.h b/shared/indenter/indenter_impl.h index c60c380a55536e092b88a8dc95b0818eb85632d1..e71e55881e92fb8b4e8e2dc840616e776138c77d 100644 --- a/shared/indenter/indenter_impl.h +++ b/shared/indenter/indenter_impl.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,26 +26,14 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef INDENTER_C #define INDENTER_C -/**************************************************************************** -** -** Copyright (C) 1992-$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. -** -****************************************************************************/ - /* This file is a self-contained interactive indenter for C++ and Qt Script. @@ -1120,4 +1108,5 @@ int Indenter<Iterator>::indentForBottomLine(const Iterator ¤t, #undef YY_SAVE #undef YY_RESTORE -#endif + +#endif // INDENTER_C diff --git a/shared/indenter/test/main.cpp b/shared/indenter/test/main.cpp index 3e7f114741f4eae2152a2e43df1e5c6011123bbb..701f66987c010968d53bef1fa80d7410d2502be8 100644 --- a/shared/indenter/test/main.cpp +++ b/shared/indenter/test/main.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "indenter.h" #include <QtCore/QFile> @@ -40,12 +41,12 @@ #include <stdio.h> -typedef SharedTools::Indenter<QStringList::const_iterator> Indenter ; +typedef SharedTools::Indenter<QStringList::const_iterator> Indenter; -static QString fileContents( const QString& fileName ) +static QString fileContents(const QString &fileName) { - QFile f( fileName ); - if ( !f.open(QIODevice::ReadOnly) ) { + QFile f(fileName); + if (!f.open(QIODevice::ReadOnly)) { const QString msg = QString(QLatin1String("error: Cannot open file '%1' for reading: %2")). arg(fileName).arg(f.errorString()); qWarning(msg.toLatin1().constData()); @@ -119,11 +120,11 @@ static QStringList parseCommandLine(char **begin, char **end) int format(const QString &fileName) { - const QString code = fileContents(fileName ); - if ( code == QString::null) + const QString code = fileContents(fileName); + if (code == QString::null) return 1; - QStringList program = code.split( QLatin1Char('\n'), QString::KeepEmptyParts); + QStringList program = code.split(QLatin1Char('\n'), QString::KeepEmptyParts); while (!program.isEmpty()) { if (!program.back().trimmed().isEmpty()) break; @@ -138,19 +139,19 @@ int format(const QString &fileName) const QChar newLine = QLatin1Char('\n'); QStringList::const_iterator cend = program.constEnd(); - for (QStringList::const_iterator it = program.constBegin(); it != cend; ++it) { + for (QStringList::const_iterator it = program.constBegin(); it != cend; ++it) { p.push_back(*it); QString &line = p.back(); QChar typedIn = Indenter::instance().firstNonWhiteSpace(line); - if ( p.last().endsWith( colon ) ) + if (p.last().endsWith(colon)) typedIn = colon; - const int indent = Indenter::instance().indentForBottomLine( p.constBegin(), p.constEnd(), typedIn ); + const int indent = Indenter::instance().indentForBottomLine(p.constBegin(), p.constEnd(), typedIn); const QString trimmed = line.trimmed(); // Indent the line in the list so that the formatter code sees the indented line. - if ( !trimmed.isEmpty() ) { + if (!trimmed.isEmpty()) { line = QString(indent, blank); line += trimmed; } @@ -158,14 +159,14 @@ int format(const QString &fileName) out += newLine ; } - while ( out.endsWith(newLine) ) - out.truncate( out.length() - 1 ); + while (out.endsWith(newLine)) + out.truncate(out.length() - 1 ); fputs(out.toUtf8().constData(), stdout); return 0; } -int main( int argc, char **argv ) +int main(int argc, char **argv) { const QStringList fileNames = parseCommandLine(argv, argv + argc); if (fileNames.empty()) { @@ -174,7 +175,7 @@ int main( int argc, char **argv ) } foreach(QString fileName, fileNames) - if (const int rc = format(fileName)) + if (const int rc = format(fileName)) return rc; return 0; diff --git a/shared/namespace_global.h b/shared/namespace_global.h index ff097a91035ff266c06eb7bfcdfed63a9e910cd3..4452eb88c36a422c2b88be95f53976e0c85aa092 100644 --- a/shared/namespace_global.h +++ b/shared/namespace_global.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef NAMESPACE_GLOBAL_H @@ -49,4 +49,4 @@ # define QT_MANGLE_NAMESPACE(name) name #endif -#endif +#endif // NAMESPACE_GLOBAL_H diff --git a/shared/proparser/abstractproitemvisitor.h b/shared/proparser/abstractproitemvisitor.h index adc9a2fdfc4faa03f874308030ba61d9ba52166c..45dede34eb667a3daf29a38fdb7996aa8e302fc5 100644 --- a/shared/proparser/abstractproitemvisitor.h +++ b/shared/proparser/abstractproitemvisitor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef ABSTRACTPROITEMVISITOR #define ABSTRACTPROITEMVISITOR @@ -37,7 +38,8 @@ QT_BEGIN_NAMESPACE -struct AbstractProItemVisitor { +struct AbstractProItemVisitor +{ virtual ~AbstractProItemVisitor() {} virtual bool visitBeginProBlock(ProBlock *block) = 0; virtual bool visitEndProBlock(ProBlock *block) = 0; @@ -52,7 +54,6 @@ struct AbstractProItemVisitor { virtual bool visitProFunction(ProFunction *function) = 0; virtual bool visitProOperator(ProOperator *function) = 0; virtual bool visitProCondition(ProCondition *function) = 0; - }; QT_END_NAMESPACE diff --git a/shared/proparser/procommandmanager.cpp b/shared/proparser/procommandmanager.cpp index f5f40f7f5f3ff61835271690a2c9632ce4a97de8..a6b61f4a3fbe34666fd3fd179494ddbf2d3e12fe 100644 --- a/shared/proparser/procommandmanager.cpp +++ b/shared/proparser/procommandmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,16 +26,18 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "procommandmanager.h" using namespace Qt4ProjectManager::Internal; ProCommandGroup::ProCommandGroup(const QString &name) - : m_name(name) { } + : m_name(name) +{ } ProCommandGroup::~ProCommandGroup() { @@ -49,16 +51,14 @@ void ProCommandGroup::appendCommand(ProCommand *cmd) void ProCommandGroup::undo() { - for(int i=m_commands.count(); i>0; --i) { + for (int i = m_commands.count(); i > 0; --i) m_commands[i-1]->undo(); - } } void ProCommandGroup::redo() { - for(int i=0; i<m_commands.count(); ++i) { + for (int i = 0; i < m_commands.count(); ++i) m_commands[i]->redo(); - } } ProCommandManager::ProCommandManager(QObject *parent) @@ -80,9 +80,8 @@ void ProCommandManager::beginGroup(const QString &name) if (m_pos != m_groups.count()) { int removecount = m_groups.count() - m_pos; - for(int i=0; i<removecount; ++i) { + for (int i = 0; i < removecount; ++i) delete m_groups.takeLast(); - } m_pos = m_groups.count(); } @@ -91,7 +90,7 @@ void ProCommandManager::beginGroup(const QString &name) bool ProCommandManager::hasGroup() const { - return (m_group != 0); + return m_group != 0; } void ProCommandManager::endGroup() @@ -154,13 +153,12 @@ void ProCommandManager::notifySave() m_savepoint = m_groups.at(m_pos - 1); } - bool ProCommandManager::canUndo() const { - return (!m_groups.isEmpty() && m_pos > 0); + return !m_groups.isEmpty() && m_pos > 0; } bool ProCommandManager::canRedo() const { - return (m_groups.count() > m_pos); + return m_groups.count() > m_pos; } diff --git a/shared/proparser/procommandmanager.h b/shared/proparser/procommandmanager.h index 717bf1fcef6e3a21fbdf4d65f422a0f704e8509d..94c296932937c1eeb50268252cd4ef5d6977ec9e 100644 --- a/shared/proparser/procommandmanager.h +++ b/shared/proparser/procommandmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PROCOMMANDMANAGER_H #define PROCOMMANDMANAGER_H @@ -37,19 +38,23 @@ #include <QtCore/QModelIndex> -QT_FORWARD_DECLARE_CLASS(ProItem) +QT_BEGIN_NAMESPACE +class ProItem; +QT_END_NAMESPACE namespace Qt4ProjectManager { namespace Internal { -class ProCommand { +class ProCommand +{ public: virtual ~ProCommand() {} virtual bool redo() = 0; virtual void undo() = 0; }; -class ProCommandGroup { +class ProCommandGroup +{ public: ProCommandGroup(const QString &name); ~ProCommandGroup(); @@ -104,4 +109,4 @@ private: } //namespace Internal } //namespace Qt4ProjectManager -#endif //PROCOMMANDMANAGER_H +#endif // PROCOMMANDMANAGER_H diff --git a/shared/proparser/proeditor.cpp b/shared/proparser/proeditor.cpp index e22ba28e3f2064ad7bbecfd10d0932748aafc010..02287b06ab102caaf044e14adac3ce28c8ddc0bb 100644 --- a/shared/proparser/proeditor.cpp +++ b/shared/proparser/proeditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,13 +26,10 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -#include <QtGui/QMenu> -#include <QtGui/QKeyEvent> -#include <QtGui/QClipboard> #include "proeditor.h" #include "proitems.h" @@ -40,6 +37,10 @@ #include "procommandmanager.h" #include "proxml.h" +#include <QtGui/QMenu> +#include <QtGui/QKeyEvent> +#include <QtGui/QClipboard> + using namespace Qt4ProjectManager::Internal; ProEditor::ProEditor(QWidget *parent, bool shortcuts) @@ -58,7 +59,6 @@ ProEditor::ProEditor(QWidget *parent, bool shortcuts) ProEditor::~ProEditor() { - } void ProEditor::initialize(ProEditorModel *model, ProItemInfoManager *infomanager) @@ -384,4 +384,3 @@ void ProEditor::addBlock() m_editListView->setCurrentIndex(m_model->index(row,0,parent)); } } - diff --git a/shared/proparser/proeditor.h b/shared/proparser/proeditor.h index 450fe542bfe922b14cd723bb8a08a7da08504032..6dbab2048daf632be52aa306915ceeb705d1afd1 100644 --- a/shared/proparser/proeditor.h +++ b/shared/proparser/proeditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PROEDITOR_H #define PROEDITOR_H @@ -56,8 +57,7 @@ namespace Internal { class ProEditorModel; class ProScopeFilter; -class ProEditor : public QWidget, - protected Ui::ProEditor +class ProEditor : public QWidget, protected Ui::ProEditor { Q_OBJECT @@ -125,4 +125,4 @@ private: } //namespace Internal } //namespace Qt4ProjectManager -#endif //PROEDITOR_H +#endif // PROEDITOR_H diff --git a/shared/proparser/proeditormodel.cpp b/shared/proparser/proeditormodel.cpp index 1e2097739e918aac9136a765322ca3ec425ce5d8..d0f28f68688c89c43cc30972ca075f2bf58399ac 100644 --- a/shared/proparser/proeditormodel.cpp +++ b/shared/proparser/proeditormodel.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,14 +26,10 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -#include <QtCore/QStringList> -#include <QtCore/QMimeData> -#include <QtCore/QDebug> -#include <QtGui/QIcon> #include "proxml.h" #include "proitems.h" @@ -41,12 +37,18 @@ #include "procommandmanager.h" #include "proiteminfo.h" +#include <QtCore/QDebug> +#include <QtCore/QMimeData> +#include <QtCore/QStringList> +#include <QtGui/QIcon> + using namespace Qt4ProjectManager::Internal; namespace Qt4ProjectManager { namespace Internal { -class ProAddCommand : public ProCommand { +class ProAddCommand : public ProCommand +{ public: ProAddCommand(ProEditorModel *model, ProItem *item, int row, const QModelIndex &parent, bool dodelete = true) : m_model(model), m_item(item), m_row(row), m_parent(parent), m_dodelete(dodelete), m_delete(false) { } @@ -75,7 +77,8 @@ private: bool m_delete; }; -class ProRemoveCommand : public ProCommand { +class ProRemoveCommand : public ProCommand +{ public: ProRemoveCommand(ProEditorModel *model, const QModelIndex &index, bool dodelete = true) : m_model(model), m_index(index), m_dodelete(dodelete), m_delete(dodelete) { } @@ -103,7 +106,8 @@ private: bool m_delete; }; -class ChangeProVariableIdCommand : public ProCommand { +class ChangeProVariableIdCommand : public ProCommand +{ public: ChangeProVariableIdCommand(ProEditorModel *model, ProVariable *variable, const QString &newId) : m_newId(newId), m_model(model), m_variable(variable) @@ -130,7 +134,8 @@ private: ProVariable *m_variable; }; -class ChangeProVariableOpCommand : public ProCommand { +class ChangeProVariableOpCommand : public ProCommand +{ public: ChangeProVariableOpCommand(ProEditorModel *model, ProVariable *variable, ProVariable::VariableOperator newOp) : m_newOp(newOp), m_model(model), m_variable(variable) @@ -157,7 +162,8 @@ private: ProVariable *m_variable; }; -class ChangeProScopeCommand : public ProCommand { +class ChangeProScopeCommand : public ProCommand +{ public: ChangeProScopeCommand(ProEditorModel *model, ProBlock *scope, const QString &newExp) : m_newExp(newExp), m_model(model), m_scope(scope) { @@ -196,7 +202,8 @@ private: ProBlock *m_scope; }; -class ChangeProAdvancedCommand : public ProCommand { +class ChangeProAdvancedCommand : public ProCommand +{ public: ChangeProAdvancedCommand(ProEditorModel *model, ProBlock *block, const QString &newExp) : m_newExp(newExp), m_model(model), m_block(block) { @@ -239,7 +246,6 @@ ProEditorModel::ProEditorModel(QObject *parent) ProEditorModel::~ProEditorModel() { - } void ProEditorModel::setInfoManager(ProItemInfoManager *infomanager) @@ -299,9 +305,8 @@ QList<QModelIndex> ProEditorModel::findBlocks(const QModelIndex &parent) const return result; } - for (int i=0; i<rowCount(parent); ++i) { + for (int i = 0; i < rowCount(parent); ++i) result += findBlocks(index(i, 0, parent)); - } return result; } @@ -936,7 +941,8 @@ bool ProScopeFilter::setData(const QModelIndex &index, const QVariant &value, in { // map to source if (m_checkable != ProScopeFilter::None && role == Qt::CheckStateRole) { - if ( m_checkable == ProScopeFilter::Blocks || ( m_checkable == ProScopeFilter::Variable && sourceVariable(index))) { + if (m_checkable == ProScopeFilter::Blocks + || (m_checkable == ProScopeFilter::Variable && sourceVariable(index))) { QModelIndex srcindex = mapToSource(index); if (value.toInt() == Qt::Checked && !m_checkStates.value(srcindex, false)) { m_checkStates.insert(srcindex, true); diff --git a/shared/proparser/proeditormodel.h b/shared/proparser/proeditormodel.h index 7e5088bba8a75e914f664e83dc224442a4ec9f2e..74b8bdaae841e10abe7f0aa85186ccc80b4b7d43 100644 --- a/shared/proparser/proeditormodel.h +++ b/shared/proparser/proeditormodel.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PROEDITORMODEL_H #define PROEDITORMODEL_H @@ -41,10 +42,12 @@ #include <QtCore/QStringList> #include <QtGui/QSortFilterProxyModel> -QT_FORWARD_DECLARE_CLASS(ProBlock) -QT_FORWARD_DECLARE_CLASS(ProFile) -QT_FORWARD_DECLARE_CLASS(ProItem) -QT_FORWARD_DECLARE_CLASS(ProVariable) +QT_BEGIN_NAMESPACE +class ProBlock; +class ProFile; +class ProItem; +class ProVariable; +QT_END_NAMESPACE namespace Qt4ProjectManager { namespace Internal { @@ -146,8 +149,8 @@ private: QMap<QModelIndex, bool> m_checkStates; }; -} //namespace Internal -} //namespace Qt4ProjectManager +} // namespace Internal +} // namespace Qt4ProjectManager -#endif //PROEDITORMODEL_H +#endif // PROEDITORMODEL_H diff --git a/shared/proparser/profileevaluator.cpp b/shared/proparser/profileevaluator.cpp index 1ed55398a59236e6d666f209b193eb0ad5ebe476..85966c1f918c428ad48b7f468e5f97ff97723cd0 100644 --- a/shared/proparser/profileevaluator.cpp +++ b/shared/proparser/profileevaluator.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "profileevaluator.h" #include "proparserutils.h" #include "proitems.h" diff --git a/shared/proparser/profileevaluator.h b/shared/proparser/profileevaluator.h index 741f3db1781d5045d0c53fd7e4f5dda83aa7fa3b..26d801687ca9a104e58e5af9164b23e4f6e0c51a 100644 --- a/shared/proparser/profileevaluator.h +++ b/shared/proparser/profileevaluator.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PROFILEEVALUATOR_H #define PROFILEEVALUATOR_H @@ -91,4 +92,3 @@ private: QT_END_NAMESPACE #endif // PROFILEEVALUATOR_H - diff --git a/shared/proparser/proiteminfo.cpp b/shared/proparser/proiteminfo.cpp index 40411c193b8f41b58a2e7d47a86b53da1b5a50ef..63ac6bd1d878f27160890fae47680bede564a410 100644 --- a/shared/proparser/proiteminfo.cpp +++ b/shared/proparser/proiteminfo.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,19 +26,20 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "proiteminfo.h" #include <QtCore/QFile> - using namespace Qt4ProjectManager::Internal; ProItemInfo::ProItemInfo(ProItemInfoKind kind) - : m_kind(kind) { } + : m_kind(kind) +{ } ProItemInfo::ProItemInfoKind ProItemInfo::kind() const { @@ -76,10 +77,12 @@ QString ProItemInfo::description() const } ProScopeInfo::ProScopeInfo() - : ProItemInfo(ProItemInfo::Scope) { } + : ProItemInfo(ProItemInfo::Scope) +{ } ProValueInfo::ProValueInfo() - : ProItemInfo(ProItemInfo::Value) { } + : ProItemInfo(ProItemInfo::Value) +{ } ProVariableInfo::ProVariableInfo() : ProItemInfo(ProItemInfo::Variable) @@ -107,7 +110,6 @@ void ProVariableInfo::setDefaultOperator(ProVariable::VariableOperator op) m_operator = op; } - ProValueInfo *ProVariableInfo::value(const QString &id) const { return m_values.value(id, 0); diff --git a/shared/proparser/proiteminfo.h b/shared/proparser/proiteminfo.h index 18045dd388386352553fce2613f72cfaaaf7625b..70c1411781f24d199ae87145b4ea577df34407ff 100644 --- a/shared/proparser/proiteminfo.h +++ b/shared/proparser/proiteminfo.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PROITEMINFO_H #define PROITEMINFO_H @@ -44,7 +45,8 @@ namespace Qt4ProjectManager { namespace Internal { -class ProItemInfo { +class ProItemInfo +{ public: enum ProItemInfoKind { Scope, @@ -70,17 +72,20 @@ private: ProItemInfoKind m_kind; }; -class ProScopeInfo : public ProItemInfo { +class ProScopeInfo : public ProItemInfo +{ public: ProScopeInfo(); }; -class ProValueInfo : public ProItemInfo { +class ProValueInfo : public ProItemInfo +{ public: ProValueInfo(); }; -class ProVariableInfo : public ProItemInfo { +class ProVariableInfo : public ProItemInfo +{ public: ProVariableInfo(); ~ProVariableInfo(); @@ -126,7 +131,7 @@ private: QMap<QString, ProVariableInfo *> m_variables; }; -} //namespace Internal -} //namespace Qt4ProjectManager +} // namespace Internal +} // namespace Qt4ProjectManager -#endif //PROITEMINFO_H +#endif // PROITEMINFO_H diff --git a/shared/proparser/proitems.cpp b/shared/proparser/proitems.cpp index 22aabba8f6ab50a7c981ecee58215842bc75c0a1..9bf45857d6db8caa06a0f2161ed8ad8eeb8fbd0b 100644 --- a/shared/proparser/proitems.cpp +++ b/shared/proparser/proitems.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,17 +26,19 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -#include <QtCore/QFileInfo> -#include <QtCore/QDebug> #include "proitems.h" #include "abstractproitemvisitor.h" +#include <QtCore/QFileInfo> +#include <QtCore/QDebug> + QT_BEGIN_NAMESPACE + // --------------- ProItem ------------ void ProItem::setComment(const QString &comment) { @@ -278,7 +280,6 @@ ProFile::ProFile(const QString &fileName) ProFile::~ProFile() { - } QString ProFile::displayFileName() const diff --git a/shared/proparser/proitems.h b/shared/proparser/proitems.h index 776a8335348a391e98bc74eadc5e3178beffdb16..078eb1f55abdbf4643abe60cb92f503ff52246ab 100644 --- a/shared/proparser/proitems.h +++ b/shared/proparser/proitems.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PROITEMS_H #define PROITEMS_H diff --git a/shared/proparser/proparserutils.h b/shared/proparser/proparserutils.h index 03a767cac1949756e658894de7e6e00d24b96785..8c5cb3aaabca67d9beec918ef38100c5f542c9dd 100644 --- a/shared/proparser/proparserutils.h +++ b/shared/proparser/proparserutils.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PROPARSERUTILS_H #define PROPARSERUTILS_H @@ -272,4 +273,3 @@ static QStringList qmake_mkspec_paths() QT_END_NAMESPACE #endif // PROPARSERUTILS_H - diff --git a/shared/proparser/prowriter.cpp b/shared/proparser/prowriter.cpp index aa00600e1ebbcaa83cf9672e8fc0b3615df75d41..0f215fd79c4ca2df140cfe45877ddacdb9637ed0 100644 --- a/shared/proparser/prowriter.cpp +++ b/shared/proparser/prowriter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,15 +26,16 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -#include <QtCore/QFile> #include "proitems.h" #include "prowriter.h" +#include <QtCore/QFile> + using namespace Qt4ProjectManager::Internal; bool ProWriter::write(ProFile *profile, const QString &fileName) diff --git a/shared/proparser/prowriter.h b/shared/proparser/prowriter.h index f6f7d05ebc236ba2ce5e313c8b25d5cded12f33a..8cfa319511141621a5e9cfe4cee06b3645b118cc 100644 --- a/shared/proparser/prowriter.h +++ b/shared/proparser/prowriter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PROWRITER_H #define PROWRITER_H @@ -37,15 +38,18 @@ #include <QtCore/QTextStream> -QT_FORWARD_DECLARE_CLASS(ProFile) -QT_FORWARD_DECLARE_CLASS(ProValue) -QT_FORWARD_DECLARE_CLASS(ProItem) -QT_FORWARD_DECLARE_CLASS(ProBlock) +QT_BEGIN_NAMESPACE +class ProFile; +class ProValue; +class ProItem; +class ProBlock; +QT_END_NAMESPACE namespace Qt4ProjectManager { namespace Internal { -class ProWriter { +class ProWriter +{ public: bool write(ProFile *profile, const QString &fileName); QString contents(ProFile *profile); @@ -69,7 +73,7 @@ private: QString m_comment; }; -} //namespace Internal -} //namespace Qt4ProjectManager +} // namespace Internal +} // namespace Qt4ProjectManager -#endif //PROWRITER_H +#endif // PROWRITER_H diff --git a/shared/proparser/proxml.cpp b/shared/proparser/proxml.cpp index 57764241c3a286c126ae3e072510f1b709df75de..4b63fc255d3a659b44fbfb7ab7be4a60a28a1fe1 100644 --- a/shared/proparser/proxml.cpp +++ b/shared/proparser/proxml.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "proxml.h" #include "proitems.h" diff --git a/shared/proparser/proxml.h b/shared/proparser/proxml.h index a6e2b3ca5052dcba76bef8d7a24928966a9ac643..276fd684aaf5d9d7a18e9de0235a414ad1624097 100644 --- a/shared/proparser/proxml.h +++ b/shared/proparser/proxml.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,17 +26,21 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PROXML_H #define PROXML_H #include "namespace_global.h" #include <QtXml> -QT_FORWARD_DECLARE_CLASS(ProItem) + +QT_BEGIN_NAMESPACE +class ProItem; +QT_END_NAMESPACE namespace Qt4ProjectManager { namespace Internal { @@ -50,7 +54,7 @@ private: ProItem *parseItemNode(QDomDocument doc, QDomNode node) const; }; -} //namespace Internal -} //namespace Qt4ProjectManager +} // namespace Internal +} // namespace Qt4ProjectManager -#endif //PROXML_H +#endif // PROXML_H diff --git a/shared/proparser/valueeditor.cpp b/shared/proparser/valueeditor.cpp index 9d367dad1ea6be8b737195471c8fff69c4ba8e3b..2208b0492e9ebbc6c4e5390dd1f31e7af9f8c421 100644 --- a/shared/proparser/valueeditor.cpp +++ b/shared/proparser/valueeditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "valueeditor.h" #include "proitems.h" #include "proeditormodel.h" @@ -40,8 +41,8 @@ using namespace Qt4ProjectManager::Internal; -ValueEditor::ValueEditor(QWidget *parent) : - QWidget(parent), +ValueEditor::ValueEditor(QWidget *parent) + : QWidget(parent), m_model(0), m_handleModelChanges(true), m_infomanager(0) @@ -434,7 +435,8 @@ void ValueEditor::updateItemChanges(QListWidgetItem *item) m_handleModelChanges = true; } -void ValueEditor::updateVariableId() { +void ValueEditor::updateVariableId() +{ if (!m_model) return; m_handleModelChanges = false; @@ -442,7 +444,8 @@ void ValueEditor::updateVariableId() { m_handleModelChanges = true; } -void ValueEditor::updateVariableId(int index) { +void ValueEditor::updateVariableId(int index) +{ if (!m_model) return; ProVariableInfo *info = m_infomanager->variable(m_varComboBox->itemData(index).toString()); @@ -451,7 +454,8 @@ void ValueEditor::updateVariableId(int index) { m_model->setData(m_currentIndex, info->defaultOperator()); } -void ValueEditor::updateVariableOp(int index) { +void ValueEditor::updateVariableOp(int index) +{ if (!m_model) return; m_handleModelChanges = false; @@ -459,7 +463,8 @@ void ValueEditor::updateVariableOp(int index) { m_handleModelChanges = true; } -void ValueEditor::updateItemId() { +void ValueEditor::updateItemId() +{ if (!m_model) return; QModelIndex index = m_currentIndex; @@ -476,7 +481,8 @@ void ValueEditor::updateItemId() { m_handleModelChanges = true; } -void ValueEditor::updateItemId(int index) { +void ValueEditor::updateItemId(int index) +{ if (!m_model) return; QModelIndex idx = m_currentIndex; diff --git a/shared/proparser/valueeditor.h b/shared/proparser/valueeditor.h index 50ba2f8a925f9ca3b630dc34be817b6b5c81c6e9..d4ca360cdd64ae9400dce93284770a04680b508e 100644 --- a/shared/proparser/valueeditor.h +++ b/shared/proparser/valueeditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,19 +26,20 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef VALUEEDITOR_H #define VALUEEDITOR_H #include "namespace_global.h" +#include "ui_valueeditor.h" #include <QtCore/QList> #include <QtGui/QWidget> #include <QtCore/QPointer> -#include "ui_valueeditor.h" QT_BEGIN_NAMESPACE class ProBlock; @@ -51,8 +52,7 @@ namespace Internal { class ProEditorModel; class ProItemInfoManager; -class ValueEditor : public QWidget, - protected Ui::ValueEditor +class ValueEditor : public QWidget, protected Ui::ValueEditor { Q_OBJECT @@ -113,7 +113,7 @@ private: ProItemInfoManager *m_infomanager; }; -} //namespace Internal -} //namespace Qt4ProjectManager +} // namespace Internal +} // namespace Qt4ProjectManager -#endif //VALUEEDITOR_H +#endif // VALUEEDITOR_H diff --git a/shared/qrceditor/qrceditor.cpp b/shared/qrceditor/qrceditor.cpp index ac7305c4d83e7f49e4c2c2eef4c3728491a8188f..576615a2e3b644cfbbe15be4a62c86d205a5aedb 100644 --- a/shared/qrceditor/qrceditor.cpp +++ b/shared/qrceditor/qrceditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "qrceditor.h" #include "undocommands_p.h" @@ -40,8 +41,8 @@ namespace SharedTools { -QrcEditor::QrcEditor(QWidget *parent) : - QWidget(parent), +QrcEditor::QrcEditor(QWidget *parent) + : QWidget(parent), m_treeview(new ResourceView(&m_history)), m_addFileAction(0) { @@ -62,18 +63,18 @@ QrcEditor::QrcEditor(QWidget *parent) : m_ui.addButton->setMenu(addMenu); connect(m_treeview, SIGNAL(addPrefixTriggered()), this, SLOT(onAddPrefix())); - connect(m_treeview, SIGNAL(addFilesTriggered(const QString &)), this, SLOT(onAddFiles())); + connect(m_treeview, SIGNAL(addFilesTriggered(QString)), this, SLOT(onAddFiles())); connect(m_treeview, SIGNAL(removeItem()), this, SLOT(onRemove())); connect(m_treeview, SIGNAL(currentIndexChanged()), this, SLOT(updateCurrent())); connect(m_treeview, SIGNAL(dirtyChanged(bool)), this, SIGNAL(dirtyChanged(bool))); m_treeview->setFocus(); - connect(m_ui.aliasText, SIGNAL(textEdited(const QString &)), - this, SLOT(onAliasChanged(const QString &))); - connect(m_ui.prefixText, SIGNAL(textEdited(const QString &)), - this, SLOT(onPrefixChanged(const QString &))); - connect(m_ui.languageText, SIGNAL(textEdited(const QString &)), - this, SLOT(onLanguageChanged(const QString &))); + connect(m_ui.aliasText, SIGNAL(textEdited(QString)), + this, SLOT(onAliasChanged(QString))); + connect(m_ui.prefixText, SIGNAL(textEdited(QString)), + this, SLOT(onPrefixChanged(QString))); + connect(m_ui.languageText, SIGNAL(textEdited(QString)), + this, SLOT(onLanguageChanged(QString))); // Prevent undo command merging after a switch of focus: // (0) The initial text is "Green". diff --git a/shared/qrceditor/qrceditor.h b/shared/qrceditor/qrceditor.h index 54c9b790f49c89a36fe00638e1b9e21d06ce1023..db9aab9bfef4aabe2a663ed1355a5d3fd9875ed6 100644 --- a/shared/qrceditor/qrceditor.h +++ b/shared/qrceditor/qrceditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QRCEDITOR_H #define QRCEDITOR_H diff --git a/shared/qrceditor/resourcefile.cpp b/shared/qrceditor/resourcefile.cpp index defd22749ffa4ec49095583967ca524227ef7a83..daf1946e53eb67ebc6b77bc6e1d70c34560ea227 100644 --- a/shared/qrceditor/resourcefile.cpp +++ b/shared/qrceditor/resourcefile.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,13 +26,10 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -/* -TRANSLATOR qdesigner_internal::ResourceModel -*/ #include "resourcefile_p.h" @@ -50,6 +47,10 @@ TRANSLATOR qdesigner_internal::ResourceModel QT_BEGIN_NAMESPACE +/* +TRANSLATOR qdesigner_internal::ResourceModel +*/ + namespace qdesigner_internal { /****************************************************************************** @@ -956,7 +957,7 @@ QString ResourceModel::resourcePath(const QString &prefix, const QString &file) return QDir::cleanPath(rc); } -QMimeData *ResourceModel::mimeData(const QModelIndexList & indexes) const +QMimeData *ResourceModel::mimeData(const QModelIndexList &indexes) const { if (indexes.size() != 1) return 0; @@ -977,6 +978,7 @@ QMimeData *ResourceModel::mimeData(const QModelIndexList & indexes) const rc->setText(doc.toString()); return rc; } + } // namespace qdesigner_internal QT_END_NAMESPACE diff --git a/shared/qrceditor/resourcefile_p.h b/shared/qrceditor/resourcefile_p.h index c3de0f65cfdbb2da05639167304204bb203431e2..3276c2dec1e47881396c733a24e1d5929e473ab4 100644 --- a/shared/qrceditor/resourcefile_p.h +++ b/shared/qrceditor/resourcefile_p.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,12 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -#ifndef RESOURCEFILE_H -#define RESOURCEFILE_H + +#ifndef RESOURCEFILE_P_H +#define RESOURCEFILE_P_H #include "namespace_global.h" @@ -62,8 +63,6 @@ struct Prefix; */ class Node { - File *m_file; - Prefix *m_prefix; protected: Node(File *file, Prefix *prefix) : m_file(file), m_prefix(prefix) { @@ -72,6 +71,9 @@ protected: public: File * file() { return m_file; } Prefix * prefix() { Q_ASSERT(m_prefix != NULL); return m_prefix; } +private: + File *m_file; + Prefix *m_prefix; }; /*! @@ -95,7 +97,8 @@ typedef QList<File *> FileList; Represents a prefix node in a \l ResourceFile tree. */ -struct Prefix : public Node { +struct Prefix : public Node +{ Prefix(const QString &_name = QString(), const QString &_lang = QString(), const FileList &_file_list = FileList()) : Node(NULL, this), name(_name), lang(_lang), file_list(_file_list) {} ~Prefix() @@ -263,4 +266,4 @@ private: QT_END_NAMESPACE -#endif // RESOURCEFILE_H +#endif // RESOURCEFILE_P_H diff --git a/shared/qrceditor/resourceview.cpp b/shared/qrceditor/resourceview.cpp index 891b19aeaead5d9d45c751138e7111d11c9b9138..27a0a5a4254016277ba8a9f88316c7eadd9a07d1 100644 --- a/shared/qrceditor/resourceview.cpp +++ b/shared/qrceditor/resourceview.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "resourceview.h" #include "undocommands_p.h" @@ -658,4 +659,4 @@ bool ResourceView::resourceDragEnabled() const return m_qrcModel->resourceDragEnabled(); } -} +} // namespace SharedTools diff --git a/shared/qrceditor/resourceview.h b/shared/qrceditor/resourceview.h index 87cd22de368c24596b614eb8aea98ea2a2e9ffe5..ebf0b7b94c835102741d5e98aa7be98d306b1635 100644 --- a/shared/qrceditor/resourceview.h +++ b/shared/qrceditor/resourceview.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef RESOURCEVIEW_H #define RESOURCEVIEW_H @@ -42,10 +43,12 @@ using namespace qdesigner_internal; -QT_FORWARD_DECLARE_CLASS(QAction) -QT_FORWARD_DECLARE_CLASS(QMenu) -QT_FORWARD_DECLARE_CLASS(QMouseEvent) -QT_FORWARD_DECLARE_CLASS(QUndoStack) +QT_BEGIN_NAMESPACE +class QAction; +class QMenu; +class QMouseEvent; +class QUndoStack; +QT_END_NAMESPACE namespace SharedTools { @@ -178,6 +181,6 @@ private: int m_mergeId; }; -} +} // namespace SharedTools -#endif //RESOURCEVIEW_H +#endif // RESOURCEVIEW_H diff --git a/shared/qrceditor/test/main.cpp b/shared/qrceditor/test/main.cpp index d8891accd80202f86e844312582ce573a34020cf..71d316aebbfecfa2f6ff23130963e00586d1f974 100644 --- a/shared/qrceditor/test/main.cpp +++ b/shared/qrceditor/test/main.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,16 +26,17 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "qrceditor.h" #include "mainwindow.h" int main(int argc, char *argv[]) { - QApplication app(argc,argv); + QApplication app(argc, argv); MainWindow mw; mw.show(); return app.exec(); diff --git a/shared/qrceditor/test/mainwindow.cpp b/shared/qrceditor/test/mainwindow.cpp index 2879602d178bd4d538cf672a2396d866753da69f..e73635fcebc37ba63d1160044a097a0d705aaddb 100644 --- a/shared/qrceditor/test/mainwindow.cpp +++ b/shared/qrceditor/test/mainwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,20 +26,20 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "mainwindow.h" #include "qrceditor.h" -#include <QMenuBar> #include <QAction> -#include <QVBoxLayout> +#include <QDebug> #include <QFileDialog> +#include <QMenuBar> #include <QStatusBar> - -#include <qdebug.h> +#include <QVBoxLayout> MainWindow::MainWindow() : m_qrcEditor(new SharedTools::QrcEditor()) @@ -67,9 +67,9 @@ MainWindow::MainWindow() : void MainWindow::slotOpen() { - const QString fileName = QFileDialog::getOpenFileName (this, tr("Choose resource file"), - QString(), - tr("Resource files (*.qrc)")); + const QString fileName = QFileDialog::getOpenFileName(this, tr("Choose resource file"), + QString(), + tr("Resource files (*.qrc)")); if (fileName.isEmpty()) return; @@ -81,13 +81,13 @@ void MainWindow::slotOpen() void MainWindow::slotSave() { - const QString oldFileName = m_qrcEditor->fileName(); + const QString oldFileName = m_qrcEditor->fileName(); QString fileName = oldFileName; if (fileName.isEmpty()) { - fileName = QFileDialog::getSaveFileName (this, tr("Save resource file"), - QString(), - tr("Resource files (*.qrc)")); + fileName = QFileDialog::getSaveFileName(this, tr("Save resource file"), + QString(), + tr("Resource files (*.qrc)")); if (fileName.isEmpty()) return; } diff --git a/shared/qrceditor/test/mainwindow.h b/shared/qrceditor/test/mainwindow.h index f6570a4a12a96a9177d87fa370a93c849671db91..80b31a789613d5eb79354ebeacc3c4f3ee217685 100644 --- a/shared/qrceditor/test/mainwindow.h +++ b/shared/qrceditor/test/mainwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,12 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -#ifndef _MAINWINDOW_ -#define _MAINWINDOW_ + +#ifndef MAINWINDOW_H +#define MAINWINDOW_H #include <QMainWindow> @@ -39,7 +40,8 @@ namespace SharedTools { class QrcEditor; } -class MainWindow : public QMainWindow { +class MainWindow : public QMainWindow +{ Q_OBJECT public: @@ -51,6 +53,6 @@ private slots: private: SharedTools::QrcEditor *m_qrcEditor; -}; // MainWindow +}; -#endif +#endif // MAINWINDOW_H diff --git a/shared/qrceditor/undocommands.cpp b/shared/qrceditor/undocommands.cpp index 90007d8c1b6dbc9370237c2f8a0c06513100dd3e..6b549326d584044219afeb8a7edbb1c6a2932050 100644 --- a/shared/qrceditor/undocommands.cpp +++ b/shared/qrceditor/undocommands.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,22 +26,10 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/**************************************************************************** -** -** Copyright (C) 2008-$THISYEAR$ $TROLLTECH$. All rights reserved. +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** -** This file is part of the $MODULE$ of the Qt Toolkit. -** -** $TROLLTECH_DUAL_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 "undocommands_p.h" @@ -104,7 +92,7 @@ bool ModifyPropertyCommand::mergeWith(const QUndoCommand * command) { const ModifyPropertyCommand * const brother = dynamic_cast<const ModifyPropertyCommand *>(command); - if ((command == NULL) || (m_property != brother->m_property)) + if (command == NULL || m_property != brother->m_property) return false; // Choose older command (this) and forgot the other @@ -125,9 +113,8 @@ void ModifyPropertyCommand::undo() void ModifyPropertyCommand::redo() { // Prevent execution from within QUndoStack::push - if (m_after.isNull()) { + if (m_after.isNull()) return; - } // Bring back text before undo Q_ASSERT(m_view != NULL); diff --git a/shared/qrceditor/undocommands_p.h b/shared/qrceditor/undocommands_p.h index 8247f9354766410a6f66459aa51767caf28eec70..b9f6dc7aca3f8dd133de9a27b2a291b5d8b17d27 100644 --- a/shared/qrceditor/undocommands_p.h +++ b/shared/qrceditor/undocommands_p.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef UNDO_COMMANDS_H #define UNDO_COMMANDS_H @@ -38,7 +39,9 @@ #include <QtCore/QString> #include <QtGui/QUndoCommand> -QT_FORWARD_DECLARE_CLASS(QModelIndex); +QT_BEGIN_NAMESPACE +class QModelIndex; +QT_END_NAMESPACE namespace SharedTools { diff --git a/shared/qscripthighlighter/qscripthighlighter.cpp b/shared/qscripthighlighter/qscripthighlighter.cpp index 6d9449e36c1966701f3c1ace480ccdc61f29d30b..f9940a6bbe475dfe2c11caf86ed87e2756fbb53e 100644 --- a/shared/qscripthighlighter/qscripthighlighter.cpp +++ b/shared/qscripthighlighter/qscripthighlighter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "qscripthighlighter.h" #include <QtCore/QSet> @@ -105,7 +106,7 @@ static const QSet<QString> &qscriptKeywords() { } - namespace SharedTools { +namespace SharedTools { QScriptHighlighter::QScriptHighlighter(QTextDocument *parent) : QSyntaxHighlighter(parent) @@ -438,9 +439,8 @@ void QScriptHighlighter::highlightKeyword(int currentPos, const QString &buffer) if (buffer.at(0) == QLatin1Char('Q')) { setFormat(currentPos - buffer.length(), buffer.length(), m_formats[TypeFormat]); } else { - if (qscriptKeywords().contains(buffer)) { + if (qscriptKeywords().contains(buffer)) setFormat(currentPos - buffer.length(), buffer.length(), m_formats[KeywordFormat]); - } } } @@ -466,7 +466,8 @@ void QScriptHighlighter::setFormats(const QVector<QTextCharFormat> &s) qCopy(s.constBegin(), s.constEnd(), m_formats); } -int QScriptHighlighter::onBlockStart() { +int QScriptHighlighter::onBlockStart() +{ int state = 0; int previousState = previousBlockState(); if (previousState != -1) @@ -476,5 +477,6 @@ int QScriptHighlighter::onBlockStart() { void QScriptHighlighter::onOpeningParenthesis(QChar, int) {} void QScriptHighlighter::onClosingParenthesis(QChar, int) {} void QScriptHighlighter::onBlockEnd(int state, int) { return setCurrentBlockState(state); } -} + +} // namespace SharedTools diff --git a/shared/qscripthighlighter/qscripthighlighter.h b/shared/qscripthighlighter/qscripthighlighter.h index 186cb59f5f9906dde7409e6747a4e4e4ee92526f..353b7506c8a76615c7774ca82692dca02d060d9a 100644 --- a/shared/qscripthighlighter/qscripthighlighter.h +++ b/shared/qscripthighlighter/qscripthighlighter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef QSCRIPTSYNTAXHIGHLIGHTER_H #define QSCRIPTSYNTAXHIGHLIGHTER_H @@ -59,7 +60,8 @@ private: virtual int onBlockStart(); // returns the blocks initial state virtual void onOpeningParenthesis(QChar parenthesis, int pos); virtual void onClosingParenthesis(QChar parenthesis, int pos); - virtual void onBlockEnd(int state, int firstNonSpace); // sets the enriched user state, or simply calls setCurrentBlockState(state); + // sets the enriched user state, or simply calls setCurrentBlockState(state); + virtual void onBlockEnd(int state, int firstNonSpace); void highlightKeyword(int currentPos, const QString &buffer); diff --git a/shared/qscripthighlighter/test/main.cpp b/shared/qscripthighlighter/test/main.cpp index 80095802daf19ab217e938cd07225c6b5718a837..6bac14320849ceb3e5ea2196aebc0bc0c23c3c72 100644 --- a/shared/qscripthighlighter/test/main.cpp +++ b/shared/qscripthighlighter/test/main.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,11 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "qscripthighlighter.h" + #include <QTextEdit> #include <QMainWindow> #include <QApplication> diff --git a/shared/qtextended_integration.h b/shared/qtextended_integration.h index d76ea28babdc53a1135f2626bc7f45483f86bea3..1a465ae4cb8760b44344db2982ec0ac10aa65b0c 100644 --- a/shared/qtextended_integration.h +++ b/shared/qtextended_integration.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef QTEXTENDED_INTEGRATION #define QTEXTENDED_INTEGRATION diff --git a/shared/qtlockedfile/qtlockedfile.cpp b/shared/qtlockedfile/qtlockedfile.cpp index e4fe1c388d815b89733cb87cf78be47c9d6a4a55..71da391d7e32edbc565947714857b83971f04fcb 100644 --- a/shared/qtlockedfile/qtlockedfile.cpp +++ b/shared/qtlockedfile/qtlockedfile.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "qtlockedfile.h" namespace SharedTools { @@ -158,4 +159,4 @@ QtLockedFile::LockMode QtLockedFile::lockMode() const Destroys the \e QtLockedFile object. If any locks were held, they are released. */ -} +} // namespace SharedTools diff --git a/shared/qtlockedfile/qtlockedfile.h b/shared/qtlockedfile/qtlockedfile.h index b8357d491b151a9e6f3ff29f0b923c5eed2e0f8a..f23475ed9349e385d0665b3516896381c776d473 100644 --- a/shared/qtlockedfile/qtlockedfile.h +++ b/shared/qtlockedfile/qtlockedfile.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef QTLOCKEDFILE_H #define QTLOCKEDFILE_H @@ -75,6 +76,6 @@ private: LockMode m_lock_mode; }; -} +} // namespace SharedTools -#endif +#endif // QTLOCKEDFILE_H diff --git a/shared/qtlockedfile/qtlockedfile_unix.cpp b/shared/qtlockedfile/qtlockedfile_unix.cpp index 0a9ba5ab4789057f2179b26b445b7536b621d6aa..665d39295fc515d977bd818db632e1d5919a06eb 100644 --- a/shared/qtlockedfile/qtlockedfile_unix.cpp +++ b/shared/qtlockedfile/qtlockedfile_unix.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,17 +26,18 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + +#include "qtlockedfile.h" + #include <string.h> #include <errno.h> #include <unistd.h> #include <fcntl.h> -#include "qtlockedfile.h" - namespace SharedTools { bool QtLockedFile::lock(LockMode mode, bool block) @@ -107,4 +108,4 @@ QtLockedFile::~QtLockedFile() unlock(); } -} +} // namespace SharedTools diff --git a/shared/qtlockedfile/qtlockedfile_win.cpp b/shared/qtlockedfile/qtlockedfile_win.cpp index 01e3f76e7545f0a81997883ee000183eaa3837e6..4909e9636f6d2dc15cc070115da095e9cb6c76a8 100644 --- a/shared/qtlockedfile/qtlockedfile_win.cpp +++ b/shared/qtlockedfile/qtlockedfile_win.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,11 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "qtlockedfile.h" + #include <qt_windows.h> #include <QtCore/QFileInfo> @@ -202,4 +204,4 @@ QtLockedFile::~QtLockedFile() } } -} +} // namespace SharedTools diff --git a/shared/qtsingleapplication/qtlocalpeer.cpp b/shared/qtsingleapplication/qtlocalpeer.cpp index 30a195f90860eee9b0f17dfcb6b71e1a6823972c..f488e72134b29c8986064045457459cae22eb521 100644 --- a/shared/qtsingleapplication/qtlocalpeer.cpp +++ b/shared/qtsingleapplication/qtlocalpeer.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,12 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qtlocalpeer.h" + #include <QtCore/QCoreApplication> #include <QtCore/QTime> @@ -176,4 +177,4 @@ void QtLocalPeer::receiveConnection() emit messageReceived(message); // ##(might take a long time to return) } -} +} // namespace SharedTools diff --git a/shared/qtsingleapplication/qtlocalpeer.h b/shared/qtsingleapplication/qtlocalpeer.h index bac571bd2821025e6f6472c559f91bf78783682e..104586b43956c097f3e26c68c6ca062a9c46f317 100644 --- a/shared/qtsingleapplication/qtlocalpeer.h +++ b/shared/qtsingleapplication/qtlocalpeer.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,16 +26,16 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ +#include "qtlockedfile.h" #include <QtNetwork/QLocalServer> #include <QtNetwork/QLocalSocket> #include <QtCore/QDir> -#include <qtlockedfile.h> namespace SharedTools { @@ -66,4 +66,4 @@ private: static const char* ack; }; -} // SharedTools +} // namespace SharedTools diff --git a/shared/qtsingleapplication/qtsingleapplication.cpp b/shared/qtsingleapplication/qtsingleapplication.cpp index ff437e039e34f2ca1d804fc491692fbb3e52089e..c1f557bacf9fd17eb3c30e9c97bab12fd5d61450 100644 --- a/shared/qtsingleapplication/qtsingleapplication.cpp +++ b/shared/qtsingleapplication/qtsingleapplication.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,13 +26,14 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qtsingleapplication.h" #include "qtlocalpeer.h" + #include <QtGui/QWidget> #include <QtGui/QFileOpenEvent> @@ -80,7 +81,8 @@ QtSingleApplication::QtSingleApplication(Display *dpy, int &argc, char **argv, Q sysInit(); } -QtSingleApplication::QtSingleApplication(Display* dpy, const QString &appId, int argc, char **argv, Qt::HANDLE visual, Qt::HANDLE colormap) +QtSingleApplication::QtSingleApplication(Display* dpy, const QString &appId, + int argc, char **argv, Qt::HANDLE visual, Qt::HANDLE colormap) : QApplication(dpy, argc, argv, visual, colormap) { sysInit(appId); @@ -115,13 +117,13 @@ QString QtSingleApplication::id() const } -void QtSingleApplication::setActivationWindow(QWidget* aw, bool activateOnMessage) +void QtSingleApplication::setActivationWindow(QWidget *aw, bool activateOnMessage) { actWin = aw; if (activateOnMessage) - connect(peer, SIGNAL(messageReceived(const QString&)), this, SLOT(activateWindow())); + connect(peer, SIGNAL(messageReceived(QString)), this, SLOT(activateWindow())); else - disconnect(peer, SIGNAL(messageReceived(const QString&)), this, SLOT(activateWindow())); + disconnect(peer, SIGNAL(messageReceived(QString)), this, SLOT(activateWindow())); } @@ -140,4 +142,4 @@ void QtSingleApplication::activateWindow() } } -} +} // namespace SharedTools diff --git a/shared/qtsingleapplication/qtsingleapplication.h b/shared/qtsingleapplication/qtsingleapplication.h index f56e3f1c354c3edb77c1eedf5031d029f9875c1b..75ce5ff530541023f185a7af2c9d8d742375aa21 100644 --- a/shared/qtsingleapplication/qtsingleapplication.h +++ b/shared/qtsingleapplication/qtsingleapplication.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtGui/QApplication> @@ -82,4 +82,4 @@ private: QWidget *actWin; }; -} +} // namespace SharedTools diff --git a/shared/qtsingleapplication/qtsinglecoreapplication.cpp b/shared/qtsingleapplication/qtsinglecoreapplication.cpp index d3c636641da4d3b5b3514db5600fa45e6d09c109..82526226ba6db0c6c7eeb0268fe170bc6bd22b87 100644 --- a/shared/qtsingleapplication/qtsinglecoreapplication.cpp +++ b/shared/qtsingleapplication/qtsinglecoreapplication.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qtsinglecoreapplication.h" @@ -40,7 +40,7 @@ QtSingleCoreApplication::QtSingleCoreApplication(int &argc, char **argv) : QCoreApplication(argc, argv) { peer = new QtLocalPeer(this); - connect(peer, SIGNAL(messageReceived(const QString&)), SIGNAL(messageReceived(const QString&))); + connect(peer, SIGNAL(messageReceived(QString)), SIGNAL(messageReceived(QString))); } @@ -48,7 +48,7 @@ QtSingleCoreApplication::QtSingleCoreApplication(const QString &appId, int &argc : QCoreApplication(argc, argv) { peer = new QtLocalPeer(this, appId); - connect(peer, SIGNAL(messageReceived(const QString&)), SIGNAL(messageReceived(const QString&))); + connect(peer, SIGNAL(messageReceived(QString)), SIGNAL(messageReceived(QString))); } @@ -69,4 +69,4 @@ QString QtSingleCoreApplication::id() const return peer->applicationId(); } -} +} // namespace SharedTools diff --git a/shared/qtsingleapplication/qtsinglecoreapplication.h b/shared/qtsingleapplication/qtsinglecoreapplication.h index 185a82a0b34625e6127809cfcc3f3214cac348bc..fcf9c7a224a1eb3aeac4324a01f2f913d2319536 100644 --- a/shared/qtsingleapplication/qtsinglecoreapplication.h +++ b/shared/qtsingleapplication/qtsinglecoreapplication.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtCore/QCoreApplication> @@ -60,4 +60,4 @@ private: QtLocalPeer* peer; }; -} +} // namespace SharedTools diff --git a/shared/scriptwrapper/interface_wrap_helpers.h b/shared/scriptwrapper/interface_wrap_helpers.h index eb1f4b37acbcf4a1d789e890d7b41aa76f4f63fc..717bb7246316446c952803bbd53de663feccdc42 100644 --- a/shared/scriptwrapper/interface_wrap_helpers.h +++ b/shared/scriptwrapper/interface_wrap_helpers.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,17 +26,18 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef INTERFACE_WRAP_HELPERS_H #define INTERFACE_WRAP_HELPERS_H #include <extensionsystem/ExtensionSystemInterfaces> #include <QtScript/QScriptEngine> - namespace SharedTools { +namespace SharedTools { // Convert a QObjectInterface to Scriptvalue // To be registered as a magic creation function with qScriptRegisterMetaType(). @@ -87,6 +88,6 @@ static void registerQObjectInterface(QScriptEngine &engine) Q_UNUSED(metaTypeId); } -} +} // namespace SharedTools -#endif +#endif // INTERFACE_WRAP_HELPERS_H diff --git a/shared/scriptwrapper/wrap_helpers.h b/shared/scriptwrapper/wrap_helpers.h index cb7f68dddbd621aa25c9a157a343be07ce36ef7c..21ed625c1619c2a7fe15787c033a93b02b7956a5 100644 --- a/shared/scriptwrapper/wrap_helpers.h +++ b/shared/scriptwrapper/wrap_helpers.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef WRAP_HELPERS_H #define WRAP_HELPERS_H @@ -329,6 +330,6 @@ static void registerQObject(QScriptEngine &engine) scriptValueToQObject<SomeQObject>); } -} +} // namespace SharedTools -#endif +#endif // WRAP_HELPERS_H diff --git a/src/app/main.cpp b/src/app/main.cpp index 0247b1dde358568595826da4b072fd0df9644371..68dfa3e3b231be7a201086037a37c39b0244e8a9 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qtsingleapplication.h" @@ -51,7 +51,7 @@ # include <sys/resource.h> #endif -enum { OptionIndent =4, DescriptionIndent = 24 }; +enum { OptionIndent = 4, DescriptionIndent = 24 }; static const char *appNameC = "Qt Creator"; static const char *corePluginNameC = "Core"; diff --git a/src/libs/aggregation/aggregate.cpp b/src/libs/aggregation/aggregate.cpp index bfd9e0f4dce3b2cc6a0607e039ff5105637b2284..de1a366f5ec378f002e2a5909e6ec885569107db 100644 --- a/src/libs/aggregation/aggregate.cpp +++ b/src/libs/aggregation/aggregate.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "aggregate.h" #include <QtCore/QWriteLocker> @@ -262,4 +263,3 @@ void Aggregate::remove(QObject *component) m_components.removeAll(component); disconnect(component, SIGNAL(destroyed(QObject*)), this, SLOT(deleteSelf(QObject*))); } - diff --git a/src/libs/aggregation/aggregate.h b/src/libs/aggregation/aggregate.h index 5040aec8b2ee79d27444d19580d20dc2b7d0d809..dc30ebf35c4b2cf84e5f0e006b857cd5477c11c9 100644 --- a/src/libs/aggregation/aggregate.h +++ b/src/libs/aggregation/aggregate.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef QAGGREGATION_H #define QAGGREGATION_H @@ -131,4 +132,4 @@ template <typename T> QList<T *> query_all(QObject *obj) } // namespace Aggregation -#endif // header guard +#endif // QAGGREGATION_H diff --git a/src/libs/aggregation/aggregation_global.h b/src/libs/aggregation/aggregation_global.h index cae0917d651c12dc8d718dd0c01e555765f19914..09dc064394903c93a9859d541db334f3e341cf6d 100644 --- a/src/libs/aggregation/aggregation_global.h +++ b/src/libs/aggregation/aggregation_global.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef AGGREGATION_GLOBAL_H #define AGGREGATION_GLOBAL_H @@ -41,4 +42,4 @@ # define AGGREGATION_EXPORT Q_DECL_IMPORT #endif -#endif // header +#endif // AGGREGATION_GLOBAL_H diff --git a/src/libs/aggregation/examples/text/main.cpp b/src/libs/aggregation/examples/text/main.cpp index 1a0ecac8167e54b640cd082749b57079aae034d4..0d5a09f6e8b588c0c62c98fbd9d1461ce485ae9f 100644 --- a/src/libs/aggregation/examples/text/main.cpp +++ b/src/libs/aggregation/examples/text/main.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "main.h" #include <QtGui/QApplication> @@ -107,4 +108,3 @@ int main(int argc, char *argv[]) w.show(); return app.exec(); } - diff --git a/src/libs/aggregation/examples/text/main.h b/src/libs/aggregation/examples/text/main.h index 3a458923b426b1d03d2538dec9cfc6031d3038b0..ad766013cc56d21b1de22c8d4958712b23c1badf 100644 --- a/src/libs/aggregation/examples/text/main.h +++ b/src/libs/aggregation/examples/text/main.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,19 +26,20 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef MAIN_H #define MAIN_H #include "myinterfaces.h" +#include "ui_main.h" #include <aggregate.h> #include <QtGui/QWidget> -#include "ui_main.h" class MyMain : public QWidget { diff --git a/src/libs/aggregation/examples/text/myinterfaces.h b/src/libs/aggregation/examples/text/myinterfaces.h index 62dad429e2a1b392b25cc5c305f092622b2fdc89..4c994f3ee175b686854af13189420f1bfe39c58b 100644 --- a/src/libs/aggregation/examples/text/myinterfaces.h +++ b/src/libs/aggregation/examples/text/myinterfaces.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef MYINTERFACES_H #define MYINTERFACES_H @@ -45,6 +46,7 @@ public: IComboEntry(QString title) : m_title(title) {} virtual ~IComboEntry() {} QString title() const { return m_title; } + private: QString m_title; }; @@ -57,6 +59,7 @@ public: IText1(QString text) : m_text(text) {} virtual ~IText1() {} QString text() const { return m_text; } + private: QString m_text; }; @@ -68,6 +71,7 @@ class IText2 : public QObject public: IText2(QString text) : m_text(text) {} QString text() const { return m_text; } + private: QString m_text; }; @@ -80,6 +84,7 @@ public: IText3(QString text) : m_text(text) {} virtual ~IText3() {} QString text() const { return m_text; } + private: QString m_text; }; diff --git a/src/libs/aggregation/test/tst_aggregate.cpp b/src/libs/aggregation/test/tst_aggregate.cpp index 098cc723af9b3cfa262c67630ce9a414bfb251a9..04b32fc8eab643aa99cbb12cdf21f573b59b4d06 100644 --- a/src/libs/aggregation/test/tst_aggregate.cpp +++ b/src/libs/aggregation/test/tst_aggregate.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,14 +26,15 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -#include <QtTest/QtTest> #include <aggregate.h> +#include <QtTest/QtTest> + class tst_Aggregate : public QObject { Q_OBJECT @@ -195,4 +196,5 @@ void tst_Aggregate::parentAggregate() } QTEST_MAIN(tst_Aggregate) + #include "tst_aggregate.moc" diff --git a/src/libs/cplusplus/CppDocument.cpp b/src/libs/cplusplus/CppDocument.cpp index b2e0ca4be14a45aadd2c48c823e8ae83483a8010..3fe4ea86b63982e13e91f367637ec40730bc2457 100644 --- a/src/libs/cplusplus/CppDocument.cpp +++ b/src/libs/cplusplus/CppDocument.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "CppDocument.h" @@ -40,6 +40,7 @@ #include <Symbols.h> #include <AST.h> #include <Scope.h> + #include <QByteArray> #include <QFile> #include <QtDebug> @@ -47,50 +48,52 @@ using namespace CPlusPlus; namespace { - class DocumentDiagnosticClient: public DiagnosticClient - { - enum { MAX_MESSAGE_COUNT = 10 }; - public: - DocumentDiagnosticClient(Document *doc, QList<Document::DiagnosticMessage> *messages) - : doc(doc), - messages(messages) - { } +class DocumentDiagnosticClient : public DiagnosticClient +{ + enum { MAX_MESSAGE_COUNT = 10 }; + +public: + DocumentDiagnosticClient(Document *doc, QList<Document::DiagnosticMessage> *messages) + : doc(doc), + messages(messages) + { } + + virtual void report(int level, + StringLiteral *fileId, + unsigned line, unsigned column, + const char *format, va_list ap) + { + if (messages->count() == MAX_MESSAGE_COUNT) + return; - virtual void report(int level, - StringLiteral *fileId, - unsigned line, unsigned column, - const char *format, va_list ap) - { - if (messages->count() == MAX_MESSAGE_COUNT) - return; + const QString fileName = QString::fromUtf8(fileId->chars(), fileId->size()); - const QString fileName = QString::fromUtf8(fileId->chars(), fileId->size()); + if (fileName != doc->fileName()) + return; - if (fileName != doc->fileName()) - return; + QString message; + message.vsprintf(format, ap); - QString message; - message.vsprintf(format, ap); + Document::DiagnosticMessage m(convertLevel(level), doc->fileName(), + line, column, message); + messages->append(m); + } - Document::DiagnosticMessage m(convertLevel(level), doc->fileName(), - line, column, message); - messages->append(m); + static int convertLevel(int level) { + switch (level) { + case Warning: return Document::DiagnosticMessage::Warning; + case Error: return Document::DiagnosticMessage::Error; + case Fatal: return Document::DiagnosticMessage::Fatal; + default: return Document::DiagnosticMessage::Error; } + } - static int convertLevel(int level) { - switch (level) { - case Warning: return Document::DiagnosticMessage::Warning; - case Error: return Document::DiagnosticMessage::Error; - case Fatal: return Document::DiagnosticMessage::Fatal; - default: return Document::DiagnosticMessage::Error; - } - } + Document *doc; + QList<Document::DiagnosticMessage> *messages; +}; - Document *doc; - QList<Document::DiagnosticMessage> *messages; - }; -} // end of anonymous namespace +} // anonymous namespace Document::Document(const QString &fileName) : _fileName(fileName), @@ -116,19 +119,29 @@ Document::~Document() } Control *Document::control() const -{ return _control; } +{ + return _control; +} QString Document::fileName() const -{ return _fileName; } +{ + return _fileName; +} QStringList Document::includedFiles() const -{ return _includedFiles; } +{ + return _includedFiles; +} void Document::addIncludeFile(const QString &fileName) -{ _includedFiles.append(fileName); } +{ + _includedFiles.append(fileName); +} QByteArray Document::definedMacros() const -{ return _definedMacros; } +{ + return _definedMacros; +} void Document::appendMacro(const QByteArray ¯oName, const QByteArray &text) { @@ -141,13 +154,19 @@ void Document::appendMacro(const QByteArray ¯oName, const QByteArray &text) } TranslationUnit *Document::translationUnit() const -{ return _translationUnit; } +{ + return _translationUnit; +} bool Document::skipFunctionBody() const -{ return _translationUnit->skipFunctionBody(); } +{ + return _translationUnit->skipFunctionBody(); +} void Document::setSkipFunctionBody(bool skipFunctionBody) -{ _translationUnit->setSkipFunctionBody(skipFunctionBody); } +{ + _translationUnit->setSkipFunctionBody(skipFunctionBody); +} unsigned Document::globalSymbolCount() const { @@ -158,7 +177,9 @@ unsigned Document::globalSymbolCount() const } Symbol *Document::globalSymbolAt(unsigned index) const -{ return _globalNamespace->memberAt(index); } +{ + return _globalNamespace->memberAt(index); +} Scope *Document::globalSymbols() const { @@ -169,10 +190,14 @@ Scope *Document::globalSymbols() const } Namespace *Document::globalNamespace() const -{ return _globalNamespace; } +{ + return _globalNamespace; +} Symbol *Document::findSymbolAt(unsigned line, unsigned column) const -{ return findSymbolAt(line, column, globalSymbols()); } +{ + return findSymbolAt(line, column, globalSymbols()); +} Symbol *Document::findSymbolAt(unsigned line, unsigned column, Scope *scope) const { @@ -203,10 +228,14 @@ Document::Ptr Document::create(const QString &fileName) } void Document::setSource(const QByteArray &source) -{ _translationUnit->setSource(source.constBegin(), source.size()); } +{ + _translationUnit->setSource(source.constBegin(), source.size()); +} void Document::startSkippingBlocks(unsigned start) -{ _skippedBlocks.append(Block(start, 0)); } +{ + _skippedBlocks.append(Block(start, 0)); +} void Document::stopSkippingBlocks(unsigned stop) { @@ -218,10 +247,14 @@ void Document::stopSkippingBlocks(unsigned stop) } QSet<QByteArray> Document::macroNames() const -{ return _macroNames; } +{ + return _macroNames; +} void Document::parse() -{ _translationUnit->parse(); } +{ + _translationUnit->parse(); +} void Document::check() { @@ -239,4 +272,6 @@ void Document::check() } void Document::releaseTranslationUnit() -{ _translationUnit->release(); } +{ + _translationUnit->release(); +} diff --git a/src/libs/cplusplus/CppDocument.h b/src/libs/cplusplus/CppDocument.h index 47f2366ddd00718da69689021a0076b03bb918b3..d4de240d3a45a99f710d0ea25d0b9572f4f8ded3 100644 --- a/src/libs/cplusplus/CppDocument.h +++ b/src/libs/cplusplus/CppDocument.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,20 +26,22 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPDOCUMENT_H #define CPPDOCUMENT_H #include <CPlusPlusForwardDeclarations.h> + #include <QByteArray> +#include <QList> +#include <QSet> #include <QSharedPointer> #include <QString> #include <QStringList> -#include <QList> -#include <QSet> namespace CPlusPlus { diff --git a/src/libs/cplusplus/ExpressionUnderCursor.cpp b/src/libs/cplusplus/ExpressionUnderCursor.cpp index 92d2cd8893f13f0d06df43532f99a69d5979c5c1..d43283cd7a6c91d948e9983c4bea662684d0ff46 100644 --- a/src/libs/cplusplus/ExpressionUnderCursor.cpp +++ b/src/libs/cplusplus/ExpressionUnderCursor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "ExpressionUnderCursor.h" diff --git a/src/libs/cplusplus/ExpressionUnderCursor.h b/src/libs/cplusplus/ExpressionUnderCursor.h index e3fa442326e42f2587b2b698667cbc1c87db7c92..8d66cd81661bdf9e4076c41017ef4d4498263226 100644 --- a/src/libs/cplusplus/ExpressionUnderCursor.h +++ b/src/libs/cplusplus/ExpressionUnderCursor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef EXPRESSIONUNDERCURSOR_H #define EXPRESSIONUNDERCURSOR_H diff --git a/src/libs/cplusplus/Icons.cpp b/src/libs/cplusplus/Icons.cpp index 70c421425905463b311b4a25df752323228231cc..94b6469ea46b74a85b739bc5512f030d63a90ae9 100644 --- a/src/libs/cplusplus/Icons.cpp +++ b/src/libs/cplusplus/Icons.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "Icons.h" diff --git a/src/libs/cplusplus/Icons.h b/src/libs/cplusplus/Icons.h index c549c1c4296d8edf3dfc964c636e3b6ce419ee86..c49bcde12d145dba778329830f3413846d29f376 100644 --- a/src/libs/cplusplus/Icons.h +++ b/src/libs/cplusplus/Icons.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPLUSPLUS_ICONS_H #define CPLUSPLUS_ICONS_H diff --git a/src/libs/cplusplus/LookupContext.cpp b/src/libs/cplusplus/LookupContext.cpp index 027cfb577d6f434b517b2da5ecfa219f91d8d441..67eb05d7f4aea4a4be4e3b02ee6fe315b39eead9 100644 --- a/src/libs/cplusplus/LookupContext.cpp +++ b/src/libs/cplusplus/LookupContext.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "LookupContext.h" @@ -39,6 +39,7 @@ #include <Scope.h> #include <Control.h> #include <cplusplus/Overview.h> + #include <QFile> #include <QtDebug> diff --git a/src/libs/cplusplus/LookupContext.h b/src/libs/cplusplus/LookupContext.h index d2fe8b7beff438b5c55a511048e5767384e11de9..36ea6a8298fa714c984110407dadad3f46046e78 100644 --- a/src/libs/cplusplus/LookupContext.h +++ b/src/libs/cplusplus/LookupContext.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPLUSPLUS_LOOKUPCONTEXT_H #define CPLUSPLUS_LOOKUPCONTEXT_H @@ -45,8 +46,7 @@ namespace CPlusPlus { class CPLUSPLUS_EXPORT LookupUtils { public: - static bool isNameCompatibleWithIdentifier(Name *name, - Identifier *id); + static bool isNameCompatibleWithIdentifier(Name *name, Identifier *id); }; class CPLUSPLUS_EXPORT LookupContext: LookupUtils diff --git a/src/libs/cplusplus/NameOfExpression.cpp b/src/libs/cplusplus/NameOfExpression.cpp index d54e7f5521641ed544a72e610bf04facccc41362..ac00aa27b8e1d080b8b09ee1e131167688508268 100644 --- a/src/libs/cplusplus/NameOfExpression.cpp +++ b/src/libs/cplusplus/NameOfExpression.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "NameOfExpression.h" @@ -44,6 +44,7 @@ #include <CoreTypes.h> #include <TypeVisitor.h> #include <NameVisitor.h> + #include <QList> #include <QtDebug> diff --git a/src/libs/cplusplus/NameOfExpression.h b/src/libs/cplusplus/NameOfExpression.h index f68795cea0d482d6fea7fc04405fca79a82526d1..0333cc4dfbaa22f24794aabe0c050d0201a8af5f 100644 --- a/src/libs/cplusplus/NameOfExpression.h +++ b/src/libs/cplusplus/NameOfExpression.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPLUSPLUS_NAMEOFEXPRESSION_H #define CPLUSPLUS_NAMEOFEXPRESSION_H diff --git a/src/libs/cplusplus/NamePrettyPrinter.cpp b/src/libs/cplusplus/NamePrettyPrinter.cpp index 5d6fddfb63aadcb6b2445f65e5dc4037ec7af071..08fe4f241671fdf9674f3885978268dc66d00f56 100644 --- a/src/libs/cplusplus/NamePrettyPrinter.cpp +++ b/src/libs/cplusplus/NamePrettyPrinter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,11 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "NamePrettyPrinter.h" + #include <Names.h> #include <Overview.h> #include <NameVisitor.h> @@ -46,7 +48,9 @@ NamePrettyPrinter::~NamePrettyPrinter() { } const Overview *NamePrettyPrinter::overview() const -{ return _overview; } +{ + return _overview; +} QString NamePrettyPrinter::operator()(Name *name) { diff --git a/src/libs/cplusplus/NamePrettyPrinter.h b/src/libs/cplusplus/NamePrettyPrinter.h index 38684326507bca88b16747f0ce94dc933d61032e..d072b0b3079042afb0c03e1cd5858a0e11cffdf1 100644 --- a/src/libs/cplusplus/NamePrettyPrinter.h +++ b/src/libs/cplusplus/NamePrettyPrinter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPLUSPLUS_NAMEPRETTYPRINTER_H #define CPLUSPLUS_NAMEPRETTYPRINTER_H diff --git a/src/libs/cplusplus/Overview.cpp b/src/libs/cplusplus/Overview.cpp index ec40f75b515308f187553da4824aa4b0005d9f7c..d887bc95f8c91f0603d0b8e054eac9e1fb70f2e5 100644 --- a/src/libs/cplusplus/Overview.cpp +++ b/src/libs/cplusplus/Overview.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "Overview.h" @@ -49,25 +49,39 @@ Overview::~Overview() { } bool Overview::showArgumentNames() const -{ return _showArgumentNames; } +{ + return _showArgumentNames; +} void Overview::setShowArgumentNames(bool showArgumentNames) -{ _showArgumentNames = showArgumentNames; } +{ + _showArgumentNames = showArgumentNames; +} void Overview::setShowReturnTypes(bool showReturnTypes) -{ _showReturnTypes = showReturnTypes; } +{ + _showReturnTypes = showReturnTypes; +} bool Overview::showReturnTypes() const -{ return _showReturnTypes; } +{ + return _showReturnTypes; +} void Overview::setMarkArgument(unsigned position) -{ _markArgument = position; } +{ + _markArgument = position; +} bool Overview::showFunctionSignatures() const -{ return _showFunctionSignatures; } +{ + return _showFunctionSignatures; +} void Overview::setShowFunctionSignatures(bool showFunctionSignatures) -{ _showFunctionSignatures = showFunctionSignatures; } +{ + _showFunctionSignatures = showFunctionSignatures; +} QString Overview::prettyName(Name *name) const { @@ -75,9 +89,10 @@ QString Overview::prettyName(Name *name) const return pp(name); } -QString Overview::prettyType(const FullySpecifiedType &ty, - Name *name) const -{ return prettyType(ty, prettyName(name)); } +QString Overview::prettyType(const FullySpecifiedType &ty, Name *name) const +{ + return prettyType(ty, prettyName(name)); +} QString Overview::prettyType(const FullySpecifiedType &ty, const QString &name) const diff --git a/src/libs/cplusplus/Overview.h b/src/libs/cplusplus/Overview.h index 6b84a4b53f214f7819d1802686a6d364692e50f0..f68fb0f6cc716f824fc7b709dbb7ea826e666044 100644 --- a/src/libs/cplusplus/Overview.h +++ b/src/libs/cplusplus/Overview.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef OVERVIEW_H #define OVERVIEW_H diff --git a/src/libs/cplusplus/OverviewModel.cpp b/src/libs/cplusplus/OverviewModel.cpp index 028811e6ae3ee21f69c6197349342d67e2bfcefc..38456d8fa7dafaecef99b0e2747d0b2ebf10d505 100644 --- a/src/libs/cplusplus/OverviewModel.cpp +++ b/src/libs/cplusplus/OverviewModel.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,17 +26,19 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "OverviewModel.h" #include "Overview.h" + #include <Scope.h> #include <Semantic.h> #include <Literals.h> #include <Symbols.h> + #include <QFile> #include <QtDebug> @@ -50,10 +52,14 @@ OverviewModel::~OverviewModel() { } bool OverviewModel::hasDocument() const -{ return _cppDocument; } +{ + return _cppDocument; +} Document::Ptr OverviewModel::document() const -{ return _cppDocument; } +{ + return _cppDocument; +} unsigned OverviewModel::globalSymbolCount() const { @@ -124,7 +130,9 @@ int OverviewModel::rowCount(const QModelIndex &parent) const } int OverviewModel::columnCount(const QModelIndex &) const -{ return 1; } +{ + return 1; +} QVariant OverviewModel::data(const QModelIndex &index, int role) const { @@ -174,7 +182,9 @@ QVariant OverviewModel::data(const QModelIndex &index, int role) const } Symbol *OverviewModel::symbolFromIndex(const QModelIndex &index) const -{ return static_cast<Symbol *>(index.internalPointer()); } +{ + return static_cast<Symbol *>(index.internalPointer()); +} void OverviewModel::rebuild(Document::Ptr doc) { diff --git a/src/libs/cplusplus/OverviewModel.h b/src/libs/cplusplus/OverviewModel.h index 9ff920487ba0055956684c9eef0bed46cba1d152..e56473300a2389b60f0dae5120efe73686acb608 100644 --- a/src/libs/cplusplus/OverviewModel.h +++ b/src/libs/cplusplus/OverviewModel.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPLUSPLUS_OVERVIEWMODEL_H #define CPLUSPLUS_OVERVIEWMODEL_H @@ -42,7 +43,7 @@ namespace CPlusPlus { -class CPLUSPLUS_EXPORT OverviewModel: public QAbstractItemModel +class CPLUSPLUS_EXPORT OverviewModel : public QAbstractItemModel { Q_OBJECT diff --git a/src/libs/cplusplus/ResolveExpression.cpp b/src/libs/cplusplus/ResolveExpression.cpp index 6071f235c437d85027a03e1442c347ff88e36757..019cbfff1ff1656321b595a49c702992ced15950 100644 --- a/src/libs/cplusplus/ResolveExpression.cpp +++ b/src/libs/cplusplus/ResolveExpression.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "ResolveExpression.h" @@ -44,6 +44,7 @@ #include <CoreTypes.h> #include <TypeVisitor.h> #include <NameVisitor.h> + #include <QList> #include <QtDebug> diff --git a/src/libs/cplusplus/ResolveExpression.h b/src/libs/cplusplus/ResolveExpression.h index 75963bb2fee2d63e768a13fe0b1d73a0a61db659..00f0f0748556a29075bf18c7f0e891ff6adcce87 100644 --- a/src/libs/cplusplus/ResolveExpression.h +++ b/src/libs/cplusplus/ResolveExpression.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,14 +26,16 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPLUSPLUS_RESOLVEEXPRESSION_H #define CPLUSPLUS_RESOLVEEXPRESSION_H #include "LookupContext.h" + #include <ASTVisitor.h> #include <Semantic.h> #include <FullySpecifiedType.h> diff --git a/src/libs/cplusplus/SimpleLexer.cpp b/src/libs/cplusplus/SimpleLexer.cpp index f047d540c944441896fba6c1c0267d0ce59b1649..8b7ee01d7a31a0d43e648effef5b557dd4715068 100644 --- a/src/libs/cplusplus/SimpleLexer.cpp +++ b/src/libs/cplusplus/SimpleLexer.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,12 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "SimpleLexer.h" + #include <Lexer.h> #include <Token.h> #include <QtDebug> @@ -39,13 +40,19 @@ using namespace CPlusPlus; bool SimpleToken::isLiteral() const -{ return _kind >= T_FIRST_LITERAL && _kind <= T_LAST_LITERAL; } +{ + return _kind >= T_FIRST_LITERAL && _kind <= T_LAST_LITERAL; +} bool SimpleToken::isOperator() const -{ return _kind >= T_FIRST_OPERATOR && _kind <= T_LAST_OPERATOR; } +{ + return _kind >= T_FIRST_OPERATOR && _kind <= T_LAST_OPERATOR; +} bool SimpleToken::isKeyword() const -{ return _kind >= T_FIRST_KEYWORD && _kind < T_FIRST_QT_KEYWORD; } +{ + return _kind >= T_FIRST_KEYWORD && _kind < T_FIRST_QT_KEYWORD; +} SimpleLexer::SimpleLexer() : _lastState(0), @@ -57,16 +64,24 @@ SimpleLexer::~SimpleLexer() { } bool SimpleLexer::qtMocRunEnabled() const -{ return _qtMocRunEnabled; } +{ + return _qtMocRunEnabled; +} void SimpleLexer::setQtMocRunEnabled(bool enabled) -{ _qtMocRunEnabled = enabled; } +{ + _qtMocRunEnabled = enabled; +} bool SimpleLexer::skipComments() const -{ return _skipComments; } +{ + return _skipComments; +} void SimpleLexer::setSkipComments(bool skipComments) -{ _skipComments = skipComments; } +{ + _skipComments = skipComments; +} QList<SimpleToken> SimpleLexer::operator()(const QString &text, int state) { diff --git a/src/libs/cplusplus/SimpleLexer.h b/src/libs/cplusplus/SimpleLexer.h index 9bbba4195023cffc07847ef50501c825ae30a9e8..529647133448639bf9912449779dacf08a3133ba 100644 --- a/src/libs/cplusplus/SimpleLexer.h +++ b/src/libs/cplusplus/SimpleLexer.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,14 +26,15 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SIMPLELEXER_H #define SIMPLELEXER_H #include <CPlusPlusForwardDeclarations.h> + #include <QString> #include <QList> diff --git a/src/libs/cplusplus/TokenUnderCursor.cpp b/src/libs/cplusplus/TokenUnderCursor.cpp index 84a19922441876cd69ff0f65cfc46d293b0f6a58..216caebb11bf3de05e9940f81c86fa2f2a6d0cd1 100644 --- a/src/libs/cplusplus/TokenUnderCursor.cpp +++ b/src/libs/cplusplus/TokenUnderCursor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "TokenUnderCursor.h" diff --git a/src/libs/cplusplus/TokenUnderCursor.h b/src/libs/cplusplus/TokenUnderCursor.h index cd08833d219a7961591d21547c11a9835786dabe..c94af4f96f352bda51156a9f86ec97c3771e3e79 100644 --- a/src/libs/cplusplus/TokenUnderCursor.h +++ b/src/libs/cplusplus/TokenUnderCursor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef TOKENUNDERCURSOR_H #define TOKENUNDERCURSOR_H diff --git a/src/libs/cplusplus/TypeOfExpression.cpp b/src/libs/cplusplus/TypeOfExpression.cpp index f6ad3bdc53dc9d71b2ee714a1886aeb64a0608ba..7e3ed35af8b25c9084e91bb0477b7238524c6def 100644 --- a/src/libs/cplusplus/TypeOfExpression.cpp +++ b/src/libs/cplusplus/TypeOfExpression.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "TypeOfExpression.h" diff --git a/src/libs/cplusplus/TypeOfExpression.h b/src/libs/cplusplus/TypeOfExpression.h index 87df28f1ba954a87027a4a6fde8d660db5ce8177..ecdfac7b2907c1ea7563ed1ee3d54d36b95856de 100644 --- a/src/libs/cplusplus/TypeOfExpression.h +++ b/src/libs/cplusplus/TypeOfExpression.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef CPLUSPLUS_TYPEOFEXPRESSION_H #define CPLUSPLUS_TYPEOFEXPRESSION_H diff --git a/src/libs/cplusplus/TypePrettyPrinter.cpp b/src/libs/cplusplus/TypePrettyPrinter.cpp index 3301a8c8d10895b1b01d023309215dd14677c0e3..435f308dce9e7ad200f8f42b14a3f53f701148f8 100644 --- a/src/libs/cplusplus/TypePrettyPrinter.cpp +++ b/src/libs/cplusplus/TypePrettyPrinter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "Overview.h" diff --git a/src/libs/cplusplus/TypePrettyPrinter.h b/src/libs/cplusplus/TypePrettyPrinter.h index fd003381844e2b981ddb4d96fac8e5a33e0ede4b..5d46ec56387d6477f819dab68cd92377e2067e87 100644 --- a/src/libs/cplusplus/TypePrettyPrinter.h +++ b/src/libs/cplusplus/TypePrettyPrinter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef TYPEPRETTYPRINTER_H #define TYPEPRETTYPRINTER_H diff --git a/src/libs/extensionsystem/extensionsystem_global.h b/src/libs/extensionsystem/extensionsystem_global.h index ebd1f34da252795ead255f51df2890f82bfa22ad..af945f2f51dd7af4fcf15020f13f75491183fe01 100644 --- a/src/libs/extensionsystem/extensionsystem_global.h +++ b/src/libs/extensionsystem/extensionsystem_global.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef EXTENSIONSYSTEM_GLOBAL_H #define EXTENSIONSYSTEM_GLOBAL_H @@ -41,4 +42,4 @@ # define EXTENSIONSYSTEM_EXPORT Q_DECL_IMPORT #endif -#endif // header +#endif // EXTENSIONSYSTEM_GLOBAL_H diff --git a/src/libs/extensionsystem/iplugin.cpp b/src/libs/extensionsystem/iplugin.cpp index 47cb702e16b3cecec95f3e419edf4e317c869d3a..f548430d7a45b06da4b63d5b00e008c72a06c913 100644 --- a/src/libs/extensionsystem/iplugin.cpp +++ b/src/libs/extensionsystem/iplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "iplugin.h" #include "iplugin_p.h" #include "pluginmanager.h" diff --git a/src/libs/extensionsystem/iplugin.h b/src/libs/extensionsystem/iplugin.h index b263e7b0d295b815de78924e7207210cbd30a866..e4f01c86b457f0ad8c3df7ad16a994815c854d6c 100644 --- a/src/libs/extensionsystem/iplugin.h +++ b/src/libs/extensionsystem/iplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef IPLUGIN_H #define IPLUGIN_H diff --git a/src/libs/extensionsystem/iplugin_p.h b/src/libs/extensionsystem/iplugin_p.h index 461a903a3989b19c810027d4bd6ba331c0d191dc..38e8b7da9b19d0cb0173eb41a388b053fe352383 100644 --- a/src/libs/extensionsystem/iplugin_p.h +++ b/src/libs/extensionsystem/iplugin_p.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef IPLUGIN_P_H #define IPLUGIN_P_H @@ -55,4 +56,4 @@ public: } // namespace Internal } // namespace ExtensionSystem -#endif // header guard +#endif // IPLUGIN_P_H diff --git a/src/libs/extensionsystem/optionsparser.cpp b/src/libs/extensionsystem/optionsparser.cpp index 77b6ed869e47e80a6e236296083e079722abbf03..8884cb378ceb02b002f52b63c1f6aefbfef3f1f5 100644 --- a/src/libs/extensionsystem/optionsparser.cpp +++ b/src/libs/extensionsystem/optionsparser.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "optionsparser.h" #include <QtCore/QCoreApplication> diff --git a/src/libs/extensionsystem/optionsparser.h b/src/libs/extensionsystem/optionsparser.h index 65ea70c9ba20adfe08e8ccb27ae56d683ba2a6dc..1f41f06d41467d8315b80fa3b9a768a9b540288c 100644 --- a/src/libs/extensionsystem/optionsparser.h +++ b/src/libs/extensionsystem/optionsparser.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef OPTIONSPARSER_H #define OPTIONSPARSER_H diff --git a/src/libs/extensionsystem/plugindetailsview.cpp b/src/libs/extensionsystem/plugindetailsview.cpp index 349cc48a12a0df33ffa1c0cb3415e0bb7071263a..03013e23058fcf45adaa9b7ccbf6833de144b272 100644 --- a/src/libs/extensionsystem/plugindetailsview.cpp +++ b/src/libs/extensionsystem/plugindetailsview.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "plugindetailsview.h" #include "ui_plugindetailsview.h" diff --git a/src/libs/extensionsystem/plugindetailsview.h b/src/libs/extensionsystem/plugindetailsview.h index 99386f29d0fc2e76ce639ff506ce68ba08d248d4..19ea5966d8b8b58915e8eae5b35980ad16a4ed02 100644 --- a/src/libs/extensionsystem/plugindetailsview.h +++ b/src/libs/extensionsystem/plugindetailsview.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PLUGINDETAILSVIEW_H_ #define PLUGINDETAILSVIEW_H_ @@ -38,8 +39,7 @@ #include <QtGui/QWidget> -namespace ExtensionSystem -{ +namespace ExtensionSystem { namespace Internal { namespace Ui { diff --git a/src/libs/extensionsystem/pluginerrorview.cpp b/src/libs/extensionsystem/pluginerrorview.cpp index c1572d88299b42a22e9063ce1947b71e47e9ce4a..0af08f8ecdc9cd1ab3de8cf5a0b0cd25afc68b0e 100644 --- a/src/libs/extensionsystem/pluginerrorview.cpp +++ b/src/libs/extensionsystem/pluginerrorview.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "pluginerrorview.h" #include "ui_pluginerrorview.h" diff --git a/src/libs/extensionsystem/pluginerrorview.h b/src/libs/extensionsystem/pluginerrorview.h index 87b4097d033f09101c5739df7ba752db7576c626..c9f04491864ed415a3fe2e93bd31e000ec1cc90e 100644 --- a/src/libs/extensionsystem/pluginerrorview.h +++ b/src/libs/extensionsystem/pluginerrorview.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,20 +26,20 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -#ifndef PLUGINERRORVIEW_H_ -#define PLUGINERRORVIEW_H_ + +#ifndef PLUGINERRORVIEW_H +#define PLUGINERRORVIEW_H #include "extensionsystem_global.h" #include "pluginspec.h" #include <QtGui/QWidget> -namespace ExtensionSystem -{ +namespace ExtensionSystem { namespace Internal { namespace Ui { @@ -63,4 +63,4 @@ private: } // namespace ExtensionSystem -#endif /*PLUGINERRORVIEW_H_*/ +#endif // PLUGINERRORVIEW_H diff --git a/src/libs/extensionsystem/pluginmanager.cpp b/src/libs/extensionsystem/pluginmanager.cpp index daf4169a80a5fb2a14be467b18825d94ae0e4d81..f6f623f66541d09ffc4ebf4371a7c0bda34995ce 100644 --- a/src/libs/extensionsystem/pluginmanager.cpp +++ b/src/libs/extensionsystem/pluginmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "pluginmanager.h" #include "pluginmanager_p.h" #include "pluginspec.h" diff --git a/src/libs/extensionsystem/pluginmanager.h b/src/libs/extensionsystem/pluginmanager.h index 7f003b4f89985a47a1f03fb8aaa2010e42a3211d..e46451901e925cd4881b088bd05cafa7671d791a 100644 --- a/src/libs/extensionsystem/pluginmanager.h +++ b/src/libs/extensionsystem/pluginmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef EXTENSIONSYSTEM_PLUGINMANAGER_H #define EXTENSIONSYSTEM_PLUGINMANAGER_H @@ -133,6 +134,6 @@ private: friend class Internal::PluginManagerPrivate; }; -} //namespace +} // namespace ExtensionSystem -#endif // PLUGINMANAGER_H +#endif // EXTENSIONSYSTEM_PLUGINMANAGER_H diff --git a/src/libs/extensionsystem/pluginmanager_p.h b/src/libs/extensionsystem/pluginmanager_p.h index 6b8df8d2bee5a4932ec4b761b1b19dfaa0038d97..74cb84c8678d8cdad09d413b11b15ff943b59d85 100644 --- a/src/libs/extensionsystem/pluginmanager_p.h +++ b/src/libs/extensionsystem/pluginmanager_p.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PLUGINMANAGER_P_H #define PLUGINMANAGER_P_H diff --git a/src/libs/extensionsystem/pluginspec.cpp b/src/libs/extensionsystem/pluginspec.cpp index dfa7bdbe7c0a764b1d0103cc98b49df1660e73b3..170cd72ba0b978894be1609e6f766d4b98ec6512 100644 --- a/src/libs/extensionsystem/pluginspec.cpp +++ b/src/libs/extensionsystem/pluginspec.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "pluginspec.h" #include "pluginspec.h" #include "pluginspec_p.h" diff --git a/src/libs/extensionsystem/pluginspec.h b/src/libs/extensionsystem/pluginspec.h index 06a219fe2d4418cd604a04180ea53225030784e5..f96ab6b8128b748f1b5fbff7dfb3261e88129f42 100644 --- a/src/libs/extensionsystem/pluginspec.h +++ b/src/libs/extensionsystem/pluginspec.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PLUGINSPEC_H #define PLUGINSPEC_H diff --git a/src/libs/extensionsystem/pluginspec_p.h b/src/libs/extensionsystem/pluginspec_p.h index a11167e85e277e64a586fa8e6edf595ca5de3c3d..922fe36d05d65c03fdaf02bd8abaad8ed795d84f 100644 --- a/src/libs/extensionsystem/pluginspec_p.h +++ b/src/libs/extensionsystem/pluginspec_p.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PLUGINSPEC_P_H #define PLUGINSPEC_P_H @@ -103,4 +104,4 @@ private: } // namespace Internal } // namespace ExtensionSystem -#endif // header guard +#endif // PLUGINSPEC_P_H diff --git a/src/libs/extensionsystem/pluginview.cpp b/src/libs/extensionsystem/pluginview.cpp index d75911ea37dbc7a2794db89d248f3da0d42f6707..82e8c45dd8d63e142ae6fbaf8c9460b91dbe904f 100644 --- a/src/libs/extensionsystem/pluginview.cpp +++ b/src/libs/extensionsystem/pluginview.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "pluginview.h" #include "pluginview_p.h" #include "pluginmanager.h" diff --git a/src/libs/extensionsystem/pluginview.h b/src/libs/extensionsystem/pluginview.h index eacf38edaa513cb2402928dd8431a1e8a7ee5c07..d99f996401c21592fe450b5e12e44448ea968dd9 100644 --- a/src/libs/extensionsystem/pluginview.h +++ b/src/libs/extensionsystem/pluginview.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PLUGINVIEW_H #define PLUGINVIEW_H @@ -79,4 +80,4 @@ private: } // namespae ExtensionSystem -#endif +#endif // PLUGIN_VIEW_H diff --git a/src/libs/extensionsystem/pluginview_p.h b/src/libs/extensionsystem/pluginview_p.h index 48d63ba35937a06335f669ee2fcafa7226a01a73..4c5682d293dc058cf36217b5a12b46a30e29d130 100644 --- a/src/libs/extensionsystem/pluginview_p.h +++ b/src/libs/extensionsystem/pluginview_p.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PLUGINVIEW_P_H #define PLUGINVIEW_P_H @@ -45,7 +46,7 @@ public: PluginManager *manager; }; -} // namespace -} // namespace +} // namespace Internal +} // namespace ExtensionSystem -#endif +#endif PLUGINVIEW_P_H diff --git a/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin1/plugin1.cpp b/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin1/plugin1.cpp index 69b9821b3b1457c39d9515e6d2f995009b65271a..e2a774e2319461916b4b8ec62461b2b9f2d147c8 100644 --- a/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin1/plugin1.cpp +++ b/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin1/plugin1.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "plugin1.h" #include <QtCore/qplugin.h> @@ -40,8 +41,10 @@ MyPlugin1::MyPlugin1() { } -bool MyPlugin1::initialize(const QStringList & /*arguments*/, QString *errorString) +bool MyPlugin1::initialize(const QStringList &arguments, QString *errorString) { + Q_UNUSED(arguments); + Q_UNUSED(errorString); return true; } diff --git a/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin1/plugin1.h b/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin1/plugin1.h index d3c493aebaa41531fa7fbc1746c6aa995f083bd4..6b4ce934460254e650cd0d7385f478bdfb5f67d0 100644 --- a/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin1/plugin1.h +++ b/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin1/plugin1.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PLUGIN1_H #define PLUGIN1_H @@ -50,6 +51,6 @@ public: void extensionsInitialized(); }; -} // namespace +} // namespace Plugin1 -#endif // header guard +#endif // PLUGIN1_H diff --git a/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin2/plugin2.cpp b/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin2/plugin2.cpp index c5af5f39a35f9fe2f45ff34738eb881c0baccf80..ed42eed157611e69ec4af0615d78342c09b74e24 100644 --- a/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin2/plugin2.cpp +++ b/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin2/plugin2.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "plugin2.h" #include <QtCore/qplugin.h> diff --git a/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin2/plugin2.h b/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin2/plugin2.h index b1cd95c7627d6e13908247a40dc463561c72f6e9..d4281b8443f02244fbd13481a36a6177f018df71 100644 --- a/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin2/plugin2.h +++ b/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin2/plugin2.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PLUGIN2_H #define PLUGIN2_H @@ -50,6 +51,6 @@ public: void extensionsInitialized(); }; -} // namespace +} // Plugin2 -#endif // header guard +#endif // PLUGIN2_H diff --git a/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin3/plugin3.cpp b/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin3/plugin3.cpp index 9b38565c35cea8d2400c88ae80621c82716325bb..18023f15c700dedb0d3eb73fae6dca95906ac2ac 100644 --- a/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin3/plugin3.cpp +++ b/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin3/plugin3.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "plugin3.h" diff --git a/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin3/plugin3.h b/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin3/plugin3.h index 7514d63bd71751bfa7a6c94cbd7a05dbcdff5ab9..b083a1a1b035a1556d180ac9c88741da687528dc 100644 --- a/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin3/plugin3.h +++ b/src/libs/extensionsystem/test/auto/pluginmanager/circularplugins/plugin3/plugin3.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PLUGIN3_H #define PLUGIN3_H @@ -50,6 +51,6 @@ public: void extensionsInitialized(); }; -} // namespace +} // namespace Plugin3 -#endif // header guard +#endif // PLUGIN3_H diff --git a/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin1/plugin1.cpp b/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin1/plugin1.cpp index 8149d046d21498d3234bb2a549fb1b29f1b8752a..e2da43f004d50c8f81fb5a3f3dd8f0a97ae562f0 100644 --- a/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin1/plugin1.cpp +++ b/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin1/plugin1.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "plugin1.h" #include <extensionsystem/pluginmanager.h> diff --git a/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin1/plugin1.h b/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin1/plugin1.h index 4be9f9bbf7fcc948e7987bd47b4b7eca2011594a..19472a051c149f08e2643b9ab6c6e4a079705f98 100644 --- a/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin1/plugin1.h +++ b/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin1/plugin1.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PLUGIN1_H #define PLUGIN1_H @@ -53,6 +54,6 @@ private: bool initializeCalled; }; -} // namespace +} // namespace Plugin1 -#endif // header guard +#endif // PLUGIN1_H diff --git a/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin2/plugin2.cpp b/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin2/plugin2.cpp index 99f192766a4de243ab3de278d67272cc52f37a40..b05261600eb0c212c52884b0d84cc5a73bb83bd4 100644 --- a/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin2/plugin2.cpp +++ b/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin2/plugin2.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "plugin2.h" #include <extensionsystem/pluginmanager.h> diff --git a/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin2/plugin2.h b/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin2/plugin2.h index 08d77a38c704bdde74ae9bd6295c3b2a41ada3c4..8a8d9e7a6a91b8fc9a9b1bcf82f3895c24ca7292 100644 --- a/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin2/plugin2.h +++ b/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin2/plugin2.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PLUGIN2_H #define PLUGIN2_H @@ -53,6 +54,6 @@ private: bool initializeCalled; }; -} // namespace +} // namespace Plugin2 -#endif // header guard +#endif // PLUGIN2_H diff --git a/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin3/plugin3.cpp b/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin3/plugin3.cpp index 4410c34511349774d3f042870500a57ac22d4f54..3768b6e81c6d83f97bf18ee0f1762bc64b2273a3 100644 --- a/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin3/plugin3.cpp +++ b/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin3/plugin3.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "plugin3.h" #include <extensionsystem/pluginmanager.h> @@ -74,4 +75,3 @@ void MyPlugin3::extensionsInitialized() } Q_EXPORT_PLUGIN(MyPlugin3) - diff --git a/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin3/plugin3.h b/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin3/plugin3.h index 0991b7a152657ffda1ae10e1395058f62447e88b..813d91aee6b3cee9f2999a686e4d081b0bb04f4b 100644 --- a/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin3/plugin3.h +++ b/src/libs/extensionsystem/test/auto/pluginmanager/correctplugins1/plugin3/plugin3.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PLUGIN3_H #define PLUGIN3_H @@ -53,6 +53,6 @@ private: bool initializeCalled; }; -} // namespace +} // namespace Plugin3 -#endif // header guard +#endif // PLUGIN3_H diff --git a/src/libs/extensionsystem/test/auto/pluginmanager/tst_pluginmanager.cpp b/src/libs/extensionsystem/test/auto/pluginmanager/tst_pluginmanager.cpp index f54b978e9af77a5b3ca3a31ac2e77ab28a16d92f..18e3c26b01a5ac58603466b412189ef3af35d522 100644 --- a/src/libs/extensionsystem/test/auto/pluginmanager/tst_pluginmanager.cpp +++ b/src/libs/extensionsystem/test/auto/pluginmanager/tst_pluginmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,18 +26,19 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -#include <QtTest/QtTest> - -#include <QtCore/QObject> #include <extensionsystem/pluginmanager.h> #include <extensionsystem/pluginspec.h> #include <extensionsystem/iplugin.h> +#include <QtTest/QtTest> + +#include <QtCore/QObject> + using namespace ExtensionSystem; class SignalReceiver; @@ -263,5 +264,6 @@ void tst_PluginManager::correctPlugins1() } QTEST_MAIN(tst_PluginManager) + #include "tst_pluginmanager.moc" diff --git a/src/libs/extensionsystem/test/auto/pluginspec/testplugin/testplugin.cpp b/src/libs/extensionsystem/test/auto/pluginspec/testplugin/testplugin.cpp index 8c3db6c189557517555bf9c8da2832270e52d378..79ffc72ebfc734653bc1637be7db34c55bd1a5b6 100644 --- a/src/libs/extensionsystem/test/auto/pluginspec/testplugin/testplugin.cpp +++ b/src/libs/extensionsystem/test/auto/pluginspec/testplugin/testplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "testplugin.h" #include <QtCore/qplugin.h> diff --git a/src/libs/extensionsystem/test/auto/pluginspec/testplugin/testplugin.h b/src/libs/extensionsystem/test/auto/pluginspec/testplugin/testplugin.h index 10fc0acf508d2120ed93bffe5539c4555c45e886..050a9f12c47ae048108578933db25384b2d22e66 100644 --- a/src/libs/extensionsystem/test/auto/pluginspec/testplugin/testplugin.h +++ b/src/libs/extensionsystem/test/auto/pluginspec/testplugin/testplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef TESTPLUGIN_H #define TESTPLUGIN_H @@ -59,4 +60,4 @@ private: } // namespace -#endif // header guard +#endif // TESTPLUGIN_H diff --git a/src/libs/extensionsystem/test/auto/pluginspec/testplugin/testplugin_global.h b/src/libs/extensionsystem/test/auto/pluginspec/testplugin/testplugin_global.h index ae40ac8ea8bd7e15a4cd76afe81e0fd7c8469888..4c80166ca47dca1b26246c3e962602f07b25abdb 100644 --- a/src/libs/extensionsystem/test/auto/pluginspec/testplugin/testplugin_global.h +++ b/src/libs/extensionsystem/test/auto/pluginspec/testplugin/testplugin_global.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef TESTPLUGIN_GLOBAL_H #define TESTPLUGIN_GLOBAL_H @@ -41,4 +42,4 @@ # define MYPLUGIN_EXPORT Q_DECL_IMPORT #endif -#endif // header +#endif // TESTPLUGIN_GLOBAL_H diff --git a/src/libs/extensionsystem/test/auto/pluginspec/tst_pluginspec.cpp b/src/libs/extensionsystem/test/auto/pluginspec/tst_pluginspec.cpp index f3471edcaac2ec70b2d9e8a57183f743e1c750c5..ceb43f492034415ca36cdadecd13ed24aaf84c75 100644 --- a/src/libs/extensionsystem/test/auto/pluginspec/tst_pluginspec.cpp +++ b/src/libs/extensionsystem/test/auto/pluginspec/tst_pluginspec.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,11 +26,10 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -#include <QtTest/QtTest> #include "testplugin/testplugin.h" @@ -40,6 +39,7 @@ #include <extensionsystem/pluginmanager.h> #include <QtCore/QObject> +#include <QtTest/QtTest> using namespace ExtensionSystem; @@ -275,4 +275,5 @@ void tst_PluginSpec::initializeExtensions() } QTEST_MAIN(tst_PluginSpec) + #include "tst_pluginspec.moc" diff --git a/src/libs/extensionsystem/test/manual/pluginview/plugindialog.cpp b/src/libs/extensionsystem/test/manual/pluginview/plugindialog.cpp index 3282d9862e7b689ffe52399a65a5c0fa6abba6a5..4dd5027f619909dcd5a90d7e56b0eb672eff6c1a 100644 --- a/src/libs/extensionsystem/test/manual/pluginview/plugindialog.cpp +++ b/src/libs/extensionsystem/test/manual/pluginview/plugindialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,11 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "plugindialog.h" + #include <extensionsystem/plugindetailsview.h> #include <extensionsystem/pluginerrorview.h> #include <extensionsystem/pluginspec.h> @@ -139,4 +141,3 @@ int main(int argc, char *argv[]) dialog.show(); app.exec(); } - diff --git a/src/libs/extensionsystem/test/manual/pluginview/plugindialog.h b/src/libs/extensionsystem/test/manual/pluginview/plugindialog.h index 8987230681a9f4dd345187de034ade39958bc9cc..4e74409ab0b02aa6fa6564b95b2461369bfda1f7 100644 --- a/src/libs/extensionsystem/test/manual/pluginview/plugindialog.h +++ b/src/libs/extensionsystem/test/manual/pluginview/plugindialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,15 +26,17 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PLUGINDIALOG_H #define PLUGINDIALOG_H #include <extensionsystem/pluginview.h> #include <extensionsystem/pluginmanager.h> + #include <QtGui/QWidget> #include <QtGui/QPushButton> @@ -58,4 +60,4 @@ private: QPushButton *m_errorDetailsButton; }; -#endif +#endif // PLUGINDIALOG_H diff --git a/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin1/plugin1.cpp b/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin1/plugin1.cpp index 32d3bdf07013a4d68d1b6eda81f53b5816c3bcc7..23ad88838b75c2264acb1b654fd8dc0748968370 100644 --- a/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin1/plugin1.cpp +++ b/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin1/plugin1.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "plugin1.h" #include <extensionsystem/pluginmanager.h> @@ -83,4 +84,3 @@ void MyPlugin1::extensionsInitialized() } Q_EXPORT_PLUGIN(MyPlugin1) - diff --git a/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin1/plugin1.h b/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin1/plugin1.h index f993b25c9f2c76d3e5902be5be38a39cceca7340..d225aa8589eb8397aa074d44c5a4a76814c4a8a1 100644 --- a/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin1/plugin1.h +++ b/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin1/plugin1.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PLUGIN1_H #define PLUGIN1_H @@ -54,6 +55,6 @@ private: bool initializeCalled; }; -} // namespace +} // namespace Plugin1 -#endif // header guard +#endif // PLUGIN1_H diff --git a/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin2/plugin2.cpp b/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin2/plugin2.cpp index 3ce6f258fa8bd3a2768300b5afe21c575a6bc205..9c3ac91ad6baac03da5e54999376bfcb8ed0fb59 100644 --- a/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin2/plugin2.cpp +++ b/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin2/plugin2.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "plugin2.h" #include <extensionsystem/pluginmanager.h> @@ -66,4 +67,3 @@ void MyPlugin2::extensionsInitialized() } Q_EXPORT_PLUGIN(MyPlugin2) - diff --git a/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin2/plugin2.h b/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin2/plugin2.h index 51200387546522af483efa913bd84eefb9090f77..4d060b348e037101595bf5d14d250211c15c2106 100644 --- a/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin2/plugin2.h +++ b/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin2/plugin2.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PLUGIN2_H #define PLUGIN2_H @@ -54,6 +55,6 @@ private: bool initializeCalled; }; -} // namespace +} // namespace Plugin2 -#endif // header guard +#endif // PLUGIN2_H diff --git a/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin3/plugin3.cpp b/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin3/plugin3.cpp index ff37d06096ddd71e0e7188938d95be8325227036..5764776ccf14289c0e4cb8131e611ffea1f8a476 100644 --- a/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin3/plugin3.cpp +++ b/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin3/plugin3.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "plugin3.h" #include <extensionsystem/pluginmanager.h> @@ -74,4 +75,3 @@ void MyPlugin3::extensionsInitialized() } Q_EXPORT_PLUGIN(MyPlugin3) - diff --git a/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin3/plugin3.h b/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin3/plugin3.h index 00bd6429125ec20f3d92dd29a93d2cb68f8a12c1..cd5a823036044f123bcd68af28cbc7e8ac364452 100644 --- a/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin3/plugin3.h +++ b/src/libs/extensionsystem/test/manual/pluginview/plugins/plugin3/plugin3.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PLUGIN3_H #define PLUGIN3_H @@ -54,6 +55,6 @@ private: bool initializeCalled; }; -} // namespace +} // namespace Plugin3 -#endif // header guard +#endif // PLUGIN3_H diff --git a/src/libs/qtconcurrent/multitask.h b/src/libs/qtconcurrent/multitask.h index fc66de1715e5ab3416f6bbbccbe9a5fd202e6879..8f87ca04192745aa36ba3faef5783c2724c871db 100644 --- a/src/libs/qtconcurrent/multitask.h +++ b/src/libs/qtconcurrent/multitask.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,15 +26,17 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef MULTITASK_H #define MULTITASK_H #include "qtconcurrent_global.h" #include "runextensions.h" + #include <QtCore/QObject> #include <QtCore/QList> #include <QtCore/QEventLoop> @@ -184,14 +186,15 @@ private: }; template <typename Class, typename T> -QFuture<T> run(void (Class::*fn)(QFutureInterface<T> &), const QList<Class *> &objects, int priority = 0) { +QFuture<T> run(void (Class::*fn)(QFutureInterface<T> &), const QList<Class *> &objects, int priority = 0) +{ MultiTask<Class, T> *task = new MultiTask<Class, T>(fn, objects); QFuture<T> future = task->future(); QThreadPool::globalInstance()->start(task, priority); return future; } -} //namespace +} // namespace QtConcurrent QT_END_NAMESPACE diff --git a/src/libs/qtconcurrent/qtconcurrent_global.h b/src/libs/qtconcurrent/qtconcurrent_global.h index 15d47af5f3a8706cab3a7ff35140662fe7f8f9b8..fd3f8c76e61a67a01289749848712881f658b320 100644 --- a/src/libs/qtconcurrent/qtconcurrent_global.h +++ b/src/libs/qtconcurrent/qtconcurrent_global.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef QTCONCURRENT_GLOBAL_H #define QTCONCURRENT_GLOBAL_H diff --git a/src/libs/qtconcurrent/runextensions.h b/src/libs/qtconcurrent/runextensions.h index 43707c14d5d18adce026629c0483cc5efd51820d..9305f29ace27967b34508ba7e67e89f5f1632ae1 100644 --- a/src/libs/qtconcurrent/runextensions.h +++ b/src/libs/qtconcurrent/runextensions.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef QTCONCURRENT_RUNEX_H #define QTCONCURRENT_RUNEX_H @@ -390,8 +391,8 @@ QFuture<T> run(void (Class::*fn)(QFutureInterface<T> &), Class *object) return (new StoredInterfaceMemberFunctionCall0<T, void (Class::*)(QFutureInterface<T> &), Class>(fn, object))->start(); } -} //namespace QtConcurrent +} // namespace QtConcurrent QT_END_NAMESPACE -#endif +#endif // QTCONCURRENT_RUNEX_H diff --git a/src/libs/utils/basevalidatinglineedit.cpp b/src/libs/utils/basevalidatinglineedit.cpp index cb936e3c2d2b0cb125fb5f4b6e2119cbbfd977c4..f15e69641f2d7eec4f1f9069358306ac78b18586 100644 --- a/src/libs/utils/basevalidatinglineedit.cpp +++ b/src/libs/utils/basevalidatinglineedit.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "basevalidatinglineedit.h" #include <QtCore/QDebug> @@ -153,5 +154,5 @@ void BaseValidatingLineEdit::slotReturnPressed() emit validReturnPressed(); } -} -} +} // namespace Utils +} // namespace Core diff --git a/src/libs/utils/basevalidatinglineedit.h b/src/libs/utils/basevalidatinglineedit.h index 348268701126b609ee4850c187286d5ee8a70753..977f9fddec071387484d85adc7f11628c235f381 100644 --- a/src/libs/utils/basevalidatinglineedit.h +++ b/src/libs/utils/basevalidatinglineedit.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef BASEVALIDATINGLINEEDIT_H #define BASEVALIDATINGLINEEDIT_H @@ -95,6 +96,6 @@ private: BaseValidatingLineEditPrivate *m_bd; }; -} -} +} // namespace Utils +} // namespace Core #endif // BASEVALIDATINGLINEEDIT_H diff --git a/src/libs/utils/classnamevalidatinglineedit.cpp b/src/libs/utils/classnamevalidatinglineedit.cpp index b52758eda5fdb5bd157c5d4701ca2e2a0b8fa9f0..0210b96e702a20d627e20e83cfe30ced163d7247 100644 --- a/src/libs/utils/classnamevalidatinglineedit.cpp +++ b/src/libs/utils/classnamevalidatinglineedit.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "classnamevalidatinglineedit.h" #include <QtCore/QDebug> @@ -133,5 +134,5 @@ QString ClassNameValidatingLineEdit::createClassName(const QString &name) return className; } -} -} +} // namespace Utils +} // namespace Core diff --git a/src/libs/utils/classnamevalidatinglineedit.h b/src/libs/utils/classnamevalidatinglineedit.h index c0a209d0d71cfc58030d04f536e3e4e19015006e..bf6a23c615bbdbf680fcd62e533bc9d76ea89850 100644 --- a/src/libs/utils/classnamevalidatinglineedit.h +++ b/src/libs/utils/classnamevalidatinglineedit.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CLASSNAMEVALIDATINGLINEEDIT_H #define CLASSNAMEVALIDATINGLINEEDIT_H @@ -44,8 +45,9 @@ struct ClassNameValidatingLineEditPrivate; /* A Line edit that validates a C++ class name and emits a signal * to derive suggested file names from it. */ -class QWORKBENCH_UTILS_EXPORT ClassNameValidatingLineEdit : - public Core::Utils::BaseValidatingLineEdit { +class QWORKBENCH_UTILS_EXPORT ClassNameValidatingLineEdit + : public Core::Utils::BaseValidatingLineEdit +{ Q_DISABLE_COPY(ClassNameValidatingLineEdit) Q_PROPERTY(bool namespacesEnabled READ namespacesEnabled WRITE setNamespacesEnabled DESIGNABLE true) Q_OBJECT @@ -73,7 +75,7 @@ private: ClassNameValidatingLineEditPrivate *m_d; }; -} -} +} // namespace Utils +} // namespace Core #endif // CLASSNAMEVALIDATINGLINEEDIT_H diff --git a/src/libs/utils/codegeneration.cpp b/src/libs/utils/codegeneration.cpp index 3af484935a7ec39533e9c076b02dd2a69b1e011f..b450fe426c42721adf49354d4f70f79bdc9ad698 100644 --- a/src/libs/utils/codegeneration.cpp +++ b/src/libs/utils/codegeneration.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "codegeneration.h" #include <QtCore/QTextStream> diff --git a/src/libs/utils/codegeneration.h b/src/libs/utils/codegeneration.h index 1a20c76d083e83bcae915b2dece75d80b8b6354c..fcb1e99f9ada48c7feac2f0236c9add24f1e7d11 100644 --- a/src/libs/utils/codegeneration.h +++ b/src/libs/utils/codegeneration.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CODEGENERATION_H #define CODEGENERATION_H diff --git a/src/libs/utils/fancylineedit.cpp b/src/libs/utils/fancylineedit.cpp index e7e930c544e919d37ee94fae40f83c2151aea4e5..25526492636b2880d7f31a734d13407c7ca6348d 100644 --- a/src/libs/utils/fancylineedit.cpp +++ b/src/libs/utils/fancylineedit.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "fancylineedit.h" #include <QtCore/QEvent> diff --git a/src/libs/utils/fancylineedit.h b/src/libs/utils/fancylineedit.h index 24a109eada349f066e2759d441c1a3223cc9b2d7..072360ec9b00562db5f349261fe58df01ab9efea 100644 --- a/src/libs/utils/fancylineedit.h +++ b/src/libs/utils/fancylineedit.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FANCYLINEEDIT_H #define FANCYLINEEDIT_H @@ -77,11 +78,11 @@ public: bool useLayoutDirection() const; void setUseLayoutDirection(bool v); - /* Set whether tabbing in will trigger the menu. */ + // Set whether tabbing in will trigger the menu. bool hasMenuTabFocusTrigger() const; void setMenuTabFocusTrigger(bool v); - /* Hint text that is displayed when no focus is set */ + // Hint text that is displayed when no focus is set. QString hintText() const; bool isShowingHintText() const; diff --git a/src/libs/utils/filenamevalidatinglineedit.cpp b/src/libs/utils/filenamevalidatinglineedit.cpp index 1beed717efd828a05feb1b174830afada54afc09..57a0ed7a5f91577946807db122112559ffe75a0c 100644 --- a/src/libs/utils/filenamevalidatinglineedit.cpp +++ b/src/libs/utils/filenamevalidatinglineedit.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "filenamevalidatinglineedit.h" namespace Core { @@ -93,5 +94,5 @@ bool FileNameValidatingLineEdit::validate(const QString &value, QString *errorM return validateFileName(value, errorMessage); } -} -} +} // namespace Utils +} // namespace Core diff --git a/src/libs/utils/filenamevalidatinglineedit.h b/src/libs/utils/filenamevalidatinglineedit.h index 7535fc196de38aaef5fd675853513bfe47aabe58..5476e3cd5e936ec5c4084fe911526153dc092673 100644 --- a/src/libs/utils/filenamevalidatinglineedit.h +++ b/src/libs/utils/filenamevalidatinglineedit.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FILENAMEVALIDATINGLINEEDIT_H #define FILENAMEVALIDATINGLINEEDIT_H @@ -38,7 +39,8 @@ namespace Core { namespace Utils { -class QWORKBENCH_UTILS_EXPORT FileNameValidatingLineEdit : public BaseValidatingLineEdit { +class QWORKBENCH_UTILS_EXPORT FileNameValidatingLineEdit : public BaseValidatingLineEdit +{ Q_OBJECT Q_DISABLE_COPY(FileNameValidatingLineEdit) @@ -51,6 +53,7 @@ protected: virtual bool validate(const QString &value, QString *errorMessage) const; }; -} -} +} // namespace Utils +} // namespace Core + #endif // FILENAMEVALIDATINGLINEEDIT_H diff --git a/src/libs/utils/filesearch.cpp b/src/libs/utils/filesearch.cpp index 9756984b4b0935e917ed4f2762ec0165b9cc506e..6286b780d30db94e67f85d7f1cafe87c2c2712d4 100644 --- a/src/libs/utils/filesearch.cpp +++ b/src/libs/utils/filesearch.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "filesearch.h" #include <QtCore/QFile> @@ -44,162 +45,164 @@ using namespace Core::Utils; namespace { - void runFileSearch(QFutureInterface<FileSearchResult> &future, - QString searchTerm, - QStringList files, - QTextDocument::FindFlags flags) - { - future.setProgressRange(0, files.size()); - int numFilesSearched = 0; - int numMatches = 0; - - bool caseInsensitive = !(flags & QTextDocument::FindCaseSensitively); - bool wholeWord = (flags & QTextDocument::FindWholeWords); - - QByteArray sa = searchTerm.toUtf8(); - int scMaxIndex = sa.length()-1; - const char *sc = sa.constData(); - - QByteArray sal = searchTerm.toLower().toUtf8(); - const char *scl = sal.constData(); - - QByteArray sau = searchTerm.toUpper().toUtf8(); - const char *scu = sau.constData(); - - int chunkSize = qMax(100000, sa.length()); - - foreach (QString s, files) { - if (future.isPaused()) - future.waitForResume(); - if (future.isCanceled()) { - future.setProgressValueAndText(numFilesSearched, - qApp->translate("FileSearch", "%1: canceled. %2 occurrences found in %3 files."). - arg(searchTerm).arg(numMatches).arg(numFilesSearched)); - break; - } - QFile file(s); - if (!file.open(QIODevice::ReadOnly)) - continue; - int lineNr = 1; - const char *startOfLastLine = NULL; - - bool firstChunk = true; - while (!file.atEnd()) { - if (!firstChunk) - file.seek(file.pos()-sa.length()+1); - - const QByteArray chunk = file.read(chunkSize); - const char *chunkPtr = chunk.constData(); - startOfLastLine = chunkPtr; - for (const char *regionPtr = chunkPtr; regionPtr < chunkPtr + chunk.length()-scMaxIndex; ++regionPtr) { - const char *regionEnd = regionPtr + scMaxIndex; - - if (*regionPtr == '\n') { - startOfLastLine = regionPtr + 1; - ++lineNr; + +void runFileSearch(QFutureInterface<FileSearchResult> &future, + QString searchTerm, + QStringList files, + QTextDocument::FindFlags flags) +{ + future.setProgressRange(0, files.size()); + int numFilesSearched = 0; + int numMatches = 0; + + bool caseInsensitive = !(flags & QTextDocument::FindCaseSensitively); + bool wholeWord = (flags & QTextDocument::FindWholeWords); + + QByteArray sa = searchTerm.toUtf8(); + int scMaxIndex = sa.length()-1; + const char *sc = sa.constData(); + + QByteArray sal = searchTerm.toLower().toUtf8(); + const char *scl = sal.constData(); + + QByteArray sau = searchTerm.toUpper().toUtf8(); + const char *scu = sau.constData(); + + int chunkSize = qMax(100000, sa.length()); + + foreach (QString s, files) { + if (future.isPaused()) + future.waitForResume(); + if (future.isCanceled()) { + future.setProgressValueAndText(numFilesSearched, + qApp->translate("FileSearch", "%1: canceled. %2 occurrences found in %3 files."). + arg(searchTerm).arg(numMatches).arg(numFilesSearched)); + break; + } + QFile file(s); + if (!file.open(QIODevice::ReadOnly)) + continue; + int lineNr = 1; + const char *startOfLastLine = NULL; + + bool firstChunk = true; + while (!file.atEnd()) { + if (!firstChunk) + file.seek(file.pos()-sa.length()+1); + + const QByteArray chunk = file.read(chunkSize); + const char *chunkPtr = chunk.constData(); + startOfLastLine = chunkPtr; + for (const char *regionPtr = chunkPtr; regionPtr < chunkPtr + chunk.length()-scMaxIndex; ++regionPtr) { + const char *regionEnd = regionPtr + scMaxIndex; + + if (*regionPtr == '\n') { + startOfLastLine = regionPtr + 1; + ++lineNr; + } + else if ( + // case sensitive + (!caseInsensitive && *regionPtr == sc[0] && *regionEnd == sc[scMaxIndex]) + || + // case insensitive + (caseInsensitive && (*regionPtr == scl[0] || *regionPtr == scu[0]) + && (*regionEnd == scl[scMaxIndex] || *regionEnd == scu[scMaxIndex])) + ) { + const char *afterRegion = regionEnd + 1; + const char *beforeRegion = regionPtr - 1; + bool equal = true; + if (wholeWord && + ( ((*beforeRegion >= '0' && *beforeRegion <= '9') || *beforeRegion >= 'A') + || ((*afterRegion >= '0' && *afterRegion <= '9') || *afterRegion >= 'A'))) + { + equal = false; } - else if ( - // case sensitive - (!caseInsensitive && *regionPtr == sc[0] && *regionEnd == sc[scMaxIndex]) - || - // case insensitive - (caseInsensitive && (*regionPtr == scl[0] || *regionPtr == scu[0]) - && (*regionEnd == scl[scMaxIndex] || *regionEnd == scu[scMaxIndex])) - ) { - const char *afterRegion = regionEnd + 1; - const char *beforeRegion = regionPtr - 1; - bool equal = true; - if (wholeWord && - ( ((*beforeRegion >= '0' && *beforeRegion <= '9') || *beforeRegion >= 'A') - || ((*afterRegion >= '0' && *afterRegion <= '9') || *afterRegion >= 'A'))) - { - equal = false; - } - int regionIndex = 1; - for (const char *regionCursor = regionPtr + 1; regionCursor < regionEnd; ++regionCursor, ++regionIndex) { - if ( // case sensitive - (!caseInsensitive && equal && *regionCursor != sc[regionIndex]) - || - // case insensitive - (caseInsensitive && equal && *regionCursor != sc[regionIndex] && *regionCursor != scl[regionIndex] && *regionCursor != scu[regionIndex]) - ) { - equal = false; - } + int regionIndex = 1; + for (const char *regionCursor = regionPtr + 1; regionCursor < regionEnd; ++regionCursor, ++regionIndex) { + if ( // case sensitive + (!caseInsensitive && equal && *regionCursor != sc[regionIndex]) + || + // case insensitive + (caseInsensitive && equal && *regionCursor != sc[regionIndex] && *regionCursor != scl[regionIndex] && *regionCursor != scu[regionIndex]) + ) { + equal = false; } - if (equal) { - int textLength = chunk.length() - (startOfLastLine - chunkPtr); - if (textLength > 0) { - QByteArray res; - res.reserve(256); - int i = 0; - int n = 0; - while (startOfLastLine[i] != '\n' && startOfLastLine[i] != '\r' && i < textLength && n++ < 256) - res.append(startOfLastLine[i++]); - future.reportResult(FileSearchResult(QDir::toNativeSeparators(s), lineNr, QString(res), - regionPtr - startOfLastLine, sa.length())); - ++numMatches; - } + } + if (equal) { + int textLength = chunk.length() - (startOfLastLine - chunkPtr); + if (textLength > 0) { + QByteArray res; + res.reserve(256); + int i = 0; + int n = 0; + while (startOfLastLine[i] != '\n' && startOfLastLine[i] != '\r' && i < textLength && n++ < 256) + res.append(startOfLastLine[i++]); + future.reportResult(FileSearchResult(QDir::toNativeSeparators(s), lineNr, QString(res), + regionPtr - startOfLastLine, sa.length())); + ++numMatches; } } } - firstChunk = false; } - ++numFilesSearched; - future.setProgressValueAndText(numFilesSearched, qApp->translate("FileSearch", "%1: %2 occurrences found in %3 of %4 files."). - arg(searchTerm).arg(numMatches).arg(numFilesSearched).arg(files.size())); + firstChunk = false; } - if (!future.isCanceled()) - future.setProgressValueAndText(numFilesSearched, qApp->translate("FileSearch", "%1: %2 occurrences found in %3 files."). - arg(searchTerm).arg(numMatches).arg(numFilesSearched)); + ++numFilesSearched; + future.setProgressValueAndText(numFilesSearched, qApp->translate("FileSearch", "%1: %2 occurrences found in %3 of %4 files."). + arg(searchTerm).arg(numMatches).arg(numFilesSearched).arg(files.size())); } + if (!future.isCanceled()) + future.setProgressValueAndText(numFilesSearched, qApp->translate("FileSearch", "%1: %2 occurrences found in %3 files."). + arg(searchTerm).arg(numMatches).arg(numFilesSearched)); +} - void runFileSearchRegExp(QFutureInterface<FileSearchResult> &future, - QString searchTerm, - QStringList files, - QTextDocument::FindFlags flags) - { - future.setProgressRange(0, files.size()); - int numFilesSearched = 0; - int numMatches = 0; - if (flags & QTextDocument::FindWholeWords) - searchTerm = QString("\b%1\b").arg(searchTerm); - Qt::CaseSensitivity caseSensitivity = (flags & QTextDocument::FindCaseSensitively) ? Qt::CaseSensitive : Qt::CaseInsensitive; - QRegExp expression(searchTerm, caseSensitivity); - - foreach (QString s, files) { - if (future.isPaused()) - future.waitForResume(); - if (future.isCanceled()) { - future.setProgressValueAndText(numFilesSearched, - qApp->translate("FileSearch", "%1: canceled. %2 occurrences found in %3 files."). - arg(searchTerm).arg(numMatches).arg(numFilesSearched)); - break; - } - QFile file(s); - if (!file.open(QIODevice::ReadOnly)) - continue; - QTextStream stream(&file); - int lineNr = 1; - QString line; - while (!stream.atEnd()) { - line = stream.readLine(); - int pos = 0; - while ((pos = expression.indexIn(line, pos)) != -1) { - future.reportResult(FileSearchResult(QDir::toNativeSeparators(s), lineNr, line, - pos, expression.matchedLength())); - pos += expression.matchedLength(); - } - ++lineNr; +void runFileSearchRegExp(QFutureInterface<FileSearchResult> &future, + QString searchTerm, + QStringList files, + QTextDocument::FindFlags flags) +{ + future.setProgressRange(0, files.size()); + int numFilesSearched = 0; + int numMatches = 0; + if (flags & QTextDocument::FindWholeWords) + searchTerm = QString("\b%1\b").arg(searchTerm); + Qt::CaseSensitivity caseSensitivity = (flags & QTextDocument::FindCaseSensitively) ? Qt::CaseSensitive : Qt::CaseInsensitive; + QRegExp expression(searchTerm, caseSensitivity); + + foreach (QString s, files) { + if (future.isPaused()) + future.waitForResume(); + if (future.isCanceled()) { + future.setProgressValueAndText(numFilesSearched, + qApp->translate("FileSearch", "%1: canceled. %2 occurrences found in %3 files."). + arg(searchTerm).arg(numMatches).arg(numFilesSearched)); + break; + } + QFile file(s); + if (!file.open(QIODevice::ReadOnly)) + continue; + QTextStream stream(&file); + int lineNr = 1; + QString line; + while (!stream.atEnd()) { + line = stream.readLine(); + int pos = 0; + while ((pos = expression.indexIn(line, pos)) != -1) { + future.reportResult(FileSearchResult(QDir::toNativeSeparators(s), lineNr, line, + pos, expression.matchedLength())); + pos += expression.matchedLength(); } - ++numFilesSearched; - future.setProgressValueAndText(numFilesSearched, qApp->translate("FileSearch", "%1: %2 occurrences found in %3 of %4 files."). - arg(searchTerm).arg(numMatches).arg(numFilesSearched).arg(files.size())); + ++lineNr; } - if (!future.isCanceled()) - future.setProgressValueAndText(numFilesSearched, qApp->translate("FileSearch", "%1: %2 occurrences found in %3 files."). - arg(searchTerm).arg(numMatches).arg(numFilesSearched)); + ++numFilesSearched; + future.setProgressValueAndText(numFilesSearched, qApp->translate("FileSearch", "%1: %2 occurrences found in %3 of %4 files."). + arg(searchTerm).arg(numMatches).arg(numFilesSearched).arg(files.size())); } + if (!future.isCanceled()) + future.setProgressValueAndText(numFilesSearched, qApp->translate("FileSearch", "%1: %2 occurrences found in %3 files."). + arg(searchTerm).arg(numMatches).arg(numFilesSearched)); +} + } // namespace diff --git a/src/libs/utils/filesearch.h b/src/libs/utils/filesearch.h index 3b747fb54897cea75a3e4c01d1c1264685b9478e..d8b8f68cdb25f4c5de8be30387a5b18a3d7ca69a 100644 --- a/src/libs/utils/filesearch.h +++ b/src/libs/utils/filesearch.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FILESEARCH_H #define FILESEARCH_H @@ -63,7 +64,7 @@ QWORKBENCH_UTILS_EXPORT QFuture<FileSearchResult> findInFiles(const QString &sea QWORKBENCH_UTILS_EXPORT QFuture<FileSearchResult> findInFilesRegExp(const QString &searchTerm, const QStringList &files, QTextDocument::FindFlags flags); -} //Utils -} //Core +} // namespace Utils +} // namespace Core -#endif +#endif // FILESEARCH_H diff --git a/src/libs/utils/filewizarddialog.cpp b/src/libs/utils/filewizarddialog.cpp index 2843a304e5b5267a94e1cd8f27f2b3e39bffc56f..8608fed73ec6a0ed0bba88bce98cca01dcb29d9b 100644 --- a/src/libs/utils/filewizarddialog.cpp +++ b/src/libs/utils/filewizarddialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "filewizarddialog.h" #include "filewizardpage.h" diff --git a/src/libs/utils/filewizarddialog.h b/src/libs/utils/filewizarddialog.h index 6a4a7d9ba6f536cda9cb5dc4cab4e24b8c3d0286..e5ed0d90a34676d8582d58f3aa33fcde0a5abf1c 100644 --- a/src/libs/utils/filewizarddialog.h +++ b/src/libs/utils/filewizarddialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FILEWIZARDDIALOG_H #define FILEWIZARDDIALOG_H @@ -64,6 +65,7 @@ private: FileWizardPage *m_filePage; }; -} -} +} // namespace Utils +} // namespace Core + #endif // FILEWIZARDDIALOG_H diff --git a/src/libs/utils/filewizardpage.cpp b/src/libs/utils/filewizardpage.cpp index a448ebe7395f203f0f1bd68ecc7651edf42168e4..8a12e4c0f3c98a016aa1deedd3093243840b61af 100644 --- a/src/libs/utils/filewizardpage.cpp +++ b/src/libs/utils/filewizardpage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "filewizardpage.h" #include "ui_filewizardpage.h" diff --git a/src/libs/utils/filewizardpage.h b/src/libs/utils/filewizardpage.h index b2ae28a9d0d5efe3809ee1c30b43a2363262beb3..6f9364a3a42f256ad8d159f23a731a7d4d6a4fd2 100644 --- a/src/libs/utils/filewizardpage.h +++ b/src/libs/utils/filewizardpage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FILEWIZARDPAGE_H #define FILEWIZARDPAGE_H @@ -81,6 +82,7 @@ private: FileWizardPagePrivate *m_d; }; -} -} +} // namespace Utils +} // namespace Core + #endif // FILEWIZARDPAGE_H diff --git a/src/libs/utils/linecolumnlabel.cpp b/src/libs/utils/linecolumnlabel.cpp index c6028ab13ff46817a7e8e82d31210fa75e546ba7..c44df2217e8b7625d51a7b26790416c3fb79c499 100644 --- a/src/libs/utils/linecolumnlabel.cpp +++ b/src/libs/utils/linecolumnlabel.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,18 +26,18 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "linecolumnlabel.h" namespace Core { namespace Utils { -LineColumnLabel::LineColumnLabel(QWidget *parent) : - QLabel(parent), - m_unused(0) +LineColumnLabel::LineColumnLabel(QWidget *parent) + : QLabel(parent), m_unused(0) { } @@ -65,5 +65,5 @@ void LineColumnLabel::setMaxText(const QString &maxText) m_maxText = maxText; } -} -} +} // namespace Utils +} // namespace Core diff --git a/src/libs/utils/linecolumnlabel.h b/src/libs/utils/linecolumnlabel.h index d5dea084cc2700b75d1cb0da12ebd1fcaca911b8..044bfe209fe3249d010f18bfd11726606afb53ee 100644 --- a/src/libs/utils/linecolumnlabel.h +++ b/src/libs/utils/linecolumnlabel.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef LINECOLUMNLABEL_H #define LINECOLUMNLABEL_H @@ -42,7 +43,8 @@ namespace Utils { /* A label suitable for displaying cursor positions, etc. with a fixed * with derived from a sample text. */ -class QWORKBENCH_UTILS_EXPORT LineColumnLabel : public QLabel { +class QWORKBENCH_UTILS_EXPORT LineColumnLabel : public QLabel +{ Q_DISABLE_COPY(LineColumnLabel) Q_OBJECT Q_PROPERTY(QString maxText READ maxText WRITE setMaxText DESIGNABLE true) @@ -62,7 +64,7 @@ private: void *m_unused; }; -} -} +} // namespace Utils +} // namespace Core #endif // LINECOLUMNLABEL_H diff --git a/src/libs/utils/listutils.h b/src/libs/utils/listutils.h index 3b688f336dfc33194f981d3cc5454cadec225a3a..a3d85605d80142a793921ca2b27b99fec88f5d37 100644 --- a/src/libs/utils/listutils.h +++ b/src/libs/utils/listutils.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef LISTUTILS_H #define LISTUTILS_H @@ -48,7 +49,7 @@ QList<T1> qwConvertList(const QList<T2> &list) return convertedList; } -} // Utils -} // Core +} // namespace Utils +} // namespace Core #endif // LISTUTILS_H diff --git a/src/libs/utils/newclasswidget.cpp b/src/libs/utils/newclasswidget.cpp index 67cd1f8691d9d03f25a973ce428ef890f800edd2..df7d81e7b39c9b854fc53cef019de68935d897f0 100644 --- a/src/libs/utils/newclasswidget.cpp +++ b/src/libs/utils/newclasswidget.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "newclasswidget.h" #include "ui_newclasswidget.h" @@ -457,6 +458,5 @@ QStringList NewClassWidget::files() const return rc; } - } // namespace Utils } // namespace Core diff --git a/src/libs/utils/newclasswidget.h b/src/libs/utils/newclasswidget.h index e534189d7756b8d948e71a31cef94d065bdfc290..04c2aaf58a4f4143ba521955e85e474f87fc943e 100644 --- a/src/libs/utils/newclasswidget.h +++ b/src/libs/utils/newclasswidget.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef NEWCLASSWIDGET_H #define NEWCLASSWIDGET_H diff --git a/src/libs/utils/pathchooser.cpp b/src/libs/utils/pathchooser.cpp index 188aa3b126ba1f6e0155e09631280a71ce96e659..340dbcad36a1d7661dd2c76493948d27c58e134c 100644 --- a/src/libs/utils/pathchooser.cpp +++ b/src/libs/utils/pathchooser.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "pathchooser.h" #include "basevalidatinglineedit.h" @@ -181,5 +182,5 @@ QString PathChooser::homePath() #endif } -} -} +} // namespace Utils +} // namespace Core diff --git a/src/libs/utils/pathchooser.h b/src/libs/utils/pathchooser.h index e09040c4c06b8405f6c6f4bdd0c044ada9ab3449..7ae60a255bf17c7d55d24121e3ec823e24cbb93c 100644 --- a/src/libs/utils/pathchooser.h +++ b/src/libs/utils/pathchooser.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PATHCHOOSER_H #define PATHCHOOSER_H @@ -84,7 +84,7 @@ private: PathChooserPrivate *m_d; }; -} -} +} // namespace Utils +} // namespace Core #endif // PATHCHOOSER_H diff --git a/src/libs/utils/projectintropage.cpp b/src/libs/utils/projectintropage.cpp index bc17333fb97712e16bc02eb36c5c89ff87f17e63..8d3705719377fea03909804ada1576633d92072e 100644 --- a/src/libs/utils/projectintropage.cpp +++ b/src/libs/utils/projectintropage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "projectintropage.h" #include "filewizardpage.h" #include "ui_projectintropage.h" @@ -211,5 +212,5 @@ void ProjectIntroPage::hideStatusLabel() displayStatusMessage(Hint, QString()); } -} -} +} // namespace Utils +} // namespace Core diff --git a/src/libs/utils/projectintropage.h b/src/libs/utils/projectintropage.h index 56dcc2532725837d29292a3cf6ffe06f3f3bf77f..e554c61705e3360ec63efa74b6e6945761ded7ab 100644 --- a/src/libs/utils/projectintropage.h +++ b/src/libs/utils/projectintropage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PROJECTINTROPAGE_H #define PROJECTINTROPAGE_H @@ -55,7 +56,8 @@ struct ProjectIntroPagePrivate; * layout, otherwise, QWizard will squeeze it due to its strange expanding * hacks. */ -class QWORKBENCH_UTILS_EXPORT ProjectIntroPage : public QWizardPage { +class QWORKBENCH_UTILS_EXPORT ProjectIntroPage : public QWizardPage +{ Q_OBJECT Q_DISABLE_COPY(ProjectIntroPage) Q_PROPERTY(QString description READ description WRITE setPath DESIGNABLE true) @@ -102,6 +104,7 @@ private: ProjectIntroPagePrivate *m_d; }; -} -} +} // namespace Utils +} // namespace Core + #endif // PROJECTINTROPAGE_H diff --git a/src/libs/utils/projectnamevalidatinglineedit.cpp b/src/libs/utils/projectnamevalidatinglineedit.cpp index fb979d39345155a6865e71dd539e4eae6b39cb70..df77af8e832a21e41746e99c6199bcaa5a9ca1fb 100644 --- a/src/libs/utils/projectnamevalidatinglineedit.cpp +++ b/src/libs/utils/projectnamevalidatinglineedit.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,18 +26,19 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "projectnamevalidatinglineedit.h" #include "filenamevalidatinglineedit.h" namespace Core { namespace Utils { -ProjectNameValidatingLineEdit::ProjectNameValidatingLineEdit(QWidget *parent) : - BaseValidatingLineEdit(parent) +ProjectNameValidatingLineEdit::ProjectNameValidatingLineEdit(QWidget *parent) + : BaseValidatingLineEdit(parent) { } @@ -62,5 +63,5 @@ bool ProjectNameValidatingLineEdit::validate(const QString &value, QString *erro return validateProjectName(value, errorMessage); } -} -} +} // namespace Utils +} // namespace Core diff --git a/src/libs/utils/projectnamevalidatinglineedit.h b/src/libs/utils/projectnamevalidatinglineedit.h index c677cea141477a6e0f8c6945edd6be6af1beb637..12152912cca769e06c41f2bf077e04aa6e299ac4 100644 --- a/src/libs/utils/projectnamevalidatinglineedit.h +++ b/src/libs/utils/projectnamevalidatinglineedit.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PROJECTNAMEVALIDATINGLINEEDIT_H #define PROJECTNAMEVALIDATINGLINEEDIT_H @@ -38,7 +39,8 @@ namespace Core { namespace Utils { -class QWORKBENCH_UTILS_EXPORT ProjectNameValidatingLineEdit : public BaseValidatingLineEdit { +class QWORKBENCH_UTILS_EXPORT ProjectNameValidatingLineEdit : public BaseValidatingLineEdit +{ Q_OBJECT Q_DISABLE_COPY(ProjectNameValidatingLineEdit) @@ -51,6 +53,7 @@ protected: virtual bool validate(const QString &value, QString *errorMessage) const; }; -} -} +} // namespace Utils +} // namespace Core + #endif // PROJECTNAMEVALIDATINGLINEEDIT_H diff --git a/src/libs/utils/qtcolorbutton.cpp b/src/libs/utils/qtcolorbutton.cpp index 8b54bdda1d436d44a3a6d55fbfe97610073052f0..4003f6ec6f0a292baeb165635a83fd1fd1f8b110 100644 --- a/src/libs/utils/qtcolorbutton.cpp +++ b/src/libs/utils/qtcolorbutton.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,16 +26,18 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "qtcolorbutton.h" -#include <QtGui/QColorDialog> -#include <QtGui/QPainter> + #include <QtCore/QMimeData> -#include <QtGui/QDragEnterEvent> #include <QtGui/QApplication> +#include <QtGui/QColorDialog> +#include <QtGui/QDragEnterEvent> +#include <QtGui/QPainter> namespace Core { namespace Utils { diff --git a/src/libs/utils/qtcolorbutton.h b/src/libs/utils/qtcolorbutton.h index 07355c883ec9c6bbe138728181b6fe720b8c12b6..cd94aa7e96382051ccc32db484a96777128ff43e 100644 --- a/src/libs/utils/qtcolorbutton.h +++ b/src/libs/utils/qtcolorbutton.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef QTCOLORBUTTON_H #define QTCOLORBUTTON_H diff --git a/src/libs/utils/reloadpromptutils.cpp b/src/libs/utils/reloadpromptutils.cpp index ca1d9e23dedb0c172c085b4970f05747ac7e74d9..e3d3961a0d8bca354d3f36e28edae576eda26301 100644 --- a/src/libs/utils/reloadpromptutils.cpp +++ b/src/libs/utils/reloadpromptutils.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,11 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "reloadpromptutils.h" + #include <QtGui/QMessageBox> using namespace Core; @@ -47,7 +49,8 @@ QWORKBENCH_UTILS_EXPORT Core::Utils::ReloadPromptAnswer QWORKBENCH_UTILS_EXPORT Core::Utils::ReloadPromptAnswer Core::Utils::reloadPrompt(const QString &title, const QString &prompt, QWidget *parent) { - switch (QMessageBox::question(parent, title, prompt, QMessageBox::Yes|QMessageBox::YesToAll|QMessageBox::No|QMessageBox::NoToAll, + switch (QMessageBox::question(parent, title, prompt, + QMessageBox::Yes|QMessageBox::YesToAll|QMessageBox::No|QMessageBox::NoToAll, QMessageBox::YesToAll)) { case QMessageBox::Yes: return ReloadCurrent; diff --git a/src/libs/utils/reloadpromptutils.h b/src/libs/utils/reloadpromptutils.h index deaf4b920a662a39d6d8bbaff4eab486023da4f4..4ccb259179d7b65d35c762aa5b877e906177296d 100644 --- a/src/libs/utils/reloadpromptutils.h +++ b/src/libs/utils/reloadpromptutils.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef RELOADPROMPTUTILS_H #define RELOADPROMPTUTILS_H diff --git a/src/libs/utils/settingsutils.cpp b/src/libs/utils/settingsutils.cpp index ca8de01828e0db61236f04575e2e6438c9bf175b..5862c4f306cc0d1e8fc10299f9efc68b467fd61b 100644 --- a/src/libs/utils/settingsutils.cpp +++ b/src/libs/utils/settingsutils.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,11 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "settingsutils.h" + #include <QtCore/QString> namespace Core { @@ -41,13 +43,13 @@ QWORKBENCH_UTILS_EXPORT QString settingsKey(const QString &category) QString rc(category); const QChar underscore = QLatin1Char('_'); const int size = rc.size(); - for (int i = 0; i < size;i++) { + for (int i = 0; i < size; i++) { const QChar c = rc.at(i); - if (!c.isLetterOrNumber() && c != underscore) + if (!c.isLetterOrNumber() && c != underscore) rc[i] = underscore; } return rc; } -} -} +} // namespace Utils +} // namespace Core diff --git a/src/libs/utils/settingsutils.h b/src/libs/utils/settingsutils.h index 734a2f02f9d4ee3f983a3778c63b39a83e7f26d6..9920ec6ba923a9c8d6c6fbb362b9b7c8e285aa16 100644 --- a/src/libs/utils/settingsutils.h +++ b/src/libs/utils/settingsutils.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SETTINGSTUTILS_H #define SETTINGSTUTILS_H diff --git a/src/libs/utils/submiteditorwidget.cpp b/src/libs/utils/submiteditorwidget.cpp index aeafcd828d558e051663bd5e583bec18d3d86e30..6b50ad3cf109c481ae1abf88974088509760e5f9 100644 --- a/src/libs/utils/submiteditorwidget.cpp +++ b/src/libs/utils/submiteditorwidget.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,22 +26,24 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "submiteditorwidget.h" #include "ui_submiteditorwidget.h" #include <QtCore/QDebug> #include <QtCore/QPointer> -enum { debug= 0 }; +enum { debug = 0 }; namespace Core { namespace Utils { -struct SubmitEditorWidgetPrivate { +struct SubmitEditorWidgetPrivate +{ SubmitEditorWidgetPrivate(); Ui::SubmitEditorWidget m_ui; diff --git a/src/libs/utils/submiteditorwidget.h b/src/libs/utils/submiteditorwidget.h index 3c40ccecba72e02ec41e91d6e8c7b448a3948828..9e3b2455572e66d44b5b07c08f2896fe64b251bc 100644 --- a/src/libs/utils/submiteditorwidget.h +++ b/src/libs/utils/submiteditorwidget.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SUBMITEDITORWIDGET_H #define SUBMITEDITORWIDGET_H @@ -65,7 +66,8 @@ struct SubmitEditorWidgetPrivate; * Care should be taken to ensure the widget is deleted properly when the * editor closes. */ -class QWORKBENCH_UTILS_EXPORT SubmitEditorWidget : public QWidget { +class QWORKBENCH_UTILS_EXPORT SubmitEditorWidget : public QWidget +{ Q_OBJECT Q_DISABLE_COPY(SubmitEditorWidget) Q_PROPERTY(QString descriptionText READ descriptionText WRITE setDescriptionText DESIGNABLE true) @@ -117,6 +119,7 @@ private: SubmitEditorWidgetPrivate *m_d; }; -} -} +} // namespace Utils +} // namespace Core + #endif // SUBMITEDITORWIDGET_H diff --git a/src/libs/utils/synchronousprocess.cpp b/src/libs/utils/synchronousprocess.cpp index 71bcdffb6cca6967f4507ca66b300e391821be52..078373aa20837842dc505edbf791703539c73a06 100644 --- a/src/libs/utils/synchronousprocess.cpp +++ b/src/libs/utils/synchronousprocess.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "synchronousprocess.h" @@ -352,5 +352,5 @@ void SynchronousProcess::processStdErr(bool emitSignals) } } -} -} +} // namespace Utils +} // namespace Core diff --git a/src/libs/utils/synchronousprocess.h b/src/libs/utils/synchronousprocess.h index 9458655d6bfa8053c3306d5cb777886d89aa6808..822edcb74edf70d2ea7fa489c9e379a2c4000fc5 100644 --- a/src/libs/utils/synchronousprocess.h +++ b/src/libs/utils/synchronousprocess.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,19 +26,20 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SYNCHRONOUSPROCESS_H #define SYNCHRONOUSPROCESS_H +#include "utils_global.h" + #include <QtCore/QObject> #include <QtCore/QProcess> #include <QtCore/QStringList> -#include "utils_global.h" - QT_BEGIN_NAMESPACE class QTextCodec; class QDebug; @@ -51,7 +52,8 @@ namespace Utils { struct SynchronousProcessPrivate; /* Result of SynchronousProcess execution */ -struct QWORKBENCH_UTILS_EXPORT SynchronousProcessResponse { +struct QWORKBENCH_UTILS_EXPORT SynchronousProcessResponse +{ enum Result { // Finished with return code 0 Finished, @@ -87,7 +89,8 @@ QWORKBENCH_UTILS_EXPORT QDebug operator<<(QDebug str, const SynchronousProcessRe * stdOutBufferedSignalsEnabled()/setStdErrBufferedSignalsEnabled(). * They would typically be used for log windows. */ -class QWORKBENCH_UTILS_EXPORT SynchronousProcess : public QObject { +class QWORKBENCH_UTILS_EXPORT SynchronousProcess : public QObject +{ Q_OBJECT public: SynchronousProcess(); @@ -134,6 +137,7 @@ private: SynchronousProcessPrivate *m_d; }; -} -} +} // namespace Utils +} // namespace Core + #endif diff --git a/src/libs/utils/utils_global.h b/src/libs/utils/utils_global.h index 3a91f77a2b9f94b18fc3b8bf8bfea61b217a4844..0a921cff912bb5c078595881efe432f5729c3f1e 100644 --- a/src/libs/utils/utils_global.h +++ b/src/libs/utils/utils_global.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,22 +26,10 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/**************************************************************************** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** -** Copyright (C) 1992-$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 UTILS_GLOBAL_H #define UTILS_GLOBAL_H diff --git a/src/plugins/bineditor/bineditor.cpp b/src/plugins/bineditor/bineditor.cpp index 4ca6e18707cf757c5f42f4e510396c03d11ba0ed..05e24a77b49b6b7c8e1b5028480bf3c2ef18f8b9 100644 --- a/src/plugins/bineditor/bineditor.cpp +++ b/src/plugins/bineditor/bineditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "bineditor.h" #include <texteditor/fontsettings.h> diff --git a/src/plugins/bineditor/bineditor.h b/src/plugins/bineditor/bineditor.h index 2eae59af1a764dabcd9bae4fff1b833644a66b4c..c6bb870b0afedc641dfa82961e2b500c706dbdb3 100644 --- a/src/plugins/bineditor/bineditor.h +++ b/src/plugins/bineditor/bineditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef BINEDITOR_H #define BINEDITOR_H diff --git a/src/plugins/bineditor/bineditorconstants.h b/src/plugins/bineditor/bineditorconstants.h index f67d6c522d7f27c02ca9b1f009df71b3c4e5e58b..66419c42f4e54450ddcb34fd84f8b2524c83ae4c 100644 --- a/src/plugins/bineditor/bineditorconstants.h +++ b/src/plugins/bineditor/bineditorconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,18 +26,21 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef BINEDITORCONSTANTS_H #define BINEDITORCONSTANTS_H namespace BINEditor { - namespace Constants { - const char * const C_BINEDITOR = "Binary Editor"; - const char * const C_BINEDITOR_MIMETYPE = "application/octet-stream"; - } -} +namespace Constants { + +const char * const C_BINEDITOR = "Binary Editor"; +const char * const C_BINEDITOR_MIMETYPE = "application/octet-stream"; + +} // namespace Constants +} // namespace BINEditor #endif // BINEDITORCONSTANTS_H diff --git a/src/plugins/bineditor/bineditorplugin.cpp b/src/plugins/bineditor/bineditorplugin.cpp index ee223f3deae3a85130f7ffa9c4ee63a4737900c7..e3a5540717fc4cbef1f558dc05767b3ad6abb702 100644 --- a/src/plugins/bineditor/bineditorplugin.cpp +++ b/src/plugins/bineditor/bineditorplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "bineditorplugin.h" #include "bineditor.h" #include "bineditorconstants.h" diff --git a/src/plugins/bineditor/bineditorplugin.h b/src/plugins/bineditor/bineditorplugin.h index 6bd0da64b30d007029b6c3e85c629d040c5a29b8..78d54db6959d17c0c939183a71bd8240419ab69b 100644 --- a/src/plugins/bineditor/bineditorplugin.h +++ b/src/plugins/bineditor/bineditorplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,21 +26,22 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef BINEDITORPLUGIN_H #define BINEDITORPLUGIN_H +#include <extensionsystem/iplugin.h> +#include <coreplugin/editormanager/ieditorfactory.h> + #include <QtCore/qplugin.h> #include <QtCore/QPointer> #include <QtCore/QStringList> #include <QtGui/QAction> -#include <extensionsystem/iplugin.h> -#include <coreplugin/editormanager/ieditorfactory.h> - namespace Core { class ICore; class IWizard; diff --git a/src/plugins/bookmarks/bookmark.cpp b/src/plugins/bookmarks/bookmark.cpp index 41f4659cb7001a96e86327fb984cbd05cff5fefc..00bcecf937d9c0e3b1945967fe1de9d38bb9a0ec 100644 --- a/src/plugins/bookmarks/bookmark.cpp +++ b/src/plugins/bookmarks/bookmark.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,12 +26,14 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "bookmark.h" #include "bookmarkmanager.h" + #include <QtCore/QDebug> #include <QtGui/QTextBlock> diff --git a/src/plugins/bookmarks/bookmark.h b/src/plugins/bookmarks/bookmark.h index d54d6af3e5610caa11d5a26387d57c2955bb5848..bbf5d13a469bacccf7974e6363b70cc3fb4258a7 100644 --- a/src/plugins/bookmarks/bookmark.h +++ b/src/plugins/bookmarks/bookmark.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef BOOKMARK_H #define BOOKMARK_H diff --git a/src/plugins/bookmarks/bookmarkmanager.cpp b/src/plugins/bookmarks/bookmarkmanager.cpp index bb26bfbd4ffa7f565d4721f9dc90db861c7d1f9e..0e8482b6f98add4f0920557a7aa7418188837e12 100644 --- a/src/plugins/bookmarks/bookmarkmanager.cpp +++ b/src/plugins/bookmarks/bookmarkmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "bookmarkmanager.h" #include "bookmark.h" #include "bookmarksplugin.h" diff --git a/src/plugins/bookmarks/bookmarkmanager.h b/src/plugins/bookmarks/bookmarkmanager.h index 45e4bf3b7b1e081f09ccd5284907658167427be9..3b03e32d670c411f4e1ce7b43459bfeb43500e2b 100644 --- a/src/plugins/bookmarks/bookmarkmanager.h +++ b/src/plugins/bookmarks/bookmarkmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef BOOKMARKMANAGER_H #define BOOKMARKMANAGER_H @@ -131,7 +132,8 @@ private: QItemSelectionModel *m_selectionModel; }; -class BookmarkView : public QListView { +class BookmarkView : public QListView +{ Q_OBJECT public: BookmarkView(QWidget *parent = 0); diff --git a/src/plugins/bookmarks/bookmarks_global.h b/src/plugins/bookmarks/bookmarks_global.h index e29f4e5865012352dfc2aa46a9b62c4171098a21..5eecc4c9a5a558206ecba4683348d8f9678a979e 100644 --- a/src/plugins/bookmarks/bookmarks_global.h +++ b/src/plugins/bookmarks/bookmarks_global.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef BOOKMARKS_GLOBAL_H #define BOOKMARKS_GLOBAL_H @@ -49,8 +50,8 @@ const char * const BOOKMARKS_NEXTDOC_ACTION = "Bookmarks.Next.Document"; const char * const BOOKMARKS_MENU = "Bookmarks.Menu"; const char * const BOOKMARKS_CONTEXT = "Bookmarks"; -} //namespace Constants -} //namespace Bookmarks +} // namespace Constants +} // namespace Bookmarks -#endif //BOOKMARKS_GLOBAL_H +#endif // BOOKMARKS_GLOBAL_H diff --git a/src/plugins/bookmarks/bookmarksplugin.cpp b/src/plugins/bookmarks/bookmarksplugin.cpp index 76df8e57774d224f0424505e1e601e22c0d55e31..fa749f7bef9004e952d10b4674d5d399f624abed 100644 --- a/src/plugins/bookmarks/bookmarksplugin.cpp +++ b/src/plugins/bookmarks/bookmarksplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,32 +26,32 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "bookmarksplugin.h" #include "bookmarkmanager.h" #include "bookmarks_global.h" -#include <QtCore/qplugin.h> -#include <QtGui/QMenu> -#include <QDebug> - #include <texteditor/texteditorconstants.h> #include <coreplugin/icore.h> #include <coreplugin/coreconstants.h> #include <coreplugin/uniqueidmanager.h> #include <coreplugin/actionmanager/actionmanagerinterface.h> +#include <QtCore/qplugin.h> +#include <QtGui/QMenu> +#include <QDebug> + using namespace Bookmarks::Constants; using namespace Bookmarks::Internal; BookmarksPlugin *BookmarksPlugin::m_instance = 0; -BookmarksPlugin::BookmarksPlugin(): - m_bookmarkManager(0), - m_core(0) +BookmarksPlugin::BookmarksPlugin() + : m_bookmarkManager(0), m_core(0) { m_instance = this; } diff --git a/src/plugins/bookmarks/bookmarksplugin.h b/src/plugins/bookmarks/bookmarksplugin.h index 7da45ef5ee75f1fbe25d9cf0f6062c9000d85dad..a5d919eb974a1c7d29094893c7c4c637f16c7c2f 100644 --- a/src/plugins/bookmarks/bookmarksplugin.h +++ b/src/plugins/bookmarks/bookmarksplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef BOOKMARKS_H #define BOOKMARKS_H diff --git a/src/plugins/cmakeprojectmanager/cmakeproject.cpp b/src/plugins/cmakeprojectmanager/cmakeproject.cpp index 2c98124bb908f0c4ce1c54a29eb31a9252f896e8..5f038f02f1b5f54d6d47063105bcab3af8ed6c0c 100644 --- a/src/plugins/cmakeprojectmanager/cmakeproject.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeproject.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,15 +26,18 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "cmakeproject.h" #include "cmakeprojectconstants.h" #include "cmakeprojectnodes.h" + #include <extensionsystem/pluginmanager.h> #include <cpptools/cppmodelmanagerinterface.h> + #include <QtCore/QDebug> using namespace CMakeProjectManager; diff --git a/src/plugins/cmakeprojectmanager/cmakeproject.h b/src/plugins/cmakeprojectmanager/cmakeproject.h index b5a8d0b6b4a491ac7ae51e9cad5c5a3c3f69e835..281b372a3ecdd26d2a19d407a8295a4a75f3a3d7 100644 --- a/src/plugins/cmakeprojectmanager/cmakeproject.h +++ b/src/plugins/cmakeprojectmanager/cmakeproject.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,21 +26,23 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CMAKEPROJECT_H #define CMAKEPROJECT_H +#include "cmakeprojectmanager.h" +#include "cmakeprojectnodes.h" + #include <projectexplorer/project.h> #include <projectexplorer/projectnodes.h> #include <projectexplorer/buildstep.h> #include <coreplugin/ifile.h> -#include <QtCore/QXmlStreamReader> -#include "cmakeprojectmanager.h" -#include "cmakeprojectnodes.h" +#include <QtCore/QXmlStreamReader> namespace CMakeProjectManager { namespace Internal{ @@ -152,7 +154,7 @@ public: virtual void init(const QString &buildConfiguration); }; -} -} +} // namespace Internal +} // namespace CMakeProjectManager #endif // CMAKEPROJECT_H diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectconstants.h b/src/plugins/cmakeprojectmanager/cmakeprojectconstants.h index 02c76f6682d86a9eb45477c401118897341be9ec..5a3782e70607a8e4d41b855bad217fe4d0200bce 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectconstants.h +++ b/src/plugins/cmakeprojectmanager/cmakeprojectconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CMAKEPROJECTCONSTANTS_H #define CMAKEPROJECTCONSTANTS_H @@ -39,7 +40,7 @@ namespace Constants { const char * const PROJECTCONTEXT = "CMakeProject.ProjectContext"; const char * const CMAKEMIMETYPE = "text/x-cmake"; // TOOD check that this is correct -} -} +} // namespace Constants +} // namespace CMakeProjectManager #endif // CMAKEPROJECTCONSTANTS_H diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp index 4a179967ccb1d89a4da24f5a28eaa414efdea91f..7d9780eaf1a9c3646eefa3be2464fae0b5700923 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "cmakeprojectmanager.h" #include "cmakeprojectconstants.h" #include "cmakeproject.h" @@ -40,7 +41,6 @@ #include <coreplugin/uniqueidmanager.h> #include <projectexplorer/projectexplorerconstants.h> - using namespace CMakeProjectManager::Internal; CMakeManager::CMakeManager() diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.h b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.h index 3808b72efba557d21e28f1991a96591b4d476e03..04c497288f2861be839bc45d11108aaad39eed38 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectmanager.h +++ b/src/plugins/cmakeprojectmanager/cmakeprojectmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CMAKEPROJECTMANAGER_H #define CMAKEPROJECTMANAGER_H @@ -55,6 +56,8 @@ private: int m_projectContext; int m_projectLanguage; }; -} -} + +} // namespace Internal +} // namespace CMakeProjectManager + #endif // CMAKEPROJECTMANAGER_H diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectnodes.cpp b/src/plugins/cmakeprojectmanager/cmakeprojectnodes.cpp index 338750158f740dc4357d941dde471bd329361bcf..d750ca60a2681982d1ac8a54717018dea4727e46 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectnodes.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeprojectnodes.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "cmakeprojectnodes.h" using namespace CMakeProjectManager; diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectnodes.h b/src/plugins/cmakeprojectmanager/cmakeprojectnodes.h index a0a9453a47d7b068b4e7cdcae300854a2dcce89a..80044fcf989301c6d1b85bb971cd2fa6f76f553c 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectnodes.h +++ b/src/plugins/cmakeprojectmanager/cmakeprojectnodes.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CMAKEPROJECTNODE_H #define CMAKEPROJECTNODE_H @@ -60,7 +61,8 @@ public: using ProjectNode::addFileNodes; using ProjectNode::addFolderNodes; }; -} -} + +} // namespace Internal +} // namespace CMakeProjectManager #endif // CMAKEPROJECTNODE_H diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectplugin.cpp b/src/plugins/cmakeprojectmanager/cmakeprojectplugin.cpp index 45c8c5d2132372bcc890c221b717d32278c20779..2b59a47c8e277669a9c11afab67776a6457e328e 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectplugin.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeprojectplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,17 +26,20 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "cmakeprojectplugin.h" +#include "cmakeprojectmanager.h" + #include <coreplugin/icore.h> #include <coreplugin/mimedatabase.h> + #include <QtCore/qplugin.h> #include <QtCore/QDebug> -#include "cmakeprojectmanager.h" using namespace CMakeProjectManager::Internal; @@ -48,18 +51,17 @@ CMakeProjectPlugin::~CMakeProjectPlugin() { } -bool CMakeProjectPlugin::initialize(const QStringList & /*arguments*/, QString *error_message) +bool CMakeProjectPlugin::initialize(const QStringList & /*arguments*/, QString *errorMessage) { Core::ICore *core = ExtensionSystem::PluginManager::instance()->getObject<Core::ICore>(); - QString errorMessage; - core->mimeDatabase()->addMimeTypes(QLatin1String(":cmakeproject/CMakeProject.mimetypes.xml"), &errorMessage); + if (!core->mimeDatabase()->addMimeTypes(QLatin1String(":cmakeproject/CMakeProject.mimetypes.xml"), errorMessage)) + return false; addAutoReleasedObject(new CMakeManager()); return true; } void CMakeProjectPlugin::extensionsInitialized() { - } Q_EXPORT_PLUGIN(CMakeProjectPlugin) diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h b/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h index 0620220667ae8d3256f1ac260c830b50e780ff84..44ef2387725346c52d93ca40d6f04e24eca057a5 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h +++ b/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CMAKEPROJECTPLUGIN_H #define CMAKEPROJECTPLUGIN_H @@ -52,9 +53,6 @@ public: bool initialize(const QStringList &arguments, QString *error_message); void extensionsInitialized(); - - -private: }; } // namespace Internal diff --git a/src/plugins/coreplugin/actionmanager/actioncontainer.cpp b/src/plugins/coreplugin/actionmanager/actioncontainer.cpp index ab30677a628972dc3325028372a8e4fb1827c407..063b80e0b7ee642ba5ce976052af04c4ed2a69fb 100644 --- a/src/plugins/coreplugin/actionmanager/actioncontainer.cpp +++ b/src/plugins/coreplugin/actionmanager/actioncontainer.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "actioncontainer.h" #include "command.h" #include "coreimpl.h" diff --git a/src/plugins/coreplugin/actionmanager/actioncontainer.h b/src/plugins/coreplugin/actionmanager/actioncontainer.h index 8f629410a42e1c22c7c51a7c9f3715374a83a165..140ddee211e947566719793bcef48e2eefe17131 100644 --- a/src/plugins/coreplugin/actionmanager/actioncontainer.h +++ b/src/plugins/coreplugin/actionmanager/actioncontainer.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef ACTIONCONTAINER_H #define ACTIONCONTAINER_H @@ -152,6 +153,4 @@ private: } // namespace Internal } // namespace Core -#endif //ACTIONCONTAINER_H - - +#endif // ACTIONCONTAINER_H diff --git a/src/plugins/coreplugin/actionmanager/actionmanager.cpp b/src/plugins/coreplugin/actionmanager/actionmanager.cpp index f218a84c732a9ee5958269875bd75d6c2e032bdf..cb59db7a12a9f582db3d9b59a24ab5e419a2b0e1 100644 --- a/src/plugins/coreplugin/actionmanager/actionmanager.cpp +++ b/src/plugins/coreplugin/actionmanager/actionmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "actionmanager.h" #include "mainwindow.h" #include "actioncontainer.h" @@ -510,6 +511,7 @@ IActionContainer *ActionManager::actionContainer(int uid) const } return it.value(); } + static const char *settingsGroup = "KeyBindings"; static const char *idKey = "ID"; static const char *sequenceKey = "Keysequence"; diff --git a/src/plugins/coreplugin/actionmanager/actionmanager.h b/src/plugins/coreplugin/actionmanager/actionmanager.h index c0279e3b69b9d41dc0ab821d68acc0b1d4acfbb1..0b301afa036a1bd812007d0209f1b4261b160d9a 100644 --- a/src/plugins/coreplugin/actionmanager/actionmanager.h +++ b/src/plugins/coreplugin/actionmanager/actionmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef ACTIONMANAGER_H #define ACTIONMANAGER_H @@ -43,7 +44,8 @@ QT_BEGIN_NAMESPACE class QSettings; QT_END_NAMESPACE -struct CommandLocation { +struct CommandLocation +{ int m_container; int m_position; }; @@ -125,5 +127,4 @@ private: } // namespace Internal } // namespace Core - -#endif //ACTIONMANAGER_H +#endif // ACTIONMANAGER_H diff --git a/src/plugins/coreplugin/actionmanager/actionmanagerinterface.h b/src/plugins/coreplugin/actionmanager/actionmanagerinterface.h index 9a3760ed76422bd23025566d57636911e3c5fef6..62d74503d412e040b3d40a31ebaa20f131ca06b9 100644 --- a/src/plugins/coreplugin/actionmanager/actionmanagerinterface.h +++ b/src/plugins/coreplugin/actionmanager/actionmanagerinterface.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef ACTIONMANAGERINTERFACE_H #define ACTIONMANAGERINTERFACE_H diff --git a/src/plugins/coreplugin/actionmanager/command.cpp b/src/plugins/coreplugin/actionmanager/command.cpp index d5e0b17b367744dfac58f3f86a7bc9731db82481..be71fa45cd29777cc64c4b22b1ba9c841d80dbd5 100644 --- a/src/plugins/coreplugin/actionmanager/command.cpp +++ b/src/plugins/coreplugin/actionmanager/command.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include <QtCore/QDebug> #include <QtGui/QAction> #include <QtGui/QShortcut> diff --git a/src/plugins/coreplugin/actionmanager/command.h b/src/plugins/coreplugin/actionmanager/command.h index 2d227d6542442ff2f2738b156bbeff9da96bfbf3..27885ad2dbfb4f375da3470b238a520709df3f6c 100644 --- a/src/plugins/coreplugin/actionmanager/command.h +++ b/src/plugins/coreplugin/actionmanager/command.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef COMMAND_H #define COMMAND_H @@ -175,4 +176,4 @@ private: } // namespace Internal } // namespace Core -#endif //COMMAND_H +#endif // COMMAND_H diff --git a/src/plugins/coreplugin/actionmanager/commandsfile.cpp b/src/plugins/coreplugin/actionmanager/commandsfile.cpp index 6849dd97711a7db14463dba39190ec21e5488a8b..3c427dad0ad4df8257405003a9aad01c99c860f3 100644 --- a/src/plugins/coreplugin/actionmanager/commandsfile.cpp +++ b/src/plugins/coreplugin/actionmanager/commandsfile.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "coreimpl.h" #include "commandsfile.h" #include "shortcutsettings.h" diff --git a/src/plugins/coreplugin/actionmanager/commandsfile.h b/src/plugins/coreplugin/actionmanager/commandsfile.h index 890c2384f512db222fc9c0c2f2afcbe53f13ed34..6aefea7d634e42a9b9ae4539c209ea3a759704b2 100644 --- a/src/plugins/coreplugin/actionmanager/commandsfile.h +++ b/src/plugins/coreplugin/actionmanager/commandsfile.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef COMMANDSFILE_H #define COMMANDSFILE_H @@ -44,7 +45,8 @@ namespace Internal { struct ShortcutItem; -class CommandsFile : public QObject { +class CommandsFile : public QObject +{ Q_OBJECT public: diff --git a/src/plugins/coreplugin/actionmanager/iactioncontainer.h b/src/plugins/coreplugin/actionmanager/iactioncontainer.h index a9adb471b12aa91d7a6318081893149d23339a1b..e27fda1a93ce912d03a1f2f386fd47d5945471d4 100644 --- a/src/plugins/coreplugin/actionmanager/iactioncontainer.h +++ b/src/plugins/coreplugin/actionmanager/iactioncontainer.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef IACTIONCONTAINER_H #define IACTIONCONTAINER_H @@ -42,6 +43,7 @@ namespace Core { class ICommand; + class IActionContainer : public QObject { public: diff --git a/src/plugins/coreplugin/actionmanager/icommand.h b/src/plugins/coreplugin/actionmanager/icommand.h index c1a03a2f14803934b0b2649f018473086877ee51..85fc7d5d439b5a47f6432ba1c5c25057dac94046 100644 --- a/src/plugins/coreplugin/actionmanager/icommand.h +++ b/src/plugins/coreplugin/actionmanager/icommand.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef ICOMMAND_H #define ICOMMAND_H diff --git a/src/plugins/coreplugin/basefilewizard.cpp b/src/plugins/coreplugin/basefilewizard.cpp index b54b43af8d37b75f1f29959e0952189352f96525..f72353743b8852ec1b30750bc3aeb9e807020446 100644 --- a/src/plugins/coreplugin/basefilewizard.cpp +++ b/src/plugins/coreplugin/basefilewizard.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "basefilewizard.h" #include "mimedatabase.h" @@ -56,7 +57,8 @@ enum { debugWizard = 0 }; namespace Core { -class GeneratedFilePrivate : public QSharedData { +class GeneratedFilePrivate : public QSharedData +{ public: GeneratedFilePrivate() {} explicit GeneratedFilePrivate(const QString &p); @@ -150,8 +152,11 @@ bool GeneratedFile::write(QString *errorMessage) const file.close(); return true; } + + // ------------ BaseFileWizardParameterData -class BaseFileWizardParameterData : public QSharedData { +class BaseFileWizardParameterData : public QSharedData +{ public: explicit BaseFileWizardParameterData(IWizard::Kind kind = IWizard::FileWizard); @@ -338,7 +343,8 @@ void WizardEventLoop::rejected() } // ---------------- BaseFileWizardPrivate -struct BaseFileWizardPrivate { +struct BaseFileWizardPrivate +{ explicit BaseFileWizardPrivate(const Core::BaseFileWizardParameters ¶meters, Core::ICore *core); @@ -666,6 +672,6 @@ GeneratedFiles StandardFileWizard::generateFiles(const QWizard *w, errorMessage); } - } // namespace Core + #include "basefilewizard.moc" diff --git a/src/plugins/coreplugin/basefilewizard.h b/src/plugins/coreplugin/basefilewizard.h index dcf965ecce40fb8b52ce285a25f737fd8c6a7bf1..9de2943bbfdacf08c594c013dc488decd244f07e 100644 --- a/src/plugins/coreplugin/basefilewizard.h +++ b/src/plugins/coreplugin/basefilewizard.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef BASEFILEWIZARD_H #define BASEFILEWIZARD_H @@ -62,7 +63,8 @@ class GeneratedFilePrivate; * each file whether it already exists and will report any errors that may * occur during creation of the files. */ -class CORE_EXPORT GeneratedFile { +class CORE_EXPORT GeneratedFile +{ public: GeneratedFile(); explicit GeneratedFile(const QString &path); @@ -93,7 +95,8 @@ typedef QList<GeneratedFile> GeneratedFiles; /* Parameter class for passing parameters to instances of class Wizard * containing name, icon and such. */ -class CORE_EXPORT BaseFileWizardParameters { +class CORE_EXPORT BaseFileWizardParameters +{ public: explicit BaseFileWizardParameters(IWizard::Kind kind = IWizard::FileWizard); BaseFileWizardParameters(const BaseFileWizardParameters &); @@ -204,7 +207,8 @@ private: // Core::Utils::FileWizardDialog and introduces a new virtual to generate the // files from path and name. -class CORE_EXPORT StandardFileWizard : public BaseFileWizard { +class CORE_EXPORT StandardFileWizard : public BaseFileWizard +{ Q_DISABLE_COPY(StandardFileWizard) Q_OBJECT diff --git a/src/plugins/coreplugin/basemode.cpp b/src/plugins/coreplugin/basemode.cpp index 5573f733f8cba2866095232467abe1e06d32b34a..16930ce936d6f6a576a1184d2835f37ae9560f62 100644 --- a/src/plugins/coreplugin/basemode.cpp +++ b/src/plugins/coreplugin/basemode.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,16 +26,17 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -#include "basemode.h" -#include <QtGui/QWidget> +#include "basemode.h" #include <extensionsystem/pluginmanager.h> +#include <QtGui/QWidget> + using namespace Core; /*! diff --git a/src/plugins/coreplugin/basemode.h b/src/plugins/coreplugin/basemode.h index 65bd5bb3784ac32d8de73cdb5e3f6cc2c8afddf5..a9e8f13ef1d2fb2b69600d4cd3320d7defb322d3 100644 --- a/src/plugins/coreplugin/basemode.h +++ b/src/plugins/coreplugin/basemode.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,15 +26,15 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef BASEMODE_H #define BASEMODE_H #include "core_global.h" - #include "imode.h" #include <QtCore/QObject> diff --git a/src/plugins/coreplugin/baseview.cpp b/src/plugins/coreplugin/baseview.cpp index ef0ab5754cd4311178bcda827456d149e98dc94c..2d7724bcb5604a99a6e3bb0f060eef1686ffd479 100644 --- a/src/plugins/coreplugin/baseview.cpp +++ b/src/plugins/coreplugin/baseview.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "baseview.h" #include <extensionsystem/ExtensionSystemInterfaces> diff --git a/src/plugins/coreplugin/baseview.h b/src/plugins/coreplugin/baseview.h index dd3bb0503a5b34881ad9fa9e5556f934be01025d..8004721ef3526d1a3db8062b8e62ac2cbc4e7002 100644 --- a/src/plugins/coreplugin/baseview.h +++ b/src/plugins/coreplugin/baseview.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef BASEVIEW_H #define BASEVIEW_H diff --git a/src/plugins/coreplugin/core_global.h b/src/plugins/coreplugin/core_global.h index 71737b31b73e0796dbf6aa76d3dbc39ba391ba5d..ca867625af2d256f420618c440ce7f824a6c4262 100644 --- a/src/plugins/coreplugin/core_global.h +++ b/src/plugins/coreplugin/core_global.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,22 +26,10 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/**************************************************************************** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** -** Copyright (C) 1992-$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 CORE_GLOBAL_H #define CORE_GLOBAL_H diff --git a/src/plugins/coreplugin/coreconstants.h b/src/plugins/coreplugin/coreconstants.h index 6f0292041ef96bde4de2cd28b9dbe2c2319044f5..ee1488d40dc0097a8d6ce2857775f406931cd2a5 100644 --- a/src/plugins/coreplugin/coreconstants.h +++ b/src/plugins/coreplugin/coreconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CORECONSTANTS_H #define CORECONSTANTS_H diff --git a/src/plugins/coreplugin/coreimpl.cpp b/src/plugins/coreplugin/coreimpl.cpp index 258aa0331bb9b01ecaa33108c0d361e6f58efc7d..e35a24d20e1513dab0eac3fa6b288795cfac8469 100644 --- a/src/plugins/coreplugin/coreimpl.cpp +++ b/src/plugins/coreplugin/coreimpl.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "coreimpl.h" #include <QtCore/QDir> diff --git a/src/plugins/coreplugin/coreimpl.h b/src/plugins/coreplugin/coreimpl.h index b7eaf185a4d2515125bc271bcefa84a1aad4f73f..fbe5e644d4961cac0763edfe57d0c54a50ca4bb5 100644 --- a/src/plugins/coreplugin/coreimpl.h +++ b/src/plugins/coreplugin/coreimpl.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef COREIMPL_H #define COREIMPL_H diff --git a/src/plugins/coreplugin/coreplugin.cpp b/src/plugins/coreplugin/coreplugin.cpp index 070edd9a6a7aa54055447ba3c2ded35ce1a08f96..dd181a6d0a439158856d72fdf87fb13eb11e1915 100644 --- a/src/plugins/coreplugin/coreplugin.cpp +++ b/src/plugins/coreplugin/coreplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "coreplugin.h" #include "welcomemode.h" #include "editmode.h" @@ -40,7 +41,7 @@ #include "fileiconprovider.h" #include <QtCore/qplugin.h> -#ifdef QT_WEBKIT +#if !defined(QT_NO_WEBKIT) #include <QtGui/QApplication> #include <QtWebKit/QWebSettings> #endif @@ -74,7 +75,7 @@ bool CorePlugin::initialize(const QStringList & /*arguments*/, QString *error_me m_pm = ExtensionSystem::PluginManager::instance(); const bool success = m_mainWindow->init(m_pm, error_message); if (success) { -#ifdef QT_WEBKIT +#if !defined(QT_NO_WEBKIT) QWebSettings *webSettings = QWebSettings::globalSettings(); const QFont applicationFont = QApplication::font(); webSettings->setFontFamily(QWebSettings::StandardFont, applicationFont.family()); diff --git a/src/plugins/coreplugin/coreplugin.h b/src/plugins/coreplugin/coreplugin.h index 6afd9c7f248a9aea15008f58329bb87a03f04b7c..f9b3377e3482662c62d0f15b6abeeedae3f81be4 100644 --- a/src/plugins/coreplugin/coreplugin.h +++ b/src/plugins/coreplugin/coreplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef QWORKBENCHPLUGIN_H #define QWORKBENCHPLUGIN_H diff --git a/src/plugins/coreplugin/coreplugin.pro b/src/plugins/coreplugin/coreplugin.pro index f0c474d4f8ffe9b9a3a694ca2fc11fbc2905e53c..80056b3b2e537658e24bab7f28443421eb4b3bf5 100644 --- a/src/plugins/coreplugin/coreplugin.pro +++ b/src/plugins/coreplugin/coreplugin.pro @@ -163,7 +163,6 @@ FORMS += dialogs/newdialog.ui \ RESOURCES += core.qrc \ fancyactionbar.qrc -contains(QT_CONFIG, webkit): { +contains(QT_CONFIG, webkit) { QT += webkit - DEFINES += QT_WEBKIT } diff --git a/src/plugins/coreplugin/dialogs/ioptionspage.h b/src/plugins/coreplugin/dialogs/ioptionspage.h index 4aa385438518037616256caec356cb5f45abb027..6571c77207008410422694f957f789fe2872fca2 100644 --- a/src/plugins/coreplugin/dialogs/ioptionspage.h +++ b/src/plugins/coreplugin/dialogs/ioptionspage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef IOPTIONSPAGE_H #define IOPTIONSPAGE_H diff --git a/src/plugins/coreplugin/dialogs/iwizard.h b/src/plugins/coreplugin/dialogs/iwizard.h index 37457ba39b977403fe6f02610150478840f03b21..9250ca567b89331022a67a552c9f0e59eda0ed93 100644 --- a/src/plugins/coreplugin/dialogs/iwizard.h +++ b/src/plugins/coreplugin/dialogs/iwizard.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef IWIZARD_H #define IWIZARD_H @@ -65,6 +66,7 @@ public: virtual QStringList runWizard(const QString &path, QWidget *parent) = 0; }; + } // namespace Core #endif // IWIZARD_H diff --git a/src/plugins/coreplugin/dialogs/newdialog.cpp b/src/plugins/coreplugin/dialogs/newdialog.cpp index e344dc34a0519a32d797b7945bcf787383b5381e..07924eaed7ab4a445811252ea2834964c5f80353 100644 --- a/src/plugins/coreplugin/dialogs/newdialog.cpp +++ b/src/plugins/coreplugin/dialogs/newdialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "newdialog.h" #include "ui_newdialog.h" #include "basefilewizard.h" @@ -37,7 +38,6 @@ #include <coreplugin/coreconstants.h> #include <coreplugin/dialogs/iwizard.h> - #include <QtGui/QHeaderView> #include <QtGui/QPushButton> @@ -143,7 +143,6 @@ void NewDialog::okButtonClicked() accept(); } - void NewDialog::updateOkButton() { m_okButton->setEnabled(currentWizard() != 0); diff --git a/src/plugins/coreplugin/dialogs/newdialog.h b/src/plugins/coreplugin/dialogs/newdialog.h index 84059b71a17954ec2c706af23cbdc45612171300..36f3f51aefbe129c848249da7c56f06edcb877f7 100644 --- a/src/plugins/coreplugin/dialogs/newdialog.h +++ b/src/plugins/coreplugin/dialogs/newdialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef NEWDIALOG_H #define NEWDIALOG_H @@ -79,4 +80,4 @@ private: } // namespace Internal } // namespace Core -#endif //NEWDIALOG_H +#endif // NEWDIALOG_H diff --git a/src/plugins/coreplugin/dialogs/openwithdialog.cpp b/src/plugins/coreplugin/dialogs/openwithdialog.cpp index b3882184744bfa9720af104c0c0d29b6d202006f..8f917d4ef40c512270ef99bb51eb3cc08075e926 100644 --- a/src/plugins/coreplugin/dialogs/openwithdialog.cpp +++ b/src/plugins/coreplugin/dialogs/openwithdialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "openwithdialog.h" #include <QtGui/QListWidget> @@ -39,8 +40,8 @@ using namespace Core; using namespace Core::Internal; -OpenWithDialog::OpenWithDialog(const QString &fileName, QWidget *parent) : - QDialog(parent) +OpenWithDialog::OpenWithDialog(const QString &fileName, QWidget *parent) + : QDialog(parent) { setupUi(this); label->setText(tr("Open file '%1' with:").arg(QFileInfo(fileName).fileName())); diff --git a/src/plugins/coreplugin/dialogs/openwithdialog.h b/src/plugins/coreplugin/dialogs/openwithdialog.h index 569f5eac7d743b5a639e049ed9abd6cadd3c2a57..2bcb0d03243a3427f92af46c8cb872c1acd26413 100644 --- a/src/plugins/coreplugin/dialogs/openwithdialog.h +++ b/src/plugins/coreplugin/dialogs/openwithdialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef OPENWITHDIALOG_H #define OPENWITHDIALOG_H @@ -66,4 +67,4 @@ private: } // namespace Internal } // namespace Core -#endif +#endif // OPENWITHDIALOG_H diff --git a/src/plugins/coreplugin/dialogs/saveitemsdialog.cpp b/src/plugins/coreplugin/dialogs/saveitemsdialog.cpp index 7c06c786fd5e3d151f147051c536b12302d3cc24..6362f7079c402c6c6f4e537032bd6d0484d0ffbb 100644 --- a/src/plugins/coreplugin/dialogs/saveitemsdialog.cpp +++ b/src/plugins/coreplugin/dialogs/saveitemsdialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "saveitemsdialog.h" #include "mainwindow.h" #include "vcsmanager.h" diff --git a/src/plugins/coreplugin/dialogs/saveitemsdialog.h b/src/plugins/coreplugin/dialogs/saveitemsdialog.h index 52e43aab0a641603b15b0a5d127f60501ae28277..987b870b3032d9b3c40761bf7c0e622b553d9f09 100644 --- a/src/plugins/coreplugin/dialogs/saveitemsdialog.h +++ b/src/plugins/coreplugin/dialogs/saveitemsdialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SAVEITEMSDIALOG_H #define SAVEITEMSDIALOG_H diff --git a/src/plugins/coreplugin/dialogs/settingsdialog.cpp b/src/plugins/coreplugin/dialogs/settingsdialog.cpp index 78d839bf1aaf084d765e26b4ceff99e1960502c9..696a7ddbdf9ea9d34a8605b69b3cb6c511aafcf4 100644 --- a/src/plugins/coreplugin/dialogs/settingsdialog.cpp +++ b/src/plugins/coreplugin/dialogs/settingsdialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "settingsdialog.h" #include "coreimpl.h" @@ -111,7 +112,6 @@ SettingsDialog::SettingsDialog(QWidget *parent, const QString &initialCategory, SettingsDialog::~SettingsDialog() { - } void SettingsDialog::pageSelected(QTreeWidgetItem *) @@ -123,16 +123,14 @@ void SettingsDialog::pageSelected(QTreeWidgetItem *) void SettingsDialog::accept() { - foreach(IOptionsPage *page, m_pages) { + foreach(IOptionsPage *page, m_pages) page->finished(true); - } done(QDialog::Accepted); } void SettingsDialog::reject() { - foreach(IOptionsPage *page, m_pages) { + foreach(IOptionsPage *page, m_pages) page->finished(false); - } done(QDialog::Rejected); } diff --git a/src/plugins/coreplugin/dialogs/settingsdialog.h b/src/plugins/coreplugin/dialogs/settingsdialog.h index 2d80aa643c26967e3de27312ddba7c215836c087..84c4b2c494ac2df2ec5582f5d2af0a921ca2a083 100644 --- a/src/plugins/coreplugin/dialogs/settingsdialog.h +++ b/src/plugins/coreplugin/dialogs/settingsdialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SETTINGSDIALOG_H #define SETTINGSDIALOG_H diff --git a/src/plugins/coreplugin/dialogs/shortcutsettings.cpp b/src/plugins/coreplugin/dialogs/shortcutsettings.cpp index aeefebdf24cc0450d02eb54888205ab148068d0b..c00e6cc683883334ef1990a919d82417eeeab613 100644 --- a/src/plugins/coreplugin/dialogs/shortcutsettings.cpp +++ b/src/plugins/coreplugin/dialogs/shortcutsettings.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "shortcutsettings.h" #include "ui_shortcutsettings.h" #include "actionmanager.h" diff --git a/src/plugins/coreplugin/dialogs/shortcutsettings.h b/src/plugins/coreplugin/dialogs/shortcutsettings.h index 38dfb88894878d6ae6c4027d802d9ea13a2202a6..58cb8fc81e73f5c84cfe1d9c662a4b2cad38ad77 100644 --- a/src/plugins/coreplugin/dialogs/shortcutsettings.h +++ b/src/plugins/coreplugin/dialogs/shortcutsettings.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SHORTCUTSETTINGS_H #define SHORTCUTSETTINGS_H @@ -54,7 +55,8 @@ class ActionManager; class Command; class MainWindow; -struct ShortcutItem { +struct ShortcutItem +{ ICommand *m_cmd; QKeySequence m_key; QTreeWidgetItem *m_item; diff --git a/src/plugins/coreplugin/editmode.cpp b/src/plugins/coreplugin/editmode.cpp index 088cd69f37db7b06a7d2d647ab3e7f004be5af96..d61b6637c4a4eb0fd304cdf7cc2abfdabdee70ba 100644 --- a/src/plugins/coreplugin/editmode.cpp +++ b/src/plugins/coreplugin/editmode.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "editmode.h" @@ -51,7 +51,7 @@ using namespace Core; using namespace Core::Internal; -EditMode::EditMode(EditorManager *editorManager): +EditMode::EditMode(EditorManager *editorManager) : m_editorManager(editorManager), m_splitter(new MiniSplitter), m_rightSplitWidgetLayout(new QVBoxLayout) diff --git a/src/plugins/coreplugin/editmode.h b/src/plugins/coreplugin/editmode.h index 234c4aab9e976b6830ba3a9b7d7144d2a63d2fad..98990f19f163ee78df9d9ebe8638ed3abc4688a4 100644 --- a/src/plugins/coreplugin/editmode.h +++ b/src/plugins/coreplugin/editmode.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef EDITMODE_H #define EDITMODE_H diff --git a/src/plugins/coreplugin/editormanager/editorgroup.cpp b/src/plugins/coreplugin/editormanager/editorgroup.cpp index 53b61c74fde2fb5552c4060680f1024b9e518487..58c867b02c47af1b5f2ee4f1d9dc7fc74fef16aa 100644 --- a/src/plugins/coreplugin/editormanager/editorgroup.cpp +++ b/src/plugins/coreplugin/editormanager/editorgroup.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "editorgroup.h" #include "editormanager.h" diff --git a/src/plugins/coreplugin/editormanager/editorgroup.h b/src/plugins/coreplugin/editormanager/editorgroup.h index eca333c4df7b19195c70205e91e71fdbb4c7389b..aa87bcea8ce79f1a32b37a820c381235287195b5 100644 --- a/src/plugins/coreplugin/editormanager/editorgroup.h +++ b/src/plugins/coreplugin/editormanager/editorgroup.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef EDITORGROUP_H #define EDITORGROUP_H @@ -135,19 +136,24 @@ public: QModelIndex index(int row, int column = 0, const QModelIndex &parent = QModelIndex()) const; void addEditor(IEditor *editor) { insertEditor(rowCount(), editor); } - void insertEditor(int index, IEditor *editor) { + + void insertEditor(int index, IEditor *editor) + { beginInsertRows(QModelIndex(), index, index); m_editors.insert(index, editor); endInsertRows(); } - void removeEditor(IEditor *editor) { + + void removeEditor(IEditor *editor) + { int index = m_editors.indexOf(editor); beginRemoveRows(QModelIndex(), index, index); m_editors.removeAt(index); endRemoveRows(); } - void emitDataChanged(IEditor *editor) { + void emitDataChanged(IEditor *editor) + { int idx = m_editors.indexOf(editor); QModelIndex mindex = index(idx, 0); emit dataChanged(mindex, mindex); diff --git a/src/plugins/coreplugin/editormanager/editormanager.cpp b/src/plugins/coreplugin/editormanager/editormanager.cpp index 8fd8ef14225eba10dfa2e14f9d074723612e9f8b..19bbd6fc631cc32030c2bbb5c4f7b69ebc90db43 100644 --- a/src/plugins/coreplugin/editormanager/editormanager.cpp +++ b/src/plugins/coreplugin/editormanager/editormanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "editormanager.h" #include "editorsplitter.h" #include "openeditorswindow.h" diff --git a/src/plugins/coreplugin/editormanager/editormanager.h b/src/plugins/coreplugin/editormanager/editormanager.h index 750e35b0cb03d1586c21c701d2be52f26be25a4d..0a35ffcfaa926275aac9a8419472702bc40430ad 100644 --- a/src/plugins/coreplugin/editormanager/editormanager.h +++ b/src/plugins/coreplugin/editormanager/editormanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef EDITORMANAGER_H #define EDITORMANAGER_H diff --git a/src/plugins/coreplugin/editormanager/editorsplitter.cpp b/src/plugins/coreplugin/editormanager/editorsplitter.cpp index 82710e7e930c47fc36cf850ade5ccb1d95bc9340..f0e7f82bf9aeee996723e110471aada8a32c2bbf 100644 --- a/src/plugins/coreplugin/editormanager/editorsplitter.cpp +++ b/src/plugins/coreplugin/editormanager/editorsplitter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "editorsplitter.h" #include "editormanager.h" #include "openeditorswindow.h" diff --git a/src/plugins/coreplugin/editormanager/editorsplitter.h b/src/plugins/coreplugin/editormanager/editorsplitter.h index 12faab68da1db1eae10575db29eae9b1321bcf0e..5c0b7c3d0b00221fa2207795bf9a67cebfced751 100644 --- a/src/plugins/coreplugin/editormanager/editorsplitter.h +++ b/src/plugins/coreplugin/editormanager/editorsplitter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef EDITORSPLITTER_H #define EDITORSPLITTER_H diff --git a/src/plugins/coreplugin/editormanager/ieditor.h b/src/plugins/coreplugin/editormanager/ieditor.h index 66a9fdca14f324210a6a82b80af11e1959ee3c15..7cbac8130ff4eab8894be93fbe4b85ae260f42dd 100644 --- a/src/plugins/coreplugin/editormanager/ieditor.h +++ b/src/plugins/coreplugin/editormanager/ieditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef IEDITOR_H #define IEDITOR_H diff --git a/src/plugins/coreplugin/editormanager/ieditorfactory.h b/src/plugins/coreplugin/editormanager/ieditorfactory.h index 2b70ef95b99671ed9b25b7f00cb107a592a43625..ae8b2dca2db6614dfdc5307862c0cf2e21a13b92 100644 --- a/src/plugins/coreplugin/editormanager/ieditorfactory.h +++ b/src/plugins/coreplugin/editormanager/ieditorfactory.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef IEDITORFACTORY_H #define IEDITORFACTORY_H diff --git a/src/plugins/coreplugin/editormanager/openeditorsview.cpp b/src/plugins/coreplugin/editormanager/openeditorsview.cpp index b2400853ec51a2cea35bad7bd4ef9c6e9217d960..79e912e6e04ee6eae8026e04aecf23c89053e566 100644 --- a/src/plugins/coreplugin/editormanager/openeditorsview.cpp +++ b/src/plugins/coreplugin/editormanager/openeditorsview.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "openeditorsview.h" #include "editorgroup.h" #include "editormanager.h" @@ -301,10 +302,8 @@ QKeySequence OpenEditorsViewFactory::activationSequence() OpenEditorsViewFactory::OpenEditorsViewFactory() { - } OpenEditorsViewFactory::~OpenEditorsViewFactory() { - } diff --git a/src/plugins/coreplugin/editormanager/openeditorsview.h b/src/plugins/coreplugin/editormanager/openeditorsview.h index d4c20a4a24e149b6eb9a95663f4395bb8adce2ea..9ad213ddc00aed9f50baa2a1edc5caf0900651db 100644 --- a/src/plugins/coreplugin/editormanager/openeditorsview.h +++ b/src/plugins/coreplugin/editormanager/openeditorsview.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef OPENEDITORSVIEW_H #define OPENEDITORSVIEW_H @@ -88,4 +89,4 @@ public: } // namespace Internal } // namespace Core -#endif +#endif // OPENEDITORSVIEW_H diff --git a/src/plugins/coreplugin/editormanager/openeditorswindow.cpp b/src/plugins/coreplugin/editormanager/openeditorswindow.cpp index 2e97d444f78f813b4099e28c04e8da4fc48c0345..5d2fa04502a132209ca3c404158bb3330d0ecfe9 100644 --- a/src/plugins/coreplugin/editormanager/openeditorswindow.cpp +++ b/src/plugins/coreplugin/editormanager/openeditorswindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "openeditorswindow.h" #include "editorgroup.h" #include "editormanager.h" diff --git a/src/plugins/coreplugin/editormanager/openeditorswindow.h b/src/plugins/coreplugin/editormanager/openeditorswindow.h index fcefe42eff90d77c0abda777ec3d45ee9c4e32f0..2b16298652b491c9e4d7c0294513fe6df6ac31a4 100644 --- a/src/plugins/coreplugin/editormanager/openeditorswindow.h +++ b/src/plugins/coreplugin/editormanager/openeditorswindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef OPENEDITORSWINDOW_H #define OPENEDITORSWINDOW_H diff --git a/src/plugins/coreplugin/editormanager/stackededitorgroup.cpp b/src/plugins/coreplugin/editormanager/stackededitorgroup.cpp index ffb0b14743202f1361a179d9062d3a6184f95bf0..35c4abca29c9c1aa00760bd1df200e45f379e024 100644 --- a/src/plugins/coreplugin/editormanager/stackededitorgroup.cpp +++ b/src/plugins/coreplugin/editormanager/stackededitorgroup.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "stackededitorgroup.h" #include "editormanager.h" #include "coreimpl.h" diff --git a/src/plugins/coreplugin/editormanager/stackededitorgroup.h b/src/plugins/coreplugin/editormanager/stackededitorgroup.h index 5b7cfd5298a26295fce7605a69822ed0d7ffe465..1b93ec4732a37708343327a0e4c299813c62784e 100644 --- a/src/plugins/coreplugin/editormanager/stackededitorgroup.h +++ b/src/plugins/coreplugin/editormanager/stackededitorgroup.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef STACKEDEDITORGROUP_H #define STACKEDEDITORGROUP_H diff --git a/src/plugins/coreplugin/fancyactionbar.cpp b/src/plugins/coreplugin/fancyactionbar.cpp index 08ad842eed2df43dcbad64340299531e34a1ffca..401720f908e9ba15ee75289ec6e68dceab2c48d2 100644 --- a/src/plugins/coreplugin/fancyactionbar.cpp +++ b/src/plugins/coreplugin/fancyactionbar.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "fancyactionbar.h" #include <QtGui/QHBoxLayout> diff --git a/src/plugins/coreplugin/fancyactionbar.h b/src/plugins/coreplugin/fancyactionbar.h index 701e834ad6080a1e09a66198be496b7e65d126fa..caf3e47d25c08e378bf3380860d286ffefc73c70 100644 --- a/src/plugins/coreplugin/fancyactionbar.h +++ b/src/plugins/coreplugin/fancyactionbar.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FANCYACTIONBAR_H #define FANCYACTIONBAR_H diff --git a/src/plugins/coreplugin/fancytabwidget.cpp b/src/plugins/coreplugin/fancytabwidget.cpp index ed57c27b92149472b23fc86b34285c883e1c2fec..6bd4d02de597e3c112b74d34a25fb440e47e877c 100644 --- a/src/plugins/coreplugin/fancytabwidget.cpp +++ b/src/plugins/coreplugin/fancytabwidget.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "fancytabwidget.h" #include "stylehelper.h" diff --git a/src/plugins/coreplugin/fancytabwidget.h b/src/plugins/coreplugin/fancytabwidget.h index 19fd1731102131e0fa18fd308d50904c0aa1cfeb..ae353e8e94eba2eb9cb15215025b41594c35879f 100644 --- a/src/plugins/coreplugin/fancytabwidget.h +++ b/src/plugins/coreplugin/fancytabwidget.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FANCYTABWIDGET_H #define FANCYTABWIDGET_H @@ -115,4 +116,4 @@ private: } // namespace Internal } // namespace Core -#endif +#endif // FANCYTABWIDGET_H diff --git a/src/plugins/coreplugin/fileiconprovider.cpp b/src/plugins/coreplugin/fileiconprovider.cpp index 8e01ecbb8d75cc428e1c5767cf3a1bba4d19876e..243e5dd64dee36ea75dc3ee580234051c0c1ad1b 100644 --- a/src/plugins/coreplugin/fileiconprovider.cpp +++ b/src/plugins/coreplugin/fileiconprovider.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "fileiconprovider.h" using namespace Core; @@ -46,8 +47,8 @@ using namespace Core; FileIconProvider *FileIconProvider::m_instance = 0; -FileIconProvider::FileIconProvider(): - m_unknownFileIcon(QLatin1String(":/qworkbench/images/unknownfile.png")) +FileIconProvider::FileIconProvider() + : m_unknownFileIcon(QLatin1String(":/qworkbench/images/unknownfile.png")) { } diff --git a/src/plugins/coreplugin/fileiconprovider.h b/src/plugins/coreplugin/fileiconprovider.h index 4124eeb43d49bd1d77b277aff9076c041e120c69..c2e91f513e31098ab80681c5e2d524f758035b74 100644 --- a/src/plugins/coreplugin/fileiconprovider.h +++ b/src/plugins/coreplugin/fileiconprovider.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FILEICONPROVIDER_H #define FILEICONPROVIDER_H diff --git a/src/plugins/coreplugin/filemanager.cpp b/src/plugins/coreplugin/filemanager.cpp index 299bba4ff9082c05f547c9ade2b72e874477fb7f..876cc046aa2eb8fbf6883d9dde626ad0d3a48116 100644 --- a/src/plugins/coreplugin/filemanager.cpp +++ b/src/plugins/coreplugin/filemanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "filemanager.h" #include "ifile.h" #include "mainwindow.h" diff --git a/src/plugins/coreplugin/filemanager.h b/src/plugins/coreplugin/filemanager.h index c6759d5b45e865318ed95ea54c5bd7e7e5780751..b95063b8f5554d2058967e1a08d2d4757c9f64f0 100644 --- a/src/plugins/coreplugin/filemanager.h +++ b/src/plugins/coreplugin/filemanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FILEMANAGER_H #define FILEMANAGER_H @@ -60,7 +61,8 @@ class CORE_EXPORT FileManager : public QObject { Q_OBJECT - struct FileInfo { + struct FileInfo + { QString fileName; QDateTime modified; QFile::Permissions permissions; diff --git a/src/plugins/coreplugin/findplaceholder.cpp b/src/plugins/coreplugin/findplaceholder.cpp index ec80b530b5d30ebf7205fbcf7a19f8e0e4ada89a..002963e253043fa094017c5a631b6867c0e8fff0 100644 --- a/src/plugins/coreplugin/findplaceholder.cpp +++ b/src/plugins/coreplugin/findplaceholder.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "findplaceholder.h" #include "modemanager.h" @@ -41,7 +42,7 @@ using namespace Core; FindToolBarPlaceHolder *FindToolBarPlaceHolder::m_current = 0; FindToolBarPlaceHolder::FindToolBarPlaceHolder(Core::IMode *mode, QWidget *parent) - :QWidget(parent), m_mode(mode) + : QWidget(parent), m_mode(mode) { setLayout(new QVBoxLayout); setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum); @@ -52,7 +53,6 @@ FindToolBarPlaceHolder::FindToolBarPlaceHolder(Core::IMode *mode, QWidget *paren FindToolBarPlaceHolder::~FindToolBarPlaceHolder() { - } void FindToolBarPlaceHolder::currentModeChanged(Core::IMode *mode) diff --git a/src/plugins/coreplugin/findplaceholder.h b/src/plugins/coreplugin/findplaceholder.h index 89850d812ea07f0b38ad0175a2e03afb40d8f52e..519468312d66752dbe6ebb8535b71ddf42591292 100644 --- a/src/plugins/coreplugin/findplaceholder.h +++ b/src/plugins/coreplugin/findplaceholder.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FINDPLACEHOLDER_H #define FINDPLACEHOLDER_H diff --git a/src/plugins/coreplugin/flowlayout.cpp b/src/plugins/coreplugin/flowlayout.cpp index 1c43dead53cda0bd62a5e0c104ecf26637402046..294c5e00dd3535e9781063be5c233d9a9b2a0637 100644 --- a/src/plugins/coreplugin/flowlayout.cpp +++ b/src/plugins/coreplugin/flowlayout.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,31 +26,17 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/**************************************************************************** -** -** Copyright (C) 2004-$THISYEAR$ Trolltech AS. All rights reserved. -** -** This file is part of the $MODULE$ of the Qt Toolkit. +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** -** $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 "flowlayout.h" using namespace Core::Internal; FlowLayout::FlowLayout(QWidget *parent, int margin, int spacing) - : QLayout(parent) + : QLayout(parent) { setMargin(margin); setSpacing(spacing); @@ -121,11 +107,10 @@ QSize FlowLayout::sizeHint() const QSize FlowLayout::minimumSize() const { QSize size; - QLayoutItem *item; - foreach (item, itemList) + foreach (QLayoutItem *item, itemList) size = size.expandedTo(item->minimumSize()); - size += QSize(2*margin(), 2*margin()); + size += QSize(2 * margin(), 2 * margin()); return size; } @@ -135,8 +120,7 @@ int FlowLayout::doLayout(const QRect &rect, bool testOnly) const int y = rect.y(); int lineHeight = 0; - QLayoutItem *item; - foreach (item, itemList) { + foreach (QLayoutItem *item, itemList) { int nextX = x + item->sizeHint().width() + spacing(); if (nextX - spacing() > rect.right() && lineHeight > 0) { x = rect.x(); diff --git a/src/plugins/coreplugin/flowlayout.h b/src/plugins/coreplugin/flowlayout.h index f0a7d4235b9293146d7114c21c416b02f1fd91de..0423e20a8a9e35b56b2f351fa43bf03f75724a1c 100644 --- a/src/plugins/coreplugin/flowlayout.h +++ b/src/plugins/coreplugin/flowlayout.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,22 +26,10 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/**************************************************************************** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** -** 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. -** -****************************************************************************/ +***************************************************************************/ #ifndef FLOWLAYOUT_H #define FLOWLAYOUT_H @@ -80,4 +68,4 @@ private: } // namespace Internal } // namespace Core -#endif +#endif // FLOWLAYOUT_H diff --git a/src/plugins/coreplugin/generalsettings.cpp b/src/plugins/coreplugin/generalsettings.cpp index 8595eb03ee4d5fa91839b194db135706680e59da..7b0aadc1b3ad41fac3c877b82269cf4caaeb008c 100644 --- a/src/plugins/coreplugin/generalsettings.cpp +++ b/src/plugins/coreplugin/generalsettings.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "generalsettings.h" #include "stylehelper.h" diff --git a/src/plugins/coreplugin/generalsettings.h b/src/plugins/coreplugin/generalsettings.h index 0cffc9caaf9463b067c2d79e6c1f537bfce29fc6..5d69e7cd64198e2272d9cb697a7e0d2ceb075913 100644 --- a/src/plugins/coreplugin/generalsettings.h +++ b/src/plugins/coreplugin/generalsettings.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef GENERALSETTINGS_H #define GENERALSETTINGS_H diff --git a/src/plugins/coreplugin/icontext.h b/src/plugins/coreplugin/icontext.h index a873afb4c5bdba72c8fb166c58e5ab6039573a22..343b4389227dcd4a9c35e38890fbc192ea08e953 100644 --- a/src/plugins/coreplugin/icontext.h +++ b/src/plugins/coreplugin/icontext.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef ICONTEXT_H #define ICONTEXT_H diff --git a/src/plugins/coreplugin/icore.h b/src/plugins/coreplugin/icore.h index ad85e4be18850f893ed07345c80c0c45f7e1aac4..b205b6a72739f709e2ef08e6b7207a7c0ae45a58 100644 --- a/src/plugins/coreplugin/icore.h +++ b/src/plugins/coreplugin/icore.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef ICORE_H @@ -72,7 +72,6 @@ class CORE_EXPORT ICore : public QObject Q_OBJECT public: - ICore() {} virtual ~ICore() {} @@ -131,4 +130,4 @@ signals: } // namespace Core -#endif //ICORE_H +#endif // ICORE_H diff --git a/src/plugins/coreplugin/icorelistener.h b/src/plugins/coreplugin/icorelistener.h index 3ff0a859a1f97ca8a8dc0a694668086ba15e8990..6945381deb8a31427b206379ebc09858b0275016 100644 --- a/src/plugins/coreplugin/icorelistener.h +++ b/src/plugins/coreplugin/icorelistener.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef ICORELISTENER_H #define ICORELISTENER_H diff --git a/src/plugins/coreplugin/ifile.h b/src/plugins/coreplugin/ifile.h index 40a03b484e0bb6d55b6ed64d2b8c4fff6bdf66c9..d060ef420dad2aca6001a746809b651fe19ac184 100644 --- a/src/plugins/coreplugin/ifile.h +++ b/src/plugins/coreplugin/ifile.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef IFILE_H #define IFILE_H @@ -67,6 +68,6 @@ signals: void changed(); }; -} //namespace +} // namespace Core -#endif //IFILE_H +#endif // IFILE_H diff --git a/src/plugins/coreplugin/ifilefactory.h b/src/plugins/coreplugin/ifilefactory.h index e8dcf155e18799e2bee1aaa8fd221aa004cc9d50..1618b463b6def559321973d602cd1fd7ff21764f 100644 --- a/src/plugins/coreplugin/ifilefactory.h +++ b/src/plugins/coreplugin/ifilefactory.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef IFILEFACTORY_H #define IFILEFACTORY_H diff --git a/src/plugins/coreplugin/ifilewizardextension.h b/src/plugins/coreplugin/ifilewizardextension.h index 238d628a78b67f6bb5a5f01e49e3a94c39565bec..e58279042306f268d82011f6d3d7ebecea687d3c 100644 --- a/src/plugins/coreplugin/ifilewizardextension.h +++ b/src/plugins/coreplugin/ifilewizardextension.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef IFILEWIZARDEXTENSION_H #define IFILEWIZARDEXTENSION_H diff --git a/src/plugins/coreplugin/imode.h b/src/plugins/coreplugin/imode.h index 080b5d9be0f9a39b904f285a268bf527cbd5de50..336f38bb46c65bb6ef3edba558bfb4ea2ef9ed05 100644 --- a/src/plugins/coreplugin/imode.h +++ b/src/plugins/coreplugin/imode.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef IMODE_H #define IMODE_H diff --git a/src/plugins/coreplugin/inavigationwidgetfactory.cpp b/src/plugins/coreplugin/inavigationwidgetfactory.cpp index 74772c4cc910c180d8731e4ed4f502cfa46a9484..7a043e4c9cc2e4b07fa9ced4e5492b4c85699135 100644 --- a/src/plugins/coreplugin/inavigationwidgetfactory.cpp +++ b/src/plugins/coreplugin/inavigationwidgetfactory.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,22 +26,21 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "inavigationwidgetfactory.h" using namespace Core; INavigationWidgetFactory::INavigationWidgetFactory() { - } INavigationWidgetFactory::~INavigationWidgetFactory() { - } QKeySequence INavigationWidgetFactory::activationSequence() diff --git a/src/plugins/coreplugin/inavigationwidgetfactory.h b/src/plugins/coreplugin/inavigationwidgetfactory.h index f182f3accaa42b48a17b4c6879103ed3f390ad26..d4b3a84d3ad64c11189bdce4374a84dd70b446fd 100644 --- a/src/plugins/coreplugin/inavigationwidgetfactory.h +++ b/src/plugins/coreplugin/inavigationwidgetfactory.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef INAVIGATIONWIDGET_H #define INAVIGATIONWIDGET_H @@ -65,6 +66,7 @@ public: // Similar to how IView virtual NavigationView createWidget() = 0; }; -} + +} // namespace Core #endif // INAVIGATIONWIDGET_H diff --git a/src/plugins/coreplugin/ioutputpane.h b/src/plugins/coreplugin/ioutputpane.h index 9847c1a1b2515ba91ab108151b027f266c24a014..cf7424a63882dbfa8bfe92b06e54b0f445ef5277 100644 --- a/src/plugins/coreplugin/ioutputpane.h +++ b/src/plugins/coreplugin/ioutputpane.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef IOUTPUTPANE_H #define IOUTPUTPANE_H diff --git a/src/plugins/coreplugin/iversioncontrol.h b/src/plugins/coreplugin/iversioncontrol.h index e2d3de1ec3807227c66f5d179f9ccbd9695b5191..b90f9d79c659536d31be68d962c5c12794ab6282 100644 --- a/src/plugins/coreplugin/iversioncontrol.h +++ b/src/plugins/coreplugin/iversioncontrol.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef IVERSIONCONTROL_H #define IVERSIONCONTROL_H diff --git a/src/plugins/coreplugin/iview.h b/src/plugins/coreplugin/iview.h index dd0a222b59ca78ad5df37209dbf1b09a81c043ba..b3bb00d6b41b5d281cd87bd9204f12fd111c04fc 100644 --- a/src/plugins/coreplugin/iview.h +++ b/src/plugins/coreplugin/iview.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef IVIEW_H #define IVIEW_H diff --git a/src/plugins/coreplugin/mainwindow.cpp b/src/plugins/coreplugin/mainwindow.cpp index a90f1ff14e90b97c8bd003b63c96044f2ed199e1..59222acc419685bae0994a0aca0e75fb4c632721 100644 --- a/src/plugins/coreplugin/mainwindow.cpp +++ b/src/plugins/coreplugin/mainwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "mainwindow.h" @@ -53,6 +53,7 @@ #include "progressview.h" #include "shortcutsettings.h" #include "vcsmanager.h" + #include "scriptmanager.h" #include "settingsdialog.h" #include "stylehelper.h" diff --git a/src/plugins/coreplugin/mainwindow.h b/src/plugins/coreplugin/mainwindow.h index 00721a1662eea9229e9b1754198db5a11c22d660..180b932d710bffe7d0b1e71cd5d85ecd937fda41 100644 --- a/src/plugins/coreplugin/mainwindow.h +++ b/src/plugins/coreplugin/mainwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef MAINWINDOW_H #define MAINWINDOW_H @@ -56,34 +57,34 @@ namespace Core { class ActionManagerInterface; class BaseMode; +class BaseView; class EditorManager; class FileManager; class IContext; class MessageManager; -class ModeManager; class MimeDatabase; +class ModeManager; class ProgressManagerInterface; -class VCSManager; +class RightPaneWidget; class ScriptManagerInterface; class UniqueIDManager; class VariableManager; +class VCSManager; class ViewManagerInterface; -class BaseView; -class RightPaneWidget; namespace Internal { -class CoreImpl; class ActionManager; -class ProgressManager; -class OutputPane; -class ViewManager; -class GeneralSettings; -class ShortcutSettings; +class CoreImpl; class FancyTabWidget; +class GeneralSettings; class NavigationWidget; +class OutputPane; +class ProgressManager; +class ShortcutSettings; +class ViewManager; -class CORE_EXPORT MainWindow : public QMainWindow +class CORE_EXPORT MainWindow : public QMainWindow { Q_OBJECT @@ -129,7 +130,6 @@ public: QMenu *createPopupMenu(); - void setSuppressNavigationWidget(bool suppress); signals: diff --git a/src/plugins/coreplugin/manhattanstyle.cpp b/src/plugins/coreplugin/manhattanstyle.cpp index d82059f00df287543d3c13147f4672d4222a8911..a39e68baad6e165915eed117c8c051d672bfffe3 100644 --- a/src/plugins/coreplugin/manhattanstyle.cpp +++ b/src/plugins/coreplugin/manhattanstyle.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,24 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/**************************************************************************** -** -** Copyright (C) 2007-$THISYEAR$ $TROLLTECH$. All rights reserved. +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** -** This file is part of the Manhattan Style project -** -** $TROLLTECH_GPL_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 "manhattanstyle.h" + #include <QStyleOption> #include <QPainter> #include <QScrollArea> diff --git a/src/plugins/coreplugin/manhattanstyle.h b/src/plugins/coreplugin/manhattanstyle.h index 685a35da663eb684a8a1f2bad90c00919f9e1327..f3ac4bf5215f5164193367994b6f4aa42d2f88f3 100644 --- a/src/plugins/coreplugin/manhattanstyle.h +++ b/src/plugins/coreplugin/manhattanstyle.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,22 +26,10 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/**************************************************************************** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** -** Copyright (C) 2007-$THISYEAR$ $TROLLTECH$. All rights reserved. -** -** This file is part of the ManhattanStyle project on Trolltech Labs. -** -** $TROLLTECH_GPL_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 MANHATTANSTYLE_H #define MANHATTANSTYLE_H diff --git a/src/plugins/coreplugin/messagemanager.cpp b/src/plugins/coreplugin/messagemanager.cpp index a6268fbd2503ad0a7a4297a3eba44e8cc47ecf8f..b8ef34afe8ee5dfcafa099b12bbeb3c50d109fe7 100644 --- a/src/plugins/coreplugin/messagemanager.cpp +++ b/src/plugins/coreplugin/messagemanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,25 +26,25 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "messagemanager.h" #include "messageoutputwindow.h" +#include <extensionsystem/pluginmanager.h> + #include <QtGui/QStatusBar> #include <QtGui/QApplication> -#include <extensionsystem/pluginmanager.h> - using namespace Core; MessageManager *MessageManager::m_instance = 0; -MessageManager::MessageManager(): - m_pm(0), - m_messageOutputWindow(0) +MessageManager::MessageManager() + : m_pm(0), m_messageOutputWindow(0) { m_instance = this; } diff --git a/src/plugins/coreplugin/messagemanager.h b/src/plugins/coreplugin/messagemanager.h index f2854108d69f1b00ef5deba0e305ae19c4a4193e..8b638befea2985410cc6b6253cbb2303f8bf0cc2 100644 --- a/src/plugins/coreplugin/messagemanager.h +++ b/src/plugins/coreplugin/messagemanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef MESSAGEMANAGER_H #define MESSAGEMANAGER_H diff --git a/src/plugins/coreplugin/messageoutputwindow.cpp b/src/plugins/coreplugin/messageoutputwindow.cpp index 2ffe82e9df68a8d99e16282c3159f1c68d608773..0cce9101d47eadd7a0110625fa2b8ca2671289d1 100644 --- a/src/plugins/coreplugin/messageoutputwindow.cpp +++ b/src/plugins/coreplugin/messageoutputwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "messageoutputwindow.h" #include <QtGui/QTextEdit> diff --git a/src/plugins/coreplugin/messageoutputwindow.h b/src/plugins/coreplugin/messageoutputwindow.h index 1373ea363d4c110cce06970d79cffc5740c71a75..2e162453e35fa911933d0aa3d43e92955f38df12 100644 --- a/src/plugins/coreplugin/messageoutputwindow.h +++ b/src/plugins/coreplugin/messageoutputwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef MESSAGEOUTPUTWINDOW_H #define MESSAGEOUTPUTWINDOW_H diff --git a/src/plugins/coreplugin/mimedatabase.cpp b/src/plugins/coreplugin/mimedatabase.cpp index d49d4728e6b5646e1c809c3706fe7c4b360bb883..0c6d1d4cdde31bfb16d476740a68b5b0c5546139 100644 --- a/src/plugins/coreplugin/mimedatabase.cpp +++ b/src/plugins/coreplugin/mimedatabase.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "mimedatabase.h" #include <QtCore/QStringList> @@ -93,7 +94,6 @@ enum { BinaryMatchPriority = 1, TextMatchPriority = 2}; */ namespace Core { - namespace Internal { // FileMatchContext: Passed on to the mimetypes from the database @@ -786,7 +786,8 @@ bool BaseMimeTypeParser::parse(QIODevice *dev, const QString &fileName, QString enum { Dangling = 32767 }; -struct MimeMapEntry { +struct MimeMapEntry +{ explicit MimeMapEntry(const MimeType &t = MimeType(), int aLevel = Dangling); MimeType type; int level; // hierachy level @@ -821,7 +822,8 @@ MimeMapEntry::MimeMapEntry(const MimeType &t, int aLevel) : * to check the most specific types first). Starting a recursion from the * leaves is not suitable since it will hit parent nodes several times. */ -class MimeDatabasePrivate { +class MimeDatabasePrivate +{ Q_DISABLE_COPY(MimeDatabasePrivate) public: MimeDatabasePrivate(); diff --git a/src/plugins/coreplugin/mimedatabase.h b/src/plugins/coreplugin/mimedatabase.h index d4f96cf8d9047132b4d28d299ca88b4b4d75aac9..e15539c4af449feca117e2cfb6f9c5e085dc344a 100644 --- a/src/plugins/coreplugin/mimedatabase.h +++ b/src/plugins/coreplugin/mimedatabase.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef MIMEDATABASE_H #define MIMEDATABASE_H @@ -57,7 +58,8 @@ namespace Internal { } /* Magic (file contents) matcher interface. */ -class CORE_EXPORT IMagicMatcher { +class CORE_EXPORT IMagicMatcher +{ Q_DISABLE_COPY(IMagicMatcher) protected: IMagicMatcher() {} @@ -72,7 +74,8 @@ public: /* Utility class: A standard Magic match rule based on contents. Provides * static factory methods for creation (currently only for "string". This can * be extended to handle "little16"/"big16", etc.). */ -class CORE_EXPORT MagicRule { +class CORE_EXPORT MagicRule +{ Q_DISABLE_COPY(MagicRule) public: explicit MagicRule(const QByteArray &pattern, int startPos, int endPos); @@ -89,7 +92,8 @@ private: /* Utility class: A Magic matcher that checks a number of rules based on * operator "or". It is used for rules parsed from XML files. */ -class CORE_EXPORT MagicRuleMatcher : public IMagicMatcher { +class CORE_EXPORT MagicRuleMatcher : public IMagicMatcher +{ Q_DISABLE_COPY(MagicRuleMatcher) public: typedef QSharedPointer<MagicRule> MagicRuleSharedPointer; diff --git a/src/plugins/coreplugin/minisplitter.cpp b/src/plugins/coreplugin/minisplitter.cpp index dfdad9fb5376582f2e64c30822cb83bbbb49794f..3acb5aed82bacb703bcb7df869c02e1c1a04b5f9 100644 --- a/src/plugins/coreplugin/minisplitter.cpp +++ b/src/plugins/coreplugin/minisplitter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "minisplitter.h" #include "stylehelper.h" diff --git a/src/plugins/coreplugin/minisplitter.h b/src/plugins/coreplugin/minisplitter.h index aedb2b757c72382d4d7178dd6e667d82eee067bc..c13539a53941cfe8806869a2e0d010f09f17f755 100644 --- a/src/plugins/coreplugin/minisplitter.h +++ b/src/plugins/coreplugin/minisplitter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef MINISPLITTER_H #define MINISPLITTER_H diff --git a/src/plugins/coreplugin/modemanager.cpp b/src/plugins/coreplugin/modemanager.cpp index 74027ab391a19a67aa10d16168655ec0e111bb92..3ea82b424330782ea714b52e31fec16736b38643 100644 --- a/src/plugins/coreplugin/modemanager.cpp +++ b/src/plugins/coreplugin/modemanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "modemanager.h" #include "fancytabwidget.h" #include "fancyactionbar.h" @@ -55,7 +56,7 @@ using namespace Core::Internal; ModeManager *ModeManager::m_instance = 0; -ModeManager::ModeManager(Internal::MainWindow *mainWindow, FancyTabWidget *modeStack): +ModeManager::ModeManager(Internal::MainWindow *mainWindow, FancyTabWidget *modeStack) : m_mainWindow(mainWindow), m_modeStack(modeStack), m_signalMapper(new QSignalMapper(this)) diff --git a/src/plugins/coreplugin/modemanager.h b/src/plugins/coreplugin/modemanager.h index 775c8d4a611e4c9e3907faf4943041ba407fa7e0..cf415f13a8593c1cf7658c96fb34f2f9480c3955 100644 --- a/src/plugins/coreplugin/modemanager.h +++ b/src/plugins/coreplugin/modemanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef MODEMANAGER_H #define MODEMANAGER_H diff --git a/src/plugins/coreplugin/navigationwidget.cpp b/src/plugins/coreplugin/navigationwidget.cpp index 0a29c24d7c310992e8b2f8de66569b223eb6480b..5ce8e7498d04f326f4f72c50cd983030a0d14f4a 100644 --- a/src/plugins/coreplugin/navigationwidget.cpp +++ b/src/plugins/coreplugin/navigationwidget.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "navigationwidget.h" #include <coreplugin/icore.h> @@ -134,10 +135,10 @@ void NavigationWidgetPlaceHolder::currentModeAboutToChange(Core::IMode *mode) NavigationWidget *NavigationWidget::m_instance = 0; NavigationWidget::NavigationWidget(QAction *toggleSideBarAction) - : m_shown(true) - , m_suppressed(false) - , m_width(0) - , m_toggleSideBarAction(toggleSideBarAction) + : m_shown(true), + m_suppressed(false), + m_width(0), + m_toggleSideBarAction(toggleSideBarAction) { connect(ExtensionSystem::PluginManager::instance(), SIGNAL(objectAdded(QObject*)), this, SLOT(objectAdded(QObject*))); diff --git a/src/plugins/coreplugin/navigationwidget.h b/src/plugins/coreplugin/navigationwidget.h index d8244f88682eb9636e243e702e52d4792a71869f..96a64f4ac3acffa332de441f64b5b95d69cc1677 100644 --- a/src/plugins/coreplugin/navigationwidget.h +++ b/src/plugins/coreplugin/navigationwidget.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef NAVIGATIONWIDGET_H #define NAVIGATIONWIDGET_H diff --git a/src/plugins/coreplugin/outputpane.cpp b/src/plugins/coreplugin/outputpane.cpp index 92378d72e96fea956c4bbca29a7e2c6716b4808d..ca60d674ff044382704e1834ed233b8eff0ea1f8 100644 --- a/src/plugins/coreplugin/outputpane.cpp +++ b/src/plugins/coreplugin/outputpane.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "outputpane.h" #include "coreconstants.h" #include "ioutputpane.h" diff --git a/src/plugins/coreplugin/outputpane.h b/src/plugins/coreplugin/outputpane.h index fcc54745b00c947265c139d9956a306e40774834..ba838378ef84df81f23c25da53e97056c6e2d891 100644 --- a/src/plugins/coreplugin/outputpane.h +++ b/src/plugins/coreplugin/outputpane.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef OUTPUTPANE_H #define OUTPUTPANE_H diff --git a/src/plugins/coreplugin/plugindialog.cpp b/src/plugins/coreplugin/plugindialog.cpp index dcf8c9b826801fe43faa825255f1a0082831ed55..3855ddc6d24ce851de394575024bfb7dd646bac1 100644 --- a/src/plugins/coreplugin/plugindialog.cpp +++ b/src/plugins/coreplugin/plugindialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,11 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "plugindialog.h" + #include <extensionsystem/pluginmanager.h> #include <extensionsystem/pluginview.h> #include <extensionsystem/plugindetailsview.h> @@ -47,8 +49,8 @@ using namespace Core::Internal; PluginDialog::PluginDialog(ExtensionSystem::PluginManager *manager, QWidget *parent) - : QDialog(parent) - , m_view(new ExtensionSystem::PluginView(manager, this)) + : QDialog(parent), + m_view(new ExtensionSystem::PluginView(manager, this)) { QVBoxLayout *vl = new QVBoxLayout(this); vl->addWidget(m_view); diff --git a/src/plugins/coreplugin/plugindialog.h b/src/plugins/coreplugin/plugindialog.h index d3c0d312a6b119933af882bd2bc2a4080240475e..d5e6e11597b0120b3e07bbd4d09f322c1577e3e7 100644 --- a/src/plugins/coreplugin/plugindialog.h +++ b/src/plugins/coreplugin/plugindialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PLUGINDIALOG_H #define PLUGINDIALOG_H @@ -72,4 +73,4 @@ private: } // namespace Internal } // namespace Core -#endif +#endif // PLUGINDIALOG_H diff --git a/src/plugins/coreplugin/progressmanager/futureprogress.cpp b/src/plugins/coreplugin/progressmanager/futureprogress.cpp index 2aeb817bc2fc7633721a1feb3e8165ff6cb232d1..e47c3d83828103d62417b62bc9e3ec2c9f5adacd 100644 --- a/src/plugins/coreplugin/progressmanager/futureprogress.cpp +++ b/src/plugins/coreplugin/progressmanager/futureprogress.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "futureprogress.h" #include "progresspie.h" diff --git a/src/plugins/coreplugin/progressmanager/futureprogress.h b/src/plugins/coreplugin/progressmanager/futureprogress.h index 4f46a4a1fb2a96d4924e246ce39cef30c91030ea..22cef0ecc56b53767ebdec136f1d66c30c401119 100644 --- a/src/plugins/coreplugin/progressmanager/futureprogress.h +++ b/src/plugins/coreplugin/progressmanager/futureprogress.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FUTUREPROGRESS_H #define FUTUREPROGRESS_H @@ -91,4 +92,5 @@ private: }; } // namespace Core + #endif // FUTUREPROGRESS_H diff --git a/src/plugins/coreplugin/progressmanager/progressmanager.cpp b/src/plugins/coreplugin/progressmanager/progressmanager.cpp index 6e4e15644e9b8553d57c3ad7a5cac9e58306d76d..e74198d897a3352e5529e9b70131302c927964cd 100644 --- a/src/plugins/coreplugin/progressmanager/progressmanager.cpp +++ b/src/plugins/coreplugin/progressmanager/progressmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "progressmanager.h" #include "progressview.h" #include "coreimpl.h" @@ -56,7 +57,6 @@ ProgressManager::~ProgressManager() void ProgressManager::init() { - } void ProgressManager::cancelTasks(const QString &type) diff --git a/src/plugins/coreplugin/progressmanager/progressmanager.h b/src/plugins/coreplugin/progressmanager/progressmanager.h index 0c40dcc0faaa9b4f9a5a78be9dc2630be5bbd025..984404712794121f4f6c7178675275f97ef2658f 100644 --- a/src/plugins/coreplugin/progressmanager/progressmanager.h +++ b/src/plugins/coreplugin/progressmanager/progressmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PROGRESSMANAGER_H #define PROGRESSMANAGER_H @@ -40,7 +41,6 @@ #include <QtCore/QFutureWatcher> namespace Core { - namespace Internal { class ProgressView; @@ -71,4 +71,4 @@ private: } // namespace Internal } // namespace Core -#endif //PROGRESSMANAGER_H +#endif // PROGRESSMANAGER_H diff --git a/src/plugins/coreplugin/progressmanager/progressmanagerinterface.h b/src/plugins/coreplugin/progressmanager/progressmanagerinterface.h index 6a89293467fd539ddbaa6d09efb7223e6eca91e4..66d612d843f8f1909ab38a92dddf595d4bc55552 100644 --- a/src/plugins/coreplugin/progressmanager/progressmanagerinterface.h +++ b/src/plugins/coreplugin/progressmanager/progressmanagerinterface.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PROGRESSMANAGERINTERFACE_H #define PROGRESSMANAGERINTERFACE_H @@ -57,6 +58,6 @@ public slots: virtual void cancelTasks(const QString &type) = 0; }; -} //namespace +} // namespace Core #endif //PROGRESSMANAGERINTERFACE_H diff --git a/src/plugins/coreplugin/progressmanager/progresspie.cpp b/src/plugins/coreplugin/progressmanager/progresspie.cpp index 7a237fe5d9f2d0748cddc4e594374326ff912753..b6f34d36b41965d12abf5e24d828770d360a6af8 100644 --- a/src/plugins/coreplugin/progressmanager/progresspie.cpp +++ b/src/plugins/coreplugin/progressmanager/progresspie.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "progresspie.h" #include "stylehelper.h" @@ -47,7 +48,6 @@ ProgressBar::ProgressBar(QWidget *parent) ProgressBar::~ProgressBar() { - } QString ProgressBar::title() const @@ -60,7 +60,6 @@ bool ProgressBar::hasError() const return m_error; } - void ProgressBar::setTitle(const QString &title) { m_title = title; diff --git a/src/plugins/coreplugin/progressmanager/progresspie.h b/src/plugins/coreplugin/progressmanager/progresspie.h index dfeb33e5581fefa685ebc2e1968c3889728cb20e..787b838ada20c85c6affe51bd6c529dcbad3923f 100644 --- a/src/plugins/coreplugin/progressmanager/progresspie.h +++ b/src/plugins/coreplugin/progressmanager/progresspie.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PROGRESSPIE_H #define PROGRESSPIE_H diff --git a/src/plugins/coreplugin/progressmanager/progressview.cpp b/src/plugins/coreplugin/progressmanager/progressview.cpp index bb0008056bdf241ac55dfbfa3c0431a2715e633b..274eae8bdb642b7a2074da8808abe1a0f79b0e63 100644 --- a/src/plugins/coreplugin/progressmanager/progressview.cpp +++ b/src/plugins/coreplugin/progressmanager/progressview.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "progressview.h" #include "futureprogress.h" @@ -39,7 +40,7 @@ using namespace Core; using namespace Core::Internal; ProgressView::ProgressView(QWidget *parent) -: QWidget(parent) + : QWidget(parent) { m_layout = new QVBoxLayout; setLayout(m_layout); diff --git a/src/plugins/coreplugin/progressmanager/progressview.h b/src/plugins/coreplugin/progressmanager/progressview.h index 7e832f92f24c99cfd304a5979e0f0b7399ccd7a0..39191c770826ab49dc7f36c4efbc4a85efde6617 100644 --- a/src/plugins/coreplugin/progressmanager/progressview.h +++ b/src/plugins/coreplugin/progressmanager/progressview.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PROGRESSVIEW_H #define PROGRESSVIEW_H @@ -78,4 +79,4 @@ private: } // namespace Internal } // namespace Core -#endif //PROGRESSVIEW_H +#endif // PROGRESSVIEW_H diff --git a/src/plugins/coreplugin/rightpane.cpp b/src/plugins/coreplugin/rightpane.cpp index 90db8df7c23dc618a0abcf026188508f37010210..3c17b25583303c6d48db3602f30ee6f70571f688 100644 --- a/src/plugins/coreplugin/rightpane.cpp +++ b/src/plugins/coreplugin/rightpane.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "rightpane.h" #include <QtGui/QVBoxLayout> diff --git a/src/plugins/coreplugin/rightpane.h b/src/plugins/coreplugin/rightpane.h index 7b44b6fe0103cb52e07c00bc53981f71e8d5dcaa..c542c85f4c3baffe2031ec11674f949617aacdec 100644 --- a/src/plugins/coreplugin/rightpane.h +++ b/src/plugins/coreplugin/rightpane.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,20 +26,22 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef RIGHTPANE_H #define RIGHTPANE_H #include "core_global.h" + #include <QtGui/QWidget> #include <QtCore/QSettings> namespace Core { -class IMode; +class IMode; class RightPaneWidget; // TODO: The right pane works only for the help plugin atm. @@ -104,5 +106,4 @@ private: } // namespace Core - #endif // RIGHTPANE_H diff --git a/src/plugins/coreplugin/scriptmanager/metatypedeclarations.h b/src/plugins/coreplugin/scriptmanager/metatypedeclarations.h index 221dc7975d83dbf4ce14114490c0fbca026632ee..aa4ab9a4f53d2100bcfdabd9fbd7f52e60a46b89 100644 --- a/src/plugins/coreplugin/scriptmanager/metatypedeclarations.h +++ b/src/plugins/coreplugin/scriptmanager/metatypedeclarations.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef METATYPEDECLARATIONS_H #define METATYPEDECLARATIONS_H diff --git a/src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp b/src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp index acb84ff2ce12353a93741493b388e804dae43c35..28c3c658e66f3ed4dab51a8148b99bb875c51c5f 100644 --- a/src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp +++ b/src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,13 +26,18 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "qworkbench_wrapper.h" + #include <wrap_helpers.h> +#include <coreplugin/messagemanager.h> +#include <coreplugin/editormanager/editorgroup.h> + #include <QtCore/QDebug> #include <QtCore/QSettings> @@ -41,9 +46,6 @@ #include <QtGui/QToolBar> #include <QtScript/QScriptEngine> -#include <coreplugin/messagemanager.h> -#include <coreplugin/editormanager/editorgroup.h> - namespace { enum { debugQWorkbenchWrappers = 0 }; } @@ -377,5 +379,5 @@ Core::EditorGroup *EditorGroupPrototype::callee() const return rc; } -} -} +} // namespace Internal +} // namespace Core diff --git a/src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h b/src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h index 0561ac422144f61f4582bf75f8d8b78a4192e2d1..4efa9cc8a6c49a5e8c54cf8f398516b3c1231d5e 100644 --- a/src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h +++ b/src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef QWORKBENCH_WRAPPER_H #define QWORKBENCH_WRAPPER_H @@ -45,7 +46,8 @@ namespace Internal { // Script prototype for the core interface. -class CorePrototype : public QObject, public QScriptable { +class CorePrototype : public QObject, public QScriptable +{ Q_OBJECT Q_PROPERTY(Core::MessageManager* messageManager READ messageManager DESIGNABLE false SCRIPTABLE true STORED false) @@ -97,7 +99,8 @@ public slots: // Script prototype for the file manager interface. -class FileManagerPrototype : public QObject, public QScriptable { +class FileManagerPrototype : public QObject, public QScriptable +{ Q_OBJECT Q_PROPERTY(QStringList recentFiles READ recentFiles DESIGNABLE false SCRIPTABLE true STORED false) @@ -163,7 +166,8 @@ private: // Script prototype for the editor manager interface. -class EditorManagerPrototype : public QObject, public QScriptable { +class EditorManagerPrototype : public QObject, public QScriptable +{ Q_OBJECT Q_PROPERTY(Core::IEditor* currentEditor READ currentEditor WRITE setCurrentEditor DESIGNABLE false SCRIPTABLE true STORED false) Q_PROPERTY(QList<Core::IEditor*> openedEditors READ openedEditors DESIGNABLE false SCRIPTABLE true STORED false) @@ -195,7 +199,8 @@ private: // Script prototype for the editor interface. -class EditorPrototype : public QObject, public QScriptable { +class EditorPrototype : public QObject, public QScriptable +{ Q_OBJECT Q_PROPERTY(QString displayName READ displayName WRITE setDisplayName DESIGNABLE false SCRIPTABLE true STORED false) Q_PROPERTY(QString kind READ kind DESIGNABLE false SCRIPTABLE true STORED false) @@ -228,7 +233,8 @@ private: // Script prototype for the editor group interface with Script-managed life cycle. -class EditorGroupPrototype : public QObject, public QScriptable { +class EditorGroupPrototype : public QObject, public QScriptable +{ Q_OBJECT Q_PROPERTY(int editorCount READ editorCount DESIGNABLE false SCRIPTABLE true STORED false) Q_PROPERTY(Core::IEditor* currentEditor READ currentEditor WRITE setCurrentEditor DESIGNABLE false SCRIPTABLE true STORED false) @@ -259,4 +265,4 @@ private: } // namespace Internal } // namespace Core -#endif //QWORKBENCH_WRAPPER_H +#endif // QWORKBENCH_WRAPPER_H diff --git a/src/plugins/coreplugin/scriptmanager/scriptmanager.cpp b/src/plugins/coreplugin/scriptmanager/scriptmanager.cpp index b4bcae7adab59ee71f1973c3ff9af1f5b7e47117..5613bd6781a0553aeb24406445dd824fdf0d1109 100644 --- a/src/plugins/coreplugin/scriptmanager/scriptmanager.cpp +++ b/src/plugins/coreplugin/scriptmanager/scriptmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "scriptmanager.h" #include "qworkbench_wrapper.h" #include "metatypedeclarations.h" @@ -309,5 +310,5 @@ QString ScriptManager::engineError(QScriptEngine &scriptEngine) return QObject::tr("Unknown error"); } -} -} +} // namespace Internal +} // namespace Core diff --git a/src/plugins/coreplugin/scriptmanager/scriptmanager.h b/src/plugins/coreplugin/scriptmanager/scriptmanager.h index 5135970710536f7add78a741a9457c5d535601ef..06ef0ed3d629c2d93211b24a6a5ee7b8a15267bc 100644 --- a/src/plugins/coreplugin/scriptmanager/scriptmanager.h +++ b/src/plugins/coreplugin/scriptmanager/scriptmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,20 +26,21 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SCRIPTMANAGER_H #define SCRIPTMANAGER_H +#include <coreplugin/scriptmanager/scriptmanagerinterface.h> +#include <coreplugin/icore.h> + #include <QtCore/QObject> #include <QtCore/QList> #include <QtScript/QScriptEngine> -#include <coreplugin/scriptmanager/scriptmanagerinterface.h> -#include <coreplugin/icore.h> - namespace Core { namespace Internal { @@ -68,4 +69,4 @@ private: } // namespace Internal } // namespace Core -#endif //SCRIPTMANAGER_H +#endif // SCRIPTMANAGER_H diff --git a/src/plugins/coreplugin/scriptmanager/scriptmanagerinterface.h b/src/plugins/coreplugin/scriptmanager/scriptmanagerinterface.h index 5d3a907e756ceb4be4717b90ad69693bc42da718..22ed62af2bd9c6b160f348e01c77fe77bfc36660 100644 --- a/src/plugins/coreplugin/scriptmanager/scriptmanagerinterface.h +++ b/src/plugins/coreplugin/scriptmanager/scriptmanagerinterface.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SCRIPTMANAGERINTERFACE_H #define SCRIPTMANAGERINTERFACE_H diff --git a/src/plugins/coreplugin/sidebar.cpp b/src/plugins/coreplugin/sidebar.cpp index 6ea56b917ad82f27b46f70244e50422de203e1c5..0ef66fc809422b1ae62ae6c6fbffb91dff730c26 100644 --- a/src/plugins/coreplugin/sidebar.cpp +++ b/src/plugins/coreplugin/sidebar.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,13 +26,15 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "sidebar.h" #include "imode.h" #include "modemanager.h" + #include "actionmanager/actionmanagerinterface.h" #include <QtCore/QDebug> diff --git a/src/plugins/coreplugin/sidebar.h b/src/plugins/coreplugin/sidebar.h index 98ed1070c16c7cb34a965640ba8b12eaabc38fa5..566342fa4e73807a5ee870654de1d18ffebb8f51 100644 --- a/src/plugins/coreplugin/sidebar.h +++ b/src/plugins/coreplugin/sidebar.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SIDEBAR_H #define SIDEBAR_H diff --git a/src/plugins/coreplugin/styleanimator.cpp b/src/plugins/coreplugin/styleanimator.cpp index 5133876b6c9a0a3fed7cea8ae7b75baac84081bf..e69c48200d0a1c62d968a773e90e7d6c1cb743a0 100644 --- a/src/plugins/coreplugin/styleanimator.cpp +++ b/src/plugins/coreplugin/styleanimator.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,15 +26,15 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "styleanimator.h" #include <QtGui/QStyleOption> - Animation * StyleAnimator::widgetAnimation(const QWidget *widget) const { if (!widget) diff --git a/src/plugins/coreplugin/styleanimator.h b/src/plugins/coreplugin/styleanimator.h index 6e006ab25a3fbdc3351e3e70783eea5b00b6665d..24e137dfbe131843ec41369fe919a0b208312c0f 100644 --- a/src/plugins/coreplugin/styleanimator.h +++ b/src/plugins/coreplugin/styleanimator.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef ANIMATION_H #define ANIMATION_H diff --git a/src/plugins/coreplugin/stylehelper.cpp b/src/plugins/coreplugin/stylehelper.cpp index 5630b464df71055c41c34a568201a6835e774bf9..23769937bf37281048d9be37ea1f166517cdf7cf 100644 --- a/src/plugins/coreplugin/stylehelper.cpp +++ b/src/plugins/coreplugin/stylehelper.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,24 +26,27 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "stylehelper.h" #include <QtGui/QPixmapCache> #include <QtGui/QWidget> // Clamps float color values within (0, 255) -static int clamp(float x) { +static int clamp(float x) +{ const int val = x > 255 ? 255 : static_cast<int>(x); return val < 0 ? 0 : val; } // Clamps float color values within (0, 255) /* -static int range(float x, int min, int max) { +static int range(float x, int min, int max) +{ int val = x > max ? max : x; return val < min ? min : val; } diff --git a/src/plugins/coreplugin/stylehelper.h b/src/plugins/coreplugin/stylehelper.h index cceb23a012312d002d9de792da3f6ed4abaabb68..2a3cf3f54b4524360f3bc6bfe7d1ae6d0dba4409 100644 --- a/src/plugins/coreplugin/stylehelper.h +++ b/src/plugins/coreplugin/stylehelper.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef STYLEHELPER_H #define STYLEHELPER_H @@ -43,7 +44,8 @@ // Helper class holding all custom color values -class CORE_EXPORT StyleHelper { +class CORE_EXPORT StyleHelper +{ public: // Height of the project explorer navigation bar static int navigationWidgetHeight() { return 24; } diff --git a/src/plugins/coreplugin/tabpositionindicator.cpp b/src/plugins/coreplugin/tabpositionindicator.cpp index 497b351ad991611d25743b6ce7ebc593f18d5128..2a4a267adbcddd46b55631f700c76a47b2d5a52a 100644 --- a/src/plugins/coreplugin/tabpositionindicator.cpp +++ b/src/plugins/coreplugin/tabpositionindicator.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,23 +26,23 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + +#include "tabpositionindicator.h" + #include <QtGui/QPainter> #include <QtGui/QPaintEvent> #include <QtGui/QBrush> #include <QtGui/QPalette> -#include "tabpositionindicator.h" - using namespace Core::Internal; TabPositionIndicator::TabPositionIndicator() : QWidget(0, Qt::ToolTip) { - } void TabPositionIndicator::paintEvent(QPaintEvent *event) diff --git a/src/plugins/coreplugin/tabpositionindicator.h b/src/plugins/coreplugin/tabpositionindicator.h index db159a58d0d4d2c0c005204fe27be2bf09656f23..14342483052464e99968e535c3f77015d4a2be5d 100644 --- a/src/plugins/coreplugin/tabpositionindicator.h +++ b/src/plugins/coreplugin/tabpositionindicator.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef TABPOSITIONINDICATOR_H #define TABPOSITIONINDICATOR_H @@ -43,9 +44,10 @@ namespace Internal { class TabPositionIndicator : public QWidget { Q_OBJECT + public: TabPositionIndicator(); - inline int indicatorWidth() { return TABPOSITIONINDICATOR_WIDTH; } + int indicatorWidth() { return TABPOSITIONINDICATOR_WIDTH; } private: void paintEvent(QPaintEvent *event); @@ -54,4 +56,4 @@ private: } // namespace Internal } // namespace Core -#endif //TABPOSITIONINDICATOR_H +#endif // TABPOSITIONINDICATOR_H diff --git a/src/plugins/coreplugin/uniqueidmanager.cpp b/src/plugins/coreplugin/uniqueidmanager.cpp index 802bd685e3872cab46bbf047fefc412b22d29ee6..6199180c7fc62ec044580e45ed0f85efef8b088d 100644 --- a/src/plugins/coreplugin/uniqueidmanager.cpp +++ b/src/plugins/coreplugin/uniqueidmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "uniqueidmanager.h" #include "coreconstants.h" diff --git a/src/plugins/coreplugin/uniqueidmanager.h b/src/plugins/coreplugin/uniqueidmanager.h index 36b5df034d1a8192eb7132de01b0d8025c1e8ff6..e740ab8fe6d9ae2a365ecf59a2eda71d9bdf00d8 100644 --- a/src/plugins/coreplugin/uniqueidmanager.h +++ b/src/plugins/coreplugin/uniqueidmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef UNIQUEIDMANAGER_H #define UNIQUEIDMANAGER_H diff --git a/src/plugins/coreplugin/variablemanager.cpp b/src/plugins/coreplugin/variablemanager.cpp index adf65b64b4113706ea670d23f51b7b1b679a4437..44263e044a0bd74366b8573488f1224750885b07 100644 --- a/src/plugins/coreplugin/variablemanager.cpp +++ b/src/plugins/coreplugin/variablemanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "variablemanager.h" using namespace Core; diff --git a/src/plugins/coreplugin/variablemanager.h b/src/plugins/coreplugin/variablemanager.h index a5e39522ab9a90a853c241e074662615cd3233f4..a148551d9fd10804ffff6fdfde01cb6904e4e39c 100644 --- a/src/plugins/coreplugin/variablemanager.h +++ b/src/plugins/coreplugin/variablemanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef VARIABLEMANAGER_H #define VARIABLEMANAGER_H diff --git a/src/plugins/coreplugin/vcsmanager.cpp b/src/plugins/coreplugin/vcsmanager.cpp index 36ba1ecd280baf94d215ea1df443ba4b09d2fb82..a0e1cc19c0ad2663899efcf53a566deeeba574da 100644 --- a/src/plugins/coreplugin/vcsmanager.cpp +++ b/src/plugins/coreplugin/vcsmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "vcsmanager.h" #include "iversioncontrol.h" @@ -110,4 +111,4 @@ void VCSManager::showDeleteDialog(const QString &fileName) } } -} +} // namespace Core diff --git a/src/plugins/coreplugin/vcsmanager.h b/src/plugins/coreplugin/vcsmanager.h index 3fad411ec498c446c8cb9d5a5cdff4b72431281d..92e4f35d1540a2a2282b1fb361ae35ea231a75ef 100644 --- a/src/plugins/coreplugin/vcsmanager.h +++ b/src/plugins/coreplugin/vcsmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,15 +26,16 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef VCSMANAGER_H #define VCSMANAGER_H - #include "core_global.h" + #include <QtCore/QString> namespace Core { diff --git a/src/plugins/coreplugin/versiondialog.cpp b/src/plugins/coreplugin/versiondialog.cpp index 45b8d6a8006893e3bc9d440b6462a0024841db97..d2ad590ef693edaf3c0f1f1079db42e4e89c836a 100644 --- a/src/plugins/coreplugin/versiondialog.cpp +++ b/src/plugins/coreplugin/versiondialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "versiondialog.h" #include "coreconstants.h" #include "coreimpl.h" @@ -46,8 +47,8 @@ using namespace Core::Constants; #include <QtGui/QDialogButtonBox> #include <QtGui/QTextBrowser> -VersionDialog::VersionDialog(QWidget *parent): - QDialog(parent) +VersionDialog::VersionDialog(QWidget *parent) + : QDialog(parent) { // We need to set the window icon explicitly here since for some reason the // application icon isn't used when the size of the dialog is fixed (at least not on X11/GNOME) diff --git a/src/plugins/coreplugin/versiondialog.h b/src/plugins/coreplugin/versiondialog.h index aa17bb8d3ec06ab51a0238df75a77cd9dc0b4a76..d53adab9ab6eb093311d32f1f6ad35551bd56f68 100644 --- a/src/plugins/coreplugin/versiondialog.h +++ b/src/plugins/coreplugin/versiondialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef VERSIONDIALOG_H #define VERSIONDIALOG_H diff --git a/src/plugins/coreplugin/viewmanager.cpp b/src/plugins/coreplugin/viewmanager.cpp index ea520e0b25395a73942b87dcf253dbc0b649ea49..71ee11329945ebc9312dbbe238a2bb6145fac31f 100644 --- a/src/plugins/coreplugin/viewmanager.cpp +++ b/src/plugins/coreplugin/viewmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "viewmanager.h" #include "coreconstants.h" @@ -37,24 +38,23 @@ #include "uniqueidmanager.h" #include "iview.h" +#include <coreplugin/actionmanager/actionmanagerinterface.h> +#include <coreplugin/actionmanager/icommand.h> +#include <extensionsystem/ExtensionSystemInterfaces> +#include <aggregation/aggregate.h> + #include <QtCore/QSettings> #include <QtGui/QAction> #include <QtGui/QActionGroup> +#include <QtGui/QComboBox> #include <QtGui/QDockWidget> -#include <QtGui/QVBoxLayout> -#include <QtGui/QMenu> -#include <QtGui/QStatusBar> +#include <QtGui/QHBoxLayout> #include <QtGui/QLabel> -#include <QtGui/QComboBox> +#include <QtGui/QMenu> #include <QtGui/QStackedWidget> +#include <QtGui/QStatusBar> #include <QtGui/QToolButton> - -#include <coreplugin/actionmanager/actionmanagerinterface.h> -#include <coreplugin/actionmanager/icommand.h> -#include <extensionsystem/ExtensionSystemInterfaces> -#include <aggregation/aggregate.h> - -#include <QtGui/QHBoxLayout> +#include <QtGui/QVBoxLayout> using namespace Core; using namespace Core::Internal; diff --git a/src/plugins/coreplugin/viewmanager.h b/src/plugins/coreplugin/viewmanager.h index 615a867beede44ca157a7e87b6a1da44649cb337..2405b576661a608bd2fcf3c95ed3a25732a1d351 100644 --- a/src/plugins/coreplugin/viewmanager.h +++ b/src/plugins/coreplugin/viewmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef VIEWMANAGER_H #define VIEWMANAGER_H @@ -83,4 +84,4 @@ private: } // namespace Internal } // namespace Core -#endif //VIEWMANAGER_H +#endif // VIEWMANAGER_H diff --git a/src/plugins/coreplugin/viewmanagerinterface.h b/src/plugins/coreplugin/viewmanagerinterface.h index 0b53e02908d46df10f9aa1b4381890ab368a40c1..ddff06984afee771bc6cd1fbb96ec07e8bb56133 100644 --- a/src/plugins/coreplugin/viewmanagerinterface.h +++ b/src/plugins/coreplugin/viewmanagerinterface.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef VIEWMANAGERINTERFACE_H #define VIEWMANAGERINTERFACE_H @@ -59,6 +60,6 @@ public: virtual IView * view(const QString & id) = 0; }; -} //namespace Core +} // namespace Core -#endif //VIEWMANAGERINTERFACE_H +#endif // VIEWMANAGERINTERFACE_H diff --git a/src/plugins/coreplugin/welcomemode.cpp b/src/plugins/coreplugin/welcomemode.cpp index e6c69c0001ce6ca00f48f212700d9bc4cbd3fecb..e90a4db6bb37d7a461b84a394cb5189b6809457c 100644 --- a/src/plugins/coreplugin/welcomemode.cpp +++ b/src/plugins/coreplugin/welcomemode.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,17 +26,18 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "welcomemode.h" #include "coreconstants.h" #include "uniqueidmanager.h" #include "coreimpl.h" #include "modemanager.h" -#ifdef QT_WEBKIT +#if !defined(QT_NO_WEBKIT) #include <QtWebKit/QWebView> #include <QtGui/QApplication> #include <QtCore/QFileInfo> @@ -65,11 +66,12 @@ static QString readFile(const QString &name) return ts.readAll(); } -struct WelcomeModePrivate { +struct WelcomeModePrivate +{ WelcomeModePrivate(); QWidget *m_widget; -#ifdef QT_WEBKIT +#if !defined(QT_NO_WEBKIT) QWebView *m_webview; #else QLabel *m_label; @@ -85,7 +87,7 @@ struct WelcomeModePrivate { WelcomeModePrivate::WelcomeModePrivate() : m_widget(new QWidget), -#ifdef QT_WEBKIT +#if !defined(QT_NO_WEBKIT) m_webview(new QWebView), #else m_label(new QLabel), @@ -97,7 +99,7 @@ WelcomeModePrivate::WelcomeModePrivate() : { } -#ifndef QT_WEBKIT +#if defined(QT_NO_WEBKIT) const char *LABEL = "<center><table><tr><td><img src=\":/qworkbench/html/images/product_logo.png\"/></td><td width=300>" "<h2><br/><br/>Welcome</h2><p> Qt Creator is an intuitive, modern cross platform IDE that enables " @@ -142,7 +144,7 @@ WelcomeMode::WelcomeMode() : l->setMargin(0); l->setSpacing(0); l->addWidget(new QToolBar(m_d->m_widget)); -#ifdef QT_WEBKIT +#if !defined(QT_NO_WEBKIT) connect(m_d->m_webview, SIGNAL(linkClicked(QUrl)), this, SLOT(linkClicked(QUrl))); WelcomePageData welcomePageData; @@ -199,7 +201,7 @@ void WelcomeMode::updateWelcomePage(const WelcomePageData &welcomePageData) { // should really only modify the DOM tree -#ifndef QT_WEBKIT +#if defined(QT_NO_WEBKIT) Q_UNUSED(welcomePageData); #else diff --git a/src/plugins/coreplugin/welcomemode.h b/src/plugins/coreplugin/welcomemode.h index 416e54c2dc77e596f3ab5ffb73fb9b3685f4a27e..f69b8226a72adacb14e9b54834ccfd58b6c9d936 100644 --- a/src/plugins/coreplugin/welcomemode.h +++ b/src/plugins/coreplugin/welcomemode.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef WELCOMEMODE_H #define WELCOMEMODE_H @@ -44,7 +45,6 @@ class QLabel; QT_END_NAMESPACE namespace Core { - namespace Internal { struct WelcomeModePrivate; diff --git a/src/plugins/cpaster/cpasterplugin.cpp b/src/plugins/cpaster/cpasterplugin.cpp index ee62688f3d4d8bae8bf36a74138e810d2ebc2396..2a4808891815c537759404da3bed26ad8bc49044 100644 --- a/src/plugins/cpaster/cpasterplugin.cpp +++ b/src/plugins/cpaster/cpasterplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "cpasterplugin.h" #include "ui_pasteselect.h" @@ -64,9 +65,7 @@ using namespace TextEditor; Core::ICore *gCoreInstance = NULL; CodepasterPlugin::CodepasterPlugin() - : m_settingsPage(0) - , m_fetcher(0) - , m_poster(0) + : m_settingsPage(0), m_fetcher(0), m_poster(0) { } @@ -125,7 +124,8 @@ bool CodepasterPlugin::initialize(const QStringList &arguments, QString *error_m void CodepasterPlugin::extensionsInitialized() { - m_projectExplorer = ExtensionSystem::PluginManager::instance()->getObject<ProjectExplorer::ProjectExplorerPlugin>(); + m_projectExplorer = ExtensionSystem::PluginManager::instance() + ->getObject<ProjectExplorer::ProjectExplorerPlugin>(); } void CodepasterPlugin::post() @@ -268,18 +268,14 @@ void CustomFetcher::list(QListWidget* list) Fetcher::fetch(url); } -CustomPoster::CustomPoster(const QString &host - , bool copyToClipboard - , bool displayOutput) - : Poster(host) - , m_copy(copyToClipboard) - , m_output(displayOutput) +CustomPoster::CustomPoster(const QString &host, bool copyToClipboard, bool displayOutput) + : Poster(host), m_copy(copyToClipboard), m_output(displayOutput) { // cpaster calls QCoreApplication::exit which we want to avoid here - disconnect(this, SIGNAL(requestFinished(int,bool)) - ,this, SLOT(gotRequestFinished(int,bool))); - connect(this, SIGNAL(requestFinished(int,bool)) - , SLOT(customRequestFinished(int,bool))); + disconnect(this, SIGNAL(requestFinished(int,bool)), + this, SLOT(gotRequestFinished(int,bool))); + connect(this, SIGNAL(requestFinished(int,bool)), + SLOT(customRequestFinished(int,bool))); } void CustomPoster::customRequestFinished(int, bool error) diff --git a/src/plugins/cpaster/cpasterplugin.h b/src/plugins/cpaster/cpasterplugin.h index 394dff4226a04ae42260c7ac0372a5b19ca0e354..3231fe48d91263a164839810e33a70902526b8e2 100644 --- a/src/plugins/cpaster/cpasterplugin.h +++ b/src/plugins/cpaster/cpasterplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,12 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -#ifndef CodepasterPlugin_H -#define CodepasterPlugin_H + +#ifndef CODEPASTERPLUGIN_H +#define CODEPASTERPLUGIN_H #include "settingspage.h" #include "fetcher.h" @@ -58,62 +59,65 @@ class CodepasterPlugin : public ExtensionSystem::IPlugin Q_OBJECT public: - CodepasterPlugin(); - ~CodepasterPlugin(); + CodepasterPlugin(); + ~CodepasterPlugin(); - bool initialize(const QStringList &arguments - , QString *error_message); - void extensionsInitialized(); + bool initialize(const QStringList &arguments, QString *error_message); + void extensionsInitialized(); public slots: - void post(); - void fetch(); + void post(); + void fetch(); private: - QAction *m_postAction; - QAction *m_fetchAction; + QAction *m_postAction; + QAction *m_fetchAction; ProjectExplorer::ProjectExplorerPlugin *m_projectExplorer; - SettingsPage *m_settingsPage; - CustomFetcher *m_fetcher; - CustomPoster *m_poster; + SettingsPage *m_settingsPage; + CustomFetcher *m_fetcher; + CustomPoster *m_poster; }; + class CustomFetcher : public Fetcher { Q_OBJECT + public: - CustomFetcher(const QString &host); + CustomFetcher(const QString &host); + + int fetch(int pasteID); + bool hadCustomError() { return m_customError; } - int fetch(int pasteID); - inline bool hadCustomError() { return m_customError; } + void list(QListWidget *); - void list(QListWidget*); private slots: - void customRequestFinished(int id, bool error); + void customRequestFinished(int id, bool error); private: - QString m_host; - QListWidget *m_listWidget; - int m_id; - bool m_customError; + QString m_host; + QListWidget *m_listWidget; + int m_id; + bool m_customError; }; + class CustomPoster : public Poster { Q_OBJECT public: - CustomPoster(const QString &host - , bool copyToClipboard = true - , bool displayOutput = true); + CustomPoster(const QString &host, bool copyToClipboard = true, + bool displayOutput = true); private slots: - void customRequestFinished(int id, bool error); + void customRequestFinished(int id, bool error); + private: - bool m_copy; - bool m_output; + bool m_copy; + bool m_output; }; } // namespace CodePaster -#endif +#endif // CODEPASTERPLUGIN_H diff --git a/src/plugins/cpaster/settingspage.cpp b/src/plugins/cpaster/settingspage.cpp index 95458eb41ded8705c524eff6fc178ef8b5dc2eac..cc4d9117259ee078b3a34cf4d57afb6407566b1a 100644 --- a/src/plugins/cpaster/settingspage.cpp +++ b/src/plugins/cpaster/settingspage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "settingspage.h" #include <coreplugin/icore.h> diff --git a/src/plugins/cpaster/settingspage.h b/src/plugins/cpaster/settingspage.h index f80b29046199fa6b95f86893cdd723702a7e2797..9830b97ccaa47cb894ea66c0f8d8f2c53fa4d121 100644 --- a/src/plugins/cpaster/settingspage.h +++ b/src/plugins/cpaster/settingspage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,19 +26,20 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SETTINGSPAGE_H #define SETTINGSPAGE_H -#include <QtCore/QUrl> -#include <QtGui/QWidget> +#include "ui_settingspage.h" #include <coreplugin/dialogs/ioptionspage.h> -#include "ui_settingspage.h" +#include <QtCore/QUrl> +#include <QtGui/QWidget> QT_BEGIN_NAMESPACE class QSettings; @@ -51,31 +52,31 @@ class SettingsPage : public Core::IOptionsPage Q_OBJECT public: - SettingsPage(); + SettingsPage(); - QString name() const; - QString category() const; - QString trCategory() const; + QString name() const; + QString category() const; + QString trCategory() const; - QWidget* createPage(QWidget *parent); - void finished(bool accepted); + QWidget *createPage(QWidget *parent); + void finished(bool accepted); - QString username() const; - QUrl serverUrl() const; + QString username() const; + QUrl serverUrl() const; - bool copyToClipBoard() const; - bool displayOutput() const; + bool copyToClipBoard() const; + bool displayOutput() const; private: - Ui_SettingsPage m_ui; - QSettings *m_settings; + Ui_SettingsPage m_ui; + QSettings *m_settings; - QString m_username; - QUrl m_server; - bool m_copy; - bool m_output; + QString m_username; + QUrl m_server; + bool m_copy; + bool m_output; }; -} //namespace CodePaster +} // namespace CodePaster -#endif +#endif // SETTINGSPAGE_H diff --git a/src/plugins/cppeditor/cppclasswizard.cpp b/src/plugins/cppeditor/cppclasswizard.cpp index 90fa126727fa3796dd3899a00def6843830d402d..6730f5b9ed9c388184b1d6040bb55cfe433b0bda 100644 --- a/src/plugins/cppeditor/cppclasswizard.cpp +++ b/src/plugins/cppeditor/cppclasswizard.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "cppclasswizard.h" #include "cppeditorconstants.h" diff --git a/src/plugins/cppeditor/cppclasswizard.h b/src/plugins/cppeditor/cppclasswizard.h index 6f2055efd71fe08757c746a776d02626c3fdb71e..b0850d692898a49f9d0c0fffcc09b8b8fbfe85d2 100644 --- a/src/plugins/cppeditor/cppclasswizard.h +++ b/src/plugins/cppeditor/cppclasswizard.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPCLASSWIZARD_H #define CPPCLASSWIZARD_H @@ -45,9 +46,9 @@ class QComboBox; QT_END_NAMESPACE namespace Core { - namespace Utils { - class NewClassWidget; - } +namespace Utils { + class NewClassWidget; +} } namespace CppEditor { diff --git a/src/plugins/cppeditor/cppeditor.cpp b/src/plugins/cppeditor/cppeditor.cpp index 708d825426a536e8387886757cc36ec7402bfc77..254e9341de66b16c24f814dfadeecd1ec0a7170d 100644 --- a/src/plugins/cppeditor/cppeditor.cpp +++ b/src/plugins/cppeditor/cppeditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "cppeditor.h" #include "cppeditorconstants.h" #include "cppplugin.h" @@ -138,7 +139,7 @@ QualifiedNameId *qualifiedNameIdForSymbol(Symbol *s, const LookupContext &contex } CPPEditorEditable::CPPEditorEditable(CPPEditor *editor) - :BaseTextEditorEditable(editor) + : BaseTextEditorEditable(editor) { Core::ICore *core = CppPlugin::core(); m_context << core->uniqueIDManager()->uniqueIdentifier(CppEditor::Constants::C_CPPEDITOR); diff --git a/src/plugins/cppeditor/cppeditor.h b/src/plugins/cppeditor/cppeditor.h index 404d8047adacc2f38d5b14c728e925ae9d20f2df..e6c6d1aa8633cd807179308b2761685119a0a247 100644 --- a/src/plugins/cppeditor/cppeditor.h +++ b/src/plugins/cppeditor/cppeditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPEDITOR_H #define CPPEDITOR_H diff --git a/src/plugins/cppeditor/cppeditor_global.h b/src/plugins/cppeditor/cppeditor_global.h index 61063831227c760b4a6c9276151668bc32b997d4..68adb513b6f7ddf3aba704d0456d50173e1d8f06 100644 --- a/src/plugins/cppeditor/cppeditor_global.h +++ b/src/plugins/cppeditor/cppeditor_global.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPEDITOR_GLOBAL_H #define CPPEDITOR_GLOBAL_H diff --git a/src/plugins/cppeditor/cppeditoractionhandler.cpp b/src/plugins/cppeditor/cppeditoractionhandler.cpp index 1ea013fb2af099c0fc1541141d594a93a36368e4..f68a1cd1c01b5701b6346b9c21e32d15cf23fec2 100644 --- a/src/plugins/cppeditor/cppeditoractionhandler.cpp +++ b/src/plugins/cppeditor/cppeditoractionhandler.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "cppeditoractionhandler.h" @@ -48,7 +48,11 @@ CPPEditorActionHandler::~CPPEditorActionHandler() { } void CPPEditorActionHandler::createActions() -{ TextEditor::TextEditorActionHandler::createActions(); } +{ + TextEditor::TextEditorActionHandler::createActions(); +} void CPPEditorActionHandler::updateActions(UpdateMode um) -{ TextEditor::TextEditorActionHandler::updateActions(um); } +{ + TextEditor::TextEditorActionHandler::updateActions(um); +} diff --git a/src/plugins/cppeditor/cppeditoractionhandler.h b/src/plugins/cppeditor/cppeditoractionhandler.h index 75c1102d225d72755e654376f211bff5ab740909..a3514fa60be8c3bf4d10110fb1a21c758144d5b5 100644 --- a/src/plugins/cppeditor/cppeditoractionhandler.h +++ b/src/plugins/cppeditor/cppeditoractionhandler.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPEDITORACTIONHANDLER_H #define CPPEDITORACTIONHANDLER_H diff --git a/src/plugins/cppeditor/cppeditorconstants.h b/src/plugins/cppeditor/cppeditorconstants.h index 0c29ec963039ae2ebd050a308a8d6353e6717247..a89d69f5b54b3d66346c82358d543379815090b7 100644 --- a/src/plugins/cppeditor/cppeditorconstants.h +++ b/src/plugins/cppeditor/cppeditorconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPPLUGIN_GLOBAL_H #define CPPPLUGIN_GLOBAL_H @@ -53,6 +54,7 @@ const char * const C_SOURCE_MIMETYPE = "text/x-csrc"; const char * const C_HEADER_MIMETYPE = "text/x-chdr"; const char * const CPP_SOURCE_MIMETYPE = "text/x-c++src"; const char * const CPP_HEADER_MIMETYPE = "text/x-c++hdr"; + } // namespace Constants } // namespace CppEditor diff --git a/src/plugins/cppeditor/cppeditorenums.h b/src/plugins/cppeditor/cppeditorenums.h index 85e6497215553fc38d08f01a447323f77c7dfa88..f8e3dbe78151e8eb1ec1f1332684e939c4c1b708 100644 --- a/src/plugins/cppeditor/cppeditorenums.h +++ b/src/plugins/cppeditor/cppeditorenums.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPPLUGIN_ENUMS_H #define CPPPLUGIN_ENUMS_H diff --git a/src/plugins/cppeditor/cppfilewizard.cpp b/src/plugins/cppeditor/cppfilewizard.cpp index a8e477f219c7f8deba029a82f8d71a5755a246de..d5f834b91f2d35df57e861b929e90122fb1384b1 100644 --- a/src/plugins/cppeditor/cppfilewizard.cpp +++ b/src/plugins/cppeditor/cppfilewizard.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "cppfilewizard.h" #include "cppeditor.h" #include "cppeditorconstants.h" diff --git a/src/plugins/cppeditor/cppfilewizard.h b/src/plugins/cppeditor/cppfilewizard.h index 551aac86884b00c5a6dbe44fe181d2172b6aa92c..1e2e0b3324ed905ff96c91702887aefc71a9735a 100644 --- a/src/plugins/cppeditor/cppfilewizard.h +++ b/src/plugins/cppeditor/cppfilewizard.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPFILEWIZARD_H #define CPPFILEWIZARD_H diff --git a/src/plugins/cppeditor/cpphighlighter.cpp b/src/plugins/cppeditor/cpphighlighter.cpp index 4bd823c0c8d1e4ca2084d448625c2647175807de..a16af7f851f05bbfe4e3b51ce358a9755eb54b18 100644 --- a/src/plugins/cppeditor/cpphighlighter.cpp +++ b/src/plugins/cppeditor/cpphighlighter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "cpphighlighter.h" #include <Token.h> diff --git a/src/plugins/cppeditor/cpphighlighter.h b/src/plugins/cppeditor/cpphighlighter.h index cdfc2d8360c7f4ad19fd02680fd792f76bb4a402..6ffffbb2f557447d93391a32058c974aacdf6f14 100644 --- a/src/plugins/cppeditor/cpphighlighter.h +++ b/src/plugins/cppeditor/cpphighlighter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPHIGHLIGHTER_H #define CPPHIGHLIGHTER_H diff --git a/src/plugins/cppeditor/cppplugin.cpp b/src/plugins/cppeditor/cppplugin.cpp index 576624f5b426fdddd30aa69745e1a831465ad738..ac4a74b051819467bf5f5804497381a0c672b53c 100644 --- a/src/plugins/cppeditor/cppplugin.cpp +++ b/src/plugins/cppeditor/cppplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "cppplugin.h" #include "cppeditor.h" #include "cppeditorconstants.h" diff --git a/src/plugins/cppeditor/cppplugin.h b/src/plugins/cppeditor/cppplugin.h index 8bc4e8d61e138d722bf621be6fee2360543a43be..91ccafcdb28613d84c4928776f480f9bb323b5a8 100644 --- a/src/plugins/cppeditor/cppplugin.h +++ b/src/plugins/cppeditor/cppplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPPLUGIN_H #define CPPPLUGIN_H diff --git a/src/plugins/cpptools/cppcodecompletion.cpp b/src/plugins/cpptools/cppcodecompletion.cpp index 595047718409f9fbcb0d4971d7cfcd007fb7b83f..7568d2c8877f0d06f0037d4db93bfc2327efa14c 100644 --- a/src/plugins/cpptools/cppcodecompletion.cpp +++ b/src/plugins/cpptools/cppcodecompletion.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "cppcodecompletion.h" #include "cppmodelmanager.h" diff --git a/src/plugins/cpptools/cppcodecompletion.h b/src/plugins/cpptools/cppcodecompletion.h index 49773935212520b38d9509820ce55fb93feb4017..02170482486453a719aa61f4ac7ce9ec146c6bd8 100644 --- a/src/plugins/cpptools/cppcodecompletion.h +++ b/src/plugins/cpptools/cppcodecompletion.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,17 +26,14 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPCODECOMPLETION_H #define CPPCODECOMPLETION_H -// Qt -#include <QtCore/QObject> -#include <QtCore/QPointer> - // C++ front-end #include <ASTfwd.h> #include <FullySpecifiedType.h> @@ -47,6 +44,10 @@ // Qt Creator #include <texteditor/icompletioncollector.h> +// Qt +#include <QtCore/QObject> +#include <QtCore/QPointer> + namespace Core { class ICore; } diff --git a/src/plugins/cpptools/cpphoverhandler.cpp b/src/plugins/cpptools/cpphoverhandler.cpp index dc9bb96661633f70c8e651bcf5521bb8782cc4e2..37b63bda9c23f4adf11670e34062efaded814a18 100644 --- a/src/plugins/cpptools/cpphoverhandler.cpp +++ b/src/plugins/cpptools/cpphoverhandler.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "cpphoverhandler.h" #include "cppmodelmanager.h" diff --git a/src/plugins/cpptools/cpphoverhandler.h b/src/plugins/cpptools/cpphoverhandler.h index ca828c35dbcf38cb99023d38da0857ad8740ba46..9aaa17cb0f88e1e47c04ebca1a96114f53f6917b 100644 --- a/src/plugins/cpptools/cpphoverhandler.h +++ b/src/plugins/cpptools/cpphoverhandler.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPHOVERHANDLER_H #define CPPHOVERHANDLER_H diff --git a/src/plugins/cpptools/cppmodelmanager.cpp b/src/plugins/cpptools/cppmodelmanager.cpp index 6ec5391267e46705df35e5b33eab6889f69d18f6..1708e62de35b26c5aae7bf7c25d4f5129505278b 100644 --- a/src/plugins/cpptools/cppmodelmanager.cpp +++ b/src/plugins/cpptools/cppmodelmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #define _SCL_SECURE_NO_WARNINGS 1 #include "pp.h" diff --git a/src/plugins/cpptools/cppmodelmanager.h b/src/plugins/cpptools/cppmodelmanager.h index bed882f9cd932d0c260ee76d1aa5008204f16e89..187187cc5d313586293cd3fdb0e7d5186dc30c01 100644 --- a/src/plugins/cpptools/cppmodelmanager.h +++ b/src/plugins/cpptools/cppmodelmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPMODELMANAGER_H #define CPPMODELMANAGER_H diff --git a/src/plugins/cpptools/cppmodelmanagerinterface.h b/src/plugins/cpptools/cppmodelmanagerinterface.h index 3b93c346c55fdb1b887514ba1ecc6c7d0e2887de..11be08a4b0e20c4a2b5fd572d15db6dfb1b91dd0 100644 --- a/src/plugins/cpptools/cppmodelmanagerinterface.h +++ b/src/plugins/cpptools/cppmodelmanagerinterface.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPMODELMANAGERINTERFACE_H #define CPPMODELMANAGERINTERFACE_H diff --git a/src/plugins/cpptools/cppquickopenfilter.cpp b/src/plugins/cpptools/cppquickopenfilter.cpp index 98086d3f81c53e6c1eb4dfadb1b8615abd183468..9470ec46039a57c77e3d1499b71c3e457f01c190 100644 --- a/src/plugins/cpptools/cppquickopenfilter.cpp +++ b/src/plugins/cpptools/cppquickopenfilter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "cppquickopenfilter.h" #include <Literals.h> diff --git a/src/plugins/cpptools/cppquickopenfilter.h b/src/plugins/cpptools/cppquickopenfilter.h index 1375e468f562f6b056ad944239073c23d5a95abf..bf6696a02af24ed690d286177e6ed9746e206112 100644 --- a/src/plugins/cpptools/cppquickopenfilter.h +++ b/src/plugins/cpptools/cppquickopenfilter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPQUICKOPENFILTER_H #define CPPQUICKOPENFILTER_H diff --git a/src/plugins/cpptools/cpptools.cpp b/src/plugins/cpptools/cpptools.cpp index ceca43afaa26e4fc26bf200d572205be7f683a50..423ddf3016d0d4a967dffd0d4a7e236163aa9793 100644 --- a/src/plugins/cpptools/cpptools.cpp +++ b/src/plugins/cpptools/cpptools.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "cpptools.h" #include "cppcodecompletion.h" #include "cpphoverhandler.h" diff --git a/src/plugins/cpptools/cpptools.h b/src/plugins/cpptools/cpptools.h index 3d0f195309e086e9e57d4e9d99392a8b148ced78..a64bfcf9dcdd4da661b55146e92c5095705aafff 100644 --- a/src/plugins/cpptools/cpptools.h +++ b/src/plugins/cpptools/cpptools.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPTOOLS_H #define CPPTOOLS_H diff --git a/src/plugins/cpptools/cpptools_global.h b/src/plugins/cpptools/cpptools_global.h index 294a54ceb2e8c49511fa1e170f8cad8a0b23a985..bbb7b0c764bdc71ef3cd127d3a109747db980ffe 100644 --- a/src/plugins/cpptools/cpptools_global.h +++ b/src/plugins/cpptools/cpptools_global.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPTOOLS_GLOBAL_H #define CPPTOOLS_GLOBAL_H diff --git a/src/plugins/cpptools/cpptoolsconstants.h b/src/plugins/cpptools/cpptoolsconstants.h index 8a3e92cf2d663e266302a0c246bede282579fb8e..0eadabbd4a6474aab7f0b833be984ace072704b9 100644 --- a/src/plugins/cpptools/cpptoolsconstants.h +++ b/src/plugins/cpptools/cpptoolsconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPTOOLSCONSTANTS_H #define CPPTOOLSCONSTANTS_H @@ -43,7 +44,8 @@ const char * const C_SOURCE_MIMETYPE = "text/x-csrc"; const char * const C_HEADER_MIMETYPE = "text/x-chdr"; const char * const CPP_SOURCE_MIMETYPE = "text/x-c++src"; const char * const CPP_HEADER_MIMETYPE = "text/x-c++hdr"; -} -} -#endif //CPPTOOLSCONSTANTS_H +} // namespace Constants +} // namespace CppTools + +#endif // CPPTOOLSCONSTANTS_H diff --git a/src/plugins/cpptools/cpptoolseditorsupport.cpp b/src/plugins/cpptools/cpptoolseditorsupport.cpp index ca36045422cdebe22d00f123823ebe085fe05936..fbca4c1a07530b1f0e60be8c480dba9ab61b503a 100644 --- a/src/plugins/cpptools/cpptoolseditorsupport.cpp +++ b/src/plugins/cpptools/cpptoolseditorsupport.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,15 +26,16 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "cpptoolseditorsupport.h" #include "cppmodelmanager.h" #include <texteditor/itexteditor.h> + #include <QTimer> using namespace CppTools::Internal; diff --git a/src/plugins/cpptools/cpptoolseditorsupport.h b/src/plugins/cpptools/cpptoolseditorsupport.h index 51a905e895bb18e3fd67d96bc3961a9e8a699b39..6cfb7dc20100512d8a9d9577607963e53fe2573c 100644 --- a/src/plugins/cpptools/cpptoolseditorsupport.h +++ b/src/plugins/cpptools/cpptoolseditorsupport.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CPPTOOLSEDITORSUPPORT_H #define CPPTOOLSEDITORSUPPORT_H @@ -81,7 +82,7 @@ private: QFuture<void> _documentParser; }; -} // end of namespace Internal -} // end of namespace CppTools +} // namespace Internal +} // namespace CppTools #endif // CPPTOOLSEDITORSUPPORT_H diff --git a/src/plugins/cpptools/rpp/pp-cctype.h b/src/plugins/cpptools/rpp/pp-cctype.h index aff4fb2c5190cb03221f2292ea6de0e45b804420..62b44f0bf4c4bae72080f836c0074a7e4fe56620 100644 --- a/src/plugins/cpptools/rpp/pp-cctype.h +++ b/src/plugins/cpptools/rpp/pp-cctype.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /* Copyright 2005 Roberto Raggi <roberto@kdevelop.org> @@ -72,5 +72,3 @@ inline bool pp_isspace (int __ch) } // namespace rpp #endif // PP_CCTYPE_H - -// kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/src/plugins/cpptools/rpp/pp-client.h b/src/plugins/cpptools/rpp/pp-client.h index 13d9eda71399360d41a94b0051e40c725758f61a..073fc44c3627ad3643e18eef4be96c2e565a8f40 100644 --- a/src/plugins/cpptools/rpp/pp-client.h +++ b/src/plugins/cpptools/rpp/pp-client.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef PP_CLIENT_H #define PP_CLIENT_H @@ -64,6 +65,6 @@ public: virtual void stopSkippingBlocks(unsigned offset) = 0; }; -} // end of namespace rpp +} // namespace rpp #endif // PP_CLIENT_H diff --git a/src/plugins/cpptools/rpp/pp-engine.cpp b/src/plugins/cpptools/rpp/pp-engine.cpp index 97e168f0c24910f69fa079d88345737f0c6e6f36..a061b2942a97141a11de81678ef00ab26f83a980 100644 --- a/src/plugins/cpptools/rpp/pp-engine.cpp +++ b/src/plugins/cpptools/rpp/pp-engine.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /* Copyright 2005 Roberto Raggi <roberto@kdevelop.org> @@ -51,9 +51,11 @@ */ #include "pp.h" + #include <Lexer.h> #include <Token.h> #include <QtDebug> +#include <algorithm> using namespace rpp; using namespace CPlusPlus; @@ -513,8 +515,7 @@ void pp::operator()(const QByteArray &source, QByteArray *result) while (true) { if (env.currentLine != _dot->lineno) { if (env.currentLine > _dot->lineno) { - result->append('\n'); - result->append('#'); + result->append("\n# "); result->append(QByteArray::number(_dot->lineno)); result->append(' '); result->append('"'); @@ -562,16 +563,6 @@ void pp::operator()(const QByteArray &source, QByteArray *result) } else { if (_dot->joined) result->append("\\\n"); - else if (_dot->newline) { - result->append('\n'); - result->append('#'); - result->append(QByteArray::number(_dot->lineno)); - result->append(' '); - result->append('"'); - result->append(env.current_file); - result->append('"'); - result->append('\n'); - } else if (_dot->whitespace) result->append(' '); @@ -859,11 +850,14 @@ void pp::processDefine(TokenIterator firstToken, TokenIterator lastToken) if (isQtWord) macro.definition = macroId; else { + // ### make me fast! const char *startOfDefinition = startOfToken(*tk); const char *endOfDefinition = startOfToken(*lastToken); macro.definition.append(startOfDefinition, endOfDefinition - startOfDefinition); macro.definition.replace("\\\n", " "); + macro.definition.replace('\n', ' '); + macro.definition = macro.definition.trimmed(); } env.bind(macro); diff --git a/src/plugins/cpptools/rpp/pp-engine.h b/src/plugins/cpptools/rpp/pp-engine.h index fb3b9a3212e1c9607fdc4996eac23f982b01f79a..13135f6a3102f45fab3fdbb5901c83fb1d75afc0 100644 --- a/src/plugins/cpptools/rpp/pp-engine.h +++ b/src/plugins/cpptools/rpp/pp-engine.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /* Copyright 2005 Roberto Raggi <roberto@kdevelop.org> @@ -54,6 +54,7 @@ #define PP_ENGINE_H #include "pp-client.h" + #include <Token.h> #include <QVector> diff --git a/src/plugins/cpptools/rpp/pp-environment.cpp b/src/plugins/cpptools/rpp/pp-environment.cpp index 150378789818ec1d4ec2a3b6c47d8b727b01de0f..85e432ae5b5ae49c70557cfd835b7db4eddc60d5 100644 --- a/src/plugins/cpptools/rpp/pp-environment.cpp +++ b/src/plugins/cpptools/rpp/pp-environment.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /* Copyright 2005 Roberto Raggi <roberto@kdevelop.org> diff --git a/src/plugins/cpptools/rpp/pp-environment.h b/src/plugins/cpptools/rpp/pp-environment.h index cdecf4de61b440fe3d4f82be7859a2702c39461c..5b97c492d799a07d79e20adbef1f74d937e63b73 100644 --- a/src/plugins/cpptools/rpp/pp-environment.h +++ b/src/plugins/cpptools/rpp/pp-environment.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /* Copyright 2005 Roberto Raggi <roberto@kdevelop.org> diff --git a/src/plugins/cpptools/rpp/pp-fwd.h b/src/plugins/cpptools/rpp/pp-fwd.h deleted file mode 100644 index 05b68774cf8647da23e6213affb2d548b69bf566..0000000000000000000000000000000000000000 --- a/src/plugins/cpptools/rpp/pp-fwd.h +++ /dev/null @@ -1,62 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* - Copyright 2005 Roberto Raggi <roberto@kdevelop.org> - - Permission to use, copy, modify, distribute, and sell this software and its - documentation for any purpose is hereby granted without fee, provided that - the above copyright notice appear in all copies and that both that - copyright notice and this permission notice appear in supporting - documentation. - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - KDEVELOP TEAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -#ifndef PP_FWD_H -#define PP_FWD_H - -namespace rpp { - -} // namespace rpp - -#endif // PP_FWD_H - -// kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/src/plugins/cpptools/rpp/pp-internal.h b/src/plugins/cpptools/rpp/pp-internal.h index eed958372c413c92fdeac257325017d36c43f46f..13bc7c17e84499f304976e46d94a7730605233b4 100644 --- a/src/plugins/cpptools/rpp/pp-internal.h +++ b/src/plugins/cpptools/rpp/pp-internal.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /* Copyright 2005 Roberto Raggi <roberto@kdevelop.org> @@ -56,47 +56,23 @@ #include <QByteArray> namespace rpp { +namespace _PP_internal { - namespace _PP_internal - { - - inline void output_line(const QByteArray &__filename, int __line, QByteArray *__result) - { - QByteArray __msg; - - __msg += "# "; - - char __line_descr[16]; - qsnprintf (__line_descr, 16, "%d", __line); - __msg += __line_descr; - - __msg += " \""; - - if (__filename.isEmpty ()) - __msg += "<editor>"; - else - __msg += __filename; - - __msg += "\"\n"; - __result->append(__msg); - } - - inline bool comment_p (const char *__first, const char *__last) - { - if (__first == __last) - return false; - - if (*__first != '/') - return false; +inline bool comment_p (const char *__first, const char *__last) +{ + if (__first == __last) + return false; - if (++__first == __last) - return false; + if (*__first != '/') + return false; - return (*__first == '/' || *__first == '*'); - } + if (++__first == __last) + return false; - } // _PP_internal + return (*__first == '/' || *__first == '*'); +} +} // _PP_internal } // namespace rpp #endif // PP_INTERNAL_H diff --git a/src/plugins/cpptools/rpp/pp-macro-expander.cpp b/src/plugins/cpptools/rpp/pp-macro-expander.cpp index 658f2acc67330254c8839d38cdaa15e4c1e0a0bf..6b569eb132feea2bbde069809ca9e293666be378 100644 --- a/src/plugins/cpptools/rpp/pp-macro-expander.cpp +++ b/src/plugins/cpptools/rpp/pp-macro-expander.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "pp.h" @@ -38,11 +38,11 @@ using namespace rpp; MacroExpander::MacroExpander (Environment &env, pp_frame *frame) - : env (env), frame (frame), - lines (0), generated_lines (0) + : env(env), frame(frame), + lines(0), generated_lines(0) { } -const QByteArray *MacroExpander::resolve_formal (const QByteArray &__name) +const QByteArray *MacroExpander::resolve_formal(const QByteArray &__name) { if (! (frame && frame->expanding_macro)) return 0; @@ -69,8 +69,7 @@ const char *MacroExpander::operator () (const char *__first, const char *__last, { if (*__first == '\n') { - __result->append('\n'); - __result->append('#'); + __result->append("\n# "); __result->append(QByteArray::number(env.currentLine)); __result->append(' '); __result->append('"'); diff --git a/src/plugins/cpptools/rpp/pp-macro-expander.h b/src/plugins/cpptools/rpp/pp-macro-expander.h index bdf21a421bac6d33b04f0305e81ed2a9242163f3..dd11540c33629ac3c391112188d7445a821b6288 100644 --- a/src/plugins/cpptools/rpp/pp-macro-expander.h +++ b/src/plugins/cpptools/rpp/pp-macro-expander.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /* Copyright 2005 Roberto Raggi <roberto@kdevelop.org> diff --git a/src/plugins/cpptools/rpp/pp-macro.h b/src/plugins/cpptools/rpp/pp-macro.h index b2201689897b804003d3aa7cff2dd21ec6b20ded..a7bbe35e1d5995488ea78a0f9d86c0740271d040 100644 --- a/src/plugins/cpptools/rpp/pp-macro.h +++ b/src/plugins/cpptools/rpp/pp-macro.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /* Copyright 2005 Roberto Raggi <roberto@kdevelop.org> diff --git a/src/plugins/cpptools/rpp/pp-scanner.h b/src/plugins/cpptools/rpp/pp-scanner.h index d9036d885580bf1d8cfc85a38c10e5f6fa7f6868..53fea70b52fd7fbaf4dd5219e0d610ec1ed0ffec 100644 --- a/src/plugins/cpptools/rpp/pp-scanner.h +++ b/src/plugins/cpptools/rpp/pp-scanner.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /* Copyright 2005 Roberto Raggi <roberto@kdevelop.org> diff --git a/src/plugins/cpptools/rpp/pp-symbol.h b/src/plugins/cpptools/rpp/pp-symbol.h deleted file mode 100644 index 37e2a623e5e39a2367c66490cf685f18cb514092..0000000000000000000000000000000000000000 --- a/src/plugins/cpptools/rpp/pp-symbol.h +++ /dev/null @@ -1,52 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* - Copyright 2005 Roberto Raggi <roberto@kdevelop.org> - - Permission to use, copy, modify, distribute, and sell this software and its - documentation for any purpose is hereby granted without fee, provided that - the above copyright notice appear in all copies and that both that - copyright notice and this permission notice appear in supporting - documentation. - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - KDEVELOP TEAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - diff --git a/src/plugins/cpptools/rpp/pp.h b/src/plugins/cpptools/rpp/pp.h index 52411f7624b37a1b4defb6785bcfa137ed606bf9..62f3245a281e23f0b8a9ef87d306af8e7736d2c0 100644 --- a/src/plugins/cpptools/rpp/pp.h +++ b/src/plugins/cpptools/rpp/pp.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /* Copyright 2005 Roberto Raggi <roberto@kdevelop.org> @@ -53,18 +53,11 @@ #ifndef PP_H #define PP_H -#if defined(_WIN64) || defined(WIN64) || defined(__WIN64__) \ - || defined(_WIN32) || defined(WIN32) || defined(__WIN32__) -# define PP_OS_WIN -#endif - #include <cassert> #include <cstring> #include <cctype> -#include "pp-fwd.h" #include "pp-cctype.h" -#include "pp-symbol.h" #include "pp-internal.h" #include "pp-macro.h" #include "pp-environment.h" diff --git a/src/plugins/cpptools/rpp/rpp.pri b/src/plugins/cpptools/rpp/rpp.pri index f47976e6fe19f9c035d1d8bddcfd66d8d28aa5e2..a79b0028a056faf793ac0b38a4e4bb048a74b15d 100644 --- a/src/plugins/cpptools/rpp/rpp.pri +++ b/src/plugins/cpptools/rpp/rpp.pri @@ -4,12 +4,10 @@ INCLUDEPATH += $$PWD HEADERS += $$PWD/pp-cctype.h \ $$PWD/pp-engine.h \ $$PWD/pp-environment.h \ - $$PWD/pp-fwd.h \ $$PWD/pp-internal.h \ $$PWD/pp-macro-expander.h \ $$PWD/pp-macro.h \ $$PWD/pp-scanner.h \ - $$PWD/pp-symbol.h \ $$PWD/pp.h \ $$PWD/pp-client.h diff --git a/src/plugins/debugger/assert.h b/src/plugins/debugger/assert.h index a4310040fee5f7a5ed54590b8004ae20adccb6ef..014bb3b25d382bf787490e9e99c8578cb09fa203 100644 --- a/src/plugins/debugger/assert.h +++ b/src/plugins/debugger/assert.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_QWB_ASSERT_H #define DEBUGGER_QWB_ASSERT_H @@ -41,5 +42,5 @@ if(cond){}else{qDebug()<<"ASSERTION"<<#cond<<"FAILED";action;} #endif -#endif +#endif // DEBUGGER_QWB_ASSERT_H diff --git a/src/plugins/debugger/attachexternaldialog.cpp b/src/plugins/debugger/attachexternaldialog.cpp index 5aeec2ec62088770ae7f7fe416275fea9c054d7a..1a376b3373ffce4854ddcaa1481a4fcc12e38d53 100644 --- a/src/plugins/debugger/attachexternaldialog.cpp +++ b/src/plugins/debugger/attachexternaldialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "attachexternaldialog.h" #include <QDebug> @@ -39,6 +40,13 @@ #include <QStandardItemModel> #include <QHeaderView> +#ifdef Q_OS_WINDOWS +#include <windows.h> +#include <tlhelp32.h> +#include <tchar.h> +#include <stdio.h> +#endif + using namespace Debugger::Internal; AttachExternalDialog::AttachExternalDialog(QWidget *parent, const QString &pid) @@ -70,7 +78,8 @@ static bool isProcessName(const QString &procname) return true; } -struct ProcData { +struct ProcData +{ QString ppid; QString name; QString state; @@ -143,11 +152,6 @@ void AttachExternalDialog::rebuildProcessList() #ifdef Q_OS_WINDOWS -#include <windows.h> -#include <tlhelp32.h> -#include <tchar.h> -#include <stdio.h> - // Forward declarations: BOOL GetProcessList( ); BOOL ListProcessModules( DWORD dwPID ); diff --git a/src/plugins/debugger/attachexternaldialog.h b/src/plugins/debugger/attachexternaldialog.h index 6c77d206b6ee2db23dc4ee01d39aadb880e8fcba..b64691ef803d46ffae79a84cbd0af92cedb000db 100644 --- a/src/plugins/debugger/attachexternaldialog.h +++ b/src/plugins/debugger/attachexternaldialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef ATTACHEXTERNALDIALOG_H #define ATTACHEXTERNALDIALOG_H diff --git a/src/plugins/debugger/attachremotedialog.cpp b/src/plugins/debugger/attachremotedialog.cpp index ffd09e7b789139f8fcd483cbdba75f121d1586c8..65b02f37f100978739f13b5d999ede99a2b5caea 100644 --- a/src/plugins/debugger/attachremotedialog.cpp +++ b/src/plugins/debugger/attachremotedialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "attachremotedialog.h" #include <QDebug> diff --git a/src/plugins/debugger/attachremotedialog.h b/src/plugins/debugger/attachremotedialog.h index ec732cd51501ce25843245f0d3bece3383abc0e9..00177c89f244d7700131cd7d8872deec55636e03 100644 --- a/src/plugins/debugger/attachremotedialog.h +++ b/src/plugins/debugger/attachremotedialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef ATTACHREMOTE_DIALOG_H #define ATTACHREMOTE_DIALOG_H diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp index 3d83b5e323d7f501d5115a413fa0bb886a84c81d..8199d4ab518ddc3a1884cb009c5d688b6096ba55 100644 --- a/src/plugins/debugger/breakhandler.cpp +++ b/src/plugins/debugger/breakhandler.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "breakhandler.h" #include "assert.h" diff --git a/src/plugins/debugger/breakhandler.h b/src/plugins/debugger/breakhandler.h index 8ce63272b7a69d5c1b32665a229b86992257055a..4581e3a4de97552328dfda23835a41124214ec54 100644 --- a/src/plugins/debugger/breakhandler.h +++ b/src/plugins/debugger/breakhandler.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_BREAKHANDLER_H #define DEBUGGER_BREAKHANDLER_H diff --git a/src/plugins/debugger/breakwindow.cpp b/src/plugins/debugger/breakwindow.cpp index 11248f9a588a9751d80665e7c4a49f6b489cdba1..d393a3b21cfa7011a5cdc96f61ca454887548063 100644 --- a/src/plugins/debugger/breakwindow.cpp +++ b/src/plugins/debugger/breakwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "breakwindow.h" #include "ui_breakcondition.h" diff --git a/src/plugins/debugger/breakwindow.h b/src/plugins/debugger/breakwindow.h index 8b17b551451fd6ea44f4b6c3e4cbde2634782f8a..8b45c8f121ca25455e6242d6372f0308375e89e5 100644 --- a/src/plugins/debugger/breakwindow.h +++ b/src/plugins/debugger/breakwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_BREAKWINDOW_H #define DEBUGGER_BREAKWINDOW_H diff --git a/src/plugins/debugger/debuggerconstants.h b/src/plugins/debugger/debuggerconstants.h index 56d790e0740979bfc68468ffe09417e7295f1c7b..a94fff8b59b7f8cadadf7afe4b47b0f6655c0d6b 100644 --- a/src/plugins/debugger/debuggerconstants.h +++ b/src/plugins/debugger/debuggerconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGERCONSTANTS_H #define DEBUGGERCONSTANTS_H diff --git a/src/plugins/debugger/debuggermanager.cpp b/src/plugins/debugger/debuggermanager.cpp index bcf314ae411b670cdd2aa0898ebcd27b90314ea1..483bebfe02fbd875ace3450cb0c545a1bebff02c 100644 --- a/src/plugins/debugger/debuggermanager.cpp +++ b/src/plugins/debugger/debuggermanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "debuggermanager.h" diff --git a/src/plugins/debugger/debuggermanager.h b/src/plugins/debugger/debuggermanager.h index beaf876d4b7af497d556f6b131dba8fac7cd9dc2..fd1e7cf5cbaab2f0f7f12314c6d28876bf29db0b 100644 --- a/src/plugins/debugger/debuggermanager.h +++ b/src/plugins/debugger/debuggermanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_DEBUGGERMANAGER_H #define DEBUGGER_DEBUGGERMANAGER_H diff --git a/src/plugins/debugger/debuggeroutputwindow.cpp b/src/plugins/debugger/debuggeroutputwindow.cpp index 7f6bef85d7186eed64928e12e85de384d9a0345b..7dc293cf35a0462bffa36d7f270bb9c4317d8120 100644 --- a/src/plugins/debugger/debuggeroutputwindow.cpp +++ b/src/plugins/debugger/debuggeroutputwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "debuggeroutputwindow.h" #include <QtCore/QDebug> diff --git a/src/plugins/debugger/debuggeroutputwindow.h b/src/plugins/debugger/debuggeroutputwindow.h index f844c0fff9753de456c7801e0106d44a37c73e62..0b2fd53fd5b7b9f5fec2de0adf1f467e52fb83a9 100644 --- a/src/plugins/debugger/debuggeroutputwindow.h +++ b/src/plugins/debugger/debuggeroutputwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_OUTPUTWINDOW_H #define DEBUGGER_OUTPUTWINDOW_H diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 8fe6cb0250d1cb6d88a60acdca0ba2bdcdc3efb3..b11472a5243db7bf7ca0ed202a8e8789ffa0b066 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "debuggerplugin.h" #include "assert.h" diff --git a/src/plugins/debugger/debuggerplugin.h b/src/plugins/debugger/debuggerplugin.h index 0d7cf83bd330471fc5cc9c225b29d2c658fea4e8..7dfcae1ffe7f3006a69a644130ba86b807be3174 100644 --- a/src/plugins/debugger/debuggerplugin.h +++ b/src/plugins/debugger/debuggerplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGERPLUGIN_H #define DEBUGGERPLUGIN_H diff --git a/src/plugins/debugger/debuggerrunner.cpp b/src/plugins/debugger/debuggerrunner.cpp index 0254bebb9bef578337eb3ee49fcf474bde878ae9..c161c9bad9881f49f5bbe555b27a0f3afe0c734d 100644 --- a/src/plugins/debugger/debuggerrunner.cpp +++ b/src/plugins/debugger/debuggerrunner.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "debuggerrunner.h" #include "assert.h" diff --git a/src/plugins/debugger/debuggerrunner.h b/src/plugins/debugger/debuggerrunner.h index cf8a8d2184d3be5928c5ae14960ffe69119fe12d..8b9c6ce2b1ac2e1fba3a60e8cdf6f480fa1380c8 100644 --- a/src/plugins/debugger/debuggerrunner.h +++ b/src/plugins/debugger/debuggerrunner.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGERRUNNER_H #define DEBUGGERRUNNER_H diff --git a/src/plugins/debugger/disassemblerhandler.cpp b/src/plugins/debugger/disassemblerhandler.cpp index 02d31722550fe9e81f4d4f6137c6e8e6e2570ec5..2ab255b29ae3f5da7fea46adf31db4d38848140e 100644 --- a/src/plugins/debugger/disassemblerhandler.cpp +++ b/src/plugins/debugger/disassemblerhandler.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "disassemblerhandler.h" #include "assert.h" diff --git a/src/plugins/debugger/disassemblerhandler.h b/src/plugins/debugger/disassemblerhandler.h index 9de497a1b4c66a3c5e77af2a8354dca54211de77..f5f6e1c4408100fe880f1a277f7bce9d74438d1c 100644 --- a/src/plugins/debugger/disassemblerhandler.h +++ b/src/plugins/debugger/disassemblerhandler.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DISASSEMBLERHANDLER_H #define DISASSEMBLERHANDLER_H diff --git a/src/plugins/debugger/disassemblerwindow.cpp b/src/plugins/debugger/disassemblerwindow.cpp index 8130031d70530a9cf6664f392d414430f29eb484..2a3dc7a99a2792506b8806b58efe3a6e300a77b5 100644 --- a/src/plugins/debugger/disassemblerwindow.cpp +++ b/src/plugins/debugger/disassemblerwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "disassemblerwindow.h" #include <QAction> diff --git a/src/plugins/debugger/disassemblerwindow.h b/src/plugins/debugger/disassemblerwindow.h index 3715afca213475d90ca98c3f5da99e65a47e8f7e..7e2e91fc8484b88fa516f92913f5c10b58848100 100644 --- a/src/plugins/debugger/disassemblerwindow.h +++ b/src/plugins/debugger/disassemblerwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_DISASSEMBLERWINDOW_H #define DEBUGGER_DISASSEMBLERWINDOW_H diff --git a/src/plugins/debugger/gdbengine.cpp b/src/plugins/debugger/gdbengine.cpp index 9a29bc8675cf0b4ce152a2c4772d34cb60c6859f..bd1d564a60936ae1ecf5d4429587d93065a7d196 100644 --- a/src/plugins/debugger/gdbengine.cpp +++ b/src/plugins/debugger/gdbengine.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "gdbengine.h" diff --git a/src/plugins/debugger/gdbengine.h b/src/plugins/debugger/gdbengine.h index bdd59cbca669ba1b797e7db040bd43fb4f9d6822..45eafcdb92c6172f62fa634f4fb450b79e87f29c 100644 --- a/src/plugins/debugger/gdbengine.h +++ b/src/plugins/debugger/gdbengine.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_GDBENGINE_H #define DEBUGGER_GDBENGINE_H diff --git a/src/plugins/debugger/gdbmi.cpp b/src/plugins/debugger/gdbmi.cpp index 9091422ad4703573f8db41baf23c13e82d81dead..ff976eff798978694e9acf0db461b19ecd4f12de 100644 --- a/src/plugins/debugger/gdbmi.cpp +++ b/src/plugins/debugger/gdbmi.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "gdbmi.h" #include "assert.h" diff --git a/src/plugins/debugger/gdbmi.h b/src/plugins/debugger/gdbmi.h index 381b5ba86bf131b148916a719042ae943215e5b8..f5395b555d129e60675d6b453bef77864b88f798 100644 --- a/src/plugins/debugger/gdbmi.h +++ b/src/plugins/debugger/gdbmi.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef DEBUGGER_GDBMI_H diff --git a/src/plugins/debugger/gdboptionpage.cpp b/src/plugins/debugger/gdboptionpage.cpp index bee68d1833eb14892e680eb5a39a739a15f58c4b..e05b811889abf12094d267a823b45f70716a9ed9 100644 --- a/src/plugins/debugger/gdboptionpage.cpp +++ b/src/plugins/debugger/gdboptionpage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "gdboptionpage.h" #include "gdbengine.h" diff --git a/src/plugins/debugger/gdboptionpage.h b/src/plugins/debugger/gdboptionpage.h index 0a835337422dcdf5104addb146a433c91965101d..1d71024bac1b7ef923b9ce577041c0b0266055b8 100644 --- a/src/plugins/debugger/gdboptionpage.h +++ b/src/plugins/debugger/gdboptionpage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef GDBOPTIONPAGE_H #define GDBOPTIONPAGE_H diff --git a/src/plugins/debugger/gdbtypemacros.cpp b/src/plugins/debugger/gdbtypemacros.cpp index 8a35720097b198a2f885f3b569a9f9887641d160..a445a336324a302c73cf39670db33cb6d2ad3749 100644 --- a/src/plugins/debugger/gdbtypemacros.cpp +++ b/src/plugins/debugger/gdbtypemacros.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "gdboptionpage.h" #include "gdbengine.h" #include "imports.h" diff --git a/src/plugins/debugger/idebuggerengine.h b/src/plugins/debugger/idebuggerengine.h index 84edcb6ca5524d1cb3eeccdbfb29a7dce28a58e4..22ed3ca184583aedf5c729c806d969d8000f5444 100644 --- a/src/plugins/debugger/idebuggerengine.h +++ b/src/plugins/debugger/idebuggerengine.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_IDEBUGGERENGINE_H #define DEBUGGER_IDEBUGGERENGINE_H diff --git a/src/plugins/debugger/imports.h b/src/plugins/debugger/imports.h index 8a2edd4c3938a05fb9df4a4c10e8f6c0964fbb88..f780f31300e34a5c67d493bd835b25c81a075706 100644 --- a/src/plugins/debugger/imports.h +++ b/src/plugins/debugger/imports.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_IMPORTS_H #define DEBUGGER_IMPORTS_H diff --git a/src/plugins/debugger/mode.cpp b/src/plugins/debugger/mode.cpp index 2023cdd7ee31bd0f2432fda3ae5ff71d321f69fb..3eef7dc8329a78626ed628197defb93f1b037694 100644 --- a/src/plugins/debugger/mode.cpp +++ b/src/plugins/debugger/mode.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "mode.h" #include "assert.h" diff --git a/src/plugins/debugger/mode.h b/src/plugins/debugger/mode.h index 15506d0cacb4e76cb2b803749ee4359a16bc3895..8aa2c69bbfe6b5de75b5c913bf8f92a3451d2994 100644 --- a/src/plugins/debugger/mode.h +++ b/src/plugins/debugger/mode.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_DEBUGMODE_H #define DEBUGGER_DEBUGMODE_H diff --git a/src/plugins/debugger/moduleshandler.cpp b/src/plugins/debugger/moduleshandler.cpp index 458482b38591afdb7817c5e2e349f8b9bf62229f..80d9060f7b94c8968bcd205d71eee7f6055ab480 100644 --- a/src/plugins/debugger/moduleshandler.cpp +++ b/src/plugins/debugger/moduleshandler.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "moduleshandler.h" #include "assert.h" diff --git a/src/plugins/debugger/moduleshandler.h b/src/plugins/debugger/moduleshandler.h index 49efe16a72a1440045b20bc4df580bd5a0d7266c..efd8aa9a491c027e23883ad266f1be088ad91c5a 100644 --- a/src/plugins/debugger/moduleshandler.h +++ b/src/plugins/debugger/moduleshandler.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_MODULESHANDLER_H #define DEBUGGER_MODULESHANDLER_H diff --git a/src/plugins/debugger/moduleswindow.cpp b/src/plugins/debugger/moduleswindow.cpp index f98db1ce1f90a7daa54848127749fd98928649c9..3ae127a03492db4fa80d8c2849aeb7639c6b39bf 100644 --- a/src/plugins/debugger/moduleswindow.cpp +++ b/src/plugins/debugger/moduleswindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "moduleswindow.h" #include "moduleshandler.h" // for model roles diff --git a/src/plugins/debugger/moduleswindow.h b/src/plugins/debugger/moduleswindow.h index a014ff8e6c4b2035e35b29dda5a32f068e22aba4..1d9309c0bbb94e33957d5c0cfeaa736c84578ced 100644 --- a/src/plugins/debugger/moduleswindow.h +++ b/src/plugins/debugger/moduleswindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_MODULESWINDOW_H #define DEBUGGER_MODULESWINDOW_H diff --git a/src/plugins/debugger/procinterrupt.cpp b/src/plugins/debugger/procinterrupt.cpp index 29d4d5803dae48791ba39d81b991be445b47f2c3..c227de81ce5c24013afe61458fc63d5a08190e08 100644 --- a/src/plugins/debugger/procinterrupt.cpp +++ b/src/plugins/debugger/procinterrupt.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "procinterrupt.h" #ifdef Q_OS_WIN diff --git a/src/plugins/debugger/procinterrupt.h b/src/plugins/debugger/procinterrupt.h index 0fcf27b0f1e1488857a94f84c44e3a330d56af53..960b6e00218e3a8b4475a7f4ce7d309674268a27 100644 --- a/src/plugins/debugger/procinterrupt.h +++ b/src/plugins/debugger/procinterrupt.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_PROCINTERRUPT_H #define DEBUGGER_PROCINTERRUPT_H diff --git a/src/plugins/debugger/registerhandler.cpp b/src/plugins/debugger/registerhandler.cpp index 4c70e2339ccb74228449ec3d8da2f0e1e94f7991..09beeb006f478e3f80539e86e70b3822e84d1d9a 100644 --- a/src/plugins/debugger/registerhandler.cpp +++ b/src/plugins/debugger/registerhandler.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "registerhandler.h" #include "assert.h" @@ -45,7 +46,6 @@ using namespace Debugger::Internal; using namespace Debugger::Constants; - ////////////////////////////////////////////////////////////////// // // RegisterHandler diff --git a/src/plugins/debugger/registerhandler.h b/src/plugins/debugger/registerhandler.h index 933e45aad4282b43a69c713c1d50ea1a18a16c16..b80a9122a9c07d1bc4c7a4ea07a39267815d4346 100644 --- a/src/plugins/debugger/registerhandler.h +++ b/src/plugins/debugger/registerhandler.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_REGISTERHANDLER_H #define DEBUGGER_REGISTERHANDLER_H diff --git a/src/plugins/debugger/registerwindow.cpp b/src/plugins/debugger/registerwindow.cpp index 5e53139285232ff690814edca5bc069b5dcdbe93..0a9aac613e9fb87ec0a3275b537637caa80be9d9 100644 --- a/src/plugins/debugger/registerwindow.cpp +++ b/src/plugins/debugger/registerwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "registerwindow.h" #include "debuggerconstants.h" diff --git a/src/plugins/debugger/registerwindow.h b/src/plugins/debugger/registerwindow.h index 4c2cc7b7a62197c92cfec8c8e24dab878d5ed211..00629b207728f6b6fd29c618786b0ffed13371dc 100644 --- a/src/plugins/debugger/registerwindow.h +++ b/src/plugins/debugger/registerwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_REGISTERWINDOW_H #define DEBUGGER_REGISTERWINDOW_H diff --git a/src/plugins/debugger/scriptengine.cpp b/src/plugins/debugger/scriptengine.cpp index c6c7dd65a565fea7c86825e467fcfcfaefba4a53..28722b37dd2a609e22d8919097707f853bffbded 100644 --- a/src/plugins/debugger/scriptengine.cpp +++ b/src/plugins/debugger/scriptengine.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "scriptengine.h" diff --git a/src/plugins/debugger/scriptengine.h b/src/plugins/debugger/scriptengine.h index 69cb4405707043e94385396f18cc3bea327d1110..1c160a1ea3f0ecd9a7659e0c7ab61b5be2f098cd 100644 --- a/src/plugins/debugger/scriptengine.h +++ b/src/plugins/debugger/scriptengine.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_SCRIPTENGINE_H #define DEBUGGER_SCRIPTENGINE_H diff --git a/src/plugins/debugger/stackhandler.cpp b/src/plugins/debugger/stackhandler.cpp index d05e259c094c45dab3f0f003361eb0c45578a5db..d2a468b07c6e3bedeb83db8a1adc07d047f7c36f 100644 --- a/src/plugins/debugger/stackhandler.cpp +++ b/src/plugins/debugger/stackhandler.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "stackhandler.h" #include "assert.h" diff --git a/src/plugins/debugger/stackhandler.h b/src/plugins/debugger/stackhandler.h index 81a4686f6856f75a73985157869bf1f4b133fc37..16d77583af48339f4fc7ef1daf7682933ac08e0b 100644 --- a/src/plugins/debugger/stackhandler.h +++ b/src/plugins/debugger/stackhandler.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_STACKHANDLER_H #define DEBUGGER_STACKHANDLER_H diff --git a/src/plugins/debugger/stackwindow.cpp b/src/plugins/debugger/stackwindow.cpp index 3dc1209a00b855f963bdd5250a572096ffec5267..a079b54c134f9cf7a9dfe036b6b6c2af60740999 100644 --- a/src/plugins/debugger/stackwindow.cpp +++ b/src/plugins/debugger/stackwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "stackwindow.h" #include "assert.h" diff --git a/src/plugins/debugger/stackwindow.h b/src/plugins/debugger/stackwindow.h index 5edfeb3fb66123390ce56f9b95583ec6bd6073e0..f1dffcf7b7a3310bf0906f28b504a2e33c89a517 100644 --- a/src/plugins/debugger/stackwindow.h +++ b/src/plugins/debugger/stackwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_STACKWINDOW_H #define DEBUGGER_STACKWINDOW_H diff --git a/src/plugins/debugger/startexternaldialog.cpp b/src/plugins/debugger/startexternaldialog.cpp index c87982ab1d62b6f3b34dd791f5ab588e380685b1..785757b7667f42bc5ffb8fef92c6e47fe12cbdb4 100644 --- a/src/plugins/debugger/startexternaldialog.cpp +++ b/src/plugins/debugger/startexternaldialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "startexternaldialog.h" #include <QtGui/QFileDialog> diff --git a/src/plugins/debugger/startexternaldialog.h b/src/plugins/debugger/startexternaldialog.h index 10a43670dbc6db90e0b7fc891f9298c46d1b4f3a..b71a5147765fceb9b543d463866bf9e606b8e733 100644 --- a/src/plugins/debugger/startexternaldialog.h +++ b/src/plugins/debugger/startexternaldialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_STARTEXTERNALDIALOG_H #define DEBUGGER_STARTEXTERNALDIALOG_H diff --git a/src/plugins/debugger/threadswindow.cpp b/src/plugins/debugger/threadswindow.cpp index beffda84cb2d9a9bc8d10de0eb717bf5e1bdcb23..354f1cba3e0a827e9747386884afe36065bc60d1 100644 --- a/src/plugins/debugger/threadswindow.cpp +++ b/src/plugins/debugger/threadswindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "threadswindow.h" #include "assert.h" diff --git a/src/plugins/debugger/threadswindow.h b/src/plugins/debugger/threadswindow.h index 05b94dc531c99899ca71b29078f29454800a5c84..7d4f6c59b0eca51f164d986ad642fb0288972c01 100644 --- a/src/plugins/debugger/threadswindow.h +++ b/src/plugins/debugger/threadswindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_THREADWINDOW_H #define DEBUGGER_THREADWINDOW_H diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index 9147aa308e2106d25718b06e18dc79c47c70e260..3d99a84ad34edf93ba96a3a4a1f7f0d489d8f8d8 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "watchhandler.h" #if USE_MODEL_TEST diff --git a/src/plugins/debugger/watchhandler.h b/src/plugins/debugger/watchhandler.h index b3db114be8b6957a3296d3c646baf6690a40c842..3841d55d30019ce1ab7cc5a75e7b3ca9d492b10b 100644 --- a/src/plugins/debugger/watchhandler.h +++ b/src/plugins/debugger/watchhandler.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_WATCHHANDLER_H #define DEBUGGER_WATCHHANDLER_H diff --git a/src/plugins/debugger/watchwindow.cpp b/src/plugins/debugger/watchwindow.cpp index 6f153d2de5ff1dd459a8d7e8f973c27d70a98f66..78366198955d6379c7e7130b1501d9aef0122488 100644 --- a/src/plugins/debugger/watchwindow.cpp +++ b/src/plugins/debugger/watchwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "watchwindow.h" #include <QtCore/QDebug> diff --git a/src/plugins/debugger/watchwindow.h b/src/plugins/debugger/watchwindow.h index da0ee9ee8f76d259a465e59bc89acb7f315e73da..9781f79fdb7b7099a36c36bf75daf675bf3ef073 100644 --- a/src/plugins/debugger/watchwindow.h +++ b/src/plugins/debugger/watchwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DEBUGGER_WATCHWINDOW_H #define DEBUGGER_WATCHWINDOW_H diff --git a/src/plugins/designer/cpp/formclasswizard.cpp b/src/plugins/designer/cpp/formclasswizard.cpp index 43e2c0f44c3b0a386014af51fca58ebcc4c2ab0e..d1ce92854734b8a9067f5d0ee0f64011c99259e5 100644 --- a/src/plugins/designer/cpp/formclasswizard.cpp +++ b/src/plugins/designer/cpp/formclasswizard.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "formclasswizard.h" #include "formclasswizarddialog.h" #include "designerconstants.h" diff --git a/src/plugins/designer/cpp/formclasswizard.h b/src/plugins/designer/cpp/formclasswizard.h index 3fce385ebd8549d846b333959e816bd28bae504b..749ab86137a83750c2f499bf481802689ee27b4c 100644 --- a/src/plugins/designer/cpp/formclasswizard.h +++ b/src/plugins/designer/cpp/formclasswizard.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FORMCLASSWIZARD_H #define FORMCLASSWIZARD_H diff --git a/src/plugins/designer/cpp/formclasswizarddialog.cpp b/src/plugins/designer/cpp/formclasswizarddialog.cpp index e340d5ca883466447277453e220182fb161d8e1d..345309d45c3fc1913a5b324a5201eda6fe5a3fed 100644 --- a/src/plugins/designer/cpp/formclasswizarddialog.cpp +++ b/src/plugins/designer/cpp/formclasswizarddialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "formclasswizarddialog.h" #include "formtemplatewizardpage.h" #include "formclasswizardpage.h" diff --git a/src/plugins/designer/cpp/formclasswizarddialog.h b/src/plugins/designer/cpp/formclasswizarddialog.h index 849a1cca6b47b9a5ee712a7d717dd87ad126fa47..cdb1f60d17047b00fe83f9c88df1900bb95d83ba 100644 --- a/src/plugins/designer/cpp/formclasswizarddialog.h +++ b/src/plugins/designer/cpp/formclasswizarddialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FORMCLASSWIZARDDIALOG_H #define FORMCLASSWIZARDDIALOG_H diff --git a/src/plugins/designer/cpp/formclasswizardpage.cpp b/src/plugins/designer/cpp/formclasswizardpage.cpp index a65cc21939af6ae87ab34f7b76493253544e3cf5..d076753374b666ef632c4a97a1f2394857993bae 100644 --- a/src/plugins/designer/cpp/formclasswizardpage.cpp +++ b/src/plugins/designer/cpp/formclasswizardpage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "formclasswizardpage.h" #include "ui_formclasswizardpage.h" #include "formclasswizardparameters.h" diff --git a/src/plugins/designer/cpp/formclasswizardpage.h b/src/plugins/designer/cpp/formclasswizardpage.h index 1a58feb3699624fdd37cd2b8a632ace92919d4dd..c0b53040c6fe3fe82d340866e4ad396587e78fe2 100644 --- a/src/plugins/designer/cpp/formclasswizardpage.h +++ b/src/plugins/designer/cpp/formclasswizardpage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FORMCLASSWIZARDPAGE_H #define FORMCLASSWIZARDPAGE_H diff --git a/src/plugins/designer/cpp/formclasswizardparameters.cpp b/src/plugins/designer/cpp/formclasswizardparameters.cpp index 0d7fc701021c76e7eda5e95226630fbbbcd707ae..7dd0056186a2dfc9440dfc835671b69970dbb2c5 100644 --- a/src/plugins/designer/cpp/formclasswizardparameters.cpp +++ b/src/plugins/designer/cpp/formclasswizardparameters.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "formclasswizardparameters.h" #include "formtemplatewizardpage.h" diff --git a/src/plugins/designer/cpp/formclasswizardparameters.h b/src/plugins/designer/cpp/formclasswizardparameters.h index 4a51444531ea0ac8fc03b5b32c558b2e7fe2e07d..d72b8c5c2cccbafc2012315b01c2c49ec555b906 100644 --- a/src/plugins/designer/cpp/formclasswizardparameters.h +++ b/src/plugins/designer/cpp/formclasswizardparameters.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FORMCLASSWIZARDPARAMETERS_H #define FORMCLASSWIZARDPARAMETERS_H diff --git a/src/plugins/designer/designerconstants.h b/src/plugins/designer/designerconstants.h index 28252e608a3150c85068d39c03c33ef51cbbac4b..2a30a8ea4fdae6ea9ae136e50375deb1cfb2f7cb 100644 --- a/src/plugins/designer/designerconstants.h +++ b/src/plugins/designer/designerconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,40 +26,48 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DESIGNERPLUGIN_CONSTANTS_H #define DESIGNERPLUGIN_CONSTANTS_H namespace Designer { - namespace Constants { - // context - const char * const C_FORMEDITOR = "Formeditor"; - const char * const T_FORMEDITOR = "Formeditor.Toolbar"; - const char * const M_FORMEDITOR = "Formeditor.Menu"; - const char * const M_FORMEDITOR_PREVIEW = "Formeditor.Menu.Preview"; - const char * const C_FORMWINDOW = "Formwindow"; - // Wizard type - const char * const FORM_FILE_TYPE = "Qt4FormFiles"; - const char * const FORM_MIMETYPE = "application/x-designer"; +namespace Constants { + +// context +const char * const C_FORMEDITOR = "Formeditor"; +const char * const T_FORMEDITOR = "Formeditor.Toolbar"; +const char * const M_FORMEDITOR = "Formeditor.Menu"; +const char * const M_FORMEDITOR_PREVIEW = "Formeditor.Menu.Preview"; +const char * const C_FORMWINDOW = "Formwindow"; + +// Wizard type +const char * const FORM_FILE_TYPE = "Qt4FormFiles"; +const char * const FORM_MIMETYPE = "application/x-designer"; + +enum DesignerSubWindows +{ + WidgetBoxSubWindow, + ObjectInspectorSubWindow, + PropertyEditorSubWindow, + SignalSlotEditorSubWindow, + ActionEditorSubWindow, + DesignerSubWindowCount +}; - enum DesignerSubWindows { - WidgetBoxSubWindow, - ObjectInspectorSubWindow, - PropertyEditorSubWindow, - SignalSlotEditorSubWindow, - ActionEditorSubWindow, - DesignerSubWindowCount }; +enum EditModes +{ + EditModeWidgetEditor, + EditModeSignalsSlotEditor, + EditModeBuddyEditor, + EditModeTabOrderEditor, + NumEditModes +}; - enum EditModes { - EditModeWidgetEditor, - EditModeSignalsSlotEditor, - EditModeBuddyEditor, - EditModeTabOrderEditor, - NumEditModes }; - } -} +} // Constants +} // Designer #endif //DESIGNERPLUGIN_CONSTANTS_H diff --git a/src/plugins/designer/editorwidget.cpp b/src/plugins/designer/editorwidget.cpp index c164ddfe2327fc4b1caa4811d927caaed63bdf3d..1a60dbb171540e33b7c1c7f64a9057cc8efb2b73 100644 --- a/src/plugins/designer/editorwidget.cpp +++ b/src/plugins/designer/editorwidget.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,19 +26,19 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ - #include "editorwidget.h" #include "formeditorw.h" +#include <coreplugin/minisplitter.h> + #include <QtCore/QEvent> #include <QtGui/QVBoxLayout> #include <QtGui/QTabWidget> -#include <coreplugin/minisplitter.h> using namespace Designer::Constants; @@ -49,222 +49,223 @@ enum { wantSignalSlotEditor = 0 }; namespace Designer { namespace Internal { - SharedSubWindow::SharedSubWindow(QWidget *shared, QWidget *parent) : - QWidget(parent), - m_shared(shared), - m_layout(new QVBoxLayout) - { - Q_ASSERT(m_shared); - m_layout->setContentsMargins(0, 0, 0, 0); - setLayout(m_layout); - } +SharedSubWindow::SharedSubWindow(QWidget *shared, QWidget *parent) : + QWidget(parent), + m_shared(shared), + m_layout(new QVBoxLayout) +{ + Q_ASSERT(m_shared); + m_layout->setContentsMargins(0, 0, 0, 0); + setLayout(m_layout); +} - void SharedSubWindow::activate() - { - // Take the widget off the other parent - Q_ASSERT(m_shared); - QWidget *currentParent = m_shared->parentWidget(); - if (currentParent == this) - return; +void SharedSubWindow::activate() +{ + // Take the widget off the other parent + Q_ASSERT(m_shared); + QWidget *currentParent = m_shared->parentWidget(); + if (currentParent == this) + return; - if (currentParent) { - QVBoxLayout *lt = qobject_cast<QVBoxLayout *>(currentParent->layout()); - Q_ASSERT(lt); - m_shared->setParent(0); - delete lt->takeAt(0); - } - m_layout->addWidget(m_shared); - m_layout->invalidate(); + if (currentParent) { + QVBoxLayout *lt = qobject_cast<QVBoxLayout *>(currentParent->layout()); + Q_ASSERT(lt); + m_shared->setParent(0); + delete lt->takeAt(0); } + m_layout->addWidget(m_shared); + m_layout->invalidate(); +} - SharedSubWindow::~SharedSubWindow() - { - // Do not destroy the shared sub window if we currently own it - if (m_layout->count()) { - m_shared->setParent(0); - delete m_layout->takeAt(0); - } +SharedSubWindow::~SharedSubWindow() +{ + // Do not destroy the shared sub window if we currently own it + if (m_layout->count()) { + m_shared->setParent(0); + delete m_layout->takeAt(0); } +} - // ---------- Global EditorState - Q_GLOBAL_STATIC(EditorWidgetState, editorWidgetState) - - enum { Version = 1 }; - // Simple conversion of an int list to QVariantList, size as leading element - static void intToVariantList(const QList<int> &il, QVariantList& vl) - { - const int size = il.size(); - vl.push_back(size); - if (size != 0) { - const QList<int>::const_iterator cend = il.constEnd(); - for (QList<int>::const_iterator it = il.constBegin(); it != cend; ++it) - vl.push_back(QVariant(*it)); - } - } - // Simple conversion of a QVariantList portion saved by the above function to int list - bool variantListToIntList(const QVariantList& vl, int &index, QList<int> &list) - { - list.clear(); - if (index >= vl.size()) - return false; - const int size = vl.at(index++).toInt(); - const int end = index + size; - if (end > vl.size()) - return false; - if (size != 0) { - for ( ; index < end; index++) - list.push_back(vl.at(index).toInt()); - } - return true; - } +// ---------- Global EditorState +Q_GLOBAL_STATIC(EditorWidgetState, editorWidgetState) - // ------------------ EditorWidgetState - QVariant EditorWidgetState::toVariant() const - { - QVariantList rc; - rc.push_back(Version); - intToVariantList(horizontalSizes, rc); - intToVariantList(centerVerticalSizes, rc); - intToVariantList(rightVerticalSizes, rc); - return QVariant(rc); +enum { Version = 1 }; +// Simple conversion of an int list to QVariantList, size as leading element +static void intToVariantList(const QList<int> &il, QVariantList& vl) +{ + const int size = il.size(); + vl.push_back(size); + if (size != 0) { + const QList<int>::const_iterator cend = il.constEnd(); + for (QList<int>::const_iterator it = il.constBegin(); it != cend; ++it) + vl.push_back(QVariant(*it)); } - - bool EditorWidgetState::fromVariant(const QVariant &v) - { - // Restore state. The weird thing is that QSettings might return - // a QStringList although it was saved as QVariantList<int>. - if (v.type() != QVariant::List && v.type() != QVariant::StringList) - return false; - const QVariantList vl = v.toList(); - if (vl.empty()) - return false; - int index = 0; - const QVariant &versionV = vl.at(index++); - if (versionV.type() != QVariant::Int && versionV.type() != QVariant::String) - return false; - if (versionV.toInt() > Version) - return false; - return variantListToIntList(vl, index, horizontalSizes) && - variantListToIntList(vl, index, centerVerticalSizes) && - variantListToIntList(vl, index, rightVerticalSizes); +} +// Simple conversion of a QVariantList portion saved by the above function to int list +bool variantListToIntList(const QVariantList& vl, int &index, QList<int> &list) +{ + list.clear(); + if (index >= vl.size()) + return false; + const int size = vl.at(index++).toInt(); + const int end = index + size; + if (end > vl.size()) + return false; + if (size != 0) { + for ( ; index < end; index++) + list.push_back(vl.at(index).toInt()); } + return true; +} - // ---------- EditorWidget - EditorWidget::EditorWidget(QWidget *formWindow) : - Core::MiniSplitter(Qt::Horizontal), - m_centerVertSplitter(new Core::MiniSplitter(Qt::Vertical)), - m_bottomTab(0), - m_rightVertSplitter(new Core::MiniSplitter(Qt::Vertical)) - { - // Get shared sub windows from Form Editor - FormEditorW *few = FormEditorW::instance(); - QWidget * const*subs = few->designerSubWindows(); - // Create shared sub windows except SignalSlotEditor - qFill(m_designerSubWindows, m_designerSubWindows + DesignerSubWindowCount, static_cast<SharedSubWindow*>(0)); - for (int i=0; i < DesignerSubWindowCount; i++) - if (wantSignalSlotEditor || i != SignalSlotEditorSubWindow) - m_designerSubWindows[i] = new SharedSubWindow(subs[i]); - // Create splitter - addWidget(m_designerSubWindows[WidgetBoxSubWindow]); +// ------------------ EditorWidgetState +QVariant EditorWidgetState::toVariant() const +{ + QVariantList rc; + rc.push_back(Version); + intToVariantList(horizontalSizes, rc); + intToVariantList(centerVerticalSizes, rc); + intToVariantList(rightVerticalSizes, rc); + return QVariant(rc); +} - // center - m_centerVertSplitter->addWidget(formWindow); +bool EditorWidgetState::fromVariant(const QVariant &v) +{ + // Restore state. The weird thing is that QSettings might return + // a QStringList although it was saved as QVariantList<int>. + if (v.type() != QVariant::List && v.type() != QVariant::StringList) + return false; + const QVariantList vl = v.toList(); + if (vl.empty()) + return false; + int index = 0; + const QVariant &versionV = vl.at(index++); + if (versionV.type() != QVariant::Int && versionV.type() != QVariant::String) + return false; + if (versionV.toInt() > Version) + return false; + return variantListToIntList(vl, index, horizontalSizes) && + variantListToIntList(vl, index, centerVerticalSizes) && + variantListToIntList(vl, index, rightVerticalSizes); +} - if (wantSignalSlotEditor) { - m_bottomTab = new QTabWidget; - m_bottomTab->setTabPosition(QTabWidget::South); - m_bottomTab->addTab(m_designerSubWindows[ActionEditorSubWindow], tr("Action editor")); - m_bottomTab->addTab(m_designerSubWindows[SignalSlotEditorSubWindow], tr("Signals and slots editor")); - m_centerVertSplitter->addWidget(m_bottomTab); - } else { - m_centerVertSplitter->addWidget(m_designerSubWindows[ActionEditorSubWindow]); - } +// ---------- EditorWidget +EditorWidget::EditorWidget(QWidget *formWindow) : + Core::MiniSplitter(Qt::Horizontal), + m_centerVertSplitter(new Core::MiniSplitter(Qt::Vertical)), + m_bottomTab(0), + m_rightVertSplitter(new Core::MiniSplitter(Qt::Vertical)) +{ + // Get shared sub windows from Form Editor + FormEditorW *few = FormEditorW::instance(); + QWidget * const*subs = few->designerSubWindows(); + // Create shared sub windows except SignalSlotEditor + qFill(m_designerSubWindows, m_designerSubWindows + DesignerSubWindowCount, static_cast<SharedSubWindow*>(0)); + for (int i=0; i < DesignerSubWindowCount; i++) + if (wantSignalSlotEditor || i != SignalSlotEditorSubWindow) + m_designerSubWindows[i] = new SharedSubWindow(subs[i]); + // Create splitter + addWidget(m_designerSubWindows[WidgetBoxSubWindow]); - addWidget(m_centerVertSplitter); + // center + m_centerVertSplitter->addWidget(formWindow); - m_rightVertSplitter->addWidget(m_designerSubWindows[ObjectInspectorSubWindow]); - m_rightVertSplitter->addWidget(m_designerSubWindows[PropertyEditorSubWindow]); - addWidget(m_rightVertSplitter); + if (wantSignalSlotEditor) { + m_bottomTab = new QTabWidget; + m_bottomTab->setTabPosition(QTabWidget::South); + m_bottomTab->addTab(m_designerSubWindows[ActionEditorSubWindow], tr("Action editor")); + m_bottomTab->addTab(m_designerSubWindows[SignalSlotEditorSubWindow], tr("Signals and slots editor")); + m_centerVertSplitter->addWidget(m_bottomTab); + } else { + m_centerVertSplitter->addWidget(m_designerSubWindows[ActionEditorSubWindow]); } - void EditorWidget::setInitialSizes() - { - QList<int> sizes; - // center vertical. Either the tab containing signal slot editor/ - // action editor or the action editor itself - const QWidget *bottomWidget = m_bottomTab; - if (!bottomWidget) - bottomWidget = m_designerSubWindows[ActionEditorSubWindow]; - const int tabHeight = bottomWidget->sizeHint().height(); - sizes.push_back(height() - handleWidth() - tabHeight); - sizes.push_back( tabHeight); - m_centerVertSplitter->setSizes(sizes); - // right vert - sizes.clear(); - sizes.push_back(height() /2 - (handleWidth() / 2)); - sizes.push_back(height() / 2 - (handleWidth() / 2)); - m_rightVertSplitter->setSizes(sizes); - // horiz sizes - sizes.clear(); - const int wboxWidth = m_designerSubWindows[WidgetBoxSubWindow]->sizeHint().width(); - const int vSplitterWidth = m_rightVertSplitter->sizeHint().width(); - sizes.push_back(wboxWidth); - sizes.push_back(width() - 2 * handleWidth() - wboxWidth - vSplitterWidth); - sizes.push_back(vSplitterWidth); - setSizes(sizes); - } + addWidget(m_centerVertSplitter); - void EditorWidget::activate() - { - for (int i=0; i < DesignerSubWindowCount; i++) - if (SharedSubWindow *sw = m_designerSubWindows[i]) // Signal slot might be deactivated - sw->activate(); - if (!restore(*editorWidgetState())) - setInitialSizes(); - } + m_rightVertSplitter->addWidget(m_designerSubWindows[ObjectInspectorSubWindow]); + m_rightVertSplitter->addWidget(m_designerSubWindows[PropertyEditorSubWindow]); + addWidget(m_rightVertSplitter); +} - bool EditorWidget::event(QEvent * e) - { - if (e->type() == QEvent::Hide) - *editorWidgetState() = save(); - return QSplitter::event(e); - } +void EditorWidget::setInitialSizes() +{ + QList<int> sizes; + // center vertical. Either the tab containing signal slot editor/ + // action editor or the action editor itself + const QWidget *bottomWidget = m_bottomTab; + if (!bottomWidget) + bottomWidget = m_designerSubWindows[ActionEditorSubWindow]; + const int tabHeight = bottomWidget->sizeHint().height(); + sizes.push_back(height() - handleWidth() - tabHeight); + sizes.push_back( tabHeight); + m_centerVertSplitter->setSizes(sizes); + // right vert + sizes.clear(); + sizes.push_back(height() /2 - (handleWidth() / 2)); + sizes.push_back(height() / 2 - (handleWidth() / 2)); + m_rightVertSplitter->setSizes(sizes); + // horiz sizes + sizes.clear(); + const int wboxWidth = m_designerSubWindows[WidgetBoxSubWindow]->sizeHint().width(); + const int vSplitterWidth = m_rightVertSplitter->sizeHint().width(); + sizes.push_back(wboxWidth); + sizes.push_back(width() - 2 * handleWidth() - wboxWidth - vSplitterWidth); + sizes.push_back(vSplitterWidth); + setSizes(sizes); +} - EditorWidgetState EditorWidget::save() const - { - EditorWidgetState rc; - rc.horizontalSizes = sizes(); - rc.centerVerticalSizes = m_centerVertSplitter->sizes(); - rc.rightVerticalSizes = m_rightVertSplitter->sizes(); - return rc; - } +void EditorWidget::activate() +{ + for (int i=0; i < DesignerSubWindowCount; i++) + if (SharedSubWindow *sw = m_designerSubWindows[i]) // Signal slot might be deactivated + sw->activate(); + if (!restore(*editorWidgetState())) + setInitialSizes(); +} - bool EditorWidget::restore(const EditorWidgetState &s) - { - if (s.horizontalSizes.size() != count() || - s.centerVerticalSizes.size() != m_centerVertSplitter->count() || - s.rightVerticalSizes.size() != m_rightVertSplitter->count()) - return false; - m_centerVertSplitter->setSizes(s.centerVerticalSizes); - m_rightVertSplitter->setSizes(s.rightVerticalSizes); - setSizes(s.horizontalSizes); - return true; - } +bool EditorWidget::event(QEvent * e) +{ + if (e->type() == QEvent::Hide) + *editorWidgetState() = save(); + return QSplitter::event(e); +} - void EditorWidget::toolChanged(int i) - { - if (m_bottomTab) - m_bottomTab->setCurrentIndex(i == EditModeSignalsSlotEditor ? SignalSlotEditorTab : ActionEditorTab); - } +EditorWidgetState EditorWidget::save() const +{ + EditorWidgetState rc; + rc.horizontalSizes = sizes(); + rc.centerVerticalSizes = m_centerVertSplitter->sizes(); + rc.rightVerticalSizes = m_rightVertSplitter->sizes(); + return rc; +} - EditorWidgetState EditorWidget::state() - { - return *editorWidgetState(); - } +bool EditorWidget::restore(const EditorWidgetState &s) +{ + if (s.horizontalSizes.size() != count() || + s.centerVerticalSizes.size() != m_centerVertSplitter->count() || + s.rightVerticalSizes.size() != m_rightVertSplitter->count()) + return false; + m_centerVertSplitter->setSizes(s.centerVerticalSizes); + m_rightVertSplitter->setSizes(s.rightVerticalSizes); + setSizes(s.horizontalSizes); + return true; +} - void EditorWidget::setState(const EditorWidgetState& st) - { - *editorWidgetState() = st; - } +void EditorWidget::toolChanged(int i) +{ + if (m_bottomTab) + m_bottomTab->setCurrentIndex(i == EditModeSignalsSlotEditor ? SignalSlotEditorTab : ActionEditorTab); } + +EditorWidgetState EditorWidget::state() +{ + return *editorWidgetState(); +} + +void EditorWidget::setState(const EditorWidgetState& st) +{ + *editorWidgetState() = st; } + +} // namespace Internal +} // namespace Designer diff --git a/src/plugins/designer/editorwidget.h b/src/plugins/designer/editorwidget.h index 790550cb3e7d20452066b232c3b66197bf8abbb3..a687f714c50fd0c1bf5a670c9b25c2ec4393f56e 100644 --- a/src/plugins/designer/editorwidget.h +++ b/src/plugins/designer/editorwidget.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DESIGNER_EDITORWIDGET_H #define DESIGNER_EDITORWIDGET_H @@ -50,69 +51,73 @@ QT_END_NAMESPACE namespace Designer { namespace Internal { - /* A widget that shares its embedded sub window with others. For example, - * the designer editors need to share the widget box, etc. */ - class SharedSubWindow : public QWidget { - Q_OBJECT - Q_DISABLE_COPY(SharedSubWindow) - - public: - SharedSubWindow(QWidget *shared, QWidget *parent = 0); - virtual ~SharedSubWindow(); - - public slots: - // Takes the shared widget off the current parent and adds it to its - // layout - void activate(); - - private: - QPointer <QWidget> m_shared; - QVBoxLayout *m_layout; - }; - - /** State of the editor window (splitter sizes) - * Shared as a global struct between the instances and stored - * in QSettings. */ - struct EditorWidgetState { - QVariant toVariant() const; // API to conveniently store in QSettings - bool fromVariant(const QVariant &v); - - QList<int> horizontalSizes; - QList<int> centerVerticalSizes; - QList<int> rightVerticalSizes; - }; - - /* Form editor splitter used as editor window. Contains the shared designer - * windows. */ - class EditorWidget : public Core::MiniSplitter { - Q_OBJECT - Q_DISABLE_COPY(EditorWidget) - public: - explicit EditorWidget(QWidget *formWindow); - - virtual bool event(QEvent * e); - - EditorWidgetState save() const; - bool restore(const EditorWidgetState &s); - - // Get/Set the shared splitter state of all editors of that type for - // settings - static EditorWidgetState state(); - static void setState(const EditorWidgetState&st); - - public slots: - void activate(); - void toolChanged(int); - - private: - void setInitialSizes(); - - SharedSubWindow* m_designerSubWindows[Designer::Constants::DesignerSubWindowCount]; - QSplitter *m_centerVertSplitter; - QTabWidget *m_bottomTab; - QSplitter *m_rightVertSplitter; - }; -} -} - -#endif +/* A widget that shares its embedded sub window with others. For example, + * the designer editors need to share the widget box, etc. */ +class SharedSubWindow : public QWidget +{ + Q_OBJECT + Q_DISABLE_COPY(SharedSubWindow) + +public: + SharedSubWindow(QWidget *shared, QWidget *parent = 0); + virtual ~SharedSubWindow(); + +public slots: + // Takes the shared widget off the current parent and adds it to its + // layout + void activate(); + +private: + QPointer <QWidget> m_shared; + QVBoxLayout *m_layout; +}; + +/** State of the editor window (splitter sizes) + * Shared as a global struct between the instances and stored + * in QSettings. */ +struct EditorWidgetState +{ + QVariant toVariant() const; // API to conveniently store in QSettings + bool fromVariant(const QVariant &v); + + QList<int> horizontalSizes; + QList<int> centerVerticalSizes; + QList<int> rightVerticalSizes; +}; + +/* Form editor splitter used as editor window. Contains the shared designer + * windows. */ +class EditorWidget : public Core::MiniSplitter +{ + Q_OBJECT + Q_DISABLE_COPY(EditorWidget) +public: + explicit EditorWidget(QWidget *formWindow); + + virtual bool event(QEvent * e); + + EditorWidgetState save() const; + bool restore(const EditorWidgetState &s); + + // Get/Set the shared splitter state of all editors of that type for + // settings + static EditorWidgetState state(); + static void setState(const EditorWidgetState&st); + +public slots: + void activate(); + void toolChanged(int); + +private: + void setInitialSizes(); + + SharedSubWindow* m_designerSubWindows[Designer::Constants::DesignerSubWindowCount]; + QSplitter *m_centerVertSplitter; + QTabWidget *m_bottomTab; + QSplitter *m_rightVertSplitter; +}; + +} // namespace Internal +} // namespace Designer + +#endif // DESIGNER_EDITORWIDGET_H diff --git a/src/plugins/designer/formeditorfactory.cpp b/src/plugins/designer/formeditorfactory.cpp index 29ceb8b06c9f7dc80c619ea6ce2fde597907fedf..4c69966fdf422d755dd817fd8b20dabc1dced5fc 100644 --- a/src/plugins/designer/formeditorfactory.cpp +++ b/src/plugins/designer/formeditorfactory.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "formeditorfactory.h" #include "formeditorw.h" #include "formwindoweditor.h" diff --git a/src/plugins/designer/formeditorfactory.h b/src/plugins/designer/formeditorfactory.h index 5e8c7c2abf13111b80406c664cc433f29e5abfaa..ae565f70c37bb2e6487f5dc9632106e49dcfead8 100644 --- a/src/plugins/designer/formeditorfactory.h +++ b/src/plugins/designer/formeditorfactory.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FORMEDITORFACTORY_H #define FORMEDITORFACTORY_H @@ -69,5 +70,4 @@ private: } // namespace Internal } // namespace Designer -#endif - +#endif // FORMEDITORFACTORY_H diff --git a/src/plugins/designer/formeditorplugin.cpp b/src/plugins/designer/formeditorplugin.cpp index eacc1f5312316588772bc78acd07f44d5a51f03d..0c3dbb4d6e559d96686f9af206f92a777d442abd 100644 --- a/src/plugins/designer/formeditorplugin.cpp +++ b/src/plugins/designer/formeditorplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "formeditorplugin.h" #include "formeditorfactory.h" #include "formeditorw.h" diff --git a/src/plugins/designer/formeditorplugin.h b/src/plugins/designer/formeditorplugin.h index 01dbb1d236aa58d60bcedc6e5d0dfed68b50d413..9967cf3984ca50c8bb35410cf5d9543f84cdea6f 100644 --- a/src/plugins/designer/formeditorplugin.h +++ b/src/plugins/designer/formeditorplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FORMEDITORPLUGIN_H #define FORMEDITORPLUGIN_H diff --git a/src/plugins/designer/formeditorw.cpp b/src/plugins/designer/formeditorw.cpp index 546be02afc23faaf3fd43fd018c74750046aa2c1..c156dec1b7f5416cf3a94cde812613e0f08465a4 100644 --- a/src/plugins/designer/formeditorw.cpp +++ b/src/plugins/designer/formeditorw.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "formeditorw.h" #include "formwindoweditor.h" #include "designerconstants.h" diff --git a/src/plugins/designer/formeditorw.h b/src/plugins/designer/formeditorw.h index b8434b2c5d6830aa068880e5fa76de96ed090f43..5eb0348bc82c5a35b9771626566c98b29a37c9b2 100644 --- a/src/plugins/designer/formeditorw.h +++ b/src/plugins/designer/formeditorw.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FORMEDITORW_H #define FORMEDITORW_H diff --git a/src/plugins/designer/formtemplatewizardpage.cpp b/src/plugins/designer/formtemplatewizardpage.cpp index a819502b215123315ede5d60705fcec29aaf195e..1d5738179611c6f5d03b172b9cd6af2320697142 100644 --- a/src/plugins/designer/formtemplatewizardpage.cpp +++ b/src/plugins/designer/formtemplatewizardpage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "formtemplatewizardpage.h" #include "formeditorw.h" @@ -325,6 +326,7 @@ QString FormTemplateWizardPagePage::changeUiClassName(const QString &uiXml, cons const QString rc = domUi.toString(); return rc; } -#endif +#endif // USE_XSLT + } // namespace Internal } // namespace Designer diff --git a/src/plugins/designer/formtemplatewizardpage.h b/src/plugins/designer/formtemplatewizardpage.h index 2476c9b6e8029d0963a9ada3309a001e9b80f8a2..93bd4bcf42fcbae6e4df2e4bb62dd2604cc93558 100644 --- a/src/plugins/designer/formtemplatewizardpage.h +++ b/src/plugins/designer/formtemplatewizardpage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FORMWIZARDPAGE_H #define FORMWIZARDPAGE_H @@ -76,4 +77,4 @@ private: } // namespace Internal } // namespace Designer -#endif //FORMTEMPLATEWIZARDPAGE_H +#endif // FORMTEMPLATEWIZARDPAGE_H diff --git a/src/plugins/designer/formwindoweditor.cpp b/src/plugins/designer/formwindoweditor.cpp index dde574e96f2e6fb2f3bc6ebedc884d8d14125441..86c69dd51a5518d329ae52381b7dd3f0fe3793e3 100644 --- a/src/plugins/designer/formwindoweditor.cpp +++ b/src/plugins/designer/formwindoweditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "designerconstants.h" #include "editorwidget.h" #include "formeditorw.h" @@ -65,7 +66,8 @@ using ProjectExplorer::FileNode; enum { debugFormWindowEditor = 0 }; -class QrcFilesVisitor : public NodesVisitor { +class QrcFilesVisitor : public NodesVisitor +{ public: QStringList qrcFiles() const; diff --git a/src/plugins/designer/formwindoweditor.h b/src/plugins/designer/formwindoweditor.h index 6cffbdf5df3f53b1e0f738a32d550f5c252ff9e2..dbeaeae2fd15b99b5111f32333b25fc4c5f690e9 100644 --- a/src/plugins/designer/formwindoweditor.h +++ b/src/plugins/designer/formwindoweditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FORMWINDOWEDITOR_H #define FORMWINDOWEDITOR_H @@ -125,4 +126,4 @@ private: } // namespace Internal } // namespace Designer -#endif //FORMWINDOWEDITOR_H +#endif // FORMWINDOWEDITOR_H diff --git a/src/plugins/designer/formwindowfile.cpp b/src/plugins/designer/formwindowfile.cpp index 8ee26e4ac69aaad0ed9c4d6ba650931c147a829a..c7681848ae0fc19e5fe478fd573b50ff7b596ce3 100644 --- a/src/plugins/designer/formwindowfile.cpp +++ b/src/plugins/designer/formwindowfile.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "formwindowfile.h" #include "designerconstants.h" diff --git a/src/plugins/designer/formwindowfile.h b/src/plugins/designer/formwindowfile.h index fc95b05f86ada070b6796c5980c81d87010ce512..8425d56e05617ce8768e96c04a46b45032a26518 100644 --- a/src/plugins/designer/formwindowfile.h +++ b/src/plugins/designer/formwindowfile.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FORMWINDOWFILE_H #define FORMWINDOWFILE_H @@ -102,4 +103,4 @@ private: } // namespace Internal } // namespace Designer -#endif //FORMWINDOWFILE_H +#endif // FORMWINDOWFILE_H diff --git a/src/plugins/designer/formwindowhost.cpp b/src/plugins/designer/formwindowhost.cpp index c03a17df902b88d34230f4e18edd64c153716bf1..5cbc5c882d793a789e606a133404d0caa7db3ec2 100644 --- a/src/plugins/designer/formwindowhost.cpp +++ b/src/plugins/designer/formwindowhost.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "formwindowhost.h" #include "formeditorw.h" diff --git a/src/plugins/designer/formwindowhost.h b/src/plugins/designer/formwindowhost.h index e74cd12e43bebea022169995267b8cef373d6186..8f0bc17aa613333f35aa01e98b71cf6e14f79b12 100644 --- a/src/plugins/designer/formwindowhost.h +++ b/src/plugins/designer/formwindowhost.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,14 +26,14 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FORMWINDOWHOST_H #define FORMWINDOWHOST_H - #include "widgethost.h" class QDesignerFormWindowInterface; @@ -58,4 +58,4 @@ private slots: } // namespace Internal } // namespace Designer -#endif //FORMWINDOWHOST_H +#endif // FORMWINDOWHOST_H diff --git a/src/plugins/designer/formwizard.cpp b/src/plugins/designer/formwizard.cpp index b17657520bc3c5925ea296a8ff1bcefcb4b3d7db..0aa877f05b99498be38e064ef04a5e0d104a0b56 100644 --- a/src/plugins/designer/formwizard.cpp +++ b/src/plugins/designer/formwizard.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "formwizard.h" #include "formwizarddialog.h" #include "formwindoweditor.h" diff --git a/src/plugins/designer/formwizard.h b/src/plugins/designer/formwizard.h index fe20de2ac6c0f51796065002545ace9cd496409d..7eb53a629f143bac5cefa1c8112e57a0a8b210aa 100644 --- a/src/plugins/designer/formwizard.h +++ b/src/plugins/designer/formwizard.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FORMWIZARD_H #define FORMWIZARD_H diff --git a/src/plugins/designer/formwizarddialog.cpp b/src/plugins/designer/formwizarddialog.cpp index e6733852986bc2639064bec718edacab7638e9d6..e813d737480e518d7c2ac45a1f90cc9047e5a51b 100644 --- a/src/plugins/designer/formwizarddialog.cpp +++ b/src/plugins/designer/formwizarddialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "formwizarddialog.h" #include "formtemplatewizardpage.h" #include "formeditorw.h" @@ -123,5 +124,6 @@ void FormFileWizardDialog::slotCurrentIdChanged(int id) } } } + } // namespace Internal } // namespace Designer diff --git a/src/plugins/designer/formwizarddialog.h b/src/plugins/designer/formwizarddialog.h index fd1155e00b55b7bc2859e7fd18037b244a5e9745..b537947618c11e7cb169c0fc9840a98d3da76bf2 100644 --- a/src/plugins/designer/formwizarddialog.h +++ b/src/plugins/designer/formwizarddialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FORMWIZARDDIALOG_H #define FORMWIZARDDIALOG_H @@ -101,4 +102,4 @@ private: } // namespace Internal } // namespace Designer -#endif //FORMWIZARDDIALOG_H +#endif // FORMWIZARDDIALOG_H diff --git a/src/plugins/designer/settingsmanager.cpp b/src/plugins/designer/settingsmanager.cpp index 9a737e8b0a499fd9b909a9cf9b4a875de2ca5d71..1f2305de1471418e57d9994e8bf0141bac5c0c29 100644 --- a/src/plugins/designer/settingsmanager.cpp +++ b/src/plugins/designer/settingsmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,11 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -#include <settingsmanager.h> + +#include "settingsmanager.h" + #include <QtCore/QDebug> using namespace Designer::Internal; diff --git a/src/plugins/designer/settingsmanager.h b/src/plugins/designer/settingsmanager.h index 92783e4510552354a71e75c02fe3739504ff5cf1..795a61ddfa56a22f7ee38a870a09a3118b15e187 100644 --- a/src/plugins/designer/settingsmanager.h +++ b/src/plugins/designer/settingsmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SETTINGSMANAGER_H #define SETTINGSMANAGER_H @@ -61,4 +62,4 @@ private: } // namespace Internal } // namespace Designer -#endif //SETTINGSMANAGER_H +#endif // SETTINGSMANAGER_H diff --git a/src/plugins/designer/settingspage.cpp b/src/plugins/designer/settingspage.cpp index c09c3a0849453a7c3751922810530dd5f6abc243..269c6a1169f478632bfa0e215e35a5040f16d8bf 100644 --- a/src/plugins/designer/settingspage.cpp +++ b/src/plugins/designer/settingspage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "settingspage.h" #include <extensionsystem/pluginmanager.h> diff --git a/src/plugins/designer/settingspage.h b/src/plugins/designer/settingspage.h index 30da61814b9ede71e2b90c7d28355c592c55caf4..f794afa634b183bae437a2caedd79c0ecf661e6d 100644 --- a/src/plugins/designer/settingspage.h +++ b/src/plugins/designer/settingspage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef DESIGNER_SETTINGSPAGE_H #define DESIGNER_SETTINGSPAGE_H @@ -64,7 +65,7 @@ private: QDesignerOptionsPageInterface *m_designerPage; }; -} //namespace Internal -} //namespace QuickOpen +} // namespace Internal +} // namespace QuickOpen #endif // DESIGNER_SETTINGSPAGE_H diff --git a/src/plugins/designer/workbenchintegration.cpp b/src/plugins/designer/workbenchintegration.cpp index 42e55d0265e849b51394a0e053c967b6aae735cd..4e49218a5c4107d762eb1bdb9df8a132fc29735e 100644 --- a/src/plugins/designer/workbenchintegration.cpp +++ b/src/plugins/designer/workbenchintegration.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "formeditorplugin.h" #include "workbenchintegration.h" #include "formeditorw.h" diff --git a/src/plugins/designer/workbenchintegration.h b/src/plugins/designer/workbenchintegration.h index 21aee510aaab90b776f2987592577887839b8479..c13e27620e3a6e5e9041952aa69e01638adc211b 100644 --- a/src/plugins/designer/workbenchintegration.h +++ b/src/plugins/designer/workbenchintegration.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef WORKBENCHINTEGRATION_H #define WORKBENCHINTEGRATION_H diff --git a/src/plugins/find/basetextfind.cpp b/src/plugins/find/basetextfind.cpp index 37787596d9ed3727b33eecd7d60aa8c268cc9daa..63740d36527380a654cd3ea5027c6d19e66a0528 100644 --- a/src/plugins/find/basetextfind.cpp +++ b/src/plugins/find/basetextfind.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,11 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "basetextfind.h" + #include <QtGui/QTextBlock> using namespace Find; diff --git a/src/plugins/find/basetextfind.h b/src/plugins/find/basetextfind.h index 0647c8dccdf2e5264d0a31af9395f0530770b32e..ed8435981cc03eaa270256bc2cbd304c7c8dad11 100644 --- a/src/plugins/find/basetextfind.h +++ b/src/plugins/find/basetextfind.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef BASETEXTFIND_H #define BASETEXTFIND_H diff --git a/src/plugins/find/currentdocumentfind.cpp b/src/plugins/find/currentdocumentfind.cpp index 1a4999cd13f6417b4a640657f6d319e1d7d342e6..091c307d3d0a7af46cba3ec14e150e35e767c435 100644 --- a/src/plugins/find/currentdocumentfind.cpp +++ b/src/plugins/find/currentdocumentfind.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,11 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "currentdocumentfind.h" + #include <aggregation/aggregate.h> #include <coreplugin/coreconstants.h> #include <coreplugin/modemanager.h> diff --git a/src/plugins/find/currentdocumentfind.h b/src/plugins/find/currentdocumentfind.h index d818dab048316985d164c1ba2dc55b29677176cd..815182e88c64c464ad5c3b744a54f830b9f8e386 100644 --- a/src/plugins/find/currentdocumentfind.h +++ b/src/plugins/find/currentdocumentfind.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CURRENTDOCUMENTFIND_H #define CURRENTDOCUMENTFIND_H diff --git a/src/plugins/find/find_global.h b/src/plugins/find/find_global.h index b9872a0945ff2107d75c76817a7eb1e3be9d3e69..800b7cccce659adf6b800c7805aabc8da3c043f2 100644 --- a/src/plugins/find/find_global.h +++ b/src/plugins/find/find_global.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,23 +26,10 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/**************************************************************************** -** -** Copyright (C) 1992-$THISYEAR$ Trolltech AS. All rights reserved. +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** -** 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 FIND_GLOBAL_H #define FIND_GLOBAL_H diff --git a/src/plugins/find/findplugin.cpp b/src/plugins/find/findplugin.cpp index 92c52212b62babc8092256689b8717c01c0018dd..344ee578e5b03d74c9aad398885ef9e3416a8812 100644 --- a/src/plugins/find/findplugin.cpp +++ b/src/plugins/find/findplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "findplugin.h" diff --git a/src/plugins/find/findplugin.h b/src/plugins/find/findplugin.h index 98659f00030ab2b509ee78f2c76ea7ccd6861dbe..538797f516e1b655f37ab89ea7ee5052020d426f 100644 --- a/src/plugins/find/findplugin.h +++ b/src/plugins/find/findplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FINDPLUGIN_H #define FINDPLUGIN_H diff --git a/src/plugins/find/findtoolbar.cpp b/src/plugins/find/findtoolbar.cpp index a6afa56d043397145298a6483d114d64f852183b..6a28c4d93c6b92e228172934dcdd473b90ae8d97 100644 --- a/src/plugins/find/findtoolbar.cpp +++ b/src/plugins/find/findtoolbar.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "findtoolbar.h" #include "findplugin.h" #include "textfindconstants.h" diff --git a/src/plugins/find/findtoolbar.h b/src/plugins/find/findtoolbar.h index cb85470f41085d87d25592d57633202c8de59b77..790a1e03002ed920ae3b4d5a9f21659e4760afcd 100644 --- a/src/plugins/find/findtoolbar.h +++ b/src/plugins/find/findtoolbar.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FINDTOOLBAR_H #define FINDTOOLBAR_H diff --git a/src/plugins/find/findtoolwindow.cpp b/src/plugins/find/findtoolwindow.cpp index 40c476dcffbbc88baf5819123e4bd6dbb7d9d7a3..6b1ac69debe834483d91645951f105cf604b6c33 100644 --- a/src/plugins/find/findtoolwindow.cpp +++ b/src/plugins/find/findtoolwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "findtoolwindow.h" #include "findplugin.h" diff --git a/src/plugins/find/findtoolwindow.h b/src/plugins/find/findtoolwindow.h index 558b8198ab58dcacda65af6a0503086b7313843d..71d3200b3c788a6d25e91d31b6d518e73498532d 100644 --- a/src/plugins/find/findtoolwindow.h +++ b/src/plugins/find/findtoolwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef FINDTOOLWINDOW_H #define FINDTOOLWINDOW_H diff --git a/src/plugins/find/ifindfilter.h b/src/plugins/find/ifindfilter.h index 356c293b289bcb3c5521d681d7e37880fefc68eb..057b56acd4416cff63e58202e2976de0f87aab04 100644 --- a/src/plugins/find/ifindfilter.h +++ b/src/plugins/find/ifindfilter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef IFINDFILTER_H #define IFINDFILTER_H diff --git a/src/plugins/find/ifindsupport.h b/src/plugins/find/ifindsupport.h index 14786ed922d67af19c8a679bb37aa15479484c1d..6bf5ede776a59fdb7b2817b14632ac50b1b8464e 100644 --- a/src/plugins/find/ifindsupport.h +++ b/src/plugins/find/ifindsupport.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,14 +26,16 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef IFINDSUPPORT_H #define IFINDSUPPORT_H #include "find_global.h" + #include <QtGui/QTextDocument> namespace Find { @@ -69,7 +71,7 @@ signals: }; -inline void IFindSupport::highlightAll(const QString &, QTextDocument::FindFlags){} +inline void IFindSupport::highlightAll(const QString &, QTextDocument::FindFlags) {} } // namespace Find diff --git a/src/plugins/find/searchresulttreeitemdelegate.cpp b/src/plugins/find/searchresulttreeitemdelegate.cpp index a69d4357fee8e3ba82424dfeac85e82e3e86a3d8..6be35f71b8ebd2c488374d9fdaf1ecfeb6b52d87 100644 --- a/src/plugins/find/searchresulttreeitemdelegate.cpp +++ b/src/plugins/find/searchresulttreeitemdelegate.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,36 +26,34 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "searchresulttreeitemdelegate.h" #include "searchresulttreeitemroles.h" -#include <math.h> - #include <QModelIndex> #include <QTextDocument> #include <QPainter> #include <QAbstractTextDocumentLayout> #include <QApplication> +#include <math.h> + using namespace Find::Internal; SearchResultTreeItemDelegate::SearchResultTreeItemDelegate(QObject *parent) -: QItemDelegate(parent) + : QItemDelegate(parent) { } void SearchResultTreeItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const { - if (index.model()->data(index, ItemDataRoles::TypeRole).toString().compare("file") == 0) - { + if (index.model()->data(index, ItemDataRoles::TypeRole).toString().compare("file") == 0) { QItemDelegate::paint(painter, option, index); - } - else - { + } else { painter->save(); QStyleOptionViewItemV3 opt = setOptions(index, option); diff --git a/src/plugins/find/searchresulttreeitemdelegate.h b/src/plugins/find/searchresulttreeitemdelegate.h index ede85741df9c794ad06a8c4ab6429b6ad0d87b86..a79db17383acce9083dad340ce977c95ff9b88e5 100644 --- a/src/plugins/find/searchresulttreeitemdelegate.h +++ b/src/plugins/find/searchresulttreeitemdelegate.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SEARCHRESULTTREEITEMDELEGATE_H #define SEARCHRESULTTREEITEMDELEGATE_H @@ -51,7 +52,7 @@ private: static const int m_minimumLineNumberDigits = 6; }; -} //Internal -} //Find +} // namespace Internal +} // namespace Find -#endif +#endif // SEARCHRESULTTREEITEMDELEGATE_H diff --git a/src/plugins/find/searchresulttreeitemroles.h b/src/plugins/find/searchresulttreeitemroles.h index 2b838a44ec08ae10ce7e446b9b91d371d7c9b570..a1998cdeaa1d374e7fead2d12d3e5997010ee0c0 100644 --- a/src/plugins/find/searchresulttreeitemroles.h +++ b/src/plugins/find/searchresulttreeitemroles.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SEARCHRESULTTREEITEMROLES_H #define SEARCHRESULTTREEITEMROLES_H @@ -50,8 +51,8 @@ enum roles RowOfItem // The ?-th child of its parent is this this item }; -} //Internal -} //Find -} //itemDataRoles +} // namespace Internal +} // namespace Find +} // namespace itemDataRoles -#endif +#endif // SEARCHRESULTTREEITEMROLES_H diff --git a/src/plugins/find/searchresulttreeitems.cpp b/src/plugins/find/searchresulttreeitems.cpp index 46200165595d7a4858a74d1daf21f4c005b87bc8..a0983500058b331b1b0b8bb43069bae5486649cc 100644 --- a/src/plugins/find/searchresulttreeitems.cpp +++ b/src/plugins/find/searchresulttreeitems.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,17 +26,17 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "searchresulttreeitems.h" using namespace Find::Internal; SearchResultTreeItem::SearchResultTreeItem(SearchResultTreeItem::itemType type, const SearchResultTreeItem *parent) -: m_type(type) -, m_parent(parent) + : m_type(type), m_parent(parent) { } @@ -118,8 +118,7 @@ int SearchResultTextRow::searchTermLength() const } SearchResultFile::SearchResultFile(const QString &fileName, const SearchResultTreeItem *parent) -: SearchResultTreeItem(resultFile, parent) -, m_fileName(fileName) + : SearchResultTreeItem(resultFile, parent), m_fileName(fileName) { } diff --git a/src/plugins/find/searchresulttreeitems.h b/src/plugins/find/searchresulttreeitems.h index 62be73942bcbac65e58a8070b834668237221d27..0dd6b88676b3663240995457e6eb12e79528b8cb 100644 --- a/src/plugins/find/searchresulttreeitems.h +++ b/src/plugins/find/searchresulttreeitems.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SEARCHRESULTTREEITEMS_H #define SEARCHRESULTTREEITEMS_H @@ -55,13 +56,13 @@ public: SearchResultTreeItem(itemType type = root, const SearchResultTreeItem *parent = NULL); virtual ~SearchResultTreeItem(); - itemType getItemType(void) const; - const SearchResultTreeItem *getParent(void) const; + itemType getItemType() const; + const SearchResultTreeItem *getParent() const; const SearchResultTreeItem *getChild(int index) const; void appendChild(SearchResultTreeItem *child); - int getChildrenCount(void) const; - int getRowOfItem(void) const; - void clearChildren(void); + int getChildrenCount() const; + int getRowOfItem() const; + void clearChildren(); private: itemType m_type; @@ -92,7 +93,7 @@ class SearchResultFile: public SearchResultTreeItem { public: SearchResultFile(const QString &fileName, const SearchResultTreeItem *parent); - QString getFileName(void) const; + QString getFileName() const; void appendResultLine(int index, int lineNumber, const QString &rowText, int searchTermStart, int searchTermLength); @@ -100,7 +101,7 @@ private: QString m_fileName; }; -} //Internal -} //Find +} // namespace Internal +} // namespace Find -#endif +#endif // SEARCHRESULTTREEITEMS_H diff --git a/src/plugins/find/searchresulttreemodel.cpp b/src/plugins/find/searchresulttreemodel.cpp index 17a81e852d3f09eb026da5c102204181622810ca..f99e9d8e4554ef410eef756228b6ad51d674250b 100644 --- a/src/plugins/find/searchresulttreemodel.cpp +++ b/src/plugins/find/searchresulttreemodel.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,21 +26,22 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "searchresulttreemodel.h" #include "searchresulttreeitems.h" #include "searchresulttreeitemroles.h" + #include <QtGui/QFont> #include <QtGui/QColor> using namespace Find::Internal; SearchResultTreeModel::SearchResultTreeModel(QObject *parent) -: QAbstractItemModel(parent) -, m_lastAppendedResultFile(NULL) + : QAbstractItemModel(parent), m_lastAppendedResultFile(0) { m_rootItem = new SearchResultTreeItem(); } diff --git a/src/plugins/find/searchresulttreemodel.h b/src/plugins/find/searchresulttreemodel.h index 5a55920fa46c057f6e5d233e261a57587f4901df..5a1518d9f026420ccfb49995be7d1790bb3ae741 100644 --- a/src/plugins/find/searchresulttreemodel.h +++ b/src/plugins/find/searchresulttreemodel.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,23 +26,24 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SEARCHRESULTTREEMODEL_H #define SEARCHRESULTTREEMODEL_H #include <QtCore/QAbstractItemModel> -namespace Find{ +namespace Find { namespace Internal { class SearchResultTreeItem; class SearchResultTextRow; class SearchResultFile; -class SearchResultTreeModel: public QAbstractItemModel +class SearchResultTreeModel : public QAbstractItemModel { Q_OBJECT @@ -81,7 +82,7 @@ private: SearchResultFile *m_lastAppendedResultFile; }; -} //Internal -} //Find +} // namespace Internal +} // namespace Find -#endif +#endif // SEARCHRESULTTREEMODEL_H diff --git a/src/plugins/find/searchresulttreeview.cpp b/src/plugins/find/searchresulttreeview.cpp index c7bee6febbfc50e61a47b6c6f6c8485573bc522d..6cd0f41c1fcfbf7672464273069c8509c38d3ff3 100644 --- a/src/plugins/find/searchresulttreeview.cpp +++ b/src/plugins/find/searchresulttreeview.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "searchresulttreeview.h" #include "searchresulttreeitemroles.h" #include "searchresulttreemodel.h" @@ -40,8 +41,7 @@ using namespace Find::Internal; SearchResultTreeView::SearchResultTreeView(QWidget *parent) -: QTreeView(parent) -, m_autoExpandResults(false) + : QTreeView(parent), m_autoExpandResults(false) { m_model = new SearchResultTreeModel(this); setModel(m_model); @@ -71,7 +71,7 @@ void SearchResultTreeView::appendResultLine(int index, const QString &fileName, int rowsAfter = m_model->rowCount(); if (m_autoExpandResults && (rowsAfter > rowsBefore)) - setExpanded(model()->index(model()->rowCount()-1, 0), true); + setExpanded(model()->index(model()->rowCount() - 1, 0), true); } void SearchResultTreeView::emitJumpToSearchResult(const QModelIndex &index) diff --git a/src/plugins/find/searchresulttreeview.h b/src/plugins/find/searchresulttreeview.h index e5491cc0cebb27fcd0cd34f5429fc89e9393320a..578e57d9e4f847985096cc32fc329bd6dbc0cb3f 100644 --- a/src/plugins/find/searchresulttreeview.h +++ b/src/plugins/find/searchresulttreeview.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SEARCHRESULTTREEVIEW_H #define SEARCHRESULTTREEVIEW_H @@ -41,7 +42,7 @@ namespace Internal { class SearchResultTreeModel; -class SearchResultTreeView: public QTreeView +class SearchResultTreeView : public QTreeView { Q_OBJECT diff --git a/src/plugins/find/searchresultwindow.cpp b/src/plugins/find/searchresultwindow.cpp index a113d439f84b828f5a81bf6360687b4090d7f416..d9b040f80f6e93e600121c785600fa9795c3fa07 100644 --- a/src/plugins/find/searchresultwindow.cpp +++ b/src/plugins/find/searchresultwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "searchresultwindow.h" #include "searchresulttreemodel.h" @@ -45,7 +46,7 @@ using namespace Find::Internal; static const QString SETTINGSKEYSECTIONNAME("SearchResults"); static const QString SETTINGSKEYEXPANDRESULTS("ExpandResults"); -SearchResultWindow::SearchResultWindow(Core::ICore *core): +SearchResultWindow::SearchResultWindow(Core::ICore *core) : m_core(core), m_widget(new QStackedWidget()) { diff --git a/src/plugins/find/searchresultwindow.h b/src/plugins/find/searchresultwindow.h index 463b66a106cf00651ff7344be2ed3b55b007d206..7d616b1b1153565825f76496c4886efdb84d510f 100644 --- a/src/plugins/find/searchresultwindow.h +++ b/src/plugins/find/searchresultwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SEARCHRESULTWINDOW_H #define SEARCHRESULTWINDOW_H @@ -91,8 +92,8 @@ private slots: int searchTermStart, int searchTermLength); private: - void readSettings(void); - void writeSettings(void); + void readSettings(); + void writeSettings(); Internal::SearchResultTreeView *m_searchResultTreeView; QListWidget *m_noMatchesFoundDisplay; diff --git a/src/plugins/find/textfindconstants.h b/src/plugins/find/textfindconstants.h index 73c92ed441c813bb9dfdba383320a6919a28bd5e..86d74b7b3d58bae40b0f09bb3bc76ba608e501e7 100644 --- a/src/plugins/find/textfindconstants.h +++ b/src/plugins/find/textfindconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,32 +26,35 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef TEXTFINDCONSTANTS_H #define TEXTFINDCONSTANTS_H - namespace Find { - namespace Constants { - const char * const M_FIND = "Find.FindMenu"; - const char * const G_FIND_FILTERS = "Find.FindMenu.Filters"; - const char * const G_FIND_FLAGS = "Find.FindMenu.Flags"; - const char * const G_FIND_ACTIONS = "Find.FindMenu.Actions"; +namespace Find { +namespace Constants { + +const char * const M_FIND = "Find.FindMenu"; +const char * const G_FIND_FILTERS = "Find.FindMenu.Filters"; +const char * const G_FIND_FLAGS = "Find.FindMenu.Flags"; +const char * const G_FIND_ACTIONS = "Find.FindMenu.Actions"; + +const char * const FIND = "Find.FindReplace"; +const char * const FIND_IN_DOCUMENT = "Find.FindInCurrentDocument"; +const char * const FIND_NEXT = "Find.FindNext"; +const char * const FIND_PREVIOUS = "Find.FindPrevious"; +const char * const FIND_ALL = "Find.FindAll"; +const char * const REPLACE_NEXT = "Find.ReplaceNext"; +const char * const REPLACE_PREVIOUS = "Find.ReplacePrevious"; +const char * const REPLACE_ALL = "Find.ReplaceAll"; +const char * const CASE_SENSITIVE = "Find.CaseSensitive"; +const char * const WHOLE_WORDS = "Find.WholeWords"; +const char * const TASK_SEARCH = "Find.Task.Search"; - const char * const FIND = "Find.FindReplace"; - const char * const FIND_IN_DOCUMENT = "Find.FindInCurrentDocument"; - const char * const FIND_NEXT = "Find.FindNext"; - const char * const FIND_PREVIOUS = "Find.FindPrevious"; - const char * const FIND_ALL = "Find.FindAll"; - const char * const REPLACE_NEXT = "Find.ReplaceNext"; - const char * const REPLACE_PREVIOUS = "Find.ReplacePrevious"; - const char * const REPLACE_ALL = "Find.ReplaceAll"; - const char * const CASE_SENSITIVE = "Find.CaseSensitive"; - const char * const WHOLE_WORDS = "Find.WholeWords"; - const char * const TASK_SEARCH = "Find.Task.Search"; - } - } //Find +} // namespace Constants +} // namespace Find -#endif //TEXTFINDCONSTANTS_H +#endif // TEXTFINDCONSTANTS_H diff --git a/src/plugins/git/annotationhighlighter.cpp b/src/plugins/git/annotationhighlighter.cpp index 534c45395b01488bd81a4fc3197e7032d74867bc..9c85deff13c6a4a942aac900e8a017a1afab722b 100644 --- a/src/plugins/git/annotationhighlighter.cpp +++ b/src/plugins/git/annotationhighlighter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,11 +26,13 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "annotationhighlighter.h" + #include <QtCore/QDebug> namespace Git { @@ -49,5 +51,5 @@ QString GitAnnotationHighlighter::changeNumber(const QString &block) const return pos > 1 ? block.left(pos) : QString(); } -} -} +} // namespace Internal +} // namespace Git diff --git a/src/plugins/git/annotationhighlighter.h b/src/plugins/git/annotationhighlighter.h index 3368e4dc9ff68835d001669349e7f4be04c5e9be..ebc8f199f967a235dbb28f5a327ba2e9acaf0883 100644 --- a/src/plugins/git/annotationhighlighter.h +++ b/src/plugins/git/annotationhighlighter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef ANNOTATIONHIGHLIGHTER_H #define ANNOTATIONHIGHLIGHTER_H @@ -52,7 +53,7 @@ private: const QChar m_blank; }; -} //namespace Git -} //namespace Internal +} // namespace Internal +} // namespace Git -#endif +#endif // ANNOTATIONHIGHLIGHTER_H diff --git a/src/plugins/git/changeselectiondialog.cpp b/src/plugins/git/changeselectiondialog.cpp index 6491614b5f797108bea0bab13c18f1c80cc34d2c..70004dbadfa7bb5e39320eb99ca5b0646d84b447 100644 --- a/src/plugins/git/changeselectiondialog.cpp +++ b/src/plugins/git/changeselectiondialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "changeselectiondialog.h" #include <QtGui/QFileDialog> diff --git a/src/plugins/git/changeselectiondialog.h b/src/plugins/git/changeselectiondialog.h index 02d0aa76d367a7dabb9db395a1492131828be31f..7ccb439a8a675b35c226e85124db597e10597e9a 100644 --- a/src/plugins/git/changeselectiondialog.h +++ b/src/plugins/git/changeselectiondialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CHANGESELECTIONDIALOG_H #define CHANGESELECTIONDIALOG_H @@ -40,7 +41,7 @@ namespace Git { namespace Internal { - class GitPlugin; +class GitPlugin; class ChangeSelectionDialog : public QDialog { @@ -57,7 +58,7 @@ private: }; -} //namespace Internal -} //namespace Git +} // namespace Internal +} // namespace Git #endif // CHANGESELECTIONDIALOG_H diff --git a/src/plugins/git/commitdata.cpp b/src/plugins/git/commitdata.cpp index aafafe1566f0958e65f1ffe7f89afeb397670f93..60e2173a660ab315b406c5c79313d256a934f107 100644 --- a/src/plugins/git/commitdata.cpp +++ b/src/plugins/git/commitdata.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "commitdata.h" #include <QtCore/QDebug> @@ -92,5 +93,5 @@ QDebug operator<<(QDebug d, const CommitData &data) return d; } -} -} +} // namespace Internal +} // namespace Git diff --git a/src/plugins/git/commitdata.h b/src/plugins/git/commitdata.h index 94a82005aead9fb980abfcd62013de48d1aec16b..9cd5a83eb16c3e01fec0950c6ef3675354c440bb 100644 --- a/src/plugins/git/commitdata.h +++ b/src/plugins/git/commitdata.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef COMMITDATA_H #define COMMITDATA_H @@ -42,40 +43,43 @@ QT_END_NAMESPACE namespace Git { namespace Internal { - // Read-only - struct GitSubmitEditorPanelInfo { - void clear(); - QString repository; - QString description; - QString branch; - }; +// Read-only +struct GitSubmitEditorPanelInfo +{ + void clear(); + QString repository; + QString description; + QString branch; +}; - QDebug operator<<(QDebug d, const GitSubmitEditorPanelInfo &); +QDebug operator<<(QDebug d, const GitSubmitEditorPanelInfo &); - struct GitSubmitEditorPanelData { - void clear(); - // Format as "John Doe <jdoe@foobar.com>" - QString authorString() const; +struct GitSubmitEditorPanelData +{ + void clear(); + // Format as "John Doe <jdoe@foobar.com>" + QString authorString() const; - QString author; - QString email; - }; + QString author; + QString email; +}; - QDebug operator<<(QDebug d, const GitSubmitEditorPanelData &); +QDebug operator<<(QDebug d, const GitSubmitEditorPanelData &); - struct CommitData { - void clear(); - GitSubmitEditorPanelInfo panelInfo; - GitSubmitEditorPanelData panelData; - QStringList commitFiles; - QStringList notUpdatedFiles; - QStringList untrackedFiles; - }; +struct CommitData +{ + void clear(); + GitSubmitEditorPanelInfo panelInfo; + GitSubmitEditorPanelData panelData; + QStringList commitFiles; + QStringList notUpdatedFiles; + QStringList untrackedFiles; +}; - QDebug operator<<(QDebug d, const CommitData &); +QDebug operator<<(QDebug d, const CommitData &); -} -} +} // namespace Internal +} // namespace Git -#endif +#endif // COMMITDATA_H diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index b3f7107861335d9e700840a744567a4e1c5e22c1..d021881dbb064fb1398926b59a3a9e6930c5992f 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "gitclient.h" #include "gitplugin.h" #include "gitconstants.h" diff --git a/src/plugins/git/gitclient.h b/src/plugins/git/gitclient.h index f91eefda662da3a4eb7a0c4ff1f0213941cf8cc1..944041afa3d4a7698ed2dd9ec0c17405f402c6e7 100644 --- a/src/plugins/git/gitclient.h +++ b/src/plugins/git/gitclient.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef GITCLIENT_H #define GITCLIENT_H @@ -64,62 +65,53 @@ struct GitSubmitEditorPanelData; class GitClient : public Core::IVersionControl { Q_OBJECT + public: - explicit GitClient(GitPlugin *plugin, Core::ICore *core); - ~GitClient(); - bool vcsOpen(const QString &fileName); - bool vcsAdd(const QString&) {return false;} - bool vcsDelete(const QString&) {return false;} - bool managesDirectory(const QString&) const {return false;} - QString findTopLevelForDirectory(const QString&) const {return QString();} - - static QString findRepositoryForFile(const QString &fileName); - static QString findRepositoryForDirectory(const QString &dir); - - void diff(const QString &workingDirectory, - const QString &fileName); - void diff(const QString &workingDirectory, - const QStringList &fileNames); - - void status(const QString &workingDirectory); - void log(const QString &workingDirectory - , const QString &fileName); - void blame(const QString &workingDirectory - , const QString &fileName); - void showCommit(const QString &workingDirectory - , const QString &commit); - void checkout(const QString &workingDirectory - , const QString &file); - void hardReset(const QString &workingDirectory - , const QString &commit); - void addFile(const QString &workingDirectory - , const QString &fileName); - bool synchronousAdd(const QString &workingDirectory, - const QStringList &files); - void pull(const QString &workingDirectory); - void push(const QString &workingDirectory); - - QString readConfig(const QString &workingDirectory - , const QStringList &configVar); - - QString readConfigValue(const QString &workingDirectory, - const QString &configVar); - - bool getCommitData(const QString &workingDirectory, - QString *commitTemplate, - CommitData *d, - QString *errorMessage); - - bool addAndCommit(const QString &workingDirectory, - const GitSubmitEditorPanelData &data, - const QString &messageFile, - const QStringList &files); + GitClient(GitPlugin *plugin, Core::ICore *core); + ~GitClient(); + + bool vcsOpen(const QString &fileName); + bool vcsAdd(const QString &) { return false; } + bool vcsDelete(const QString &) { return false; } + bool managesDirectory(const QString &) const { return false; } + QString findTopLevelForDirectory(const QString &) const { return QString(); } + + static QString findRepositoryForFile(const QString &fileName); + static QString findRepositoryForDirectory(const QString &dir); + + void diff(const QString &workingDirectory, const QString &fileName); + void diff(const QString &workingDirectory, const QStringList &fileNames); + + void status(const QString &workingDirectory); + void log(const QString &workingDirectory, const QString &fileName); + void blame(const QString &workingDirectory, const QString &fileName); + void showCommit(const QString &workingDirectory, const QString &commit); + void checkout(const QString &workingDirectory, const QString &file); + void hardReset(const QString &workingDirectory, const QString &commit); + void addFile(const QString &workingDirectory, const QString &fileName); + bool synchronousAdd(const QString &workingDirectory, const QStringList &files); + void pull(const QString &workingDirectory); + void push(const QString &workingDirectory); + + QString readConfig(const QString &workingDirectory, const QStringList &configVar); + + QString readConfigValue(const QString &workingDirectory, const QString &configVar); + + bool getCommitData(const QString &workingDirectory, + QString *commitTemplate, + CommitData *d, + QString *errorMessage); + + bool addAndCommit(const QString &workingDirectory, + const GitSubmitEditorPanelData &data, + const QString &messageFile, + const QStringList &files); public slots: void show(const QString &source, const QString &id); private: - VCSBase::VCSBaseEditor *createVCSEditor(const QString &kind, + VCSBase::VCSBaseEditor *createVCSEditor(const QString &kind, QString title, const QString &source, bool setSourceCodec, @@ -127,20 +119,20 @@ private: const QString &dynamicPropertyValue) const; - void executeGit(const QString &workingDirectory - , const QStringList &arguments - , GitOutputWindow *outputWindow - , VCSBase::VCSBaseEditor* editor = 0 - , bool outputToWindow = false); + void executeGit(const QString &workingDirectory, + const QStringList &arguments, + GitOutputWindow *outputWindow, + VCSBase::VCSBaseEditor* editor = 0, + bool outputToWindow = false); - bool synchronousGit(const QString &workingDirectory - , const QStringList &arguments - , QByteArray* outputText = 0 - , QByteArray* errorText = 0); + bool synchronousGit(const QString &workingDirectory, + const QStringList &arguments, + QByteArray* outputText = 0, + QByteArray* errorText = 0); - const QString m_msgWait; - GitPlugin *m_plugin; - Core::ICore *m_core; + const QString m_msgWait; + GitPlugin *m_plugin; + Core::ICore *m_core; }; class GitCommand : public QObject @@ -149,12 +141,12 @@ class GitCommand : public QObject public: GitCommand(); ~GitCommand(); - void execute(const QStringList &arguments - , const QString &workingDirectory - , const ProjectExplorer::Environment &environment); - void run(const QStringList &arguments - , const QString &workingDirectory - , const ProjectExplorer::Environment &environment); + void execute(const QStringList &arguments, + const QString &workingDirectory, + const ProjectExplorer::Environment &environment); + void run(const QStringList &arguments, + const QString &workingDirectory, + const ProjectExplorer::Environment &environment); Q_SIGNALS: void outputData(const QByteArray&); @@ -162,7 +154,7 @@ Q_SIGNALS: void errorText(const QString&); }; - } -} +} // namespace Internal +} // namespace Git #endif // GITCLIENT_H diff --git a/src/plugins/git/gitconstants.h b/src/plugins/git/gitconstants.h index a74c90303172c51007865a5322fee13fa2f509f4..935310f68ea4a712e405b1c786d81dfdcb28c9d2 100644 --- a/src/plugins/git/gitconstants.h +++ b/src/plugins/git/gitconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,33 +26,36 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef GIT_CONSTANTS_H #define GIT_CONSTANTS_H namespace Git { - namespace Constants { - const char * const GIT_COMMAND_LOG_EDITOR_KIND = "Git Command Log Editor"; - const char * const GIT_LOG_EDITOR_KIND = "Git File Log Editor"; - const char * const GIT_BLAME_EDITOR_KIND = "Git Annotation Editor"; - const char * const GIT_DIFF_EDITOR_KIND = "Git Diff Editor"; - - const char * const C_GITSUBMITEDITOR = "Git Submit Editor"; - const char * const GITSUBMITEDITOR_KIND = "Git Submit Editor"; - const char * const SUBMIT_CURRENT = "Nokia.Git.SubmitCurrentLog"; - const char * const DIFF_SELECTED = "Nokia.Git.DiffSelectedFilesInLog"; - const char * const SUBMIT_MIMETYPE = "application/vnd.nokia.text.git.submit"; - - // TODO: For the moment, trust p4 is loaded... - const char * const ICON_SUBMIT = ":/trolltech.perforce/images/submit.png"; - const char * const ICON_DIFF = ":/trolltech.perforce/images/diff.png"; - - const char * const DIFF_FILE_INDICATOR = "--- "; - enum { debug = 0 }; - } -} +namespace Constants { + +const char * const GIT_COMMAND_LOG_EDITOR_KIND = "Git Command Log Editor"; +const char * const GIT_LOG_EDITOR_KIND = "Git File Log Editor"; +const char * const GIT_BLAME_EDITOR_KIND = "Git Annotation Editor"; +const char * const GIT_DIFF_EDITOR_KIND = "Git Diff Editor"; + +const char * const C_GITSUBMITEDITOR = "Git Submit Editor"; +const char * const GITSUBMITEDITOR_KIND = "Git Submit Editor"; +const char * const SUBMIT_CURRENT = "Nokia.Git.SubmitCurrentLog"; +const char * const DIFF_SELECTED = "Nokia.Git.DiffSelectedFilesInLog"; +const char * const SUBMIT_MIMETYPE = "application/vnd.nokia.text.git.submit"; + +// TODO: For the moment, trust p4 is loaded... +const char * const ICON_SUBMIT = ":/trolltech.perforce/images/submit.png"; +const char * const ICON_DIFF = ":/trolltech.perforce/images/diff.png"; + +const char * const DIFF_FILE_INDICATOR = "--- "; +enum { debug = 0 }; + +} // namespace Constants +} // namespace Git #endif // GIT_CONSTANTS_H diff --git a/src/plugins/git/giteditor.cpp b/src/plugins/git/giteditor.cpp index 3bf31da6984c127f31ad338ad4a2f5808aaa3f6e..733a6abc0d5bfb84a5b6eb2700d75487da9a66aa 100644 --- a/src/plugins/git/giteditor.cpp +++ b/src/plugins/git/giteditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "giteditor.h" #include "annotationhighlighter.h" #include "gitconstants.h" @@ -141,5 +142,5 @@ QString GitEditor::fileNameFromDiffSpecification(const QTextBlock &inBlock) cons return QString(); } -} -} +} // namespace Internal +} // namespace Git diff --git a/src/plugins/git/giteditor.h b/src/plugins/git/giteditor.h index 87e71597dd440425c72dc202d5569c855d3ad14d..1ef4b34c024c10bd8f07320150e99d0bc573c997 100644 --- a/src/plugins/git/giteditor.h +++ b/src/plugins/git/giteditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef GITEDITOR_H #define GITEDITOR_H diff --git a/src/plugins/git/gitoutputwindow.cpp b/src/plugins/git/gitoutputwindow.cpp index e8210ed0358a361bdca0f30e512ff3bd44f0dc7f..a321449b1e22614c5367d0138e0502ede392a5f8 100644 --- a/src/plugins/git/gitoutputwindow.cpp +++ b/src/plugins/git/gitoutputwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "gitoutputwindow.h" #include <QtCore/QTextCodec> diff --git a/src/plugins/git/gitoutputwindow.h b/src/plugins/git/gitoutputwindow.h index ed776c5df4a117a8a60c1ef4306169ca9fda37fd..af5a5027bbad8c89141121b75d86532591a96e65 100644 --- a/src/plugins/git/gitoutputwindow.h +++ b/src/plugins/git/gitoutputwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef GITOUTPUTWINDOW_H #define GITOUTPUTWINDOW_H @@ -42,7 +43,6 @@ namespace Git { namespace Internal { - class GitOutputWindow : public Core::IOutputPane { Q_OBJECT @@ -52,7 +52,7 @@ public: ~GitOutputWindow(); QWidget *outputWidget(QWidget *parent); - QList<QWidget*> toolBarWidgets(void) const { return QList<QWidget *>(); } + QList<QWidget*> toolBarWidgets() const { return QList<QWidget *>(); } QString name() const; int priorityInStatusBar() const; @@ -76,4 +76,4 @@ private: } // namespace Internal } // namespace Git -#endif +#endif // GITOUTPUTWINDOW_H diff --git a/src/plugins/git/gitplugin.cpp b/src/plugins/git/gitplugin.cpp index cbb08cc05adc560dbd7a42a0b7e6ac43d49f5b4a..3b6342db8ee5afb39296ee5939811b8c61d6cc58 100644 --- a/src/plugins/git/gitplugin.cpp +++ b/src/plugins/git/gitplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "gitplugin.h" #include "gitclient.h" #include "giteditor.h" diff --git a/src/plugins/git/gitplugin.h b/src/plugins/git/gitplugin.h index c57c380fcf67aaa0cc29285e9e21dbab5cdcb2fe..7becc05e7dc5cd8c879f193a65c99925e0df4bfb 100644 --- a/src/plugins/git/gitplugin.h +++ b/src/plugins/git/gitplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef GITPLUGIN_H #define GITPLUGIN_H @@ -160,4 +161,4 @@ private: } // namespace Git } // namespace Internal -#endif +#endif // GITPLUGIN_H diff --git a/src/plugins/git/gitsubmiteditor.cpp b/src/plugins/git/gitsubmiteditor.cpp index bf0d78af57b8465a2d9474eb6be1bbf826a8bfe8..4f0e201d666a85c9f03c6f4c5484552645eafb8c 100644 --- a/src/plugins/git/gitsubmiteditor.cpp +++ b/src/plugins/git/gitsubmiteditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "gitsubmiteditor.h" #include "gitsubmiteditorwidget.h" #include "gitconstants.h" @@ -88,5 +89,6 @@ QString GitSubmitEditor::fileFromChangeLine(const QString &line) rc.remove(0, 1); return rc; } -} -} + +} // namespace Internal +} // namespace Git diff --git a/src/plugins/git/gitsubmiteditor.h b/src/plugins/git/gitsubmiteditor.h index b424361a6a311e285e3783e65503253e8bfef6c8..e0554758a29b8179182e369d6fd3fd7993cbf082 100644 --- a/src/plugins/git/gitsubmiteditor.h +++ b/src/plugins/git/gitsubmiteditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef GITSUBMITEDITOR_H #define GITSUBMITEDITOR_H diff --git a/src/plugins/git/gitsubmiteditorwidget.cpp b/src/plugins/git/gitsubmiteditorwidget.cpp index aede10acd86ca350193b073bf4e3e632449f403c..99400952f1815bbe6bd7e96ea51e606524511e69 100644 --- a/src/plugins/git/gitsubmiteditorwidget.cpp +++ b/src/plugins/git/gitsubmiteditorwidget.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "gitsubmiteditorwidget.h" #include "commitdata.h" @@ -65,5 +66,5 @@ void GitSubmitEditorWidget::setPanelData(const GitSubmitEditorPanelData &data) m_gitSubmitPanelUi.emailLineEdit->setText(data.email); } -} -} +} // namespace Internal +} // namespace Git diff --git a/src/plugins/git/gitsubmiteditorwidget.h b/src/plugins/git/gitsubmiteditorwidget.h index 7a842f50eff22909cc7bdfaabc36f403d051f243..06a96cb534754a80b4662b416d9870c1e2ba0b5a 100644 --- a/src/plugins/git/gitsubmiteditorwidget.h +++ b/src/plugins/git/gitsubmiteditorwidget.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef GITSUBMITEDITORWIDGET_H #define GITSUBMITEDITORWIDGET_H diff --git a/src/plugins/git/settingspage.cpp b/src/plugins/git/settingspage.cpp index 90f6371c0af59caaf708c7ea434e6bb82fc0418d..7b0c37284aa1793bd82b7ff74ca58c8715164e4f 100644 --- a/src/plugins/git/settingspage.cpp +++ b/src/plugins/git/settingspage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "settingspage.h" #include <coreplugin/icore.h> diff --git a/src/plugins/git/settingspage.h b/src/plugins/git/settingspage.h index de627bd9cea8e9d678d1745bcc00c73e45ead07a..95147cf6552e1a1ae50bf0e75218dd3bf678da51 100644 --- a/src/plugins/git/settingspage.h +++ b/src/plugins/git/settingspage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef SETTINGSPAGE_H #define SETTINGSPAGE_H @@ -76,7 +77,7 @@ private: int m_logCount; }; -} //namespace Internal -} //namespace Git +} // namespace Internal +} // namespace Git -#endif +#endif // SETTINGSPAGE_H diff --git a/src/plugins/helloworld/helloworldplugin.cpp b/src/plugins/helloworld/helloworldplugin.cpp index ad7bf48fee7819b2e9af5e5f3bb1c186d8d928b5..9b1c9ea2f3d325336e3c9ca8d8e977d824003afe 100644 --- a/src/plugins/helloworld/helloworldplugin.cpp +++ b/src/plugins/helloworld/helloworldplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #include "helloworldplugin.h" #include "helloworldwindow.h" diff --git a/src/plugins/helloworld/helloworldplugin.h b/src/plugins/helloworld/helloworldplugin.h index 3e73e6ae8fd6f587033f56fed143c6187d0df2a8..877087ec6091ac9eb4ed1c0b91097f661c73528d 100644 --- a/src/plugins/helloworld/helloworldplugin.h +++ b/src/plugins/helloworld/helloworldplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef HELLOWORLDPLUGIN_H #define HELLOWORLDPLUGIN_H @@ -62,4 +63,4 @@ private: } // namespace Internal } // namespace HelloWorld -#endif //HELLOWORLDPLUGIN_H +#endif // HELLOWORLDPLUGIN_H diff --git a/src/plugins/helloworld/helloworldwindow.cpp b/src/plugins/helloworld/helloworldwindow.cpp index 66a1b3d224c3431d1bf2dcb3bd62a43eebfbe7d3..03fb45c8bffb5b8b4f15e1d022fbf4d38de2dc2f 100644 --- a/src/plugins/helloworld/helloworldwindow.cpp +++ b/src/plugins/helloworld/helloworldwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,19 +26,20 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ -#include <QtGui/QTextEdit> -#include <QtGui/QVBoxLayout> #include "helloworldwindow.h" +#include <QtGui/QTextEdit> +#include <QtGui/QVBoxLayout> + using namespace HelloWorld::Internal; HelloWorldWindow::HelloWorldWindow(QWidget *parent) - :QWidget(parent) + : QWidget(parent) { QBoxLayout *layout = new QVBoxLayout(this); layout->addWidget(new QTextEdit("Focus me to activate my context!")); diff --git a/src/plugins/helloworld/helloworldwindow.h b/src/plugins/helloworld/helloworldwindow.h index 8d02923a2eb4b812020c6e7b00349e653a16d02e..9c38a5d0c353d2119de8f91078150104360c3498 100644 --- a/src/plugins/helloworld/helloworldwindow.h +++ b/src/plugins/helloworld/helloworldwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,10 +26,11 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef HELLOWORLDWINDOW_H #define HELLOWORLDWINDOW_H diff --git a/src/plugins/help/centralwidget.cpp b/src/plugins/help/centralwidget.cpp index 6c63c28b1ea3a0b39122bdb8fefc901a0af2c026..8e2102429991c0c0e0655fee88a402f83bf6377e 100644 --- a/src/plugins/help/centralwidget.cpp +++ b/src/plugins/help/centralwidget.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "centralwidget.h" @@ -296,7 +296,7 @@ void CentralWidget::print() initPrinter(); QPrintDialog *dlg = new QPrintDialog(printer, this); -#if !defined(USE_WEBKIT) +#if defined(QT_NO_WEBKIT) if (viewer->textCursor().hasSelection()) dlg->addEnabledOption(QAbstractPrintDialog::PrintSelection); #endif @@ -414,7 +414,7 @@ HelpViewer *CentralWidget::newEmptyTab() HelpViewer* viewer = new HelpViewer(helpEngine, this); viewer->installEventFilter(this); viewer->setFocus(Qt::OtherFocusReason); -#if !defined(USE_WEBKIT) +#if defined(QT_NO_WEBKIT) viewer->setDocumentTitle(tr("unknown")); #endif tabWidget->setCurrentIndex(tabWidget->addTab(viewer, tr("unknown"))); @@ -465,7 +465,7 @@ void CentralWidget::setTabTitle(const QUrl& url) int tab = lastTabPage; HelpViewer* viewer = currentHelpViewer(); -#if defined(USE_WEBKIT) +#if !defined(QT_NO_WEBKIT) if (!viewer || viewer->source() != url) { QTabBar *tabBar = qFindChild<QTabBar*>(tabWidget); for (tab = 0; tab < tabBar->count(); ++tab) { @@ -611,7 +611,7 @@ bool CentralWidget::find(const QString &txt, QTextDocument::FindFlags findFlags, { HelpViewer* viewer = currentHelpViewer(); -#if defined(USE_WEBKIT) +#if !defined(QT_NO_WEBKIT) Q_UNUSED(incremental); if (viewer) { QWebPage::FindFlags options = QWebPage::FindWrapsAroundDocument; diff --git a/src/plugins/help/centralwidget.h b/src/plugins/help/centralwidget.h index a75e999b07cd2e62aa4b9974242b7778bb3b8886..0ca15ce5c591dca2b683e8899d7e1f508ea73d7e 100644 --- a/src/plugins/help/centralwidget.h +++ b/src/plugins/help/centralwidget.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef CENTRALWIDGET_H @@ -59,11 +59,9 @@ QT_END_NAMESPACE namespace Help { namespace Internal { - class PrintHelper; - -} -} +} // namespace Internal +} // namespace Help QT_BEGIN_NAMESPACE diff --git a/src/plugins/help/contentstoolwindow.cpp b/src/plugins/help/contentstoolwindow.cpp index 1af3aff3b15f4a9a2e5979c1d61f0861cd78a32d..ccd540bfef76b4041a6fa18ac4927ca70d6b51d5 100644 --- a/src/plugins/help/contentstoolwindow.cpp +++ b/src/plugins/help/contentstoolwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,18 +26,19 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + +#include "contentstoolwindow.h" +#include "helpengine.h" + #include <QtCore/QDebug> #include <QtCore/QStack> #include <QtGui/QFocusEvent> #include <QtGui/QKeyEvent> -#include "contentstoolwindow.h" -#include "helpengine.h" - using namespace Help::Internal; ContentsToolWidget::ContentsToolWidget() diff --git a/src/plugins/help/contentstoolwindow.h b/src/plugins/help/contentstoolwindow.h index 51163c1ea1e2124b84c1733f89ecb3a72d245b5e..4c13827523ff990616e8aaf74e92f6a548567733 100644 --- a/src/plugins/help/contentstoolwindow.h +++ b/src/plugins/help/contentstoolwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,17 +26,18 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ + #ifndef CONTENTSTOOLWINDOW_H #define CONTENTSTOOLWINDOW_H -#include <QtGui/QTreeWidget> - #include <coreplugin/iview.h> +#include <QtGui/QTreeWidget> + namespace Help { namespace Internal { @@ -96,7 +97,7 @@ private: ContentsToolWidget *m_widget; }; -} //namespace Internal -} //namespace Help +} // namespace Internal +} // namespace Help -#endif +#endif // CONTENTSTOOLWINDOW_H diff --git a/src/plugins/help/docsettingspage.cpp b/src/plugins/help/docsettingspage.cpp index 763d134c236984f2d87bc0dc0869028ab03a8cbf..52d423014ecc5e3f7df061f1ef3d8427b5426422 100644 --- a/src/plugins/help/docsettingspage.cpp +++ b/src/plugins/help/docsettingspage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "docsettingspage.h" diff --git a/src/plugins/help/docsettingspage.h b/src/plugins/help/docsettingspage.h index efafb940348c89c7ede8f6e3eb2de90b147318f3..85e331691b14581b502a0196a357efcb506d7c0d 100644 --- a/src/plugins/help/docsettingspage.h +++ b/src/plugins/help/docsettingspage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef DOCSETTINGSPAGE_H diff --git a/src/plugins/help/filtersettingspage.cpp b/src/plugins/help/filtersettingspage.cpp index 6087a94084efdbdf7365daa033d5bb890521c947..0325cb0a2046241fed8655603abd5c0bfb71a413 100644 --- a/src/plugins/help/filtersettingspage.cpp +++ b/src/plugins/help/filtersettingspage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "filtersettingspage.h" diff --git a/src/plugins/help/filtersettingspage.h b/src/plugins/help/filtersettingspage.h index 5cf83619a212453b95763fc31e17a8068974c4d6..6458fd65b171f40fbec82ee7dd414c4650ae2b9f 100644 --- a/src/plugins/help/filtersettingspage.h +++ b/src/plugins/help/filtersettingspage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef FILTERSETTINGSPAGE_H diff --git a/src/plugins/help/help.pro b/src/plugins/help/help.pro index a7de200f7430e80a9fa8070988ee69525af5253a..1148606cab73e847a7b8bb75ce359cae31a93c21 100644 --- a/src/plugins/help/help.pro +++ b/src/plugins/help/help.pro @@ -30,7 +30,7 @@ FORMS += docsettingspage.ui \ filtersettingspage.ui RESOURCES += help.qrc include(../../../shared/help/help.pri) -contains(QT_CONFIG, webkit) { - DEFINES += USE_WEBKIT + +contains(QT_CONFIG, webkit) { QT += webkit } diff --git a/src/plugins/help/help_global.h b/src/plugins/help/help_global.h index 104511ac8803e5111ca57db38bf8a37c837bd5a4..8f3e782e770344d2198e311c8dac835ddf354490 100644 --- a/src/plugins/help/help_global.h +++ b/src/plugins/help/help_global.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /**************************************************************************** ** diff --git a/src/plugins/help/helpengine.cpp b/src/plugins/help/helpengine.cpp index 790e4bf54ad250b195513b95ed92a284453f5ae9..49a48115a1b0abbc7f9eb2141bbbd15776ab54b5 100644 --- a/src/plugins/help/helpengine.cpp +++ b/src/plugins/help/helpengine.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtCore/QDebug> #include <QtCore/QDir> diff --git a/src/plugins/help/helpengine.h b/src/plugins/help/helpengine.h index 9aa79f4e528c8a52681d64a1e0e1c753a9b6c1c7..cbb9cc3f37bc3f1d1bcd7b01a6d120a2c820c8ad 100644 --- a/src/plugins/help/helpengine.h +++ b/src/plugins/help/helpengine.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef HELPENGINE_H #define HELPENGINE_H diff --git a/src/plugins/help/helpfindsupport.cpp b/src/plugins/help/helpfindsupport.cpp index 306a1d5f40b24ed8065f78e5183611213b87e613..56243c723cab9159034a1b34a2d40c78e60f8008 100644 --- a/src/plugins/help/helpfindsupport.cpp +++ b/src/plugins/help/helpfindsupport.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "helpfindsupport.h" #include "helpviewer.h" @@ -54,7 +54,7 @@ QString HelpFindSupport::currentFindString() const HelpViewer* viewer = m_centralWidget->currentHelpViewer(); if (!viewer) return QString(); -#if defined(USE_WEBKIT) +#if !defined(QT_NO_WEBKIT) return viewer->selectedText(); #else return viewer->textCursor().selectedText(); diff --git a/src/plugins/help/helpfindsupport.h b/src/plugins/help/helpfindsupport.h index 082e908c75debab84b77c0761b1569292f054d74..51eef1f2dc7c8ff490e406432dfb897a638e6bfd 100644 --- a/src/plugins/help/helpfindsupport.h +++ b/src/plugins/help/helpfindsupport.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef HELPFINDSUPPORT_H #define HELPFINDSUPPORT_H diff --git a/src/plugins/help/helpindexfilter.cpp b/src/plugins/help/helpindexfilter.cpp index b8aa2edfba5ae12b24040a50b9441c1d0dca3473..0fc113c9a0a7a8e85b7a172d05aff75cfe07588a 100644 --- a/src/plugins/help/helpindexfilter.cpp +++ b/src/plugins/help/helpindexfilter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "helpindexfilter.h" #include "helpplugin.h" diff --git a/src/plugins/help/helpindexfilter.h b/src/plugins/help/helpindexfilter.h index 0d62a9b5e13735a283db84c3255fc7bfe5502cfe..26f6b3856641b71e94d0179337e5a7f270b29ce8 100644 --- a/src/plugins/help/helpindexfilter.h +++ b/src/plugins/help/helpindexfilter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef HELPINDEXFILTER_H #define HELPINDEXFILTER_H diff --git a/src/plugins/help/helpmode.cpp b/src/plugins/help/helpmode.cpp index b57da2da22f6e47802a60817cc7827bd98cd3bff..49023da60b33968dab30c1111890deb2f71be747 100644 --- a/src/plugins/help/helpmode.cpp +++ b/src/plugins/help/helpmode.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "helpmode.h" #include "helpplugin.h" diff --git a/src/plugins/help/helpmode.h b/src/plugins/help/helpmode.h index 19b5c73a29e359307346623db1f1e46d4b4f87df..753c35d84a007df638e58052f87a40643f00a8a5 100644 --- a/src/plugins/help/helpmode.h +++ b/src/plugins/help/helpmode.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef HELPMODE_H #define HELPMODE_H diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp index 17712cd576a95aa9e08a1f7fa71f7188d8439c87..73dc3cae06698cc3cb0d3db716008d3eed9aec07 100644 --- a/src/plugins/help/helpplugin.cpp +++ b/src/plugins/help/helpplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "helpplugin.h" diff --git a/src/plugins/help/helpplugin.h b/src/plugins/help/helpplugin.h index 21dab96dc98f4a312ebbad051f5362830fd89317..95845fb5d1d0d19a80a67dff283660fb207a29ed 100644 --- a/src/plugins/help/helpplugin.h +++ b/src/plugins/help/helpplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef HELPPLUGIN_H diff --git a/src/plugins/help/indextoolwindow.cpp b/src/plugins/help/indextoolwindow.cpp index f80bd453cb7f48403c065173b7caf460a0ffe913..6a6f8c5348a87c2c3b019e663ef16700ec2a4c75 100644 --- a/src/plugins/help/indextoolwindow.cpp +++ b/src/plugins/help/indextoolwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtCore/QDebug> #include <QtGui/QKeyEvent> diff --git a/src/plugins/help/indextoolwindow.h b/src/plugins/help/indextoolwindow.h index 4d4eb8f6b25695bec1b8e16b0547970a91e4b82c..37c420184c62f321a7a321f6ea348897fdafec88 100644 --- a/src/plugins/help/indextoolwindow.h +++ b/src/plugins/help/indextoolwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef INDEXTOOLWINDOW_H #define INDEXTOOLWINDOW_H diff --git a/src/plugins/help/indexwindow.h b/src/plugins/help/indexwindow.h index a0e43a3f2ac2567949a81e22ae9eb43db68ee072..d93a62b258e607e439367e5994bc89a22e5f0436 100644 --- a/src/plugins/help/indexwindow.h +++ b/src/plugins/help/indexwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef INDEXWINDOW diff --git a/src/plugins/help/searchwidget.cpp b/src/plugins/help/searchwidget.cpp index 620ca7ef766333a8f41d49629b035e325b23fe7b..c40595e4ab490609cb402e70072f02ed1c3ac74b 100644 --- a/src/plugins/help/searchwidget.cpp +++ b/src/plugins/help/searchwidget.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "searchwidget.h" diff --git a/src/plugins/help/searchwidget.h b/src/plugins/help/searchwidget.h index 64143fafbfe2bdca2cdc4d0ce310c2a4d67602ba..6f6533f387e0de29ea8f6210f793c6e4e029a5b1 100644 --- a/src/plugins/help/searchwidget.h +++ b/src/plugins/help/searchwidget.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SEARCHWIDGET_H diff --git a/src/plugins/perforce/annotationhighlighter.cpp b/src/plugins/perforce/annotationhighlighter.cpp index ab4b855c4b1739b92e9df9abdbceeff747288be8..a23e7b27851c1e83da3e5a6ed0a067d9fc51df9b 100644 --- a/src/plugins/perforce/annotationhighlighter.cpp +++ b/src/plugins/perforce/annotationhighlighter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "annotationhighlighter.h" diff --git a/src/plugins/perforce/annotationhighlighter.h b/src/plugins/perforce/annotationhighlighter.h index e162753c4b35386c8c3e4dc4a4f6ba1e592c231a..d407a79750cd0e8281183ef1afd8ca361a9d11f4 100644 --- a/src/plugins/perforce/annotationhighlighter.h +++ b/src/plugins/perforce/annotationhighlighter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef ANNOTATIONHIGHLIGHTER_H #define ANNOTATIONHIGHLIGHTER_H diff --git a/src/plugins/perforce/changenumberdialog.cpp b/src/plugins/perforce/changenumberdialog.cpp index 8bf5827900df5bdf6f6347f09b164530e9954466..a51b4adbe83bf57f1aefadd8eb7a8bdddf8d6fb6 100644 --- a/src/plugins/perforce/changenumberdialog.cpp +++ b/src/plugins/perforce/changenumberdialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtGui/QIntValidator> diff --git a/src/plugins/perforce/changenumberdialog.h b/src/plugins/perforce/changenumberdialog.h index cc2429f297aa4f4f0ca1a093fdd69844cee29acf..8f5b5d0607c72b5f35b923a4b185bc84d10a389b 100644 --- a/src/plugins/perforce/changenumberdialog.h +++ b/src/plugins/perforce/changenumberdialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef CHANGENUMBERDIALOG_H #define CHANGENUMBERDIALOG_H diff --git a/src/plugins/perforce/p4.h b/src/plugins/perforce/p4.h index 70c18384910d1a723457e7db1965ce9fcf5ad8eb..4f96d340575f9460ad83e33b9bccb4714d811217 100644 --- a/src/plugins/perforce/p4.h +++ b/src/plugins/perforce/p4.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef P4_API_INCL #define P4_API_INCL diff --git a/src/plugins/perforce/pendingchangesdialog.cpp b/src/plugins/perforce/pendingchangesdialog.cpp index 971153ba978ab683131fbef7176031bf48a24de4..25aa1e907e615e23f7823b139bfa57a87be08b5a 100644 --- a/src/plugins/perforce/pendingchangesdialog.cpp +++ b/src/plugins/perforce/pendingchangesdialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtCore/QRegExp> diff --git a/src/plugins/perforce/pendingchangesdialog.h b/src/plugins/perforce/pendingchangesdialog.h index b31acf367a586474194b098a4a4176d416bfa6a5..b0b96cc799c33169024b727fd8cd4a62f45ce095 100644 --- a/src/plugins/perforce/pendingchangesdialog.h +++ b/src/plugins/perforce/pendingchangesdialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PENDINGCHANGESDIALOG_H #define PENDINGCHANGESDIALOG_H diff --git a/src/plugins/perforce/perforceconstants.h b/src/plugins/perforce/perforceconstants.h index 57cfb7ef3a3d210428b2faefe42f8ae6751bff29..eb6723d9dad6ac5a026fb35ffb6ee7143e9c510b 100644 --- a/src/plugins/perforce/perforceconstants.h +++ b/src/plugins/perforce/perforceconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PERFORCE_CONSTANTS_H #define PERFORCE_CONSTANTS_H diff --git a/src/plugins/perforce/perforceeditor.cpp b/src/plugins/perforce/perforceeditor.cpp index dd9da666f294ff198461213054ea4b278daafcbd..384afd28e52e9cbc6b10a1ddc7eb3fa72b520fb2 100644 --- a/src/plugins/perforce/perforceeditor.cpp +++ b/src/plugins/perforce/perforceeditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "perforceeditor.h" #include "annotationhighlighter.h" diff --git a/src/plugins/perforce/perforceeditor.h b/src/plugins/perforce/perforceeditor.h index 2ca9b0304ebccb0b1ec246040a64ae79d2f90085..4e845124ac6184ebab2ac7e6b8b850daf1ad2d65 100644 --- a/src/plugins/perforce/perforceeditor.h +++ b/src/plugins/perforce/perforceeditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PERFORCEEDITOR_H #define PERFORCEEDITOR_H diff --git a/src/plugins/perforce/perforceoutputwindow.cpp b/src/plugins/perforce/perforceoutputwindow.cpp index 4d37d6a9afbe625825a60d7cfac52fd5d59d3c92..f6daaa311dea660f5f5abf9027641fdae3133107 100644 --- a/src/plugins/perforce/perforceoutputwindow.cpp +++ b/src/plugins/perforce/perforceoutputwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtGui/QKeyEvent> #include <QtGui/QMouseEvent> diff --git a/src/plugins/perforce/perforceoutputwindow.h b/src/plugins/perforce/perforceoutputwindow.h index 7391ca667deb0643078ead8f9d0e930e48ac811c..7264edffb663c59ddbc28698ac647df45822c83d 100644 --- a/src/plugins/perforce/perforceoutputwindow.h +++ b/src/plugins/perforce/perforceoutputwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PERFORCEOUTPUTWINDOW_H #define PERFORCEOUTPUTWINDOW_H diff --git a/src/plugins/perforce/perforceplugin.cpp b/src/plugins/perforce/perforceplugin.cpp index b3d2f43a26eae85ea5650616d0e8b8767bf61a2e..b910b47e3284497e308d7af0d06860e256414fdc 100644 --- a/src/plugins/perforce/perforceplugin.cpp +++ b/src/plugins/perforce/perforceplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "p4.h" #include "perforceplugin.h" diff --git a/src/plugins/perforce/perforceplugin.h b/src/plugins/perforce/perforceplugin.h index d03d24515f989b32cfef2b06207c68ff382d4fcc..9d75bc7f88e2d034708c349de4d1093876e12b4b 100644 --- a/src/plugins/perforce/perforceplugin.h +++ b/src/plugins/perforce/perforceplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PERFORCEPLUGIN_H #define PERFORCEPLUGIN_H diff --git a/src/plugins/perforce/perforcesettings.cpp b/src/plugins/perforce/perforcesettings.cpp index d01df8a54572b87f933cf6dc8c1e76d8d7ef7669..78eafc7f7ed052d4c02d86d79758a8893f488b53 100644 --- a/src/plugins/perforce/perforcesettings.cpp +++ b/src/plugins/perforce/perforcesettings.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "perforcesettings.h" diff --git a/src/plugins/perforce/perforcesettings.h b/src/plugins/perforce/perforcesettings.h index aa2782e47bfaf87f788ae9ae4880ab890f53568c..f251c7aceff48ed5eba39888c2b1309076c3645d 100644 --- a/src/plugins/perforce/perforcesettings.h +++ b/src/plugins/perforce/perforcesettings.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PERFOCESETTINGS_H #define PERFOCESETTINGS_H diff --git a/src/plugins/perforce/perforcesubmiteditor.cpp b/src/plugins/perforce/perforcesubmiteditor.cpp index 3e5188e5d8d808795a34712b22000864bf1902de..8917a6028a926a5f2a37dcf996bbc7a7dc2c7dd3 100644 --- a/src/plugins/perforce/perforcesubmiteditor.cpp +++ b/src/plugins/perforce/perforcesubmiteditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "perforcesubmiteditor.h" #include "perforcesubmiteditorwidget.h" diff --git a/src/plugins/perforce/perforcesubmiteditor.h b/src/plugins/perforce/perforcesubmiteditor.h index af0d3d0e2c68a7c1313dcca550344f7f5718ea70..80027a8206a6ec1a8afc2c5f5b33285ed509370e 100644 --- a/src/plugins/perforce/perforcesubmiteditor.h +++ b/src/plugins/perforce/perforcesubmiteditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PERFORCESUBMITEDITOR_H #define PERFORCESUBMITEDITOR_H diff --git a/src/plugins/perforce/perforcesubmiteditorwidget.cpp b/src/plugins/perforce/perforcesubmiteditorwidget.cpp index 1a4c8251b1b8e1963ba12b67aeb3db2779d410ed..a218b4ff8d723d1f9d49c69a888ee949bb70469d 100644 --- a/src/plugins/perforce/perforcesubmiteditorwidget.cpp +++ b/src/plugins/perforce/perforcesubmiteditorwidget.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "perforcesubmiteditorwidget.h" diff --git a/src/plugins/perforce/perforcesubmiteditorwidget.h b/src/plugins/perforce/perforcesubmiteditorwidget.h index fe79f65da2a535aed45c1c047ee89b2d7aa6197e..bcaa2be0a700b4583601307b68543cf28b7ccaff 100644 --- a/src/plugins/perforce/perforcesubmiteditorwidget.h +++ b/src/plugins/perforce/perforcesubmiteditorwidget.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PERFORCESUBMITEDITORWIDGET_H #define PERFORCESUBMITEDITORWIDGET_H diff --git a/src/plugins/perforce/perforceversioncontrol.cpp b/src/plugins/perforce/perforceversioncontrol.cpp index 5cbc8e4880f2945bdb8cb70b70daadef7811ceb3..815a8ceed4a137ec9ad24a225c82498884c42fc7 100644 --- a/src/plugins/perforce/perforceversioncontrol.cpp +++ b/src/plugins/perforce/perforceversioncontrol.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "perforceversioncontrol.h" #include "perforceplugin.h" diff --git a/src/plugins/perforce/perforceversioncontrol.h b/src/plugins/perforce/perforceversioncontrol.h index 5f109357490524794b96da8a73689724d7ae279e..cd194967ef899ad3494f3dc101f9397190700a7d 100644 --- a/src/plugins/perforce/perforceversioncontrol.h +++ b/src/plugins/perforce/perforceversioncontrol.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PERFORCEVERSIONCONTROL_H #define PERFORCEVERSIONCONTROL_H diff --git a/src/plugins/perforce/settingspage.cpp b/src/plugins/perforce/settingspage.cpp index 7413e9526c87f79394f6cfc695fe8fc1a61d8799..25290fbc16673cf63bd8db9c45c90283f95e844e 100644 --- a/src/plugins/perforce/settingspage.cpp +++ b/src/plugins/perforce/settingspage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "settingspage.h" #include "perforcesettings.h" diff --git a/src/plugins/perforce/settingspage.h b/src/plugins/perforce/settingspage.h index bbbbce923c000e9e5148e976cbb0850f17c48c82..12d5e5f51aad2dae8692341c4cd8ac4aaf5fd370 100644 --- a/src/plugins/perforce/settingspage.h +++ b/src/plugins/perforce/settingspage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SETTINGSPAGE_H #define SETTINGSPAGE_H diff --git a/src/plugins/perforce/workbenchclientuser.cpp b/src/plugins/perforce/workbenchclientuser.cpp index 084a31e5a07124e28d1615684e128f9a8869a6a5..0ade14d3e83cfee7a5d5dbecf23854a20af24da7 100644 --- a/src/plugins/perforce/workbenchclientuser.cpp +++ b/src/plugins/perforce/workbenchclientuser.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "workbenchclientuser.h" #include "perforceoutputwindow.h" diff --git a/src/plugins/perforce/workbenchclientuser.h b/src/plugins/perforce/workbenchclientuser.h index 9ee25e185761999e435b9bb71d6d7c54ba5fde8d..244146b4ae6b01c466a84a17d5da8784977ab345 100644 --- a/src/plugins/perforce/workbenchclientuser.h +++ b/src/plugins/perforce/workbenchclientuser.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef WORKBENCHCLIENTUSER_H #define WORKBENCHCLIENTUSER_H diff --git a/src/plugins/projectexplorer/abstractprocess.h b/src/plugins/projectexplorer/abstractprocess.h index 10d0e984b72879ba10e4324639d10491a4714334..2ab448e43bc865f037081cec7aacb6df3d2f5695 100644 --- a/src/plugins/projectexplorer/abstractprocess.h +++ b/src/plugins/projectexplorer/abstractprocess.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef ABSTRACTPROCESS_H #define ABSTRACTPROCESS_H diff --git a/src/plugins/projectexplorer/abstractprocessstep.cpp b/src/plugins/projectexplorer/abstractprocessstep.cpp index 2c089b3e5b8ad0f6231d780c69e46b1f5cdfe392..4fb4da909d981ca860c24bda19509f5347d16073 100644 --- a/src/plugins/projectexplorer/abstractprocessstep.cpp +++ b/src/plugins/projectexplorer/abstractprocessstep.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "abstractprocessstep.h" #include "buildstep.h" diff --git a/src/plugins/projectexplorer/abstractprocessstep.h b/src/plugins/projectexplorer/abstractprocessstep.h index 33ddcbe6e5dfa7dc1ea2ce87e22b0fb5a88f9b5c..217daac1e5d06b3508394da1618b3ee17d1302e3 100644 --- a/src/plugins/projectexplorer/abstractprocessstep.h +++ b/src/plugins/projectexplorer/abstractprocessstep.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef ABSTRACTPROCESSSTEP_H #define ABSTRACTPROCESSSTEP_H diff --git a/src/plugins/projectexplorer/allprojectsfilter.cpp b/src/plugins/projectexplorer/allprojectsfilter.cpp index 7bed021323fa97e209106b27d22449b2a286cb31..008418b62012fb4f4296a461fbe8906d089f544d 100644 --- a/src/plugins/projectexplorer/allprojectsfilter.cpp +++ b/src/plugins/projectexplorer/allprojectsfilter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "allprojectsfilter.h" #include "projectexplorer.h" diff --git a/src/plugins/projectexplorer/allprojectsfilter.h b/src/plugins/projectexplorer/allprojectsfilter.h index 673c5da99ea3a9069a7fb5b48fcb23a6bbad95a8..99eeee4f85edddb037b975d6c2e202e666309676 100644 --- a/src/plugins/projectexplorer/allprojectsfilter.h +++ b/src/plugins/projectexplorer/allprojectsfilter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef ALLPROJECTSFILTER_H #define ALLPROJECTSFILTER_H diff --git a/src/plugins/projectexplorer/allprojectsfind.cpp b/src/plugins/projectexplorer/allprojectsfind.cpp index 2c9c3875f0fff4e7e71a247541a87c8878bf4cbd..0ff920053e7228a043b9c6c5cbafd878055accce 100644 --- a/src/plugins/projectexplorer/allprojectsfind.cpp +++ b/src/plugins/projectexplorer/allprojectsfind.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "allprojectsfind.h" #include "projectexplorer.h" diff --git a/src/plugins/projectexplorer/allprojectsfind.h b/src/plugins/projectexplorer/allprojectsfind.h index f5bba54a03423ba1327e1f61a0865a526ad1b3a6..7b0456ac6540753722f8c0fcde26d166700eb592 100644 --- a/src/plugins/projectexplorer/allprojectsfind.h +++ b/src/plugins/projectexplorer/allprojectsfind.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef ALLPROJECTSFIND_H #define ALLPROJECTSFIND_H diff --git a/src/plugins/projectexplorer/applicationlauncher.h b/src/plugins/projectexplorer/applicationlauncher.h index 6c4e6a2a86e0e9598b94009ca3adb4e2dd2f7776..53514bb83fd9113bc0c2651c66f79e1a90c84b04 100644 --- a/src/plugins/projectexplorer/applicationlauncher.h +++ b/src/plugins/projectexplorer/applicationlauncher.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef APPLICATIONLAUNCHER_H #define APPLICATIONLAUNCHER_H diff --git a/src/plugins/projectexplorer/applicationlauncher_win.cpp b/src/plugins/projectexplorer/applicationlauncher_win.cpp index b7cac9a74372adc2c46e767da4a80964f26742c5..d3f6fb1d1ec305e43bcae471c46e4d36e847566d 100644 --- a/src/plugins/projectexplorer/applicationlauncher_win.cpp +++ b/src/plugins/projectexplorer/applicationlauncher_win.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <projectexplorer/ProjectExplorerInterfaces> diff --git a/src/plugins/projectexplorer/applicationlauncher_x11.cpp b/src/plugins/projectexplorer/applicationlauncher_x11.cpp index 84054271d0a2bf160cd4f9cb1b51b18d496b417d..ea99ed942d757df2f76c4ce04ebac5ecc6b0e904 100644 --- a/src/plugins/projectexplorer/applicationlauncher_x11.cpp +++ b/src/plugins/projectexplorer/applicationlauncher_x11.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "applicationlauncher.h" #include "consoleprocess.h" diff --git a/src/plugins/projectexplorer/applicationrunconfiguration.cpp b/src/plugins/projectexplorer/applicationrunconfiguration.cpp index 9f4cca193be26f8fca29d257fcdfe1ce0666d9e4..697a4715d9fb0559a55ae741ff78f304a77a2088 100644 --- a/src/plugins/projectexplorer/applicationrunconfiguration.cpp +++ b/src/plugins/projectexplorer/applicationrunconfiguration.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "applicationrunconfiguration.h" #include "persistentsettings.h" diff --git a/src/plugins/projectexplorer/applicationrunconfiguration.h b/src/plugins/projectexplorer/applicationrunconfiguration.h index e8378691857749af7389e4e129ac4aa26dbbcc24..780722fad2f997e00e06e554ac07512483a53ac1 100644 --- a/src/plugins/projectexplorer/applicationrunconfiguration.h +++ b/src/plugins/projectexplorer/applicationrunconfiguration.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef APPLICATIONRUNCONFIGURATION_H #define APPLICATIONRUNCONFIGURATION_H diff --git a/src/plugins/projectexplorer/buildconfiguration.cpp b/src/plugins/projectexplorer/buildconfiguration.cpp index a886af046012355650f895c75ebd2418937a58ab..585708451377a09a886cb5e4b2f2594b9df50ed7 100644 --- a/src/plugins/projectexplorer/buildconfiguration.cpp +++ b/src/plugins/projectexplorer/buildconfiguration.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "buildconfiguration.h" diff --git a/src/plugins/projectexplorer/buildconfiguration.h b/src/plugins/projectexplorer/buildconfiguration.h index a9e41e039e0a25f9d0efab561a5ba9f71f7cedd5..f61b7a84f293ac2a96c352e9c0c671f5e8fa38f7 100644 --- a/src/plugins/projectexplorer/buildconfiguration.h +++ b/src/plugins/projectexplorer/buildconfiguration.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef BUILDCONFIGURATION_H #define BUILDCONFIGURATION_H diff --git a/src/plugins/projectexplorer/buildmanager.cpp b/src/plugins/projectexplorer/buildmanager.cpp index 87bc38aa86377cba552d4395f3e95e83e2e5379e..08c29f865d6e525cd2c14aefcd5f061653a52e88 100644 --- a/src/plugins/projectexplorer/buildmanager.cpp +++ b/src/plugins/projectexplorer/buildmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "buildmanager.h" #include "buildstep.h" diff --git a/src/plugins/projectexplorer/buildmanager.h b/src/plugins/projectexplorer/buildmanager.h index b3754358e09ecbc3ed72bfc63196a4c38b1e0529..407b26d1a9a3d64c01d40322a720f9c9dd92160b 100644 --- a/src/plugins/projectexplorer/buildmanager.h +++ b/src/plugins/projectexplorer/buildmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef BUILDMANAGER_H #define BUILDMANAGER_H diff --git a/src/plugins/projectexplorer/buildparserinterface.cpp b/src/plugins/projectexplorer/buildparserinterface.cpp index 5824fbbd608d88f03176aee8f1bc9c27f05ae2a2..9e9990c3b476ba2e39868aa738066533801bc745 100644 --- a/src/plugins/projectexplorer/buildparserinterface.cpp +++ b/src/plugins/projectexplorer/buildparserinterface.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "buildparserinterface.h" diff --git a/src/plugins/projectexplorer/buildparserinterface.h b/src/plugins/projectexplorer/buildparserinterface.h index e75ba2f2b43c594a1992e538267abd8658a428f4..969bbc1c9554c7c6154e3c06b44cd8d0d46636a3 100644 --- a/src/plugins/projectexplorer/buildparserinterface.h +++ b/src/plugins/projectexplorer/buildparserinterface.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef BUILDPARSERINTERFACE_H #define BUILDPARSERINTERFACE_H diff --git a/src/plugins/projectexplorer/buildprogress.cpp b/src/plugins/projectexplorer/buildprogress.cpp index d8222903c0c8156b9ef3fa2d9d988913127a8a1c..d12d92c141ea1e84cff0322d429cd592932bc14e 100644 --- a/src/plugins/projectexplorer/buildprogress.cpp +++ b/src/plugins/projectexplorer/buildprogress.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "buildprogress.h" diff --git a/src/plugins/projectexplorer/buildprogress.h b/src/plugins/projectexplorer/buildprogress.h index 1b93dd50fc7c37ad4bfb77e29149af26aa2ee36a..f51972b09b045adcacff72d412776aa8ab43a603 100644 --- a/src/plugins/projectexplorer/buildprogress.h +++ b/src/plugins/projectexplorer/buildprogress.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef BUILDPROGRESS_H #define BUILDPROGRESS_H diff --git a/src/plugins/projectexplorer/buildsettingspropertiespage.cpp b/src/plugins/projectexplorer/buildsettingspropertiespage.cpp index 335dc786261234a564834bdbbf189d2d48193159..ccb8be8e400ccf2154434b69e79fa08cf4481904 100644 --- a/src/plugins/projectexplorer/buildsettingspropertiespage.cpp +++ b/src/plugins/projectexplorer/buildsettingspropertiespage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "buildsettingspropertiespage.h" #include "buildstep.h" diff --git a/src/plugins/projectexplorer/buildsettingspropertiespage.h b/src/plugins/projectexplorer/buildsettingspropertiespage.h index 012ff67c212d32039ea490cff07f4100aab852f7..57a3a9733801279dda7be7e4b3ed232402bbd0aa 100644 --- a/src/plugins/projectexplorer/buildsettingspropertiespage.h +++ b/src/plugins/projectexplorer/buildsettingspropertiespage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef BUILDSETTINGSPROPERTIESPAGE_H #define BUILDSETTINGSPROPERTIESPAGE_H diff --git a/src/plugins/projectexplorer/buildstep.cpp b/src/plugins/projectexplorer/buildstep.cpp index 76ab3f65f497b4df7422b96741041ebefadbf2a7..0a96cb9e5987049aacced33a8bf9ebf8429484a9 100644 --- a/src/plugins/projectexplorer/buildstep.cpp +++ b/src/plugins/projectexplorer/buildstep.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "buildstep.h" #include "buildconfiguration.h" diff --git a/src/plugins/projectexplorer/buildstep.h b/src/plugins/projectexplorer/buildstep.h index 32f37fff8cf38742b1c867e1ba69860f95870b92..d531dc08fa1efddfcb0b33ab97373c0435728dc9 100644 --- a/src/plugins/projectexplorer/buildstep.h +++ b/src/plugins/projectexplorer/buildstep.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef BUILDSTEP_H #define BUILDSTEP_H diff --git a/src/plugins/projectexplorer/buildstepspage.cpp b/src/plugins/projectexplorer/buildstepspage.cpp index 3777281dcc77bc0138f69b792eb053b5cef2899c..2ac3709a7b4d6f2bd4f57f229396d499a4e4a2db 100644 --- a/src/plugins/projectexplorer/buildstepspage.cpp +++ b/src/plugins/projectexplorer/buildstepspage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "buildstepspage.h" #include "ui_buildstepspage.h" @@ -92,7 +92,7 @@ BuildStepsPage::~BuildStepsPage() delete m_ui; } -void BuildStepsPage::displayNameChanged(BuildStep *bs, const QString &displayName) +void BuildStepsPage::displayNameChanged(BuildStep *bs, const QString & /* displayName */) { int index = m_pro->buildSteps().indexOf(bs); m_ui->buildSettingsList->invisibleRootItem()->child(index)->setText(0, bs->displayName()); diff --git a/src/plugins/projectexplorer/buildstepspage.h b/src/plugins/projectexplorer/buildstepspage.h index 4af2fde6245f4bd39db1bf39b76bb06e45e21694..9404d300a4182b3e3290cd3ff5488a8096604927 100644 --- a/src/plugins/projectexplorer/buildstepspage.h +++ b/src/plugins/projectexplorer/buildstepspage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef BUILDSTEPSPAGE_H #define BUILDSTEPSPAGE_H diff --git a/src/plugins/projectexplorer/compileoutputwindow.cpp b/src/plugins/projectexplorer/compileoutputwindow.cpp index 2f138ad85747e27ebf43d50f9f09ef920d661beb..4b6929183be03b0d5bbe1410b05c80d216097f5e 100644 --- a/src/plugins/projectexplorer/compileoutputwindow.cpp +++ b/src/plugins/projectexplorer/compileoutputwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "compileoutputwindow.h" #include "buildmanager.h" diff --git a/src/plugins/projectexplorer/compileoutputwindow.h b/src/plugins/projectexplorer/compileoutputwindow.h index aaf90172b367bd3e8b3f55efff8d03981ad2899f..b5c4db1d1c7129f0dbf6ac95671b53ba14cc6c00 100644 --- a/src/plugins/projectexplorer/compileoutputwindow.h +++ b/src/plugins/projectexplorer/compileoutputwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef COMPILEOUTPUTWINDOW_H #define COMPILEOUTPUTWINDOW_H diff --git a/src/plugins/projectexplorer/consoleprocess.h b/src/plugins/projectexplorer/consoleprocess.h index 0969618b7e894bf07bfa88892d6fb4b99305734f..735d1084daef8b7f6b461fbff730b1564e8c5d27 100644 --- a/src/plugins/projectexplorer/consoleprocess.h +++ b/src/plugins/projectexplorer/consoleprocess.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef CONSOLEPROCESS_H #define CONSOLEPROCESS_H diff --git a/src/plugins/projectexplorer/consoleprocess_unix.cpp b/src/plugins/projectexplorer/consoleprocess_unix.cpp index 325df9133451d9609037a8a774767369c8e4bed7..e15f8bf1590ac30fc503abaf7ee705e1554795f1 100644 --- a/src/plugins/projectexplorer/consoleprocess_unix.cpp +++ b/src/plugins/projectexplorer/consoleprocess_unix.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "consoleprocess.h" diff --git a/src/plugins/projectexplorer/consoleprocess_win.cpp b/src/plugins/projectexplorer/consoleprocess_win.cpp index 4133e1548809104301488214c6705a533b3f8678..81ef72a1bf8c1d177d3bf67d73f92f0fe3e352cf 100644 --- a/src/plugins/projectexplorer/consoleprocess_win.cpp +++ b/src/plugins/projectexplorer/consoleprocess_win.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtCore/QDir> #include <QtCore/private/qwineventnotifier_p.h> diff --git a/src/plugins/projectexplorer/currentprojectfilter.cpp b/src/plugins/projectexplorer/currentprojectfilter.cpp index 1a029db7449396de203cb1b1d2794660364c60da..6a901f77d4a3b695f7de3c0ee2852da3de8ca646 100644 --- a/src/plugins/projectexplorer/currentprojectfilter.cpp +++ b/src/plugins/projectexplorer/currentprojectfilter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ diff --git a/src/plugins/projectexplorer/currentprojectfilter.h b/src/plugins/projectexplorer/currentprojectfilter.h index 77bbbd1f523c0dbf6b0ae33840bb53fbbb771aca..4ce2de318d9444a94319715c650824f1341d7a25 100644 --- a/src/plugins/projectexplorer/currentprojectfilter.h +++ b/src/plugins/projectexplorer/currentprojectfilter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef CURRENTPROJECTFILTER_H #define CURRENTPROJECTFILTER_H diff --git a/src/plugins/projectexplorer/currentprojectfind.cpp b/src/plugins/projectexplorer/currentprojectfind.cpp index da560894fb98f6be1998f2e79940752d0392bc0f..1f049c5864b5e929dd53a02b78219ecc33f8cbd6 100644 --- a/src/plugins/projectexplorer/currentprojectfind.cpp +++ b/src/plugins/projectexplorer/currentprojectfind.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "currentprojectfind.h" #include "projectexplorer.h" diff --git a/src/plugins/projectexplorer/currentprojectfind.h b/src/plugins/projectexplorer/currentprojectfind.h index a70567b7e4c5d96908c93928974ddd2afa3ee2a4..a5d22c7d6190a9ba15f7495acb6904f6bd4c0b40 100644 --- a/src/plugins/projectexplorer/currentprojectfind.h +++ b/src/plugins/projectexplorer/currentprojectfind.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef CURRENTPROJECTFIND_H #define CURRENTPROJECTFIND_H diff --git a/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp b/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp index 4f2b470aec16dc873f9a2eb78079f60e6a2b8165..44358053dd19967d535309ee8cef39c209bc293e 100644 --- a/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp +++ b/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "customexecutablerunconfiguration.h" #include "environment.h" diff --git a/src/plugins/projectexplorer/customexecutablerunconfiguration.h b/src/plugins/projectexplorer/customexecutablerunconfiguration.h index 8f53582bfc412e97bf32158678e216c35ac3353e..18b0368c7eff3664281fd666b3e43d08d0c3c970 100644 --- a/src/plugins/projectexplorer/customexecutablerunconfiguration.h +++ b/src/plugins/projectexplorer/customexecutablerunconfiguration.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef CUSTOMEXECUTABLERUNCONFIGURATION_H #define CUSTOMEXECUTABLERUNCONFIGURATION_H diff --git a/src/plugins/projectexplorer/dependenciesdialog.cpp b/src/plugins/projectexplorer/dependenciesdialog.cpp index 5314262f48e3a24cc3f456cf86c25e1d6a1fea0e..c1fd2106b60265ff7acb4b11ec9745f17947d5a9 100644 --- a/src/plugins/projectexplorer/dependenciesdialog.cpp +++ b/src/plugins/projectexplorer/dependenciesdialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "dependenciesdialog.h" #include "project.h" diff --git a/src/plugins/projectexplorer/dependenciesdialog.h b/src/plugins/projectexplorer/dependenciesdialog.h index 7292a3affabcf0e971573612b4b70420aeb0f47b..f77607e1faa6fc9bbc118e2c71f8e07e9d4f6325 100644 --- a/src/plugins/projectexplorer/dependenciesdialog.h +++ b/src/plugins/projectexplorer/dependenciesdialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef DEPENDENCIESDIALOG_H #define DEPENDENCIESDIALOG_H diff --git a/src/plugins/projectexplorer/directoryproject.cpp b/src/plugins/projectexplorer/directoryproject.cpp index 95674a5efd84ff89e8bb6da4b88ba7f858626f0a..56180729b9823ca573607a449d7515936ba202ed 100644 --- a/src/plugins/projectexplorer/directoryproject.cpp +++ b/src/plugins/projectexplorer/directoryproject.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "directoryproject.h" diff --git a/src/plugins/projectexplorer/editorconfiguration.cpp b/src/plugins/projectexplorer/editorconfiguration.cpp index 4b61b3ea83aad07e8a37c36220b940eab53b1c3c..947745dcdb01e188684d1a567e992d65ac835594 100644 --- a/src/plugins/projectexplorer/editorconfiguration.cpp +++ b/src/plugins/projectexplorer/editorconfiguration.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "editorconfiguration.h" diff --git a/src/plugins/projectexplorer/editorconfiguration.h b/src/plugins/projectexplorer/editorconfiguration.h index 830e514c911a167e7ff55fcc789f16bf8afc7d35..9a5d1331754c50923ab3069670cfd19f0f313653 100644 --- a/src/plugins/projectexplorer/editorconfiguration.h +++ b/src/plugins/projectexplorer/editorconfiguration.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef EDITORCONFIGURATION_H #define EDITORCONFIGURATION_H diff --git a/src/plugins/projectexplorer/editorsettingspropertiespage.cpp b/src/plugins/projectexplorer/editorsettingspropertiespage.cpp index 0c98878d37e1fd4431bbdaabada2ecad94971598..c8dd246f14a75dcfb4daa7ba5e72be50d2675987 100644 --- a/src/plugins/projectexplorer/editorsettingspropertiespage.cpp +++ b/src/plugins/projectexplorer/editorsettingspropertiespage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "editorsettingspropertiespage.h" #include "editorconfiguration.h" diff --git a/src/plugins/projectexplorer/editorsettingspropertiespage.h b/src/plugins/projectexplorer/editorsettingspropertiespage.h index 8d2e057ab252e28802ae28c1921dc609bd4a1952..9cb4a762a5eea1f6d797a19bf173d071cf81b28d 100644 --- a/src/plugins/projectexplorer/editorsettingspropertiespage.h +++ b/src/plugins/projectexplorer/editorsettingspropertiespage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef EDITORSETTINGSPROPERTIESPAGE_H #define EDITORSETTINGSPROPERTIESPAGE_H diff --git a/src/plugins/projectexplorer/environment.cpp b/src/plugins/projectexplorer/environment.cpp index 9233b2b9a1a650d80cbeceecbe3565052e800a6d..c2de8e6dfeba1dd0cc9ad4fc090bf36449bd3833 100644 --- a/src/plugins/projectexplorer/environment.cpp +++ b/src/plugins/projectexplorer/environment.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "environment.h" diff --git a/src/plugins/projectexplorer/environment.h b/src/plugins/projectexplorer/environment.h index 0d8c8d4379ced2dcf1ed112372b4a051519c22a8..e0de71b031817ee963eca9d98b073191810bd22e 100644 --- a/src/plugins/projectexplorer/environment.h +++ b/src/plugins/projectexplorer/environment.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef ENVIRONMENT #define ENVIRONMENT diff --git a/src/plugins/projectexplorer/environmenteditmodel.cpp b/src/plugins/projectexplorer/environmenteditmodel.cpp index eb7f42ebb7f9b87cfec8ffbef9bfe070f97e3215..2c123056a33f9efc7ab52232a6a4ad39bbdc8db9 100644 --- a/src/plugins/projectexplorer/environmenteditmodel.cpp +++ b/src/plugins/projectexplorer/environmenteditmodel.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "environmenteditmodel.h" diff --git a/src/plugins/projectexplorer/environmenteditmodel.h b/src/plugins/projectexplorer/environmenteditmodel.h index 35762dd0d2a277eaba5f44a4fdf8a57be69382f8..5dd158b25d487837ff510b62598fc40ef83b216f 100644 --- a/src/plugins/projectexplorer/environmenteditmodel.h +++ b/src/plugins/projectexplorer/environmenteditmodel.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef ENVIRONMENTEDITMODEL_H #define ENVIRONMENTEDITMODEL_H diff --git a/src/plugins/projectexplorer/foldernavigationwidget.cpp b/src/plugins/projectexplorer/foldernavigationwidget.cpp index 8066c5899d01f7991839488c6df6122a7deb1a59..7bd31a2157e8d78754c7fc5188d8a4a6e84548f3 100644 --- a/src/plugins/projectexplorer/foldernavigationwidget.cpp +++ b/src/plugins/projectexplorer/foldernavigationwidget.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "foldernavigationwidget.h" #include "projectexplorer.h" diff --git a/src/plugins/projectexplorer/foldernavigationwidget.h b/src/plugins/projectexplorer/foldernavigationwidget.h index 84909776e286c9e1fe7a563e4f44b86893c3bce5..37ba42fe3af04ee6f144f3a3285566e42b44d3d6 100644 --- a/src/plugins/projectexplorer/foldernavigationwidget.h +++ b/src/plugins/projectexplorer/foldernavigationwidget.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef FOLDERNAVIGATIONWIDGET_H #define FOLDERNAVIGATIONWIDGET_H diff --git a/src/plugins/projectexplorer/iprojectmanager.h b/src/plugins/projectexplorer/iprojectmanager.h index 869e5d2b8f447dda69cb9f32aa9909909a745037..7238a5668fe278af0f7ee16fa09dcdce02d75d02 100644 --- a/src/plugins/projectexplorer/iprojectmanager.h +++ b/src/plugins/projectexplorer/iprojectmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROJECTMANAGERINTERFACE_H #define PROJECTMANAGERINTERFACE_H diff --git a/src/plugins/projectexplorer/iprojectproperties.h b/src/plugins/projectexplorer/iprojectproperties.h index 3a8d2e8609e087f83558a85fca9d6b3ca39fbcb4..dfcc5fe52e72049cf1b52ab5f90d914fa5f5d4bb 100644 --- a/src/plugins/projectexplorer/iprojectproperties.h +++ b/src/plugins/projectexplorer/iprojectproperties.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef IPROJECTPROPERTIES_H #define IPROJECTPROPERTIES_H diff --git a/src/plugins/projectexplorer/metatypedeclarations.h b/src/plugins/projectexplorer/metatypedeclarations.h index a53c4203afc5fc35260a1434a56e6130379207b9..3ab613361e010ae3dc414dbd36ff5d79dcff9305 100644 --- a/src/plugins/projectexplorer/metatypedeclarations.h +++ b/src/plugins/projectexplorer/metatypedeclarations.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROJECTEXPLORERMETATYPEDECLARATIONS_H #define PROJECTEXPLORERMETATYPEDECLARATIONS_H diff --git a/src/plugins/projectexplorer/nodesvisitor.cpp b/src/plugins/projectexplorer/nodesvisitor.cpp index 1997eda3095859e48ca7655106f6f62cff02882a..91f18cc8e93e01df69d93276d6c7a8a4e4f6c242 100644 --- a/src/plugins/projectexplorer/nodesvisitor.cpp +++ b/src/plugins/projectexplorer/nodesvisitor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "nodesvisitor.h" #include "projectnodes.h" diff --git a/src/plugins/projectexplorer/nodesvisitor.h b/src/plugins/projectexplorer/nodesvisitor.h index 814ed42d9b66973b86b01c8036175556b282e709..896d0d527becd484966a839aa16c06fc1a2d84cb 100644 --- a/src/plugins/projectexplorer/nodesvisitor.h +++ b/src/plugins/projectexplorer/nodesvisitor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef NODESVISITOR_H #define NODESVISITOR_H diff --git a/src/plugins/projectexplorer/outputwindow.cpp b/src/plugins/projectexplorer/outputwindow.cpp index 891b882277fe9218cfbe7d991931aeb232fec03f..b92ae960e499c8e2bf2b9f96727eb99892ee4650 100644 --- a/src/plugins/projectexplorer/outputwindow.cpp +++ b/src/plugins/projectexplorer/outputwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "outputwindow.h" #include "projectexplorerconstants.h" diff --git a/src/plugins/projectexplorer/outputwindow.h b/src/plugins/projectexplorer/outputwindow.h index 5a25ea40a8700a2ca0736518a34a9a74095a7579..c679a454b1ab2265757f5f3058c76b38c2daf7db 100644 --- a/src/plugins/projectexplorer/outputwindow.h +++ b/src/plugins/projectexplorer/outputwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef OUTPUTWINDOW_H #define OUTPUTWINDOW_H diff --git a/src/plugins/projectexplorer/persistentsettings.cpp b/src/plugins/projectexplorer/persistentsettings.cpp index 2ce7ed8cfe57a9bc8c9a971ac8bce657de5bddeb..19e6ad13ac5fa5e19bf548df48d4705ae87c0715 100644 --- a/src/plugins/projectexplorer/persistentsettings.cpp +++ b/src/plugins/projectexplorer/persistentsettings.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "persistentsettings.h" diff --git a/src/plugins/projectexplorer/persistentsettings.h b/src/plugins/projectexplorer/persistentsettings.h index 179fc1f3abe6b9acff717dc1826882cc7235918b..ae0fea0c61532d25298a1707331968f0415101fd 100644 --- a/src/plugins/projectexplorer/persistentsettings.h +++ b/src/plugins/projectexplorer/persistentsettings.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PERSISTENTSETTINGS_H #define PERSISTENTSETTINGS_H diff --git a/src/plugins/projectexplorer/pluginfilefactory.cpp b/src/plugins/projectexplorer/pluginfilefactory.cpp index 9a56363ac85009743599219cf069efdc7c4d08dc..f66133bbaf723a700eb2396d004602ecc65a490b 100644 --- a/src/plugins/projectexplorer/pluginfilefactory.cpp +++ b/src/plugins/projectexplorer/pluginfilefactory.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "pluginfilefactory.h" #include "projectexplorer.h" diff --git a/src/plugins/projectexplorer/pluginfilefactory.h b/src/plugins/projectexplorer/pluginfilefactory.h index 11cc60845bd73a3dc4a98b8e39224d933bab4c80..294f012100664ab64ea59eb80c4f7d65226749ac 100644 --- a/src/plugins/projectexplorer/pluginfilefactory.h +++ b/src/plugins/projectexplorer/pluginfilefactory.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PLUGINFILEFACTORY_H #define PLUGINFILEFACTORY_H diff --git a/src/plugins/projectexplorer/processstep.cpp b/src/plugins/projectexplorer/processstep.cpp index 2ab5d77a717f6f5ffdd9972fe3bcfc904a5ede9e..6f3c34c9397fadfcaacb5483c25b9914d7485ba9 100644 --- a/src/plugins/projectexplorer/processstep.cpp +++ b/src/plugins/projectexplorer/processstep.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "processstep.h" #include "buildstep.h" diff --git a/src/plugins/projectexplorer/processstep.h b/src/plugins/projectexplorer/processstep.h index 8667cd42b5561ef68ee94269cb39efc80f95686f..64772d3ed53e91e47a06c4c9cf0996ad1f41c94a 100644 --- a/src/plugins/projectexplorer/processstep.h +++ b/src/plugins/projectexplorer/processstep.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROCESSSTEP_H #define PROCESSSTEP_H diff --git a/src/plugins/projectexplorer/project.cpp b/src/plugins/projectexplorer/project.cpp index 88cdc530496196e76ab502cacd55ec733bfe6ba9..44a6d9435ff7d2cca99a59fcf5749995f62b8ef7 100644 --- a/src/plugins/projectexplorer/project.cpp +++ b/src/plugins/projectexplorer/project.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "buildstep.h" #include "project.h" diff --git a/src/plugins/projectexplorer/project.h b/src/plugins/projectexplorer/project.h index e6d43fcc3741399f08c3381902d951e2565e436d..f43be29457c14487d6a576699ad241487633a0f3 100644 --- a/src/plugins/projectexplorer/project.h +++ b/src/plugins/projectexplorer/project.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROJECT_H #define PROJECT_H diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index 5df721a9f9553e28c9a7f7d6ca604d8ed9bed69e..384e4392e31cbd97ac69a7bef7b0f74e2f9d00a9 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "applicationrunconfiguration.h" #include "allprojectsfilter.h" diff --git a/src/plugins/projectexplorer/projectexplorer.h b/src/plugins/projectexplorer/projectexplorer.h index 4f956fc8f4264bd53104f8bb9c324929220d9c5a..f00260096d3077036c85c7a4f45b6598b45ba132 100644 --- a/src/plugins/projectexplorer/projectexplorer.h +++ b/src/plugins/projectexplorer/projectexplorer.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROJECTEXPLORER_H #define PROJECTEXPLORER_H diff --git a/src/plugins/projectexplorer/projectexplorer_export.h b/src/plugins/projectexplorer/projectexplorer_export.h index e554e40ab07f89b68eb3eac32f586d693fa25a3e..b7c6dbb186db072454e981d17d5ff0c03d02cec1 100644 --- a/src/plugins/projectexplorer/projectexplorer_export.h +++ b/src/plugins/projectexplorer/projectexplorer_export.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /**************************************************************************** ** diff --git a/src/plugins/projectexplorer/projectexplorerconstants.h b/src/plugins/projectexplorer/projectexplorerconstants.h index 04fc727b3f59fa7be9437806a212535a82ff55e8..e778efd6829b48390e6deb73a91ceb66c7803189 100644 --- a/src/plugins/projectexplorer/projectexplorerconstants.h +++ b/src/plugins/projectexplorer/projectexplorerconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROJECTEXPLORERCONSTANTS_H #define PROJECTEXPLORERCONSTANTS_H diff --git a/src/plugins/projectexplorer/projectfilewizardextension.cpp b/src/plugins/projectexplorer/projectfilewizardextension.cpp index c00a969e7e1794c13081785d29aca5a530ac9bfc..d28aff1d635c859af419b7a14a2c238b306285cb 100644 --- a/src/plugins/projectexplorer/projectfilewizardextension.cpp +++ b/src/plugins/projectexplorer/projectfilewizardextension.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "projectfilewizardextension.h" #include "projectexplorer.h" diff --git a/src/plugins/projectexplorer/projectfilewizardextension.h b/src/plugins/projectexplorer/projectfilewizardextension.h index aa58d5a232bdcdedf7b1c4f33d320617ce421e54..eb5051a9b7fc6b198e7c4de292a62d753caa9a49 100644 --- a/src/plugins/projectexplorer/projectfilewizardextension.h +++ b/src/plugins/projectexplorer/projectfilewizardextension.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROJECTFILEWIZARDEXTENSION2_H #define PROJECTFILEWIZARDEXTENSION2_H diff --git a/src/plugins/projectexplorer/projectmodels.cpp b/src/plugins/projectexplorer/projectmodels.cpp index f15ad46642389d808e3821aa23bd06ebaf25e95b..f3b078c94bd3d63a8b8db2a24450cf021bad06cf 100644 --- a/src/plugins/projectexplorer/projectmodels.cpp +++ b/src/plugins/projectexplorer/projectmodels.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "project.h" #include "projectmodels.h" diff --git a/src/plugins/projectexplorer/projectmodels.h b/src/plugins/projectexplorer/projectmodels.h index ecccefe188bd8e9e06ee19fb2338f7d091a7887f..2c9fc5f54d3a9907fac88d7d9a11edf4974e0166 100644 --- a/src/plugins/projectexplorer/projectmodels.h +++ b/src/plugins/projectexplorer/projectmodels.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROJECTMODELS_H #define PROJECTMODELS_H diff --git a/src/plugins/projectexplorer/projectnodes.cpp b/src/plugins/projectexplorer/projectnodes.cpp index 39ccf9e7109630eec3712890d246e3c1a2507170..5a51bf6a1f89557485ec189e2613fa6fc9ab8b23 100644 --- a/src/plugins/projectexplorer/projectnodes.cpp +++ b/src/plugins/projectexplorer/projectnodes.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "nodesvisitor.h" #include "projectnodes.h" diff --git a/src/plugins/projectexplorer/projectnodes.h b/src/plugins/projectexplorer/projectnodes.h index 9eca475c09d302adcba01ddc4bfa58b9d1c538ed..1147012177803fe66b16214381bbad1033584f2c 100644 --- a/src/plugins/projectexplorer/projectnodes.h +++ b/src/plugins/projectexplorer/projectnodes.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROJECTNODES_H #define PROJECTNODES_H diff --git a/src/plugins/projectexplorer/projecttreewidget.cpp b/src/plugins/projectexplorer/projecttreewidget.cpp index 108c8fd1aa0bcfe2da7bf8f4f0d6b3b2f931c551..cb960956ed4e668dc58f228e2546306e35a6de4d 100644 --- a/src/plugins/projectexplorer/projecttreewidget.cpp +++ b/src/plugins/projectexplorer/projecttreewidget.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "projecttreewidget.h" #include "projectexplorer.h" diff --git a/src/plugins/projectexplorer/projecttreewidget.h b/src/plugins/projectexplorer/projecttreewidget.h index a1ede3b8ab365df29c69798ace72f42747d88f43..51847ce09af284036eb4d06eb8e5b7551d3e3ff0 100644 --- a/src/plugins/projectexplorer/projecttreewidget.h +++ b/src/plugins/projectexplorer/projecttreewidget.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROJECTTREEWIDGET_H #define PROJECTTREEWIDGET_H diff --git a/src/plugins/projectexplorer/projectwindow.cpp b/src/plugins/projectexplorer/projectwindow.cpp index 94532c413192df1dba900a130db4d30b69f28170..e910e888394c2c5758b40bb5bb21fe8ee72729f3 100644 --- a/src/plugins/projectexplorer/projectwindow.cpp +++ b/src/plugins/projectexplorer/projectwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "project.h" #include "projectwindow.h" diff --git a/src/plugins/projectexplorer/projectwindow.h b/src/plugins/projectexplorer/projectwindow.h index 6f402008fba366aa93e04e3b4c775b09f1f89c10..498ca4f03f5b8defaeec161a1359cdcc2b6a1e74 100644 --- a/src/plugins/projectexplorer/projectwindow.h +++ b/src/plugins/projectexplorer/projectwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROJECTWINDOW_H #define PROJECTWINDOW_H diff --git a/src/plugins/projectexplorer/projectwizardpage.cpp b/src/plugins/projectexplorer/projectwizardpage.cpp index 91cb17690d6a785491ab4da3cb165677eeb8878c..704abcfe33cb5298e371e7a987ac340624417b92 100644 --- a/src/plugins/projectexplorer/projectwizardpage.cpp +++ b/src/plugins/projectexplorer/projectwizardpage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "projectwizardpage.h" #include "ui_projectwizardpage.h" diff --git a/src/plugins/projectexplorer/projectwizardpage.h b/src/plugins/projectexplorer/projectwizardpage.h index 88e2d43d86e730b3c7ed7984b5b9dded0342510b..7232e45976955b2ec57040b30db2c19a46bbc503 100644 --- a/src/plugins/projectexplorer/projectwizardpage.h +++ b/src/plugins/projectexplorer/projectwizardpage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROJECTWIZARDPAGE_H #define PROJECTWIZARDPAGE_H diff --git a/src/plugins/projectexplorer/removefiledialog.cpp b/src/plugins/projectexplorer/removefiledialog.cpp index b96a51190a16ece4ec216ccffff133aa9371ff96..7230c096e6d9f03d24c46727bbfc2a883c88d3e5 100644 --- a/src/plugins/projectexplorer/removefiledialog.cpp +++ b/src/plugins/projectexplorer/removefiledialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "removefiledialog.h" #include "ui_removefiledialog.h" diff --git a/src/plugins/projectexplorer/removefiledialog.h b/src/plugins/projectexplorer/removefiledialog.h index a3b608f428f63673748b55f5c5d1a4f4f84f8b45..2a9ec5fe8b5dc4174215035eeade9cc18d8ed0e8 100644 --- a/src/plugins/projectexplorer/removefiledialog.h +++ b/src/plugins/projectexplorer/removefiledialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef REMOVEFILEDIALOG_H #define REMOVEFILEDIALOG_H diff --git a/src/plugins/projectexplorer/runconfiguration.cpp b/src/plugins/projectexplorer/runconfiguration.cpp index 612fc64bc386caed03dd04995d007b88956a8ecf..f7fcfb2912e81457e61143c2d4ee9ab700af6282 100644 --- a/src/plugins/projectexplorer/runconfiguration.cpp +++ b/src/plugins/projectexplorer/runconfiguration.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "runconfiguration.h" #include "project.h" @@ -118,6 +118,8 @@ void RunControl::bringApplicationToForeground(qint64 pid) m_internalPid = pid; m_foregroundCount = 0; bringApplicationToForegroundInternal(); +#else + Q_UNUSED(pid) #endif } diff --git a/src/plugins/projectexplorer/runconfiguration.h b/src/plugins/projectexplorer/runconfiguration.h index 67b9299ff051b72d2a73876f7e8afc3d323cb2d5..e7e3d3c20fe8b461e6b17cb5686fe9ea9c1b7765 100644 --- a/src/plugins/projectexplorer/runconfiguration.h +++ b/src/plugins/projectexplorer/runconfiguration.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef RUNCONFIGURATION_H #define RUNCONFIGURATION_H diff --git a/src/plugins/projectexplorer/runsettingspropertiespage.cpp b/src/plugins/projectexplorer/runsettingspropertiespage.cpp index 607e8b8cb901afc56af962729e8d246a266b7210..cf7e86efdafa00bd7e52c79e6a3c8b6234d5baf7 100644 --- a/src/plugins/projectexplorer/runsettingspropertiespage.cpp +++ b/src/plugins/projectexplorer/runsettingspropertiespage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "runsettingspropertiespage.h" #include "runconfiguration.h" diff --git a/src/plugins/projectexplorer/runsettingspropertiespage.h b/src/plugins/projectexplorer/runsettingspropertiespage.h index 50ed3f4978863b63a9b5f20da7b45af97f90e7ed..1cb57fb01a2a587e37fd7a0bbbdfdb02e345504e 100644 --- a/src/plugins/projectexplorer/runsettingspropertiespage.h +++ b/src/plugins/projectexplorer/runsettingspropertiespage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef RUNSETTINGSPROPERTIESPAGE_H #define RUNSETTINGSPROPERTIESPAGE_H diff --git a/src/plugins/projectexplorer/scriptwrappers.cpp b/src/plugins/projectexplorer/scriptwrappers.cpp index 307fb6e650a610ec024be52c0a4e9a56f8512668..4939bd66d3b93020afd5a16e44d2cb1d4b1439ac 100644 --- a/src/plugins/projectexplorer/scriptwrappers.cpp +++ b/src/plugins/projectexplorer/scriptwrappers.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "scriptwrappers.h" diff --git a/src/plugins/projectexplorer/scriptwrappers.h b/src/plugins/projectexplorer/scriptwrappers.h index 4eb59f6ec561afb2302b47883ee2f0ef9398bd67..71747269dafe793558da5d2345794a86a8177eab 100644 --- a/src/plugins/projectexplorer/scriptwrappers.h +++ b/src/plugins/projectexplorer/scriptwrappers.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROJECTEXPLORER_SCRIPT_WRAPPER_H #define PROJECTEXPLORER_SCRIPT_WRAPPER_H diff --git a/src/plugins/projectexplorer/session.cpp b/src/plugins/projectexplorer/session.cpp index d0e27317e3a6f8d9a1506405837e9ea1dee6fdaf..eaf52f44b154acd4fb2434adae00f274086ac3dc 100644 --- a/src/plugins/projectexplorer/session.cpp +++ b/src/plugins/projectexplorer/session.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "dependenciesdialog.h" #include "project.h" diff --git a/src/plugins/projectexplorer/session.h b/src/plugins/projectexplorer/session.h index 95cd21c937d2034b61b913c8b1929740c90366c8..4f3d48c66326991d3a23ee259ae90fc5191c1cd5 100644 --- a/src/plugins/projectexplorer/session.h +++ b/src/plugins/projectexplorer/session.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SESSION_H #define SESSION_H diff --git a/src/plugins/projectexplorer/sessiondialog.cpp b/src/plugins/projectexplorer/sessiondialog.cpp index d674c047d7db79c87d94e9edd5d90dc5ae2f2f44..edea072720a07171039022ab7e6f2398fd5ab298 100644 --- a/src/plugins/projectexplorer/sessiondialog.cpp +++ b/src/plugins/projectexplorer/sessiondialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "sessiondialog.h" #include "session.h" diff --git a/src/plugins/projectexplorer/sessiondialog.h b/src/plugins/projectexplorer/sessiondialog.h index cae3e22028e5c0dcf60baae3bb22912ca29ae9e5..963b15171b79e93f71d29967e851377da3679509 100644 --- a/src/plugins/projectexplorer/sessiondialog.h +++ b/src/plugins/projectexplorer/sessiondialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SESSIONDIALOG_H #define SESSIONDIALOG_H diff --git a/src/plugins/projectexplorer/taskwindow.cpp b/src/plugins/projectexplorer/taskwindow.cpp index ae3f42a7da196bd6f2286a46fe9065aa985e62b5..2650df89d33efbd293f291e530b266c5c9595cd6 100644 --- a/src/plugins/projectexplorer/taskwindow.cpp +++ b/src/plugins/projectexplorer/taskwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "taskwindow.h" diff --git a/src/plugins/projectexplorer/taskwindow.h b/src/plugins/projectexplorer/taskwindow.h index 68ae3481a1b44c8e32966251608c8a4f8fcef973..6b9837d64a5d42a826e2b8518e441e497f91b943 100644 --- a/src/plugins/projectexplorer/taskwindow.h +++ b/src/plugins/projectexplorer/taskwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef TASKWINDOW_H #define TASKWINDOW_H diff --git a/src/plugins/projectexplorer/winguiprocess.cpp b/src/plugins/projectexplorer/winguiprocess.cpp index 5179ea01cff1e5cb65dead0bee542490597ceacb..0845c9d7cacf22cc7d9751f66d4d232d55727648 100644 --- a/src/plugins/projectexplorer/winguiprocess.cpp +++ b/src/plugins/projectexplorer/winguiprocess.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtCore/QDir> diff --git a/src/plugins/projectexplorer/winguiprocess.h b/src/plugins/projectexplorer/winguiprocess.h index b6e9b488ea43428493c684c11d5f128d470ad6bd..265e6bcc77ab7a0fa304b74b6f8d2f8f0f40b16c 100644 --- a/src/plugins/projectexplorer/winguiprocess.h +++ b/src/plugins/projectexplorer/winguiprocess.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef WINGUIPROCESS_H #define WINGUIPROCESS_H diff --git a/src/plugins/qhelpproject/qhelpproject.cpp b/src/plugins/qhelpproject/qhelpproject.cpp index ddd2fa8f35fb16eb48c20ebcffde94b2090d5600..065ddfd982b7482817d6f14cf1e617c45f1cce74 100644 --- a/src/plugins/qhelpproject/qhelpproject.cpp +++ b/src/plugins/qhelpproject/qhelpproject.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtCore/QFileInfo> #include <QtCore/QDir> diff --git a/src/plugins/qhelpproject/qhelpproject.h b/src/plugins/qhelpproject/qhelpproject.h index fb89568256124e6c34ba698c429fa9d3c22cfb28..4ef76a5fc2ba2e4874375e8f16ffe8970afa824b 100644 --- a/src/plugins/qhelpproject/qhelpproject.h +++ b/src/plugins/qhelpproject/qhelpproject.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QHELPPROJECT_H #define QHELPPROJECT_H diff --git a/src/plugins/qhelpproject/qhelpprojectitems.cpp b/src/plugins/qhelpproject/qhelpprojectitems.cpp index 9c0d98c2efd6ceb6217ea9577d27f583f4dccd19..0ddd05ac642630ddc57cf58657f14c306b0fe3cc 100644 --- a/src/plugins/qhelpproject/qhelpprojectitems.cpp +++ b/src/plugins/qhelpproject/qhelpprojectitems.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtGui/QFileIconProvider> diff --git a/src/plugins/qhelpproject/qhelpprojectitems.h b/src/plugins/qhelpproject/qhelpprojectitems.h index dc32c990ae633ca64e0389a0830cfeb29235322f..730bd98ee4473dbb5870330dad28f40a59cc0842 100644 --- a/src/plugins/qhelpproject/qhelpprojectitems.h +++ b/src/plugins/qhelpproject/qhelpprojectitems.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QHELPPROJECTITEMS_H #define QHELPPROJECTITEMS_H diff --git a/src/plugins/qhelpproject/qhelpprojectmanager.cpp b/src/plugins/qhelpproject/qhelpprojectmanager.cpp index 4878c7cdda6cf687b7bccf83b05b1a6d9a75ffde..73822c78943cdd8bdcf8f17e8bd688407d4c0672 100644 --- a/src/plugins/qhelpproject/qhelpprojectmanager.cpp +++ b/src/plugins/qhelpproject/qhelpprojectmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qhelpprojectmanager.h" #include "qhelpproject.h" diff --git a/src/plugins/qhelpproject/qhelpprojectmanager.h b/src/plugins/qhelpproject/qhelpprojectmanager.h index b3eed263dc15e9c11ace5c367ce2bba4c9deaa53..5b153fbad3489ae5bf188db53299d3ed21b42909 100644 --- a/src/plugins/qhelpproject/qhelpprojectmanager.h +++ b/src/plugins/qhelpproject/qhelpprojectmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QHELPPROJECTMANAGER_H #define QHELPPROJECTMANAGER_H diff --git a/src/plugins/qt4projectmanager/applicationlauncher.h b/src/plugins/qt4projectmanager/applicationlauncher.h index e48bcb99a710f2d16f6182587ff54b946810d7fa..d75d6a093e7a98c3a5d5b070d654f924c32f3434 100644 --- a/src/plugins/qt4projectmanager/applicationlauncher.h +++ b/src/plugins/qt4projectmanager/applicationlauncher.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef APPLICATIONLAUNCHER_H #define APPLICATIONLAUNCHER_H diff --git a/src/plugins/qt4projectmanager/buildoptionspage.cpp b/src/plugins/qt4projectmanager/buildoptionspage.cpp index 1dcc09615104d7e99233deb8e69b44dc7caffdee..aa87e35f9e9cdb81304d649a45a9a22fe50977a8 100644 --- a/src/plugins/qt4projectmanager/buildoptionspage.cpp +++ b/src/plugins/qt4projectmanager/buildoptionspage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtCore/QSettings> #include <QtGui/QLineEdit> diff --git a/src/plugins/qt4projectmanager/buildparserfactory.cpp b/src/plugins/qt4projectmanager/buildparserfactory.cpp index 7b839b6606b436a253ec3ecf24a6029f83bf12be..024ec99948677a169ee151d0ff191ba10383527e 100644 --- a/src/plugins/qt4projectmanager/buildparserfactory.cpp +++ b/src/plugins/qt4projectmanager/buildparserfactory.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "buildparserfactory.h" diff --git a/src/plugins/qt4projectmanager/buildparserfactory.h b/src/plugins/qt4projectmanager/buildparserfactory.h index 685e86fbabaeb6d07df9bb24c0053af8ada705f3..969b7a1cf70001987849f282609d5cfcda4385ff 100644 --- a/src/plugins/qt4projectmanager/buildparserfactory.h +++ b/src/plugins/qt4projectmanager/buildparserfactory.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef BUILDPARSERFACTORY_H #define BUILDPARSERFACTORY_H diff --git a/src/plugins/qt4projectmanager/cesdkhandler.cpp b/src/plugins/qt4projectmanager/cesdkhandler.cpp index de42c5d2f05a5cfc6d1c50b58a1202797388c588..cb62c605e98c0cd0ce62b926fad70815b2798c3c 100644 --- a/src/plugins/qt4projectmanager/cesdkhandler.cpp +++ b/src/plugins/qt4projectmanager/cesdkhandler.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "cesdkhandler.h" #include <QtCore/QFile> diff --git a/src/plugins/qt4projectmanager/cesdkhandler.h b/src/plugins/qt4projectmanager/cesdkhandler.h index 88d3bdb4701fde9506751e5d807d0e538b643979..6c4a6b88a3df561606ddb2d1d26c520a352ad953 100644 --- a/src/plugins/qt4projectmanager/cesdkhandler.h +++ b/src/plugins/qt4projectmanager/cesdkhandler.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef CE_SDK_HANDLER_INCL #define CE_SDK_HANDLER_INCL diff --git a/src/plugins/qt4projectmanager/deployhelper.cpp b/src/plugins/qt4projectmanager/deployhelper.cpp index bf1fdf271d6affe70cb5b9fa68ccdbc32812dd8e..393be0155429cb349aa7b9c6bffa8919c49afc0c 100644 --- a/src/plugins/qt4projectmanager/deployhelper.cpp +++ b/src/plugins/qt4projectmanager/deployhelper.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "deployhelper.h" diff --git a/src/plugins/qt4projectmanager/deployhelper.h b/src/plugins/qt4projectmanager/deployhelper.h index a132ba34864c3a3467b9dadf461679145c204261..f3a562d8ca5299524cf757765dbe37deac19aff0 100644 --- a/src/plugins/qt4projectmanager/deployhelper.h +++ b/src/plugins/qt4projectmanager/deployhelper.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef DEPLOYHELPER_H #define DEPLOYHELPER_H diff --git a/src/plugins/qt4projectmanager/directorywatcher.cpp b/src/plugins/qt4projectmanager/directorywatcher.cpp index 61860856a32a23bcf0515d619c7cc335210507b8..4025a22e9ed4062928a4abe4922d05eb1f9b742e 100644 --- a/src/plugins/qt4projectmanager/directorywatcher.cpp +++ b/src/plugins/qt4projectmanager/directorywatcher.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "directorywatcher.h" diff --git a/src/plugins/qt4projectmanager/directorywatcher.h b/src/plugins/qt4projectmanager/directorywatcher.h index bde27794fe866003a355fe75acd5b188a01bf8fa..45680d33e279558f12e81fb1ca3887b4903ef7c6 100644 --- a/src/plugins/qt4projectmanager/directorywatcher.h +++ b/src/plugins/qt4projectmanager/directorywatcher.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef DIRECTORYWATCHER #define DIRECTORYWATCHER diff --git a/src/plugins/qt4projectmanager/embeddedpropertiespage.cpp b/src/plugins/qt4projectmanager/embeddedpropertiespage.cpp index 9a0d16264a09d4b0e66a37cf18254bc9720c5e1c..1f37fb7c63f33b9a7d5b45805216b67214d199ba 100644 --- a/src/plugins/qt4projectmanager/embeddedpropertiespage.cpp +++ b/src/plugins/qt4projectmanager/embeddedpropertiespage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "embeddedpropertiespage.h" #include "qt4project.h" diff --git a/src/plugins/qt4projectmanager/embeddedpropertiespage.h b/src/plugins/qt4projectmanager/embeddedpropertiespage.h index 47b3721654e034235507c53a6f5c5fa3dbe8a23f..59f313d2a77fc44a1e7684566f8eb07f926dff09 100644 --- a/src/plugins/qt4projectmanager/embeddedpropertiespage.h +++ b/src/plugins/qt4projectmanager/embeddedpropertiespage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef EMBEDDEDPROPERTIESPAGE_H #define EMBEDDEDPROPERTIESPAGE_H diff --git a/src/plugins/qt4projectmanager/gccparser.cpp b/src/plugins/qt4projectmanager/gccparser.cpp index d54d0daa9b0ba388ba2dea2f6df7c976df5245fc..a3b25905f59afc41d3118d337dda8603d236c659 100644 --- a/src/plugins/qt4projectmanager/gccparser.cpp +++ b/src/plugins/qt4projectmanager/gccparser.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "gccparser.h" #include "qt4projectmanagerconstants.h" diff --git a/src/plugins/qt4projectmanager/gccparser.h b/src/plugins/qt4projectmanager/gccparser.h index fea60f7d481efb2eb0c500c715670713ccf20789..cf918b19a2cec7968c1d18aee94c743798033408 100644 --- a/src/plugins/qt4projectmanager/gccparser.h +++ b/src/plugins/qt4projectmanager/gccparser.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef GCCPARSER #define GCCPARSER diff --git a/src/plugins/qt4projectmanager/gccpreprocessor.cpp b/src/plugins/qt4projectmanager/gccpreprocessor.cpp index 81bc46417675a231aec4e4109d59143b2a120987..69b304538e6aacec7b33a513f31d652ad62b48a5 100644 --- a/src/plugins/qt4projectmanager/gccpreprocessor.cpp +++ b/src/plugins/qt4projectmanager/gccpreprocessor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "gccpreprocessor.h" diff --git a/src/plugins/qt4projectmanager/gccpreprocessor.h b/src/plugins/qt4projectmanager/gccpreprocessor.h index 7a2bfb0921cc17de9ee3eb9b454c93070e8d259b..b1f1f211f23e069053447757846198412a5c5204 100644 --- a/src/plugins/qt4projectmanager/gccpreprocessor.h +++ b/src/plugins/qt4projectmanager/gccpreprocessor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef GCCPREPROCESSOR_H #define GCCPREPROCESSOR_H diff --git a/src/plugins/qt4projectmanager/gdbmacrosbuildstep.cpp b/src/plugins/qt4projectmanager/gdbmacrosbuildstep.cpp index ab5dcaeb9a4126ede01b8b1cb09960ade8df06ad..fee51e30157a5c2b36c3a37b2064a0177da19e26 100644 --- a/src/plugins/qt4projectmanager/gdbmacrosbuildstep.cpp +++ b/src/plugins/qt4projectmanager/gdbmacrosbuildstep.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "gdbmacrosbuildstep.h" #include "qt4projectmanagerconstants.h" diff --git a/src/plugins/qt4projectmanager/gdbmacrosbuildstep.h b/src/plugins/qt4projectmanager/gdbmacrosbuildstep.h index d08f0c395b87f5b90ab3e38ad78b1e8be29dd584..a754771c74066a10fa11129c31ca257a7fd56d61 100644 --- a/src/plugins/qt4projectmanager/gdbmacrosbuildstep.h +++ b/src/plugins/qt4projectmanager/gdbmacrosbuildstep.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef GDBMACROSBUILDSTEP_H #define GDBMACROSBUILDSTEP_H diff --git a/src/plugins/qt4projectmanager/headerpath.h b/src/plugins/qt4projectmanager/headerpath.h index e85f89f15739c6979d0056b568491bc461600abc..af1b687b890c89edf5beda6bd643d5be14fe7d83 100644 --- a/src/plugins/qt4projectmanager/headerpath.h +++ b/src/plugins/qt4projectmanager/headerpath.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef HEADERPATH_H #define HEADERPATH_H diff --git a/src/plugins/qt4projectmanager/makestep.cpp b/src/plugins/qt4projectmanager/makestep.cpp index e347a591066479c06f66714354e75efc95830b6e..cbb7d685f8a0cbc9e58cfcacaea086a2e0d26fa4 100644 --- a/src/plugins/qt4projectmanager/makestep.cpp +++ b/src/plugins/qt4projectmanager/makestep.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "makestep.h" #include "qt4project.h" diff --git a/src/plugins/qt4projectmanager/makestep.h b/src/plugins/qt4projectmanager/makestep.h index 966e0f2a4b2c1c8d65dc4da572e803cb0654a6b6..2455db5364ce54d2543e9fde7073bcb38dd4f285 100644 --- a/src/plugins/qt4projectmanager/makestep.h +++ b/src/plugins/qt4projectmanager/makestep.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef MAKESTEP_H #define MAKESTEP_H diff --git a/src/plugins/qt4projectmanager/msvcenvironment.cpp b/src/plugins/qt4projectmanager/msvcenvironment.cpp index 9405ed7decbda46f993ed99ae7ea45ec14fdc3e4..2de4ae24b4c6b740c32e8044b85561525ec8c95e 100644 --- a/src/plugins/qt4projectmanager/msvcenvironment.cpp +++ b/src/plugins/qt4projectmanager/msvcenvironment.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "msvcenvironment.h" diff --git a/src/plugins/qt4projectmanager/msvcenvironment.h b/src/plugins/qt4projectmanager/msvcenvironment.h index eda0fcb2be3f12b5e6b8230c30ef8c56677ad18d..7354e5706b902c8ec6323497b8c584137f6c8123 100644 --- a/src/plugins/qt4projectmanager/msvcenvironment.h +++ b/src/plugins/qt4projectmanager/msvcenvironment.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef MSVCENVIRONMENT_H #define MSVCENVIRONMENT_H diff --git a/src/plugins/qt4projectmanager/msvcparser.cpp b/src/plugins/qt4projectmanager/msvcparser.cpp index 055e7bf1d1aca84d245900336fe12d7d4e6a3944..3a63948e0cfbe8da5cea2e7f8264bff168a20483 100644 --- a/src/plugins/qt4projectmanager/msvcparser.cpp +++ b/src/plugins/qt4projectmanager/msvcparser.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtCore/QStringList> diff --git a/src/plugins/qt4projectmanager/msvcparser.h b/src/plugins/qt4projectmanager/msvcparser.h index 2bb9b043ca1e761f0d37af4a14a0a0579daff21e..0f01271cb4cfdb2ee3ae61331dbf3d383909d536 100644 --- a/src/plugins/qt4projectmanager/msvcparser.h +++ b/src/plugins/qt4projectmanager/msvcparser.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef MSVCPARSER_H #define MSVCPARSER_H diff --git a/src/plugins/qt4projectmanager/profilecache.cpp b/src/plugins/qt4projectmanager/profilecache.cpp index 022a037f13c9b62770663f51d01661064e71ae58..fc6ce31177a055ee1aecde6e0cd07dded51ef693 100644 --- a/src/plugins/qt4projectmanager/profilecache.cpp +++ b/src/plugins/qt4projectmanager/profilecache.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qt4project.h" #include "qt4nodes.h" diff --git a/src/plugins/qt4projectmanager/profilecache.h b/src/plugins/qt4projectmanager/profilecache.h index 59e9a76eb5ffa8f088109c038fe3fad73bfda92a..9936862fffd5ee8fef5b62e41a007aa5e535fee9 100644 --- a/src/plugins/qt4projectmanager/profilecache.h +++ b/src/plugins/qt4projectmanager/profilecache.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROFILECACHE_H #define PROFILECACHE_H diff --git a/src/plugins/qt4projectmanager/profileeditor.cpp b/src/plugins/qt4projectmanager/profileeditor.cpp index fc4c6d5542bfba69ab673bc853c6e1a758867c7c..91046a883bbfe9d93f4ded887f3d15451003d5a2 100644 --- a/src/plugins/qt4projectmanager/profileeditor.cpp +++ b/src/plugins/qt4projectmanager/profileeditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "profileeditor.h" #include "profilehighlighter.h" diff --git a/src/plugins/qt4projectmanager/profileeditor.h b/src/plugins/qt4projectmanager/profileeditor.h index 44710bacfbd49f1e0a28b25520040ff46f7abdb5..3fc90d84e9ac5b802c89adac8470a19e0038d847 100644 --- a/src/plugins/qt4projectmanager/profileeditor.h +++ b/src/plugins/qt4projectmanager/profileeditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROFILEEDITOR #define PROFILEEDITOR diff --git a/src/plugins/qt4projectmanager/profileeditorfactory.cpp b/src/plugins/qt4projectmanager/profileeditorfactory.cpp index 6866193db879757b48e02660278eaa3c25880f64..0b4818187ff11ce6cec9f3510458dcb1478d50b0 100644 --- a/src/plugins/qt4projectmanager/profileeditorfactory.cpp +++ b/src/plugins/qt4projectmanager/profileeditorfactory.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "profileeditorfactory.h" #include "qt4projectmanager.h" diff --git a/src/plugins/qt4projectmanager/profileeditorfactory.h b/src/plugins/qt4projectmanager/profileeditorfactory.h index fb50fa0895f75835588f98034f094615a2690e1f..16abbfd8b2b94a7aeb6e3fb43c4c08f5bea4f3f8 100644 --- a/src/plugins/qt4projectmanager/profileeditorfactory.h +++ b/src/plugins/qt4projectmanager/profileeditorfactory.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROFILEEDITORFACTORY_H #define PROFILEEDITORFACTORY_H diff --git a/src/plugins/qt4projectmanager/profilehighlighter.cpp b/src/plugins/qt4projectmanager/profilehighlighter.cpp index df4dbc45c9d0dfda8b5a78cc1bb666c7f7bec1cb..2e75f2f161658ccb802fbd97bc0caaeff68903ea 100644 --- a/src/plugins/qt4projectmanager/profilehighlighter.cpp +++ b/src/plugins/qt4projectmanager/profilehighlighter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "profilehighlighter.h" diff --git a/src/plugins/qt4projectmanager/profilehighlighter.h b/src/plugins/qt4projectmanager/profilehighlighter.h index c15d584e09913c1aed53b6596e28f905bc81be87..e503bac0232215c821044f6465618435fcdba9f8 100644 --- a/src/plugins/qt4projectmanager/profilehighlighter.h +++ b/src/plugins/qt4projectmanager/profilehighlighter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROFILEHIGHLIGHTER_H #define PROFILEHIGHLIGHTER_H diff --git a/src/plugins/qt4projectmanager/profilereader.cpp b/src/plugins/qt4projectmanager/profilereader.cpp index bba0393a61902f576a9a442b56322e5de979c831..3af30f4338fc580fcbebf9b3a75515e66fc4d0d6 100644 --- a/src/plugins/qt4projectmanager/profilereader.cpp +++ b/src/plugins/qt4projectmanager/profilereader.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "profilereader.h" #include "profilecache.h" diff --git a/src/plugins/qt4projectmanager/profilereader.h b/src/plugins/qt4projectmanager/profilereader.h index 682793c236b0b02a206629bea6c77131681d5cf3..51bbf56b73210ebe7e8235b53e31846d70bebc15 100644 --- a/src/plugins/qt4projectmanager/profilereader.h +++ b/src/plugins/qt4projectmanager/profilereader.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROFILEREADER_H #define PROFILEREADER_H diff --git a/src/plugins/qt4projectmanager/projectloadwizard.cpp b/src/plugins/qt4projectmanager/projectloadwizard.cpp index b53575c78616b9ef3b82553b45b1f752a2e45b14..35fe74db29c725e176c13031dfb1050bf65f2872 100644 --- a/src/plugins/qt4projectmanager/projectloadwizard.cpp +++ b/src/plugins/qt4projectmanager/projectloadwizard.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "projectloadwizard.h" diff --git a/src/plugins/qt4projectmanager/projectloadwizard.h b/src/plugins/qt4projectmanager/projectloadwizard.h index d75d4e6954248bf92b2b42d783ee42681ddf5ad0..961941bb10d026ab13d8d457ad9996aa912f8b35 100644 --- a/src/plugins/qt4projectmanager/projectloadwizard.h +++ b/src/plugins/qt4projectmanager/projectloadwizard.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /******************************************************************************** ** Form generated from reading ui file 'projectloadwizard.ui' diff --git a/src/plugins/qt4projectmanager/qmakebuildstepfactory.cpp b/src/plugins/qt4projectmanager/qmakebuildstepfactory.cpp index fbf1a80952c8bbfdfb43b44f4f5e27e2b921aae2..01053ef50c6ae4419815fffd723060ac57c6a149 100644 --- a/src/plugins/qt4projectmanager/qmakebuildstepfactory.cpp +++ b/src/plugins/qt4projectmanager/qmakebuildstepfactory.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qmakebuildstepfactory.h" #include "qmakestep.h" diff --git a/src/plugins/qt4projectmanager/qmakebuildstepfactory.h b/src/plugins/qt4projectmanager/qmakebuildstepfactory.h index c2292b832cb18469ee473f24b96a629a1f5b6915..25e5dfeef57cfa6e5b3a7c0604d400f731cd14bf 100644 --- a/src/plugins/qt4projectmanager/qmakebuildstepfactory.h +++ b/src/plugins/qt4projectmanager/qmakebuildstepfactory.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QMAKEBUILDSTEPFACTORY_H #define QMAKEBUILDSTEPFACTORY_H diff --git a/src/plugins/qt4projectmanager/qmakestep.cpp b/src/plugins/qt4projectmanager/qmakestep.cpp index 47986909235b0e0e1743b5a7900ae1953a1f98c7..aaf39ba6f8ad6f459746260693eb39c84b51cbd1 100644 --- a/src/plugins/qt4projectmanager/qmakestep.cpp +++ b/src/plugins/qt4projectmanager/qmakestep.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qmakestep.h" #include "qt4project.h" diff --git a/src/plugins/qt4projectmanager/qmakestep.h b/src/plugins/qt4projectmanager/qmakestep.h index 5515603362349d7edca8b32ba8fc547d316504c4..66a6c898485863d7909efe8e5575d678ddf1418b 100644 --- a/src/plugins/qt4projectmanager/qmakestep.h +++ b/src/plugins/qt4projectmanager/qmakestep.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QMAKESTEP_H #define QMAKESTEP_H diff --git a/src/plugins/qt4projectmanager/qt4buildconfigwidget.cpp b/src/plugins/qt4projectmanager/qt4buildconfigwidget.cpp index 5efb1086861409aa78c1d984a725392c6a803794..e7f2478d2886f3e928f23de4ca0f74b45a254602 100644 --- a/src/plugins/qt4projectmanager/qt4buildconfigwidget.cpp +++ b/src/plugins/qt4projectmanager/qt4buildconfigwidget.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qt4buildconfigwidget.h" #include "ui_qt4buildconfigwidget.h" diff --git a/src/plugins/qt4projectmanager/qt4buildconfigwidget.h b/src/plugins/qt4projectmanager/qt4buildconfigwidget.h index 725ed18bdccc22c83b41d33f5905ce9180ee90b5..0055d99cbd15de768a8a1374d906d938bee10da9 100644 --- a/src/plugins/qt4projectmanager/qt4buildconfigwidget.h +++ b/src/plugins/qt4projectmanager/qt4buildconfigwidget.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QT4BUILDCONFIGWIDGET_H #define QT4BUILDCONFIGWIDGET_H diff --git a/src/plugins/qt4projectmanager/qt4buildenvironmentwidget.cpp b/src/plugins/qt4projectmanager/qt4buildenvironmentwidget.cpp index 7c3a73781f9b689b8b887d4c8c929d63a44843f2..5c439f570ab41bbd1dd33743df82b1598132137e 100644 --- a/src/plugins/qt4projectmanager/qt4buildenvironmentwidget.cpp +++ b/src/plugins/qt4projectmanager/qt4buildenvironmentwidget.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qt4buildenvironmentwidget.h" #include "ui_qt4buildenvironmentwidget.h" diff --git a/src/plugins/qt4projectmanager/qt4buildenvironmentwidget.h b/src/plugins/qt4projectmanager/qt4buildenvironmentwidget.h index fe134206ecfbe2fea4657081b8ff413043ddc509..43b8f67a5265b2470f8587c8bfe7d5cf2b6299ca 100644 --- a/src/plugins/qt4projectmanager/qt4buildenvironmentwidget.h +++ b/src/plugins/qt4projectmanager/qt4buildenvironmentwidget.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QT4BUILDENVIRONMENTWIDGET_H #define QT4BUILDENVIRONMENTWIDGET_H diff --git a/src/plugins/qt4projectmanager/qt4nodes.cpp b/src/plugins/qt4projectmanager/qt4nodes.cpp index 847d6ae38f3ed6c3e43de2b6549f5748bda8db1c..e0e9ac1648d3ee7d1f3d1ca3442429c80579c704 100644 --- a/src/plugins/qt4projectmanager/qt4nodes.cpp +++ b/src/plugins/qt4projectmanager/qt4nodes.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "proeditormodel.h" #include "profilecache.h" diff --git a/src/plugins/qt4projectmanager/qt4nodes.h b/src/plugins/qt4projectmanager/qt4nodes.h index 7f311e813c11dd68519e8e552f6608e6d0322fd8..baecadfbc84bb7989752c91e4c461a78ff7040a3 100644 --- a/src/plugins/qt4projectmanager/qt4nodes.h +++ b/src/plugins/qt4projectmanager/qt4nodes.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QT4NODES_H #define QT4NODES_H diff --git a/src/plugins/qt4projectmanager/qt4project.cpp b/src/plugins/qt4projectmanager/qt4project.cpp index e642c309f7814a52994c155b3dc0da885c4f32f3..526283aedcfcba58a3ba9a505973221268a0aedf 100644 --- a/src/plugins/qt4projectmanager/qt4project.cpp +++ b/src/plugins/qt4projectmanager/qt4project.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qt4project.h" #include "qt4projectmanager.h" diff --git a/src/plugins/qt4projectmanager/qt4project.h b/src/plugins/qt4projectmanager/qt4project.h index c67c5dc9bde7c8a29d740f4769e7460da9fffee6..bd7711824a1991e4d48f9c38dfd20ab816739d99 100644 --- a/src/plugins/qt4projectmanager/qt4project.h +++ b/src/plugins/qt4projectmanager/qt4project.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QT4PROJECT_H #define QT4PROJECT_H diff --git a/src/plugins/qt4projectmanager/qt4projectmanager.cpp b/src/plugins/qt4projectmanager/qt4projectmanager.cpp index 43c509d234cbca6204b174ff4103fa95ac2cea55..7d273dab5a35d4119dba62cc726b3a31f2d20957 100644 --- a/src/plugins/qt4projectmanager/qt4projectmanager.cpp +++ b/src/plugins/qt4projectmanager/qt4projectmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qt4projectmanager.h" #include "qt4projectmanagerconstants.h" diff --git a/src/plugins/qt4projectmanager/qt4projectmanager.h b/src/plugins/qt4projectmanager/qt4projectmanager.h index 86126cae5e7a84a8b771b85ad05fcddc1cda3d39..72e9b488207d8e3862d90603d45cac0a8aa4bc44 100644 --- a/src/plugins/qt4projectmanager/qt4projectmanager.h +++ b/src/plugins/qt4projectmanager/qt4projectmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QT4PROJECTMANAGER_H #define QT4PROJECTMANAGER_H diff --git a/src/plugins/qt4projectmanager/qt4projectmanagerconstants.h b/src/plugins/qt4projectmanager/qt4projectmanagerconstants.h index 67e5985f5f5170d42354330b803399eff9d2476a..a8b8c2cdbb8dfd2ce8145c999a4f773d79e20ed6 100644 --- a/src/plugins/qt4projectmanager/qt4projectmanagerconstants.h +++ b/src/plugins/qt4projectmanager/qt4projectmanagerconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QT4PROJECTMANAGERCONSTANTS_H #define QT4PROJECTMANAGERCONSTANTS_H diff --git a/src/plugins/qt4projectmanager/qt4projectmanagerenums.h b/src/plugins/qt4projectmanager/qt4projectmanagerenums.h index e6a9883d06d100708ed9560b99e22fb9c257b216..6482775da8c9651713e16c42b4e329f99dc9660c 100644 --- a/src/plugins/qt4projectmanager/qt4projectmanagerenums.h +++ b/src/plugins/qt4projectmanager/qt4projectmanagerenums.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QT4PRO_ENUMS_H #define QT4PRO_ENUMS_H diff --git a/src/plugins/qt4projectmanager/qt4projectmanagerplugin.cpp b/src/plugins/qt4projectmanager/qt4projectmanagerplugin.cpp index cb599bf5145516f9b659cf98d3b9542e048edb8a..44c377bbddb0a17e05132b56314b3a19487147ff 100644 --- a/src/plugins/qt4projectmanager/qt4projectmanagerplugin.cpp +++ b/src/plugins/qt4projectmanager/qt4projectmanagerplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qt4projectmanagerplugin.h" #include "qt4projectmanager.h" diff --git a/src/plugins/qt4projectmanager/qt4projectmanagerplugin.h b/src/plugins/qt4projectmanager/qt4projectmanagerplugin.h index d1f0815a5f4e8a5a8374d78d0a9db2f319aaba0e..5c83f2c6c6f27c2dd00e61b1b1f4b95f764f5fcc 100644 --- a/src/plugins/qt4projectmanager/qt4projectmanagerplugin.h +++ b/src/plugins/qt4projectmanager/qt4projectmanagerplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QT4PROJECTMANAGERPLUGIN_H #define QT4PROJECTMANAGERPLUGIN_H diff --git a/src/plugins/qt4projectmanager/qt4runconfiguration.cpp b/src/plugins/qt4projectmanager/qt4runconfiguration.cpp index d2cead008a5b71f9ee470baf1b949649df6600e7..e415a1ee5270c03518a38d9c2f60358ecd6216b1 100644 --- a/src/plugins/qt4projectmanager/qt4runconfiguration.cpp +++ b/src/plugins/qt4projectmanager/qt4runconfiguration.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qt4runconfiguration.h" #include "qt4project.h" diff --git a/src/plugins/qt4projectmanager/qt4runconfiguration.h b/src/plugins/qt4projectmanager/qt4runconfiguration.h index 6262082858d3cb68d8c73d811faae9d6586d3b84..5d1bb397575df180ae5280bc9614c6dc3a2a289f 100644 --- a/src/plugins/qt4projectmanager/qt4runconfiguration.h +++ b/src/plugins/qt4projectmanager/qt4runconfiguration.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QT4RUNCONFIGURATION_H #define QT4RUNCONFIGURATION_H diff --git a/src/plugins/qt4projectmanager/qtversionmanager.cpp b/src/plugins/qt4projectmanager/qtversionmanager.cpp index a1afa6c65b1422a2671fcb08ae6c79ea500a303a..0ac191818b23748a9c1a3845ec64502dc9eda9c3 100644 --- a/src/plugins/qt4projectmanager/qtversionmanager.cpp +++ b/src/plugins/qt4projectmanager/qtversionmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qtversionmanager.h" #include "qt4projectmanagerconstants.h" diff --git a/src/plugins/qt4projectmanager/qtversionmanager.h b/src/plugins/qt4projectmanager/qtversionmanager.h index 833e4655cf960df7debf3f2e6829ae617616c773..6c2f64d60ccbca54ba8941fc867b7664a4edacf6 100644 --- a/src/plugins/qt4projectmanager/qtversionmanager.h +++ b/src/plugins/qt4projectmanager/qtversionmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QTVERSIONMANAGER_H #define QTVERSIONMANAGER_H diff --git a/src/plugins/qt4projectmanager/speinfo.cpp b/src/plugins/qt4projectmanager/speinfo.cpp index f82e9d875ae44acb3e77d67fe874c3025718b6d1..9cfd2acbb792bf3f045f90cb6409c39a1b84a5ed 100644 --- a/src/plugins/qt4projectmanager/speinfo.cpp +++ b/src/plugins/qt4projectmanager/speinfo.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "speinfo.h" #include <QtCore/QCoreApplication> diff --git a/src/plugins/qt4projectmanager/speinfo.h b/src/plugins/qt4projectmanager/speinfo.h index 4f5634a3b97a87b733015ab896bf4eb483c4ddab..891247adb4d2385c8de4aa167cf12415db97afa5 100644 --- a/src/plugins/qt4projectmanager/speinfo.h +++ b/src/plugins/qt4projectmanager/speinfo.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SIMPLEPROEDITORINFO_H #define SIMPLEPROEDITORINFO_H diff --git a/src/plugins/qt4projectmanager/wizards/consoleappwizard.cpp b/src/plugins/qt4projectmanager/wizards/consoleappwizard.cpp index 0bb662012ec2fccfab29cd58842d433d6e118aa3..7e41a9740465324ba557041f7439ae551946e51a 100644 --- a/src/plugins/qt4projectmanager/wizards/consoleappwizard.cpp +++ b/src/plugins/qt4projectmanager/wizards/consoleappwizard.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "consoleappwizard.h" #include "consoleappwizarddialog.h" diff --git a/src/plugins/qt4projectmanager/wizards/consoleappwizard.h b/src/plugins/qt4projectmanager/wizards/consoleappwizard.h index 5469923c334fb0fcd82dfd475146918bc52a9cce..863420d05a79358523c6790265d3001630d42c17 100644 --- a/src/plugins/qt4projectmanager/wizards/consoleappwizard.h +++ b/src/plugins/qt4projectmanager/wizards/consoleappwizard.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef CONSOLEAPPWIZARD_H #define CONSOLEAPPWIZARD_H diff --git a/src/plugins/qt4projectmanager/wizards/consoleappwizarddialog.cpp b/src/plugins/qt4projectmanager/wizards/consoleappwizarddialog.cpp index b893b30e6ffe8badad04c840ef25438bff9e3350..4affa79202c9039b1e1eda1b5b8c403b4c224857 100644 --- a/src/plugins/qt4projectmanager/wizards/consoleappwizarddialog.cpp +++ b/src/plugins/qt4projectmanager/wizards/consoleappwizarddialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "consoleappwizarddialog.h" #include "consoleappwizard.h" diff --git a/src/plugins/qt4projectmanager/wizards/consoleappwizarddialog.h b/src/plugins/qt4projectmanager/wizards/consoleappwizarddialog.h index 21d0fb55404cd72c2e141dbc2e2a1d93aaee6654..afaa9c09e25b2b03ba8b938197b30524e1c4730c 100644 --- a/src/plugins/qt4projectmanager/wizards/consoleappwizarddialog.h +++ b/src/plugins/qt4projectmanager/wizards/consoleappwizarddialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef CONSOLEAPPWIZARDDIALOG_H #define CONSOLEAPPWIZARDDIALOG_H diff --git a/src/plugins/qt4projectmanager/wizards/filespage.cpp b/src/plugins/qt4projectmanager/wizards/filespage.cpp index 2c2fb6c6ec48fc46d16430849b02f1b9cc6e6360..22f4bc582a36e618ae2d4cbb27432f55d632ee4e 100644 --- a/src/plugins/qt4projectmanager/wizards/filespage.cpp +++ b/src/plugins/qt4projectmanager/wizards/filespage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "filespage.h" diff --git a/src/plugins/qt4projectmanager/wizards/filespage.h b/src/plugins/qt4projectmanager/wizards/filespage.h index fff6ec3fdc14795033fe5004a92ca61b744fea97..513c2b81a42da713050e9072cef97a8b36b5536c 100644 --- a/src/plugins/qt4projectmanager/wizards/filespage.h +++ b/src/plugins/qt4projectmanager/wizards/filespage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef FILESPAGE_H #define FILESPAGE_H diff --git a/src/plugins/qt4projectmanager/wizards/guiappwizard.cpp b/src/plugins/qt4projectmanager/wizards/guiappwizard.cpp index 58b2808a0f380ef6768a3b4b24a77d548c2865c0..c5142d58ee7ee4499ac70e8e4f4036620df62d84 100644 --- a/src/plugins/qt4projectmanager/wizards/guiappwizard.cpp +++ b/src/plugins/qt4projectmanager/wizards/guiappwizard.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "guiappwizard.h" #include "guiappwizarddialog.h" diff --git a/src/plugins/qt4projectmanager/wizards/guiappwizard.h b/src/plugins/qt4projectmanager/wizards/guiappwizard.h index 455c48fde81e803430439fc43a8b122359df0f25..c3f24fabdcb7a80f62c7e3fe45c4dfb383ba14fe 100644 --- a/src/plugins/qt4projectmanager/wizards/guiappwizard.h +++ b/src/plugins/qt4projectmanager/wizards/guiappwizard.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef GUIAPPWIZARD_H #define GUIAPPWIZARD_H diff --git a/src/plugins/qt4projectmanager/wizards/guiappwizarddialog.cpp b/src/plugins/qt4projectmanager/wizards/guiappwizarddialog.cpp index 80205c0604da9c9b7ceed9ce05d02c1c8cdfbd45..457b9fed4c5fbd9a40948acaa9aa45274d77700f 100644 --- a/src/plugins/qt4projectmanager/wizards/guiappwizarddialog.cpp +++ b/src/plugins/qt4projectmanager/wizards/guiappwizarddialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "guiappwizarddialog.h" #include "consoleappwizard.h" diff --git a/src/plugins/qt4projectmanager/wizards/guiappwizarddialog.h b/src/plugins/qt4projectmanager/wizards/guiappwizarddialog.h index 7ab8d0a197c16521b49daab01ba42bfb28c1ca47..a2e6c89171300597efd47d7be2fb6a6276f778fc 100644 --- a/src/plugins/qt4projectmanager/wizards/guiappwizarddialog.h +++ b/src/plugins/qt4projectmanager/wizards/guiappwizarddialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef GUIAPPWIZARDDIALOG_H #define GUIAPPWIZARDDIALOG_H diff --git a/src/plugins/qt4projectmanager/wizards/libraryparameters.cpp b/src/plugins/qt4projectmanager/wizards/libraryparameters.cpp index c9f50fd335a99903520522f7e46585eb74d88325..7f981df09b8b908a60d0def5ffbc8de43394a94a 100644 --- a/src/plugins/qt4projectmanager/wizards/libraryparameters.cpp +++ b/src/plugins/qt4projectmanager/wizards/libraryparameters.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "libraryparameters.h" diff --git a/src/plugins/qt4projectmanager/wizards/libraryparameters.h b/src/plugins/qt4projectmanager/wizards/libraryparameters.h index ef70c32bf0de7a6db51abc173ebefac00209d508..a52f8cc54ce1c79c9cbd1a8dd612a3be846f0d8c 100644 --- a/src/plugins/qt4projectmanager/wizards/libraryparameters.h +++ b/src/plugins/qt4projectmanager/wizards/libraryparameters.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef LIBRARYPARAMETERS_H #define LIBRARYPARAMETERS_H diff --git a/src/plugins/qt4projectmanager/wizards/librarywizard.cpp b/src/plugins/qt4projectmanager/wizards/librarywizard.cpp index 953ef3908c62f784eba0fb164d0505ff9272966b..f389725d993203f3f002af6b4b27d524144b94f9 100644 --- a/src/plugins/qt4projectmanager/wizards/librarywizard.cpp +++ b/src/plugins/qt4projectmanager/wizards/librarywizard.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "librarywizard.h" #include "librarywizarddialog.h" diff --git a/src/plugins/qt4projectmanager/wizards/librarywizard.h b/src/plugins/qt4projectmanager/wizards/librarywizard.h index 0b797034b61c49ca049f9608496bae7510f1e53d..d2de430c8231a0fd607d100a65f3a1858be2eb6b 100644 --- a/src/plugins/qt4projectmanager/wizards/librarywizard.h +++ b/src/plugins/qt4projectmanager/wizards/librarywizard.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef LIBRARYWIZARD_H #define LIBRARYWIZARD_H diff --git a/src/plugins/qt4projectmanager/wizards/librarywizarddialog.cpp b/src/plugins/qt4projectmanager/wizards/librarywizarddialog.cpp index c0b2a755fc4652e827264aa3ff96af9d1cef8104..4cac5a317a99f3199ea79ce2ad4ffbd42a454212 100644 --- a/src/plugins/qt4projectmanager/wizards/librarywizarddialog.cpp +++ b/src/plugins/qt4projectmanager/wizards/librarywizarddialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "librarywizarddialog.h" #include "consoleappwizard.h" diff --git a/src/plugins/qt4projectmanager/wizards/librarywizarddialog.h b/src/plugins/qt4projectmanager/wizards/librarywizarddialog.h index 0fa91d1d7023caa1bb2660bbd568a9c5a2d85ebe..c50dd02236eca93732e5612196c56c853a6b5406 100644 --- a/src/plugins/qt4projectmanager/wizards/librarywizarddialog.h +++ b/src/plugins/qt4projectmanager/wizards/librarywizarddialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef LIBRARYWIZARDDIALOG_H #define LIBRARYWIZARDDIALOG_H diff --git a/src/plugins/qt4projectmanager/wizards/modulespage.cpp b/src/plugins/qt4projectmanager/wizards/modulespage.cpp index 3894250b4c44c4c41b3262d2e29d8eb4168da88a..60518d8d7ac534ce0a34dbeba082ed678ad0f41a 100644 --- a/src/plugins/qt4projectmanager/wizards/modulespage.cpp +++ b/src/plugins/qt4projectmanager/wizards/modulespage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "modulespage.h" #include "speinfo.h" diff --git a/src/plugins/qt4projectmanager/wizards/modulespage.h b/src/plugins/qt4projectmanager/wizards/modulespage.h index a637fecc9bfddf5f2e1afce1b0126d3d4b679952..3733c14420499d5820fef98a819f354c489cd381 100644 --- a/src/plugins/qt4projectmanager/wizards/modulespage.h +++ b/src/plugins/qt4projectmanager/wizards/modulespage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef MODULESPAGE_H #define MODULESPAGE_H diff --git a/src/plugins/qt4projectmanager/wizards/qtprojectparameters.cpp b/src/plugins/qt4projectmanager/wizards/qtprojectparameters.cpp index 59bbbec58d854af84b873ec5b84bce2e63d60b90..2dd10700fe8c02be3eac26d65b6c9f4c024448af 100644 --- a/src/plugins/qt4projectmanager/wizards/qtprojectparameters.cpp +++ b/src/plugins/qt4projectmanager/wizards/qtprojectparameters.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qtprojectparameters.h" diff --git a/src/plugins/qt4projectmanager/wizards/qtprojectparameters.h b/src/plugins/qt4projectmanager/wizards/qtprojectparameters.h index 94b0988183c298a5937477e37634e5a0fd278aab..f7fe314d2ad47ebe0a31ef6eb07f4578b3d9cccb 100644 --- a/src/plugins/qt4projectmanager/wizards/qtprojectparameters.h +++ b/src/plugins/qt4projectmanager/wizards/qtprojectparameters.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QTPROJECTPARAMETERS_H #define QTPROJECTPARAMETERS_H diff --git a/src/plugins/qt4projectmanager/wizards/qtwizard.cpp b/src/plugins/qt4projectmanager/wizards/qtwizard.cpp index 0788caab047ec2635c85039e6d491eb7e4d14a45..381e6e8fef6c92b85360ea9a082bb889bfc75fc8 100644 --- a/src/plugins/qt4projectmanager/wizards/qtwizard.cpp +++ b/src/plugins/qt4projectmanager/wizards/qtwizard.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qtwizard.h" #include "qt4project.h" diff --git a/src/plugins/qt4projectmanager/wizards/qtwizard.h b/src/plugins/qt4projectmanager/wizards/qtwizard.h index 7b74f1381ae1541285cfaed8da7d915ae42682af..5097a84727088ff3212c3d870a19343cbb6bd1cb 100644 --- a/src/plugins/qt4projectmanager/wizards/qtwizard.h +++ b/src/plugins/qt4projectmanager/wizards/qtwizard.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QTWIZARD_H #define QTWIZARD_H diff --git a/src/plugins/qtestlib/qtestlibplugin.cpp b/src/plugins/qtestlib/qtestlibplugin.cpp index d32c36467e2b2ac3ba09ccf5a3b5baad3c8cdb23..bf60d7d54fab0f4b63761352614c26df98e8be47 100644 --- a/src/plugins/qtestlib/qtestlibplugin.cpp +++ b/src/plugins/qtestlib/qtestlibplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qtestlibplugin.h" diff --git a/src/plugins/qtestlib/qtestlibplugin.h b/src/plugins/qtestlib/qtestlibplugin.h index dacd01152008c6cb93922fbf9057526db1ff1f16..9d44c389fe5de9ea7a3c730e110e6ab0906487a2 100644 --- a/src/plugins/qtestlib/qtestlibplugin.h +++ b/src/plugins/qtestlib/qtestlibplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QTESTLIBPLUGIN_H #define QTESTLIBPLUGIN_H diff --git a/src/plugins/qtscripteditor/qtscripteditor.cpp b/src/plugins/qtscripteditor/qtscripteditor.cpp index d72fc1f6314e3e9c864aa2b5a57875b35b7aaf89..a6f812f65b3164ec1efc54710125d71883604d89 100644 --- a/src/plugins/qtscripteditor/qtscripteditor.cpp +++ b/src/plugins/qtscripteditor/qtscripteditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qtscripteditor.h" #include "qtscripteditorconstants.h" diff --git a/src/plugins/qtscripteditor/qtscripteditor.h b/src/plugins/qtscripteditor/qtscripteditor.h index f005da2af722b20a273f2dd87cab55fbc4035b6a..1f3f776c9ad977a5a41c40011c1c20b23d44794b 100644 --- a/src/plugins/qtscripteditor/qtscripteditor.h +++ b/src/plugins/qtscripteditor/qtscripteditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QTSCRIPTDITORW_H #define QTSCRIPTDITORW_H diff --git a/src/plugins/qtscripteditor/qtscripteditoractionhandler.cpp b/src/plugins/qtscripteditor/qtscripteditoractionhandler.cpp index 9fd78777c1433f37239946ea3e2f0ec98bc9b51d..001cf259a90bf09c09580d52c40e8aa2da19a445 100644 --- a/src/plugins/qtscripteditor/qtscripteditoractionhandler.cpp +++ b/src/plugins/qtscripteditor/qtscripteditoractionhandler.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qtscripteditoractionhandler.h" #include "qtscripteditorconstants.h" diff --git a/src/plugins/qtscripteditor/qtscripteditoractionhandler.h b/src/plugins/qtscripteditor/qtscripteditoractionhandler.h index 65073540d8ed5c16979713dfc20aaec68a9ded0b..06bf412a156d9673dcb5ccfbadd2e42682436fe0 100644 --- a/src/plugins/qtscripteditor/qtscripteditoractionhandler.h +++ b/src/plugins/qtscripteditor/qtscripteditoractionhandler.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QTSCRIPTDITORACTIONHANDLER_H #define QTSCRIPTDITORACTIONHANDLER_H diff --git a/src/plugins/qtscripteditor/qtscripteditorconstants.h b/src/plugins/qtscripteditor/qtscripteditorconstants.h index c26384cf46f3ff7edfb86f60d453aea44a5059fc..ceecb830da1401f02597624f88352fedb13dd80f 100644 --- a/src/plugins/qtscripteditor/qtscripteditorconstants.h +++ b/src/plugins/qtscripteditor/qtscripteditorconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QTSCRIPTEDITOR_CONSTANTS_H #define QTSCRIPTEDITOR_CONSTANTS_H diff --git a/src/plugins/qtscripteditor/qtscripteditorfactory.cpp b/src/plugins/qtscripteditor/qtscripteditorfactory.cpp index bf5c12dcfeb83d4af82e79ca50354015092ddc22..805256f40790f847a162df8f39310e255d9eb8a8 100644 --- a/src/plugins/qtscripteditor/qtscripteditorfactory.cpp +++ b/src/plugins/qtscripteditor/qtscripteditorfactory.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qtscripteditorfactory.h" #include "qtscripteditor.h" diff --git a/src/plugins/qtscripteditor/qtscripteditorfactory.h b/src/plugins/qtscripteditor/qtscripteditorfactory.h index 600277d2c0acd57dd18067060b044f8b8e2bd920..ece703ad631b773df189d23516e1a14dfa1ffe73 100644 --- a/src/plugins/qtscripteditor/qtscripteditorfactory.h +++ b/src/plugins/qtscripteditor/qtscripteditorfactory.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef RQTSCRIPTEDITORFACTORY_H #define RQTSCRIPTEDITORFACTORY_H diff --git a/src/plugins/qtscripteditor/qtscripteditorplugin.cpp b/src/plugins/qtscripteditor/qtscripteditorplugin.cpp index 7216a77f350b1e0e87f35d99d682c75c6633945d..abf9e415a79637e851ceba36ef0c82995ebf66cc 100644 --- a/src/plugins/qtscripteditor/qtscripteditorplugin.cpp +++ b/src/plugins/qtscripteditor/qtscripteditorplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qtscripteditorplugin.h" #include "qtscripteditorconstants.h" diff --git a/src/plugins/qtscripteditor/qtscripteditorplugin.h b/src/plugins/qtscripteditor/qtscripteditorplugin.h index 449f8263f1589cb3f365671d4c6fc672a46df12a..5d451af05e305819408ab06de0739a3c16a8e7a8 100644 --- a/src/plugins/qtscripteditor/qtscripteditorplugin.h +++ b/src/plugins/qtscripteditor/qtscripteditorplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QTSCRIPTEDITORPLUGIN_H #define QTSCRIPTEDITORPLUGIN_H diff --git a/src/plugins/qtscripteditor/qtscripthighlighter.cpp b/src/plugins/qtscripteditor/qtscripthighlighter.cpp index 16d8f114728ac2693cad6a8079ad4f7fa8edadc8..0bd40d76587350850f0e55c18bc393b5399009ca 100644 --- a/src/plugins/qtscripteditor/qtscripthighlighter.cpp +++ b/src/plugins/qtscripteditor/qtscripthighlighter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "qtscripthighlighter.h" diff --git a/src/plugins/qtscripteditor/qtscripthighlighter.h b/src/plugins/qtscripteditor/qtscripthighlighter.h index 2e9f23d144d6fdad7e70d92137c44e39dc46698e..ce1dfb5729ea8b7c5c027d5ad38e49dfd73243ab 100644 --- a/src/plugins/qtscripteditor/qtscripthighlighter.h +++ b/src/plugins/qtscripteditor/qtscripthighlighter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QTSCRIPTSYNTAXHIGHLIGHTER_H #define QTSCRIPTSYNTAXHIGHLIGHTER_H diff --git a/src/plugins/quickopen/basefilefilter.cpp b/src/plugins/quickopen/basefilefilter.cpp index 7fc4814cf4a02dead500725aa565f639e5345585..5cfb3406a372c70a69e8f1c71c81cd577d17b87a 100644 --- a/src/plugins/quickopen/basefilefilter.cpp +++ b/src/plugins/quickopen/basefilefilter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "basefilefilter.h" diff --git a/src/plugins/quickopen/basefilefilter.h b/src/plugins/quickopen/basefilefilter.h index e0f780dc1461b0815b7e1de85209b3e28d5c4228..433674aeba5d808fabb0e86ed37c0ae22734901b 100644 --- a/src/plugins/quickopen/basefilefilter.h +++ b/src/plugins/quickopen/basefilefilter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef BASEFILEFILTER_H #define BASEFILEFILTER_H diff --git a/src/plugins/quickopen/directoryfilter.cpp b/src/plugins/quickopen/directoryfilter.cpp index 0b1564d3d6e0cae277ef28effccb68bbda0c053a..74f4b40a81402a7578fe698cbd1b7f4b536a5144 100644 --- a/src/plugins/quickopen/directoryfilter.cpp +++ b/src/plugins/quickopen/directoryfilter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "directoryfilter.h" diff --git a/src/plugins/quickopen/directoryfilter.h b/src/plugins/quickopen/directoryfilter.h index e228bde4f0db7dfb30b5c3d7b5ac77d289201ef7..c2f249df0ea909ae7e75b0bd9bc5be7988f1ebf0 100644 --- a/src/plugins/quickopen/directoryfilter.h +++ b/src/plugins/quickopen/directoryfilter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef DIRECTORYFILTER_H #define DIRECTORYFILTER_H diff --git a/src/plugins/quickopen/directoryparser.cpp b/src/plugins/quickopen/directoryparser.cpp index 09b8c2201636c5b76c6678d7907858257b54071c..c1a467c22bc802a1e80a72d599d30899361e93ae 100644 --- a/src/plugins/quickopen/directoryparser.cpp +++ b/src/plugins/quickopen/directoryparser.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "directoryparser.h" #include "quickopenplugin.h" diff --git a/src/plugins/quickopen/directoryparser.h b/src/plugins/quickopen/directoryparser.h index af317a0fe461f0ab36f91df13dfdc6b05ff9369a..54ace92bef445dbb113824205a1227a11984e7d6 100644 --- a/src/plugins/quickopen/directoryparser.h +++ b/src/plugins/quickopen/directoryparser.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef DIRECTORYPARSER_H #define DIRECTORYPARSER_H diff --git a/src/plugins/quickopen/filesystemfilter.cpp b/src/plugins/quickopen/filesystemfilter.cpp index 17fcd060ad2ae49211dd7c8a4ee21e9c3d332cb8..b6ce510450d0696c7d45423ceb99ffb4d341dbd2 100644 --- a/src/plugins/quickopen/filesystemfilter.cpp +++ b/src/plugins/quickopen/filesystemfilter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "filesystemfilter.h" #include "quickopentoolwindow.h" diff --git a/src/plugins/quickopen/filesystemfilter.h b/src/plugins/quickopen/filesystemfilter.h index 3ea20b605921274830d293625b0dc0aa6a5a323d..1489a7e8ca61681197c578acac9f438fc36fed72 100644 --- a/src/plugins/quickopen/filesystemfilter.h +++ b/src/plugins/quickopen/filesystemfilter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef FILESYSTEMFILTER_H #define FILESYSTEMFILTER_H diff --git a/src/plugins/quickopen/iquickopenfilter.cpp b/src/plugins/quickopen/iquickopenfilter.cpp index c0af2f26a125fe8fc959fa348fd3bee130e0c049..1361ab2403a40e6fa4ad3f46f890b1536c6f403d 100644 --- a/src/plugins/quickopen/iquickopenfilter.cpp +++ b/src/plugins/quickopen/iquickopenfilter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "iquickopenfilter.h" diff --git a/src/plugins/quickopen/iquickopenfilter.h b/src/plugins/quickopen/iquickopenfilter.h index 9184db49153268ace222d13090ebdb6f48f892d4..00fa104b3ebc14b30980d897a9f5f0a9da5e2bdd 100644 --- a/src/plugins/quickopen/iquickopenfilter.h +++ b/src/plugins/quickopen/iquickopenfilter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef IQUICKOPENFILTER_H #define IQUICKOPENFILTER_H diff --git a/src/plugins/quickopen/opendocumentsfilter.cpp b/src/plugins/quickopen/opendocumentsfilter.cpp index 9b9843002ce1fcafeee8df68c12224e2af93728b..8f833c98238dff8e891242dc004773bd1f26d78e 100644 --- a/src/plugins/quickopen/opendocumentsfilter.cpp +++ b/src/plugins/quickopen/opendocumentsfilter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "opendocumentsfilter.h" diff --git a/src/plugins/quickopen/opendocumentsfilter.h b/src/plugins/quickopen/opendocumentsfilter.h index 5854d1f48681a91d22b67dec50e49b3ce7d76c02..e060fc486135b7a180a814e699866340ea296b92 100644 --- a/src/plugins/quickopen/opendocumentsfilter.h +++ b/src/plugins/quickopen/opendocumentsfilter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef OPENDOCUMENTSFILTER_H #define OPENDOCUMENTSFILTER_H diff --git a/src/plugins/quickopen/quickopen_global.h b/src/plugins/quickopen/quickopen_global.h index a16e134c8e4fc2758720819b966c6abba778308e..77c51de2de2e22e5c92e5ec90418b53781bed856 100644 --- a/src/plugins/quickopen/quickopen_global.h +++ b/src/plugins/quickopen/quickopen_global.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /**************************************************************************** ** diff --git a/src/plugins/quickopen/quickopenconstants.h b/src/plugins/quickopen/quickopenconstants.h index 174d14475f8ec14dbb7bdda7879e0266b20b16e9..41228bc752a339fbe8ddbaea4f196fbb3217d125 100644 --- a/src/plugins/quickopen/quickopenconstants.h +++ b/src/plugins/quickopen/quickopenconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QUICKOPENCONSTANTS_H #define QUICKOPENCONSTANTS_H diff --git a/src/plugins/quickopen/quickopenfiltersfilter.cpp b/src/plugins/quickopen/quickopenfiltersfilter.cpp index 18cabe45bad369e08389aebff84c191f6081ebd3..86daf7b3c176717da3f67167d2a6b19594aaa641 100644 --- a/src/plugins/quickopen/quickopenfiltersfilter.cpp +++ b/src/plugins/quickopen/quickopenfiltersfilter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "quickopenfiltersfilter.h" #include "quickopenplugin.h" diff --git a/src/plugins/quickopen/quickopenfiltersfilter.h b/src/plugins/quickopen/quickopenfiltersfilter.h index d501d8db15728439f9c3b84d3459a78d8a77d6e6..674b39c1047b359337daef713e970cb716ff693e 100644 --- a/src/plugins/quickopen/quickopenfiltersfilter.h +++ b/src/plugins/quickopen/quickopenfiltersfilter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QUICKOPENFILTERSFILTER_H #define QUICKOPENFILTERSFILTER_H diff --git a/src/plugins/quickopen/quickopenmanager.cpp b/src/plugins/quickopen/quickopenmanager.cpp index 91a86195820d689131dfbd4727454f4f2a7b9e08..ad03ba8fef486ecfbda8de1c39d91d81efdb1e4d 100644 --- a/src/plugins/quickopen/quickopenmanager.cpp +++ b/src/plugins/quickopen/quickopenmanager.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "quickopenmanager.h" #include "quickopentoolwindow.h" diff --git a/src/plugins/quickopen/quickopenmanager.h b/src/plugins/quickopen/quickopenmanager.h index 850ce6cfa1ae9129ad76bd2423b1be5a38bf1072..bc2f822078a2111e6342f4eaff59acbcbadf5944 100644 --- a/src/plugins/quickopen/quickopenmanager.h +++ b/src/plugins/quickopen/quickopenmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QUICKOPENMANAGER_H #define QUICKOPENMANAGER_H diff --git a/src/plugins/quickopen/quickopenplugin.cpp b/src/plugins/quickopen/quickopenplugin.cpp index c6a6b0060282f9bc57447a9104179365be014f7b..f8dea92816db6b247366e2cdde691b811c0f1d7f 100644 --- a/src/plugins/quickopen/quickopenplugin.cpp +++ b/src/plugins/quickopen/quickopenplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "quickopenplugin.h" #include "quickopenfiltersfilter.h" diff --git a/src/plugins/quickopen/quickopenplugin.h b/src/plugins/quickopen/quickopenplugin.h index 5400154cb8b0cc1bb5896eea634beb1a8187821d..1a5130a5cadec03f93e48b00ad74864ee6091c33 100644 --- a/src/plugins/quickopen/quickopenplugin.h +++ b/src/plugins/quickopen/quickopenplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QUICKOPENPLUGIN_H #define QUICKOPENPLUGIN_H diff --git a/src/plugins/quickopen/quickopentoolwindow.cpp b/src/plugins/quickopen/quickopentoolwindow.cpp index f6ca212c82e81dd7e5563fb0c5fd5fc1a7af94b9..7184a05fa1f84f061aeef528bc6a686546e5aec3 100644 --- a/src/plugins/quickopen/quickopentoolwindow.cpp +++ b/src/plugins/quickopen/quickopentoolwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <qglobal.h> diff --git a/src/plugins/quickopen/quickopentoolwindow.h b/src/plugins/quickopen/quickopentoolwindow.h index e31280d1afe6fd8afa85ad0dd52165004dcb13a9..935492108bda8f4a3e5acbbd4ecbaf2b2178ad73 100644 --- a/src/plugins/quickopen/quickopentoolwindow.h +++ b/src/plugins/quickopen/quickopentoolwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QUICKOPENTOOLWINDOW_H #define QUICKOPENTOOLWINDOW_H diff --git a/src/plugins/quickopen/settingspage.cpp b/src/plugins/quickopen/settingspage.cpp index 4b75aa1756f9acd9265b823c68d326ea386c45b2..b7e3470d15a31daa42b1488751af0368cd2b2091 100644 --- a/src/plugins/quickopen/settingspage.cpp +++ b/src/plugins/quickopen/settingspage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "settingspage.h" #include "quickopenplugin.h" diff --git a/src/plugins/quickopen/settingspage.h b/src/plugins/quickopen/settingspage.h index 2ad79be3cde89b03bea78768cae811681eecae36..eca50a87fb98be283b7b1a1fd09a539603a71598 100644 --- a/src/plugins/quickopen/settingspage.h +++ b/src/plugins/quickopen/settingspage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SETTINGSPAGE_H #define SETTINGSPAGE_H diff --git a/src/plugins/regexp/regexpplugin.cpp b/src/plugins/regexp/regexpplugin.cpp index 48b3e3590e7dd639f4f3ea616813c82247e622ec..275e39b98b3a64aa9b2c2f7adc6891121f915867 100644 --- a/src/plugins/regexp/regexpplugin.cpp +++ b/src/plugins/regexp/regexpplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "regexpplugin.h" #include "settings.h" diff --git a/src/plugins/regexp/regexpplugin.h b/src/plugins/regexp/regexpplugin.h index 3b5703305b72b46771aa606a21eac9ac5a97dab4..5d1f0eaa086ca46e8d5984c57aa68690a2e38171 100644 --- a/src/plugins/regexp/regexpplugin.h +++ b/src/plugins/regexp/regexpplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef REGEXPPLUGIN_H #define REGEXPPLUGIN_H diff --git a/src/plugins/regexp/regexpwindow.cpp b/src/plugins/regexp/regexpwindow.cpp index a00a9137a0cf23743ba5105d404cecd7dcdff8a5..57d4345a83643787d61979fb27370177465e4623 100644 --- a/src/plugins/regexp/regexpwindow.cpp +++ b/src/plugins/regexp/regexpwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "regexpwindow.h" #include "settings.h" diff --git a/src/plugins/regexp/regexpwindow.h b/src/plugins/regexp/regexpwindow.h index 066a7a44e8fdebe818b74f58cc156947c88fe060..c14217c6a4301045fefe0e79e9e71f0238f3c441 100644 --- a/src/plugins/regexp/regexpwindow.h +++ b/src/plugins/regexp/regexpwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef REGEXPWINDOW_H #define REGEXPWINDOW_H diff --git a/src/plugins/regexp/settings.cpp b/src/plugins/regexp/settings.cpp index 336bfc0878dc1bbfb39d8cb6de44d79dd4cd4554..92d9304360db60e06288acb72b669385b9fdf105 100644 --- a/src/plugins/regexp/settings.cpp +++ b/src/plugins/regexp/settings.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "settings.h" #include <QtCore/QSettings> diff --git a/src/plugins/regexp/settings.h b/src/plugins/regexp/settings.h index 779ec8611e69d28548f98d9bcd0b5fd0d339eb93..1b6bb292a1fcdb43ba98fefd90a1cb6209a7d1ed 100644 --- a/src/plugins/regexp/settings.h +++ b/src/plugins/regexp/settings.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef REGEXP_SETTINGS_H #define REGEXP_SETTINGS_H diff --git a/src/plugins/resourceeditor/resourceeditorconstants.h b/src/plugins/resourceeditor/resourceeditorconstants.h index 9786a681e4180cc5b47c32e781f71c24f06e28c7..013f3322ca1eac06f2c388c361801ceec8ca5e69 100644 --- a/src/plugins/resourceeditor/resourceeditorconstants.h +++ b/src/plugins/resourceeditor/resourceeditorconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef RESOURCEEDITOR_CONSTANTS_H #define RESOURCEEDITOR_CONSTANTS_H diff --git a/src/plugins/resourceeditor/resourceeditorfactory.cpp b/src/plugins/resourceeditor/resourceeditorfactory.cpp index 8897b11524a398867984ddbf799668fddf9aeb2a..f2ac8c6e18b5a98bb60b93afa54856c0fb2bf88c 100644 --- a/src/plugins/resourceeditor/resourceeditorfactory.cpp +++ b/src/plugins/resourceeditor/resourceeditorfactory.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "resourceeditorfactory.h" #include "resourceeditorw.h" diff --git a/src/plugins/resourceeditor/resourceeditorfactory.h b/src/plugins/resourceeditor/resourceeditorfactory.h index 9f22743a357679664ae9035881509ab5f4ac1c5d..14725cc87c2e2bc62512045d7b243df53f3d7912 100644 --- a/src/plugins/resourceeditor/resourceeditorfactory.h +++ b/src/plugins/resourceeditor/resourceeditorfactory.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef RRESOURCEEDITORFACTORY_H #define RRESOURCEEDITORFACTORY_H diff --git a/src/plugins/resourceeditor/resourceeditorplugin.cpp b/src/plugins/resourceeditor/resourceeditorplugin.cpp index d0335db5a874a1b410b5b95cddb04dede9cdfafb..f799a7cd7306dce4d089987428ff6cc528e96e8d 100644 --- a/src/plugins/resourceeditor/resourceeditorplugin.cpp +++ b/src/plugins/resourceeditor/resourceeditorplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "resourceeditorplugin.h" #include "resourceeditorw.h" diff --git a/src/plugins/resourceeditor/resourceeditorplugin.h b/src/plugins/resourceeditor/resourceeditorplugin.h index 6f75275da09e1f850d1ea34a9319a2a8af727daa..2de7431b433600695f01641cf9b07a89fb45ad20 100644 --- a/src/plugins/resourceeditor/resourceeditorplugin.h +++ b/src/plugins/resourceeditor/resourceeditorplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef RESOURCEEDITORPLUGIN_H #define RESOURCEEDITORPLUGIN_H diff --git a/src/plugins/resourceeditor/resourceeditorw.cpp b/src/plugins/resourceeditor/resourceeditorw.cpp index 9eea18bce1f6b53d5df884bf2700aa76d797236e..77afc7b901cb70ac42ff531d0a92dd72071030e8 100644 --- a/src/plugins/resourceeditor/resourceeditorw.cpp +++ b/src/plugins/resourceeditor/resourceeditorw.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "resourceeditorw.h" #include "resourceeditorplugin.h" diff --git a/src/plugins/resourceeditor/resourceeditorw.h b/src/plugins/resourceeditor/resourceeditorw.h index b580f37d9068e8178708a0d4e226bea5a7eb0186..603fe54defb64ed212d6f3ef7f40cf732c83bc86 100644 --- a/src/plugins/resourceeditor/resourceeditorw.h +++ b/src/plugins/resourceeditor/resourceeditorw.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef RESOURCEDITORW_H #define RESOURCEDITORW_H diff --git a/src/plugins/resourceeditor/resourcewizard.cpp b/src/plugins/resourceeditor/resourcewizard.cpp index ce1b8eb8f18071234893b8abcfef724763e5f36f..c492bdb49784b858bacf20ece8563ca680bb5d0c 100644 --- a/src/plugins/resourceeditor/resourcewizard.cpp +++ b/src/plugins/resourceeditor/resourcewizard.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "resourcewizard.h" #include "resourceeditorw.h" diff --git a/src/plugins/resourceeditor/resourcewizard.h b/src/plugins/resourceeditor/resourcewizard.h index 40abe4612c7302b79024bbe1928bd4b7e95d0904..4a4e3593d9829d613f5afa3f13a1462759776cdc 100644 --- a/src/plugins/resourceeditor/resourcewizard.h +++ b/src/plugins/resourceeditor/resourcewizard.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef RESOURCEWIZARD_H #define RESOURCEWIZARD_H diff --git a/src/plugins/snippets/inputwidget.cpp b/src/plugins/snippets/inputwidget.cpp index 782e1d1c01b5c69b8d83c73e9409ea84c88053b5..8321313a673b2da24631812a5dac1dfd469dc6d5 100644 --- a/src/plugins/snippets/inputwidget.cpp +++ b/src/plugins/snippets/inputwidget.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtCore/QDebug> #include <QtGui/QApplication> diff --git a/src/plugins/snippets/inputwidget.h b/src/plugins/snippets/inputwidget.h index ef0386a300d565bf4baf5cd01f69e5e46991f153..f7b605eccd517b9b35556a9c369fd6b5aa1ffe7f 100644 --- a/src/plugins/snippets/inputwidget.h +++ b/src/plugins/snippets/inputwidget.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef INPUTWIDGET_H #define INPUTWIDGET_H diff --git a/src/plugins/snippets/snippetscompletion.cpp b/src/plugins/snippets/snippetscompletion.cpp index cd6bf6a7587ad0eb9fd81b58e9210eba280511fa..d35a7d669c5aa6add3d62942d81da45ad3df63ca 100644 --- a/src/plugins/snippets/snippetscompletion.cpp +++ b/src/plugins/snippets/snippetscompletion.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "snippetscompletion.h" diff --git a/src/plugins/snippets/snippetscompletion.h b/src/plugins/snippets/snippetscompletion.h index 02dfdbc2579a06d394cae966c2acd335e276afef..005d1a96ac3470823bf7891fd449069f180d9196 100644 --- a/src/plugins/snippets/snippetscompletion.h +++ b/src/plugins/snippets/snippetscompletion.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SNIPPETSCOMPLETION_H #define SNIPPETSCOMPLETION_H diff --git a/src/plugins/snippets/snippetspec.cpp b/src/plugins/snippets/snippetspec.cpp index 06820de3dc6a5b04d00a9537c3e768e555238ed7..3aedaf334e597799835bb154d9db420588ab2f1d 100644 --- a/src/plugins/snippets/snippetspec.cpp +++ b/src/plugins/snippets/snippetspec.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "snippetspec.h" #include "persistentsettings.h" diff --git a/src/plugins/snippets/snippetspec.h b/src/plugins/snippets/snippetspec.h index 8a9d9525b9a601694b9aeb191c3dfe2efda6ff89..ff7b63cd3cb714755e2003b2a18959a172e30627 100644 --- a/src/plugins/snippets/snippetspec.h +++ b/src/plugins/snippets/snippetspec.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SNIPPETSPEC_H #define SNIPPETSPEC_H diff --git a/src/plugins/snippets/snippetsplugin.cpp b/src/plugins/snippets/snippetsplugin.cpp index ddb8319819b5ea7c37701bbb44a4d0a4c9ba9752..7e90a028c547c64e04b99696b2dbac58f1fc9ced 100644 --- a/src/plugins/snippets/snippetsplugin.cpp +++ b/src/plugins/snippets/snippetsplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "snippetswindow.h" #include "snippetscompletion.h" diff --git a/src/plugins/snippets/snippetsplugin.h b/src/plugins/snippets/snippetsplugin.h index ab7fdbd69c0cb8e601c79121aeadc74a5534ea2a..b7855696ad735e3deb41a65c320d301c518043da 100644 --- a/src/plugins/snippets/snippetsplugin.h +++ b/src/plugins/snippets/snippetsplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SNIPPETS_H #define SNIPPETS_H diff --git a/src/plugins/snippets/snippetswindow.cpp b/src/plugins/snippets/snippetswindow.cpp index e44f21182d9c975a1050ce4d6d17fd90d4d3d962..d13ce512dd89d463c4d5557f72dec6131142f16d 100644 --- a/src/plugins/snippets/snippetswindow.cpp +++ b/src/plugins/snippets/snippetswindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "snippetswindow.h" #include "snippetspec.h" diff --git a/src/plugins/snippets/snippetswindow.h b/src/plugins/snippets/snippetswindow.h index 9b9f54c376ddb8e0d8953e99efc726166739ddff..b9ecb190fa540a946a036cf2dfe987f0a1c167b3 100644 --- a/src/plugins/snippets/snippetswindow.h +++ b/src/plugins/snippets/snippetswindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SNIPPETSWINDOW_H #define SNIPPETSWINDOW_H diff --git a/src/plugins/subversion/annotationhighlighter.cpp b/src/plugins/subversion/annotationhighlighter.cpp index e6269ef06178b1a35acbfb909c4f4844b0e038ec..1df4a259a237ab5e2e97f41ebc8ecb81841ff0ff 100644 --- a/src/plugins/subversion/annotationhighlighter.cpp +++ b/src/plugins/subversion/annotationhighlighter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "annotationhighlighter.h" diff --git a/src/plugins/subversion/annotationhighlighter.h b/src/plugins/subversion/annotationhighlighter.h index 4078ea477e255ac8768f78e1f20cdeb3a7da58e6..b1e451aca905981fceb84bd43a5f0e4bfb6c7c70 100644 --- a/src/plugins/subversion/annotationhighlighter.h +++ b/src/plugins/subversion/annotationhighlighter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef ANNOTATIONHIGHLIGHTER_H #define ANNOTATIONHIGHLIGHTER_H diff --git a/src/plugins/subversion/changenumberdialog.cpp b/src/plugins/subversion/changenumberdialog.cpp index 4cdb6b05e1476235a3dbca5aabf153a52d0fb793..9b1861e76e53e9bc55f0eabd8266dbc9cd7cf5f2 100644 --- a/src/plugins/subversion/changenumberdialog.cpp +++ b/src/plugins/subversion/changenumberdialog.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtGui/QIntValidator> diff --git a/src/plugins/subversion/changenumberdialog.h b/src/plugins/subversion/changenumberdialog.h index ebc2d87cb8eb2b15303f14336db2aeb84856de0a..3765f5ad1ced4f6736e064d76291676c1071c69a 100644 --- a/src/plugins/subversion/changenumberdialog.h +++ b/src/plugins/subversion/changenumberdialog.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef CHANGENUMBERDIALOG_H #define CHANGENUMBERDIALOG_H diff --git a/src/plugins/subversion/settingspage.cpp b/src/plugins/subversion/settingspage.cpp index 16ed6484836f43df8ea58c2745e096f6b0fc858b..d59d46456707a84903f0430002b32b96f8875d5e 100644 --- a/src/plugins/subversion/settingspage.cpp +++ b/src/plugins/subversion/settingspage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "settingspage.h" #include "subversionsettings.h" diff --git a/src/plugins/subversion/settingspage.h b/src/plugins/subversion/settingspage.h index 6bed2236b08390d85531e524143e60272db2f331..a9c493c5adcb4e48a112d5daeeb2ffaa85a2a513 100644 --- a/src/plugins/subversion/settingspage.h +++ b/src/plugins/subversion/settingspage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SETTINGSPAGE_H #define SETTINGSPAGE_H diff --git a/src/plugins/subversion/subversionconstants.h b/src/plugins/subversion/subversionconstants.h index eaf2575508033f13ab557b574f7ab75f0ffa4b75..024896f2a88b3d72f92c73c5886c8cea71583193 100644 --- a/src/plugins/subversion/subversionconstants.h +++ b/src/plugins/subversion/subversionconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SUBVERSION_CONSTANTS_H #define SUBVERSION_CONSTANTS_H diff --git a/src/plugins/subversion/subversioncontrol.cpp b/src/plugins/subversion/subversioncontrol.cpp index 0357eccf5ba1b2d02bc99b2c72ee46f0c92c3d90..03db872bd7e1cf64142a22716d7ccea5b247c8e1 100644 --- a/src/plugins/subversion/subversioncontrol.cpp +++ b/src/plugins/subversion/subversioncontrol.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "subversioncontrol.h" #include "subversionplugin.h" diff --git a/src/plugins/subversion/subversioncontrol.h b/src/plugins/subversion/subversioncontrol.h index 7be525275f2dd936a04f14dbe40ad0b564a05077..342a5c73441e0f1c60ce17b67eed6b6032e67002 100644 --- a/src/plugins/subversion/subversioncontrol.h +++ b/src/plugins/subversion/subversioncontrol.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SUBVERSIONCONTROL_H #define SUBVERSIONCONTROL_H diff --git a/src/plugins/subversion/subversioneditor.cpp b/src/plugins/subversion/subversioneditor.cpp index d87138aae14bef298c55914b421f68441922f672..a01c3e7ebf6e3b9763040d4b95f870bb85c90529 100644 --- a/src/plugins/subversion/subversioneditor.cpp +++ b/src/plugins/subversion/subversioneditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "subversioneditor.h" #include "annotationhighlighter.h" diff --git a/src/plugins/subversion/subversioneditor.h b/src/plugins/subversion/subversioneditor.h index 9dee4a9d5a390d8be6d80b55c9d8bb55566e6038..2ce3bd50aab6f9eec9d9572c1b1e6a91429169b5 100644 --- a/src/plugins/subversion/subversioneditor.h +++ b/src/plugins/subversion/subversioneditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SUBVERSIONEDITOR_H #define SUBVERSIONEDITOR_H diff --git a/src/plugins/subversion/subversionoutputwindow.cpp b/src/plugins/subversion/subversionoutputwindow.cpp index f3d8fd8ac1aa40d46636118eeeb45e923bc1c48b..794694dd054a005791dc67aec19940364e4f3156 100644 --- a/src/plugins/subversion/subversionoutputwindow.cpp +++ b/src/plugins/subversion/subversionoutputwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "subversionoutputwindow.h" #include "subversionplugin.h" diff --git a/src/plugins/subversion/subversionoutputwindow.h b/src/plugins/subversion/subversionoutputwindow.h index cd1bda5e9dba4f681962c6593155309c7b9c305b..2c91a33514ba4601930c8232621f7133639f3a78 100644 --- a/src/plugins/subversion/subversionoutputwindow.h +++ b/src/plugins/subversion/subversionoutputwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SUBVERSIONOUTPUTWINDOW_H #define SUBVERSIONOUTPUTWINDOW_H diff --git a/src/plugins/subversion/subversionplugin.cpp b/src/plugins/subversion/subversionplugin.cpp index 7c44e87fea01019e261c324a3b6fc2af82a0e38a..da480192e82acdfe5fb48187d59b9fd67c007046 100644 --- a/src/plugins/subversion/subversionplugin.cpp +++ b/src/plugins/subversion/subversionplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "subversionplugin.h" diff --git a/src/plugins/subversion/subversionplugin.h b/src/plugins/subversion/subversionplugin.h index d01d0a05bbda3d4799b8f5e16b5388d83c7587c4..957aacdc893b111c453e3630afde5060f2047f5b 100644 --- a/src/plugins/subversion/subversionplugin.h +++ b/src/plugins/subversion/subversionplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SUBVERSIONPLUGIN_H #define SUBVERSIONPLUGIN_H diff --git a/src/plugins/subversion/subversionsettings.cpp b/src/plugins/subversion/subversionsettings.cpp index ca4a946c7c041f06bfb00b51bb77c2c714be6755..37bc04ed960393e46ad281046ce1a33d973358a2 100644 --- a/src/plugins/subversion/subversionsettings.cpp +++ b/src/plugins/subversion/subversionsettings.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "subversionsettings.h" diff --git a/src/plugins/subversion/subversionsettings.h b/src/plugins/subversion/subversionsettings.h index 32c0c301ff59a69f460ecb67531f92b16b8a6573..c9a62432baffbb2bfa826e2787ecc45c6189136f 100644 --- a/src/plugins/subversion/subversionsettings.h +++ b/src/plugins/subversion/subversionsettings.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SUBVERSIONSETTINGS_H #define SUBVERSIONSETTINGS_H diff --git a/src/plugins/subversion/subversionsubmiteditor.cpp b/src/plugins/subversion/subversionsubmiteditor.cpp index 130104137818986ef887b312a1c77a18de745135..c47393939144db10790d549389872d744dca812d 100644 --- a/src/plugins/subversion/subversionsubmiteditor.cpp +++ b/src/plugins/subversion/subversionsubmiteditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "subversionsubmiteditor.h" diff --git a/src/plugins/subversion/subversionsubmiteditor.h b/src/plugins/subversion/subversionsubmiteditor.h index 3ba3335e49dca0af46c756554cf369b616429b86..e08655ebdc41b89590d8bf331212b6122209f4a2 100644 --- a/src/plugins/subversion/subversionsubmiteditor.h +++ b/src/plugins/subversion/subversionsubmiteditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SUBVERSIONSUBMITEDITOR_H #define SUBVERSIONSUBMITEDITOR_H diff --git a/src/plugins/texteditor/basefilefind.cpp b/src/plugins/texteditor/basefilefind.cpp index 4c11a626dbf65e7bffd721114433ce7c292a39d8..b8669182822a63384b48e1856d26aaf85c2eb7f4 100644 --- a/src/plugins/texteditor/basefilefind.cpp +++ b/src/plugins/texteditor/basefilefind.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "basefilefind.h" diff --git a/src/plugins/texteditor/basefilefind.h b/src/plugins/texteditor/basefilefind.h index 562a4487ccde825dc642834cd3b530e8bcf7547c..fee6c0e78ba6cbb60fa04d3cfff931e87452447f 100644 --- a/src/plugins/texteditor/basefilefind.h +++ b/src/plugins/texteditor/basefilefind.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef BASEFILEFIND_H #define BASEFILEFIND_H diff --git a/src/plugins/texteditor/basetextdocument.cpp b/src/plugins/texteditor/basetextdocument.cpp index 916bc11f2f227144c278762bcabb81ed25195a5f..4e3c694bf63612dec19a7e3d68ea3fa68844f92e 100644 --- a/src/plugins/texteditor/basetextdocument.cpp +++ b/src/plugins/texteditor/basetextdocument.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "basetextdocument.h" #include "basetexteditor.h" diff --git a/src/plugins/texteditor/basetextdocument.h b/src/plugins/texteditor/basetextdocument.h index 8dbfda2ea8892f4d9ef09a571843f6812fb0678d..df6fe58e3e869dbbc72bffd05248d683333efce1 100644 --- a/src/plugins/texteditor/basetextdocument.h +++ b/src/plugins/texteditor/basetextdocument.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef BASETEXTDOCUMENT_H #define BASETEXTDOCUMENT_H diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp index a112770f934c00e218c1421703dde8d2bd872465..c3d8f23c07066a12b67cc161c07a832fec516658 100644 --- a/src/plugins/texteditor/basetexteditor.cpp +++ b/src/plugins/texteditor/basetexteditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "texteditor_global.h" #include "texteditorconstants.h" diff --git a/src/plugins/texteditor/basetexteditor.h b/src/plugins/texteditor/basetexteditor.h index f41e26b2b0a3cb41b6ea12f3a3ebb17f3d56457a..3e61a43fe355512e4739bea7813675a4697363e4 100644 --- a/src/plugins/texteditor/basetexteditor.h +++ b/src/plugins/texteditor/basetexteditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef BASETEXTEDITOR_H #define BASETEXTEDITOR_H diff --git a/src/plugins/texteditor/basetexteditor_p.h b/src/plugins/texteditor/basetexteditor_p.h index 4bb0de70701d90881aca33ce111ce0f8ed0725ee..583717cc108e7c045a8a1df5033ec383162c966e 100644 --- a/src/plugins/texteditor/basetexteditor_p.h +++ b/src/plugins/texteditor/basetexteditor_p.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef BASETEXTEDITOR_P_H #define BASETEXTEDITOR_P_H diff --git a/src/plugins/texteditor/basetextmark.cpp b/src/plugins/texteditor/basetextmark.cpp index 4110480332e05ea8b923627ec7916d278ab790b5..7dc3fd08739dbf09e7ed0b97d1b9d8d1b9faa3f8 100644 --- a/src/plugins/texteditor/basetextmark.cpp +++ b/src/plugins/texteditor/basetextmark.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "basetextmark.h" #include <coreplugin/editormanager/editormanager.h> diff --git a/src/plugins/texteditor/basetextmark.h b/src/plugins/texteditor/basetextmark.h index 763e3eec47d428fd8c59a29388b41cdc247fa05b..42930a1c165e75072153a07ac2e9d76de2a97220 100644 --- a/src/plugins/texteditor/basetextmark.h +++ b/src/plugins/texteditor/basetextmark.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef BASETEXTMARK_H #define BASETEXTMARK_H diff --git a/src/plugins/texteditor/codecselector.cpp b/src/plugins/texteditor/codecselector.cpp index 5893fa5b71da84885c4297d0f6b522cdd56622c5..26b445d91a1ed8a159e95f65e65081421134cace 100644 --- a/src/plugins/texteditor/codecselector.cpp +++ b/src/plugins/texteditor/codecselector.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "codecselector.h" #include "basetextdocument.h" diff --git a/src/plugins/texteditor/codecselector.h b/src/plugins/texteditor/codecselector.h index aa873b3a2b15022f2ae50bef7260857e34bb2580..8ff0a4b09d163ef7ea2695310085e21267dcc51c 100644 --- a/src/plugins/texteditor/codecselector.h +++ b/src/plugins/texteditor/codecselector.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef CODECSELECTOR_H #define CODECSELECTOR_H diff --git a/src/plugins/texteditor/completionsupport.cpp b/src/plugins/texteditor/completionsupport.cpp index 6c9972d7ebe987eb0fff5264119cd143fad1445d..574a5d2b3d7c34feea307996041cb41523ea4fcc 100644 --- a/src/plugins/texteditor/completionsupport.cpp +++ b/src/plugins/texteditor/completionsupport.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "completionsupport.h" #include "completionwidget.h" diff --git a/src/plugins/texteditor/completionsupport.h b/src/plugins/texteditor/completionsupport.h index d3083630b66e2cb91a40b63c8f835123b855fe0b..1a70204ec16d6931856ff24555c259ff22627f6a 100644 --- a/src/plugins/texteditor/completionsupport.h +++ b/src/plugins/texteditor/completionsupport.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef COMPLETIONSUPPORT_H #define COMPLETIONSUPPORT_H diff --git a/src/plugins/texteditor/completionwidget.cpp b/src/plugins/texteditor/completionwidget.cpp index 939123a5cf1c0db91396d660604dcd6092789ae8..2d5ca19542e135854e0be3cb596b6ef24e1e1733 100644 --- a/src/plugins/texteditor/completionwidget.cpp +++ b/src/plugins/texteditor/completionwidget.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "completionwidget.h" #include "completionsupport.h" diff --git a/src/plugins/texteditor/completionwidget.h b/src/plugins/texteditor/completionwidget.h index 4a41ffad34487d6ea6eb0f3ce72035d064f73e7d..5c11f07ec66e936150a839727865fd32b248c866 100644 --- a/src/plugins/texteditor/completionwidget.h +++ b/src/plugins/texteditor/completionwidget.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef COMPLETIONWIDGET_H #define COMPLETIONWIDGET_H diff --git a/src/plugins/texteditor/displaysettings.cpp b/src/plugins/texteditor/displaysettings.cpp index af74e4b2ab8ba23a774bff4a922e6bbe855c418c..3119f18e5e701421537794e45ca8ef777fa77273 100644 --- a/src/plugins/texteditor/displaysettings.cpp +++ b/src/plugins/texteditor/displaysettings.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "displaysettings.h" diff --git a/src/plugins/texteditor/displaysettings.h b/src/plugins/texteditor/displaysettings.h index 7c70126e5d2a3a5dc723256c8d58396a46556ee5..feb8993f75a1abff1004a9a076b9fb498ea62ea6 100644 --- a/src/plugins/texteditor/displaysettings.h +++ b/src/plugins/texteditor/displaysettings.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef DISPLAYSETTINGS_H #define DISPLAYSETTINGS_H diff --git a/src/plugins/texteditor/findinfiles.cpp b/src/plugins/texteditor/findinfiles.cpp index 6e11e4001712c8b6efe17d0f71ed7516478ec932..1945ae04677d7fcb0924d4ecf4618412aef16e37 100644 --- a/src/plugins/texteditor/findinfiles.cpp +++ b/src/plugins/texteditor/findinfiles.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "findinfiles.h" diff --git a/src/plugins/texteditor/findinfiles.h b/src/plugins/texteditor/findinfiles.h index 3d5bf0c940e3d1e0db46517205a0edd9a0340954..799c8e4bf509353e6e403129f19639e6ad8783bc 100644 --- a/src/plugins/texteditor/findinfiles.h +++ b/src/plugins/texteditor/findinfiles.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef FINDINFILES_H #define FINDINFILES_H diff --git a/src/plugins/texteditor/fontsettings.cpp b/src/plugins/texteditor/fontsettings.cpp index 1ced2cafd69407b8cf02421c4627412cf77483e7..78f55fe542035f691365bcddfb1c0166888a1596 100644 --- a/src/plugins/texteditor/fontsettings.cpp +++ b/src/plugins/texteditor/fontsettings.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "fontsettings.h" #include "fontsettingspage.h" @@ -133,7 +133,7 @@ bool Format::equals(const Format &f) const m_bold == f.m_bold && m_italic == f.m_italic; } // -- FontSettings -FontSettings::FontSettings(const FormatDescriptions &fd) : +FontSettings::FontSettings(const FormatDescriptions & /* fd */) : m_family(defaultFixedFontFamily()), m_fontSize(DEFAULT_FONT_SIZE) { diff --git a/src/plugins/texteditor/fontsettings.h b/src/plugins/texteditor/fontsettings.h index 1b9088b6219d58d01346e8715d5767d2daa2697a..53db735d90301423c1b25a76de27c8fc5c1431a0 100644 --- a/src/plugins/texteditor/fontsettings.h +++ b/src/plugins/texteditor/fontsettings.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef FONTSETTINGS_H #define FONTSETTINGS_H diff --git a/src/plugins/texteditor/fontsettingspage.cpp b/src/plugins/texteditor/fontsettingspage.cpp index 1583328fc28628942f23ece872430eec9a7033a3..b5f84ed47b87ac0d756c47d70b3f8346163b600f 100644 --- a/src/plugins/texteditor/fontsettingspage.cpp +++ b/src/plugins/texteditor/fontsettingspage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "fontsettingspage.h" #include "fontsettings.h" diff --git a/src/plugins/texteditor/fontsettingspage.h b/src/plugins/texteditor/fontsettingspage.h index 86599e70d404d44ef82fb487b607f6b59fc3a513..19ab0680a37564400f86d0087590fea2b6564988 100644 --- a/src/plugins/texteditor/fontsettingspage.h +++ b/src/plugins/texteditor/fontsettingspage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef FONTSETTINGSPAGE_H #define FONTSETTINGSPAGE_H diff --git a/src/plugins/texteditor/generalsettingspage.cpp b/src/plugins/texteditor/generalsettingspage.cpp index 7f056d8ca4f77005cb99fd3d33b8683e273a4d99..18d63ac5b51d44ce98cabe4458084eb22f5164fa 100644 --- a/src/plugins/texteditor/generalsettingspage.cpp +++ b/src/plugins/texteditor/generalsettingspage.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "displaysettings.h" #include "generalsettingspage.h" diff --git a/src/plugins/texteditor/generalsettingspage.h b/src/plugins/texteditor/generalsettingspage.h index 184e3bace83f2afea7484757bb0a1b5525fa4f8c..b1dc25cf3b46ebf6e834c8213319932337b7ea4b 100644 --- a/src/plugins/texteditor/generalsettingspage.h +++ b/src/plugins/texteditor/generalsettingspage.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef GENERALSETTINGSPAGE_H #define GENERALSETTINGSPAGE_H diff --git a/src/plugins/texteditor/icompletioncollector.h b/src/plugins/texteditor/icompletioncollector.h index 46dc3f8b3d6be6360e715943ee9ca9b3e41e78cb..1ce8a3b0073c6caf51887bc12049e60e9b1a5632 100644 --- a/src/plugins/texteditor/icompletioncollector.h +++ b/src/plugins/texteditor/icompletioncollector.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef COMPLETIONCOLLECTORINTERFACE_H #define COMPLETIONCOLLECTORINTERFACE_H diff --git a/src/plugins/texteditor/itexteditable.h b/src/plugins/texteditor/itexteditable.h index 30ec5e1493956603c903ec2eefd69226b8a0f257..2253bcf214994d6364922d8bf80eb7ba8327c31d 100644 --- a/src/plugins/texteditor/itexteditable.h +++ b/src/plugins/texteditor/itexteditable.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef ITEXTEDITABLE_H #define ITEXTEDITABLE_H diff --git a/src/plugins/texteditor/itexteditor.h b/src/plugins/texteditor/itexteditor.h index ca517577a007a2b3d968509b15379b06063c5b55..9d6cd57b0236a28f276f4be6f55da1bd1c1070e6 100644 --- a/src/plugins/texteditor/itexteditor.h +++ b/src/plugins/texteditor/itexteditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef ITEXTEDITOR_H #define ITEXTEDITOR_H diff --git a/src/plugins/texteditor/linenumberfilter.cpp b/src/plugins/texteditor/linenumberfilter.cpp index ea079196f7c3068d2b8740018bcec5c5c72dee40..6c1c4f21ff8652885e4f288e8e90f984347968d3 100644 --- a/src/plugins/texteditor/linenumberfilter.cpp +++ b/src/plugins/texteditor/linenumberfilter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "linenumberfilter.h" #include "itexteditor.h" diff --git a/src/plugins/texteditor/linenumberfilter.h b/src/plugins/texteditor/linenumberfilter.h index f20de8a718ef65e4d73be1f36ef03133213d910c..d6ddc00a3b3158ba9fcd42f966a76dc1549bc1e1 100644 --- a/src/plugins/texteditor/linenumberfilter.h +++ b/src/plugins/texteditor/linenumberfilter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef LINENUMBERFILTER_H #define LINENUMBERFILTER_H diff --git a/src/plugins/texteditor/plaintexteditor.cpp b/src/plugins/texteditor/plaintexteditor.cpp index 6019d73b25136c213f5bdb44568ee776c524d54d..bda40d62d37268ca4e7d6acda8bf0c76351d72d5 100644 --- a/src/plugins/texteditor/plaintexteditor.cpp +++ b/src/plugins/texteditor/plaintexteditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "plaintexteditor.h" #include "texteditorconstants.h" diff --git a/src/plugins/texteditor/plaintexteditor.h b/src/plugins/texteditor/plaintexteditor.h index 76415807899379d786cb89873b1f136b284a8a26..77665375be9e176e438404522dcba88a22d0b9e7 100644 --- a/src/plugins/texteditor/plaintexteditor.h +++ b/src/plugins/texteditor/plaintexteditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PLAINTEXTEDITOR_H #define PLAINTEXTEDITOR_H diff --git a/src/plugins/texteditor/plaintexteditorfactory.cpp b/src/plugins/texteditor/plaintexteditorfactory.cpp index 24e36bfff612604cee442b9512b186a6e55fcfbc..ffe1194b243cb0194be17b67b6c70a6179257240 100644 --- a/src/plugins/texteditor/plaintexteditorfactory.cpp +++ b/src/plugins/texteditor/plaintexteditorfactory.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "plaintexteditor.h" #include "plaintexteditorfactory.h" diff --git a/src/plugins/texteditor/plaintexteditorfactory.h b/src/plugins/texteditor/plaintexteditorfactory.h index 0e225c942e661ddeaba0cbdbcb99dc224d4ac800..b3baeb6abbe1c2768455acf512bcab5d50f30c81 100644 --- a/src/plugins/texteditor/plaintexteditorfactory.h +++ b/src/plugins/texteditor/plaintexteditorfactory.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PLAINTEXTEDITORFACTORY_H #define PLAINTEXTEDITORFACTORY_H diff --git a/src/plugins/texteditor/storagesettings.cpp b/src/plugins/texteditor/storagesettings.cpp index 906215bf811cb3647c3e357a2bd5955cf14a3458..dc1c20c7606967a43b813585e1f5f4e7a3c0ab3b 100644 --- a/src/plugins/texteditor/storagesettings.cpp +++ b/src/plugins/texteditor/storagesettings.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "storagesettings.h" #include <QSettings> diff --git a/src/plugins/texteditor/storagesettings.h b/src/plugins/texteditor/storagesettings.h index dc3310094a93c35c4c4cfd2a6a86248ddd80288a..65ed3f0ffb2f102dbb0176c7d03ba27a62886981 100644 --- a/src/plugins/texteditor/storagesettings.h +++ b/src/plugins/texteditor/storagesettings.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef STORAGESETTINGS_H #define STORAGESETTINGS_H diff --git a/src/plugins/texteditor/tabsettings.cpp b/src/plugins/texteditor/tabsettings.cpp index daaee1a562fd1a0f347f12247beee15eb5a763a3..cfe0a5c182e625fd99105614e842cb084dd3ed9d 100644 --- a/src/plugins/texteditor/tabsettings.cpp +++ b/src/plugins/texteditor/tabsettings.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "tabsettings.h" diff --git a/src/plugins/texteditor/tabsettings.h b/src/plugins/texteditor/tabsettings.h index 8b326fadc47192c91c009cbb69decd037bb86ab8..095d33991fd268bd23b3be2a0e1d38f37cc9557b 100644 --- a/src/plugins/texteditor/tabsettings.h +++ b/src/plugins/texteditor/tabsettings.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef TABSETTINGS_H #define TABSETTINGS_H diff --git a/src/plugins/texteditor/textblockiterator.cpp b/src/plugins/texteditor/textblockiterator.cpp index 51c894d9fc1ba76f2f24319e636facd739fb52ac..27cc28b65ef53141755d5d343857672c37562259 100644 --- a/src/plugins/texteditor/textblockiterator.cpp +++ b/src/plugins/texteditor/textblockiterator.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "textblockiterator.h" diff --git a/src/plugins/texteditor/textblockiterator.h b/src/plugins/texteditor/textblockiterator.h index 0f9c585a6f3cb96a3097dc9eac08ab93f80493d1..e15d50fa10a3a46320dc47eda588f52031146a31 100644 --- a/src/plugins/texteditor/textblockiterator.h +++ b/src/plugins/texteditor/textblockiterator.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef _TEXTBLOCKITERATOR_H #define _TEXTBLOCKITERATOR_H diff --git a/src/plugins/texteditor/texteditor_global.h b/src/plugins/texteditor/texteditor_global.h index ef7f01c6417339a5e0f6424c9ccc9fb23cffbf68..e1d0830d920c2da003776e5cbc0447d9d2cca390 100644 --- a/src/plugins/texteditor/texteditor_global.h +++ b/src/plugins/texteditor/texteditor_global.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /**************************************************************************** ** diff --git a/src/plugins/texteditor/texteditoractionhandler.cpp b/src/plugins/texteditor/texteditoractionhandler.cpp index 91246dcc8c30c1bd9a89aa69c08d49f999b5b746..a9a7b5872f1015f25130640d7b15cd9388ae1a16 100644 --- a/src/plugins/texteditor/texteditoractionhandler.cpp +++ b/src/plugins/texteditor/texteditoractionhandler.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "texteditoractionhandler.h" #include "texteditorconstants.h" diff --git a/src/plugins/texteditor/texteditoractionhandler.h b/src/plugins/texteditor/texteditoractionhandler.h index d0c222f8484c7a806ee0792e6227c0a7df5d6b21..5c43bbfde59bc3777b4173805979f06fb16f2893 100644 --- a/src/plugins/texteditor/texteditoractionhandler.h +++ b/src/plugins/texteditor/texteditoractionhandler.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef TEXTEDITORACTIONHANDLER_H #define TEXTEDITORACTIONHANDLER_H diff --git a/src/plugins/texteditor/texteditorconstants.h b/src/plugins/texteditor/texteditorconstants.h index 5133a2c148f97698e6679e61310ae7822eb65621..59240fe03b3e9c12aa1470833328662524aef25f 100644 --- a/src/plugins/texteditor/texteditorconstants.h +++ b/src/plugins/texteditor/texteditorconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef TEXTEDITORCONSTANTS_H #define TEXTEDITORCONSTANTS_H diff --git a/src/plugins/texteditor/texteditorplugin.cpp b/src/plugins/texteditor/texteditorplugin.cpp index 5e943bd70c89ae0263376d3a22103899da735deb..78ddf91d9526af59fbd9e45e3e9e1db25ff6239f 100644 --- a/src/plugins/texteditor/texteditorplugin.cpp +++ b/src/plugins/texteditor/texteditorplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "texteditorplugin.h" diff --git a/src/plugins/texteditor/texteditorplugin.h b/src/plugins/texteditor/texteditorplugin.h index 578095f60988f700f7696c593d1fdcd8d5ec7d83..3999bc9ad55271c73390fabf41f44cffa7512434 100644 --- a/src/plugins/texteditor/texteditorplugin.h +++ b/src/plugins/texteditor/texteditorplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef TEXTEDITORPLUGIN_H #define TEXTEDITORPLUGIN_H diff --git a/src/plugins/texteditor/texteditorsettings.cpp b/src/plugins/texteditor/texteditorsettings.cpp index 0292215f99ec5262802964ecdf8bdc06fe381cce..c539939a2b5d3f8380512495c86dd16eb143c6a5 100644 --- a/src/plugins/texteditor/texteditorsettings.cpp +++ b/src/plugins/texteditor/texteditorsettings.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "texteditorsettings.h" diff --git a/src/plugins/texteditor/texteditorsettings.h b/src/plugins/texteditor/texteditorsettings.h index 1b5a08e966f5afaed7cfaaeaae9fbc7160c6bdba..b665720f2b7c0e184943297d2f0c5fb17d213fd0 100644 --- a/src/plugins/texteditor/texteditorsettings.h +++ b/src/plugins/texteditor/texteditorsettings.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef TEXTEDITORSETTINGS_H #define TEXTEDITORSETTINGS_H diff --git a/src/plugins/texteditor/textfilewizard.cpp b/src/plugins/texteditor/textfilewizard.cpp index b40201044c366650ce21409540c83a3296c8cc93..c012ed27b9500cba9196fd7027f3bdbe4a534cae 100644 --- a/src/plugins/texteditor/textfilewizard.cpp +++ b/src/plugins/texteditor/textfilewizard.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "textfilewizard.h" #include "basetexteditor.h" diff --git a/src/plugins/texteditor/textfilewizard.h b/src/plugins/texteditor/textfilewizard.h index a3cb3797338958a2cf98e209801ac4caf31405ee..8307c2a0f7d252b56b8017fffbb633d7a5ad7f76 100644 --- a/src/plugins/texteditor/textfilewizard.h +++ b/src/plugins/texteditor/textfilewizard.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef TEXTFILEWIZARD_H #define TEXTFILEWIZARD_H diff --git a/src/plugins/vcsbase/baseannotationhighlighter.cpp b/src/plugins/vcsbase/baseannotationhighlighter.cpp index e287718d7119d04d8234455482bd901f169530b0..977b02a26c82301107d29e0d7665e5c697164ea5 100644 --- a/src/plugins/vcsbase/baseannotationhighlighter.cpp +++ b/src/plugins/vcsbase/baseannotationhighlighter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "baseannotationhighlighter.h" diff --git a/src/plugins/vcsbase/baseannotationhighlighter.h b/src/plugins/vcsbase/baseannotationhighlighter.h index ee5808b7b032015302be98c7bafceb749cb80b4b..e57e6c8d425fc121cbf847f2c32b57552167ead9 100644 --- a/src/plugins/vcsbase/baseannotationhighlighter.h +++ b/src/plugins/vcsbase/baseannotationhighlighter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef BASEANNOTATIONHIGHLIGHTER_H #define BASEANNOTATIONHIGHLIGHTER_H diff --git a/src/plugins/vcsbase/basevcseditorfactory.cpp b/src/plugins/vcsbase/basevcseditorfactory.cpp index 459a6683e67c3f276454c053f0efc91b29c593ec..9bf575bdb03b2bd901f8778a370a1ae44ea4fb82 100644 --- a/src/plugins/vcsbase/basevcseditorfactory.cpp +++ b/src/plugins/vcsbase/basevcseditorfactory.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "basevcseditorfactory.h" #include "vcsbaseplugin.h" diff --git a/src/plugins/vcsbase/basevcseditorfactory.h b/src/plugins/vcsbase/basevcseditorfactory.h index 1fb9408c8c90e128d9ab53680fac39720e4d8899..fcb4a7fdf55a49ad59b1aa41501165ae94836ab7 100644 --- a/src/plugins/vcsbase/basevcseditorfactory.h +++ b/src/plugins/vcsbase/basevcseditorfactory.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef BASEVCSEDITORFACTORY_H #define BASEVCSEDITORFACTORY_H diff --git a/src/plugins/vcsbase/basevcssubmiteditorfactory.cpp b/src/plugins/vcsbase/basevcssubmiteditorfactory.cpp index 4aff7347facf760fcd63ab3c6bd9265f4b4ed9e2..7330c5b800296eb979a7667e9b5e0833361f3e75 100644 --- a/src/plugins/vcsbase/basevcssubmiteditorfactory.cpp +++ b/src/plugins/vcsbase/basevcssubmiteditorfactory.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "basevcssubmiteditorfactory.h" #include "vcsbasesubmiteditor.h" diff --git a/src/plugins/vcsbase/basevcssubmiteditorfactory.h b/src/plugins/vcsbase/basevcssubmiteditorfactory.h index d258e3057185a4846cb4a2658067a629679ed0cd..aa33afb8ea07be123c0cc0fd67034e631a83f63a 100644 --- a/src/plugins/vcsbase/basevcssubmiteditorfactory.h +++ b/src/plugins/vcsbase/basevcssubmiteditorfactory.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef VCSBaseBASEEDITORFACTORY_H #define VCSBaseBASEEDITORFACTORY_H diff --git a/src/plugins/vcsbase/diffhighlighter.cpp b/src/plugins/vcsbase/diffhighlighter.cpp index 7da9f6df915f80aa225976defc0ab346e3e8de4e..802fe75430d9e6c82a7f0961b035d2c972b2ab2c 100644 --- a/src/plugins/vcsbase/diffhighlighter.cpp +++ b/src/plugins/vcsbase/diffhighlighter.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "diffhighlighter.h" diff --git a/src/plugins/vcsbase/diffhighlighter.h b/src/plugins/vcsbase/diffhighlighter.h index eae25797bb252b76a5b38ff1c2134cd0dd255cee..b526c6227bd097698eef07dda7d7d8c8094e8631 100644 --- a/src/plugins/vcsbase/diffhighlighter.h +++ b/src/plugins/vcsbase/diffhighlighter.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef DIFFHIGHLIGHTER_H #define DIFFHIGHLIGHTER_H diff --git a/src/plugins/vcsbase/submiteditorfile.cpp b/src/plugins/vcsbase/submiteditorfile.cpp index adb82732079287d1985ebf3e682fc51eeed3296a..71c223d7587612cadc6fb7ab75b35374ee61b9c6 100644 --- a/src/plugins/vcsbase/submiteditorfile.cpp +++ b/src/plugins/vcsbase/submiteditorfile.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "submiteditorfile.h" diff --git a/src/plugins/vcsbase/submiteditorfile.h b/src/plugins/vcsbase/submiteditorfile.h index f1f2183fce5745a51ed5cb3095da9fda766512a4..6bda2f41ed7fd04560c398bae53f4fd72deabf76 100644 --- a/src/plugins/vcsbase/submiteditorfile.h +++ b/src/plugins/vcsbase/submiteditorfile.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef SUBMITEDITORFILE_H #define SUBMITEDITORFILE_H diff --git a/src/plugins/vcsbase/vcsbase_global.h b/src/plugins/vcsbase/vcsbase_global.h index 191587af6f4b9d42f9ddbbca9036651ebc74cf87..87c4e10b18ae9575fac51ac9cc03aae5e7782bb1 100644 --- a/src/plugins/vcsbase/vcsbase_global.h +++ b/src/plugins/vcsbase/vcsbase_global.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /**************************************************************************** ** diff --git a/src/plugins/vcsbase/vcsbaseconstants.h b/src/plugins/vcsbase/vcsbaseconstants.h index bbe6003ed1ff058d89d29216a38db3b1c302c7b1..fd85579cdb32fddfa8658e8fc7eff2bf0d29f9c0 100644 --- a/src/plugins/vcsbase/vcsbaseconstants.h +++ b/src/plugins/vcsbase/vcsbaseconstants.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef VCSBaseCONSTANTS_H #define VCSBaseCONSTANTS_H diff --git a/src/plugins/vcsbase/vcsbaseeditor.cpp b/src/plugins/vcsbase/vcsbaseeditor.cpp index 9dfc9b12dbfb37c216c57a20c35648b6895755f0..a2bdd2c74bf87cb5a95c18fc3a8e6344dd5e7ef0 100644 --- a/src/plugins/vcsbase/vcsbaseeditor.cpp +++ b/src/plugins/vcsbase/vcsbaseeditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "vcsbaseeditor.h" #include "diffhighlighter.h" diff --git a/src/plugins/vcsbase/vcsbaseeditor.h b/src/plugins/vcsbase/vcsbaseeditor.h index 364a9fb7e9716a311a4a22d24e5f1e3e1ad1f92d..38c18fe9f2186dfcfa94bf983041512c0385dab0 100644 --- a/src/plugins/vcsbase/vcsbaseeditor.h +++ b/src/plugins/vcsbase/vcsbaseeditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef VCSBaseBASEEDITOR_H #define VCSBaseBASEEDITOR_H diff --git a/src/plugins/vcsbase/vcsbaseplugin.cpp b/src/plugins/vcsbase/vcsbaseplugin.cpp index 7337ba5d3142b06bd1d6c23ef69e1583892020be..51ce8472b34cfea70c529a4086c8032bc5e6ff18 100644 --- a/src/plugins/vcsbase/vcsbaseplugin.cpp +++ b/src/plugins/vcsbase/vcsbaseplugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "vcsbaseplugin.h" #include "diffhighlighter.h" diff --git a/src/plugins/vcsbase/vcsbaseplugin.h b/src/plugins/vcsbase/vcsbaseplugin.h index c10616ad9373ca74ccebfcdb89b0a3dffb1571c3..81419cd770571034971feb74510b38440e2af3d7 100644 --- a/src/plugins/vcsbase/vcsbaseplugin.h +++ b/src/plugins/vcsbase/vcsbaseplugin.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef VCSBASEPLUGIN_H #define VCSBASEPLUGIN_H diff --git a/src/plugins/vcsbase/vcsbasesubmiteditor.cpp b/src/plugins/vcsbase/vcsbasesubmiteditor.cpp index 6d271910e68d76b04910845e40fefe6dc3952bb3..dee2df7c42abbe3fe5a3ca1d31ecf16019713260 100644 --- a/src/plugins/vcsbase/vcsbasesubmiteditor.cpp +++ b/src/plugins/vcsbase/vcsbasesubmiteditor.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "vcsbasesubmiteditor.h" #include "submiteditorfile.h" diff --git a/src/plugins/vcsbase/vcsbasesubmiteditor.h b/src/plugins/vcsbase/vcsbasesubmiteditor.h index f2ba36b0c90202fcc2770bdf2568f868152fb6f4..481cd63d07c5fd97750251228a3c53ce860f0536 100644 --- a/src/plugins/vcsbase/vcsbasesubmiteditor.h +++ b/src/plugins/vcsbase/vcsbasesubmiteditor.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef VCSBaseSUBMITEDITOR_H #define VCSBaseSUBMITEDITOR_H diff --git a/src/plugins/vcsbase/vcsbasetextdocument.cpp b/src/plugins/vcsbase/vcsbasetextdocument.cpp index 2e52e56ea0fae97d18a5d8871b16bc112e67537e..06b4f7ab6e1e13bde74705e4a8b35ad2f9b6f61d 100644 --- a/src/plugins/vcsbase/vcsbasetextdocument.cpp +++ b/src/plugins/vcsbase/vcsbasetextdocument.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "vcsbasetextdocument.h" diff --git a/src/plugins/vcsbase/vcsbasetextdocument.h b/src/plugins/vcsbase/vcsbasetextdocument.h index 9c2b2c66c60a52022ee72f0aabbe7e86206ffc8f..e6e66edc95ff0484e464f28ee8af6304beecdd3d 100644 --- a/src/plugins/vcsbase/vcsbasetextdocument.h +++ b/src/plugins/vcsbase/vcsbasetextdocument.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef VCSBASETEXTDOCUMENT_H #define VCSBASETEXTDOCUMENT_H diff --git a/src/tools/makespy/main.cpp b/src/tools/makespy/main.cpp index bee1a8f0d57ec2f2137b579feb4f1b1869c95a39..9cce394f0a0f4f361fae440db8b8dec057863500 100644 --- a/src/tools/makespy/main.cpp +++ b/src/tools/makespy/main.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QApplication> diff --git a/src/tools/qdebugger/lean.h b/src/tools/qdebugger/lean.h index 69935c83ee6e66e7666759dae172a00092569b4a..16131588e0f9008d0b3df477494d48410d009f25 100644 --- a/src/tools/qdebugger/lean.h +++ b/src/tools/qdebugger/lean.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QDBIMPORTS_H #define QDBIMPORTS_H diff --git a/src/tools/qdebugger/main.cpp b/src/tools/qdebugger/main.cpp index 101a046cf2c5c58d803b98b0a7d496385c87960b..93cddaabf82809005a7c84493078bd2dd640673e 100644 --- a/src/tools/qdebugger/main.cpp +++ b/src/tools/qdebugger/main.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "mainwindow.h" diff --git a/src/tools/qdebugger/mainwindow.cpp b/src/tools/qdebugger/mainwindow.cpp index e1203b6fac7139ef8373794fb0e0d24ca5f6958c..8729f947248e225788056862793d39559b04ad63 100644 --- a/src/tools/qdebugger/mainwindow.cpp +++ b/src/tools/qdebugger/mainwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "mainwindow.h" diff --git a/src/tools/qdebugger/mainwindow.h b/src/tools/qdebugger/mainwindow.h index 6a313b6ed124b700b9527b71f7e53007a0e0b678..cdcc8293d5e6fcbec3ae8c669493cedacb04bab2 100644 --- a/src/tools/qdebugger/mainwindow.h +++ b/src/tools/qdebugger/mainwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QDB_MAINWINDOW_H #define QDB_MAINWINDOW_H diff --git a/src/tools/qtcreatorwidgets/customwidget.h b/src/tools/qtcreatorwidgets/customwidget.h index 23f22cf5a25027bdea49ea3f18aab06b466705bb..a219ead3cb6e1ff2b418fbddaca25c83232a3b82 100644 --- a/src/tools/qtcreatorwidgets/customwidget.h +++ b/src/tools/qtcreatorwidgets/customwidget.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef CUSTOMWIDGET #define CUSTOMWIDGET diff --git a/src/tools/qtcreatorwidgets/customwidgets.cpp b/src/tools/qtcreatorwidgets/customwidgets.cpp index 80a6d31e5d461c5ea4a1e8e7fee003c71b49f8c2..543d5e4f4c60047ed764e5daf0fa8ecc75de7e44 100644 --- a/src/tools/qtcreatorwidgets/customwidgets.cpp +++ b/src/tools/qtcreatorwidgets/customwidgets.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "customwidgets.h" diff --git a/src/tools/qtcreatorwidgets/customwidgets.h b/src/tools/qtcreatorwidgets/customwidgets.h index fbf638bdedaff25eed400d959244fc52abe1b4f7..a7f6c4369b51a6c96d771cefb955ca8318f1dfea 100644 --- a/src/tools/qtcreatorwidgets/customwidgets.h +++ b/src/tools/qtcreatorwidgets/customwidgets.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef _CUSTOMWIDGETS_ #define _CUSTOMWIDGETS_ diff --git a/src/tools/texteditor/main.cpp b/src/tools/texteditor/main.cpp index 101a046cf2c5c58d803b98b0a7d496385c87960b..93cddaabf82809005a7c84493078bd2dd640673e 100644 --- a/src/tools/texteditor/main.cpp +++ b/src/tools/texteditor/main.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "mainwindow.h" diff --git a/src/tools/texteditor/mainwindow.cpp b/src/tools/texteditor/mainwindow.cpp index 087bdc92cea5bd7bd39a11ef3ddfe902cf69fa57..a86379d5b6935edc1e07b95f266cbe34e7b83874 100644 --- a/src/tools/texteditor/mainwindow.cpp +++ b/src/tools/texteditor/mainwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "mainwindow.h" diff --git a/src/tools/texteditor/mainwindow.h b/src/tools/texteditor/mainwindow.h index cf9983d5b46adc73a10e4edbe1181bf311ffe8c3..23811d7a459ac329405708045635c40642f11854 100644 --- a/src/tools/texteditor/mainwindow.h +++ b/src/tools/texteditor/mainwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef TEXTEDITOR_MAINWINDOW_H #define TEXTEDITOR_MAINWINDOW_H diff --git a/tests/auto/extensionsystem/tst_composite.cpp b/tests/auto/extensionsystem/tst_composite.cpp index 0673c789bf43d352e50c83b51cfb4f53d2f9e64e..a62fc3137da523456c961a5a24ba8acd1c9b747e 100644 --- a/tests/auto/extensionsystem/tst_composite.cpp +++ b/tests/auto/extensionsystem/tst_composite.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtTest/QtTest> #include "../../../src/libs/extensionsystem/composite.h" diff --git a/tests/auto/profilereader/data/includefiles/pri.cpp b/tests/auto/profilereader/data/includefiles/pri.cpp index 5ef9c92fae2ab3c6a20c58b0f87ba308ed3af6c0..f678b92cef1fa76bdee13a3c34ff95f8fa04a76b 100644 --- a/tests/auto/profilereader/data/includefiles/pri.cpp +++ b/tests/auto/profilereader/data/includefiles/pri.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,7 +26,7 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ diff --git a/tests/auto/profilereader/data/includefiles/pro.cpp b/tests/auto/profilereader/data/includefiles/pro.cpp index 5ef9c92fae2ab3c6a20c58b0f87ba308ed3af6c0..f678b92cef1fa76bdee13a3c34ff95f8fa04a76b 100644 --- a/tests/auto/profilereader/data/includefiles/pro.cpp +++ b/tests/auto/profilereader/data/includefiles/pro.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,7 +26,7 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ diff --git a/tests/auto/profilereader/main.cpp b/tests/auto/profilereader/main.cpp index 6ae9354cb694a784fbb61c82a49828b4c76c2e07..f3ef9a4bf9c2573fe87cb1de7879043e10f6011f 100644 --- a/tests/auto/profilereader/main.cpp +++ b/tests/auto/profilereader/main.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "profilereader.h" diff --git a/tests/auto/profilereader/profilecache.h b/tests/auto/profilereader/profilecache.h index adea20d894f989855c0da5da1ba93830e8261e1a..cc91c0f3b74770f701cd5f9660318b0887ce0ae2 100644 --- a/tests/auto/profilereader/profilecache.h +++ b/tests/auto/profilereader/profilecache.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef PROFILECACHE_H #define PROFILECACHE_H diff --git a/tests/auto/profilereader/qtversionmanager.h b/tests/auto/profilereader/qtversionmanager.h index 0f495c6c8df671c8447b83b6d605e4746a8338d0..ae1e9b78d918fd1efbaec85ce393978afd3ec07f 100644 --- a/tests/auto/profilereader/qtversionmanager.h +++ b/tests/auto/profilereader/qtversionmanager.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef QTVERSIONMANAGER_H #define QTVERSIONMANAGER_H diff --git a/tests/manual/cppmodelmanager/codemodel/binder.cpp b/tests/manual/cppmodelmanager/codemodel/binder.cpp deleted file mode 100644 index 6f71a7b3c49e74cde0848fda0aa40ab44fbef7c3..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/codemodel/binder.cpp +++ /dev/null @@ -1,866 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ - -/* This file is part of KDevelop -Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> -Copyright (C) 2005 Trolltech AS - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License version 2 as published by the Free Software Foundation. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, -Boston, MA 02110-1301, USA. -*/ - -#include "binder.h" -#include "lexer.h" -#include "control.h" -#include "symbol.h" -#include "codemodel_finder.h" -#include "class_compiler.h" -#include "compiler_utils.h" -#include "tokens.h" -#include "dumptree.h" - -#include <iostream> - -#include <qdebug.h> - -Binder::Binder(CppCodeModel *__model, LocationManager &__location, Control *__control) -: _M_model(__model), -_M_location(__location), -_M_token_stream(&_M_location.token_stream), -_M_control(__control), -_M_current_function_type(CodeModel::Normal), -type_cc(this), -name_cc(this), -decl_cc(this) -{ - _M_current_file = 0; - _M_current_namespace = 0; - _M_current_class = 0; - _M_current_function = 0; - _M_current_enum = 0; -} - -Binder::~Binder() -{ -} - -void Binder::run(AST *node, const QString &filename) -{ - _M_current_access = CodeModel::Public; - if (_M_current_file = model()->fileItem(filename)) - visit(node); -} - -ScopeModelItem *Binder::findScope(const QString &name) const -{ - return _M_known_scopes.value(name, 0); -} - -ScopeModelItem *Binder::resolveScope(NameAST *id, ScopeModelItem *scope) -{ - Q_ASSERT(scope != 0); - - bool foundScope; - CodeModelFinder finder(model(), this); - QString symbolScopeName = finder.resolveScope(id, scope, &foundScope); - if (!foundScope) { - name_cc.run(id); - std::cerr << "** WARNING scope not found for symbol:" - << qPrintable(name_cc.qualifiedName()) << std::endl; - return 0; - } - - if (symbolScopeName.isEmpty()) - return scope; - - ScopeModelItem *symbolScope = findScope(symbolScopeName); - - qDebug() << "Resolving: " << symbolScopeName; - qDebug() << " Current File: " << scope->file()->name(); - - if (symbolScope) - qDebug() << " Found in file: " << symbolScope->file()->name(); - - if (!symbolScope || symbolScope->file() != scope->file()) { - CppFileModelItem *file = model_cast<CppFileModelItem *>(scope->file()); - symbolScope = file->findExternalScope(symbolScopeName); - qDebug() << " Create as external reference"; - if (!symbolScope) { - symbolScope = new ScopeModelItem(_M_model); - symbolScope->setName(symbolScopeName); - file->addExternalScope(symbolScope); - } - } - - return symbolScope; -} - -ScopeModelItem *Binder::currentScope() -{ - if (_M_current_class) - return _M_current_class; - else if (_M_current_namespace) - return _M_current_namespace; - - return _M_current_file; -} - -TemplateParameterList Binder::changeTemplateParameters(TemplateParameterList templateParameters) -{ - TemplateParameterList old = _M_current_template_parameters; - _M_current_template_parameters = templateParameters; - return old; -} - -CodeModel::FunctionType Binder::changeCurrentFunctionType(CodeModel::FunctionType functionType) -{ - CodeModel::FunctionType old = _M_current_function_type; - _M_current_function_type = functionType; - return old; -} - -CodeModel::AccessPolicy Binder::changeCurrentAccess(CodeModel::AccessPolicy accessPolicy) -{ - CodeModel::AccessPolicy old = _M_current_access; - _M_current_access = accessPolicy; - return old; -} - -NamespaceModelItem *Binder::changeCurrentNamespace(NamespaceModelItem *item) -{ - NamespaceModelItem *old = _M_current_namespace; - _M_current_namespace = item; - return old; -} - -CppClassModelItem *Binder::changeCurrentClass(CppClassModelItem *item) -{ - CppClassModelItem *old = _M_current_class; - _M_current_class = item; - return old; -} - -CppFunctionDefinitionModelItem *Binder::changeCurrentFunction(CppFunctionDefinitionModelItem *item) -{ - CppFunctionDefinitionModelItem *old = _M_current_function; - _M_current_function = item; - return old; -} - -int Binder::decode_token(std::size_t index) const -{ - return _M_token_stream->kind(index); -} - -CodeModel::AccessPolicy Binder::decode_access_policy(std::size_t index) const -{ - switch (decode_token(index)) - { - case Token_class: - return CodeModel::Private; - - case Token_struct: - case Token_union: - return CodeModel::Public; - - default: - return CodeModel::Public; - } -} - -CodeModel::ClassType Binder::decode_class_type(std::size_t index) const -{ - switch (decode_token(index)) - { - case Token_class: - return CodeModel::Class; - case Token_struct: - return CodeModel::Struct; - case Token_union: - return CodeModel::Union; - default: - std::cerr << "** WARNING unrecognized class type" << std::endl; - } - return CodeModel::Class; -} - -const NameSymbol *Binder::decode_symbol(std::size_t index) const -{ - return _M_token_stream->symbol(index); -} - -void Binder::visitAccessSpecifier(AccessSpecifierAST *node) -{ - const ListNode<std::size_t> *it = node->specs; - if (it == 0) - return; - - it = it->toFront(); - const ListNode<std::size_t> *end = it; - - do - { - switch (decode_token(it->element)) - { - default: - break; - - case Token_public: - changeCurrentAccess(CodeModel::Public); - changeCurrentFunctionType(CodeModel::Normal); - break; - case Token_protected: - changeCurrentAccess(CodeModel::Protected); - changeCurrentFunctionType(CodeModel::Normal); - break; - case Token_private: - changeCurrentAccess(CodeModel::Private); - changeCurrentFunctionType(CodeModel::Normal); - break; - case Token_signals: - changeCurrentAccess(CodeModel::Protected); - changeCurrentFunctionType(CodeModel::Signal); - break; - case Token_slots: - changeCurrentFunctionType(CodeModel::Slot); - break; - } - it = it->next; - } - while (it != end); -} - -void Binder::visitSimpleDeclaration(SimpleDeclarationAST *node) -{ - visit(node->type_specifier); - - if (const ListNode<InitDeclaratorAST*> *it = node->init_declarators) - { - it = it->toFront(); - const ListNode<InitDeclaratorAST*> *end = it; - do - { - InitDeclaratorAST *init_declarator = it->element; - declare_symbol(node, init_declarator); - it = it->next; - } - while (it != end); - } -} - -void Binder::declare_symbol(SimpleDeclarationAST *node, InitDeclaratorAST *init_declarator) -{ - DeclaratorAST *declarator = init_declarator->declarator; - - while (declarator && declarator->sub_declarator) - declarator = declarator->sub_declarator; - - NameAST *id = declarator->id; - if (! declarator->id) - { - std::cerr << "** WARNING expected a declarator id" << std::endl; - return; - } - - decl_cc.run(declarator); - - if (decl_cc.isFunction()) - { - name_cc.run(id->unqualified_name); - - FunctionModelItem *fun = new FunctionModelItem(model()); - updateFileAndItemPosition (fun, node); - - ScopeModelItem *symbolScope = resolveScope(id, currentScope()); - if (!symbolScope) { - delete fun; - return; - } - - fun->setAccessPolicy(_M_current_access); - fun->setFunctionType(_M_current_function_type); - fun->setName(name_cc.qualifiedName()); - fun->setAbstract(init_declarator->initializer != 0); - fun->setConstant(declarator->fun_cv != 0); - fun->setTemplateParameters(copyTemplateParameters(_M_current_template_parameters)); - applyStorageSpecifiers(node->storage_specifiers, fun); - applyFunctionSpecifiers(node->function_specifiers, fun); - - // build the type - TypeInfo *typeInfo = CompilerUtils::typeDescription(node->type_specifier, - declarator, - this); - - fun->setType(typeInfo); - - - fun->setVariadics (decl_cc.isVariadics ()); - - // ... and the signature - foreach (DeclaratorCompiler::Parameter p, decl_cc.parameters()) - { - CppArgumentModelItem *arg = new CppArgumentModelItem(model()); - arg->setType(p.type); - arg->setName(p.name); - arg->setDefaultValue(p.defaultValue); - if (p.defaultValue) - arg->setDefaultValueExpression(p.defaultValueExpression); - fun->addArgument(arg); - } - - fun->setScope(symbolScope->qualifiedName()); - symbolScope->addFunction(fun); - } - else - { - CppVariableModelItem *var = new CppVariableModelItem(model()); - updateFileAndItemPosition (var, node); - - ScopeModelItem *symbolScope = resolveScope(id, currentScope()); - if (!symbolScope) { - delete var; - return; - } - - var->setTemplateParameters(copyTemplateParameters(_M_current_template_parameters)); - var->setAccessPolicy(_M_current_access); - name_cc.run(id->unqualified_name); - var->setName(name_cc.qualifiedName()); - TypeInfo *typeInfo = CompilerUtils::typeDescription(node->type_specifier, - declarator, - this); - if (declarator != init_declarator->declarator - && init_declarator->declarator->parameter_declaration_clause != 0) - { - typeInfo->setFunctionPointer (true); - decl_cc.run (init_declarator->declarator); - foreach (DeclaratorCompiler::Parameter p, decl_cc.parameters()) - typeInfo->addArgument(p.type); - } - - var->setType(typeInfo); - applyStorageSpecifiers(node->storage_specifiers, var); - - var->setScope(symbolScope->qualifiedName()); - symbolScope->addVariable(var); - } -} - -void Binder::visitFunctionDefinition(FunctionDefinitionAST *node) -{ - Q_ASSERT(node->init_declarator != 0); - - InitDeclaratorAST *init_declarator = node->init_declarator; - DeclaratorAST *declarator = init_declarator->declarator; - - decl_cc.run(declarator); - - Q_ASSERT(! decl_cc.id().isEmpty()); - - CppFunctionDefinitionModelItem * - old = changeCurrentFunction(new CppFunctionDefinitionModelItem(_M_model)); - updateFileAndItemPosition (_M_current_function, node); - - ScopeModelItem *functionScope = resolveScope(declarator->id, currentScope()); - if (! functionScope) { - delete _M_current_function; - changeCurrentFunction(old); - return; - } - - _M_current_function->setScope(functionScope->qualifiedName()); - - Q_ASSERT(declarator->id->unqualified_name != 0); - name_cc.run(declarator->id->unqualified_name); - QString unqualified_name = name_cc.qualifiedName(); - - _M_current_function->setName(unqualified_name); - TypeInfo *tmp_type = CompilerUtils::typeDescription(node->type_specifier, - declarator, this); - - _M_current_function->setType(tmp_type); - _M_current_function->setAccessPolicy(_M_current_access); - _M_current_function->setFunctionType(_M_current_function_type); - _M_current_function->setConstant(declarator->fun_cv != 0); - _M_current_function->setTemplateParameters(copyTemplateParameters(_M_current_template_parameters)); - - applyStorageSpecifiers(node->storage_specifiers, - _M_current_function); - applyFunctionSpecifiers(node->function_specifiers, - _M_current_function); - - _M_current_function->setVariadics (decl_cc.isVariadics ()); - - foreach (DeclaratorCompiler::Parameter p, decl_cc.parameters()) - { - CppArgumentModelItem *arg = new CppArgumentModelItem(model()); - arg->setType(p.type); - arg->setName(p.name); - arg->setDefaultValue(p.defaultValue); - _M_current_function->addArgument(arg); - } - - functionScope->addFunctionDefinition(_M_current_function); - changeCurrentFunction(old); -} - -void Binder::visitTemplateDeclaration(TemplateDeclarationAST *node) -{ - const ListNode<TemplateParameterAST*> *it = node->template_parameters; - if (it == 0) - return; - - TemplateParameterList savedTemplateParameters = changeTemplateParameters(TemplateParameterList()); - - it = it->toFront(); - const ListNode<TemplateParameterAST*> *end = it; - - do - { - TemplateParameterAST *parameter = it->element; - TypeParameterAST *type_parameter = parameter->type_parameter; - if (! type_parameter) - { - std::cerr << "** WARNING template declaration not supported ``"; - Token const &tk = _M_token_stream->token ((int) node->start_token); - Token const &end_tk = _M_token_stream->token ((int) node->declaration->start_token); - - std::cerr << std::string (&tk.text[tk.position], (end_tk.position) - tk.position) << "''" - << std::endl << std::endl; - - qDeleteAll(_M_current_template_parameters); - changeTemplateParameters(savedTemplateParameters); - return; - } - assert(type_parameter != 0); - - int tk = decode_token(type_parameter->type); - if (tk != Token_typename && tk != Token_class) - { - std::cerr << "** WARNING template declaration not supported ``"; - Token const &tk = _M_token_stream->token ((int) node->start_token); - Token const &end_tk = _M_token_stream->token ((int) node->declaration->start_token); - - std::cerr << std::string (&tk.text[tk.position], (end_tk.position) - tk.position) << "''" - << std::endl << std::endl; - - qDeleteAll(_M_current_template_parameters); - changeTemplateParameters(savedTemplateParameters); - return; - } - assert(tk == Token_typename || tk == Token_class); - - name_cc.run(type_parameter->name); - - CppTemplateParameterModelItem *p = new CppTemplateParameterModelItem(model()); - p->setName(name_cc.qualifiedName()); - _M_current_template_parameters.append(p); - it = it->next; - } - while (it != end); - - visit(node->declaration); - - qDeleteAll(_M_current_template_parameters); - changeTemplateParameters(savedTemplateParameters); -} - -void Binder::visitTypedef(TypedefAST *node) -{ - const ListNode<InitDeclaratorAST*> *it = node->init_declarators; - if (it == 0) - return; - - it = it->toFront(); - const ListNode<InitDeclaratorAST*> *end = it; - - do - { - InitDeclaratorAST *init_declarator = it->element; - it = it->next; - - Q_ASSERT(init_declarator->declarator != 0); - - // the name - decl_cc.run (init_declarator->declarator); - QString alias_name = decl_cc.id (); - - if (alias_name.isEmpty ()) - { - std::cerr << "** WARNING anonymous typedef not supported! ``"; - Token const &tk = _M_token_stream->token ((int) node->start_token); - Token const &end_tk = _M_token_stream->token ((int) node->end_token); - - std::cerr << std::string (&tk.text[tk.position], end_tk.position - tk.position) << "''" - << std::endl << std::endl; - continue; - } - - // build the type - TypeInfo *typeInfo = CompilerUtils::typeDescription (node->type_specifier, - init_declarator->declarator, - this); - DeclaratorAST *decl = init_declarator->declarator; - while (decl && decl->sub_declarator) - decl = decl->sub_declarator; - - if (decl != init_declarator->declarator - && init_declarator->declarator->parameter_declaration_clause != 0) - { - typeInfo->setFunctionPointer (true); - decl_cc.run (init_declarator->declarator); - foreach (DeclaratorCompiler::Parameter p, decl_cc.parameters()) - typeInfo->addArgument(p.type); - } - - DeclaratorAST *declarator = init_declarator->declarator; - - CppTypeAliasModelItem *typeAlias = new CppTypeAliasModelItem(model()); - updateFileAndItemPosition (typeAlias, node); - - ScopeModelItem *typedefScope = resolveScope(declarator->id, currentScope()); - if (!typedefScope) { - delete typeAlias; - return; - } - - typeAlias->setName (alias_name); - typeAlias->setType (typeInfo); - typeAlias->setScope (typedefScope->qualifiedName()); - typedefScope->addTypeAlias (typeAlias); - } - while (it != end); -} - -void Binder::visitNamespace(NamespaceAST *node) -{ - bool anonymous = (node->namespace_name == 0); - - ScopeModelItem *scope = 0; - NamespaceModelItem *old = 0; - if (! anonymous) - { - // update the file if needed - updateFileAndItemPosition (0, node); - scope = currentScope(); - - QString name = decode_symbol(node->namespace_name)->as_string(); - - QString qualified_name = scope->qualifiedName(); - if (!qualified_name.isEmpty()) - qualified_name += QLatin1String("::"); - qualified_name += name; - NamespaceModelItem *ns = model_cast<NamespaceModelItem *>(findScope(qualified_name)); - if (ns && ns->file() != scope->file()) { - qDebug() << ns->file()->name() << " :: " << scope->file()->name(); - ns = 0; // we need a separate namespaces for different files - } - - if (!ns) - { - ns = new NamespaceModelItem(_M_model); - updateFileAndItemPosition (ns, node); - - _M_known_scopes.insert(qualified_name, ns); - ns->setName(name); - ns->setScope(scope->qualifiedName()); - } - old = changeCurrentNamespace(ns); - } - - DefaultVisitor::visitNamespace(node); - - if (! anonymous) - { - Q_ASSERT(scope->kind() == CodeModelItem::Kind_Namespace - || scope->kind() == CodeModelItem::Kind_File); - - if (NamespaceModelItem *ns = model_cast<NamespaceModelItem *>(scope)) - ns->addNamespace(_M_current_namespace); - - changeCurrentNamespace(old); - } -} - -void Binder::visitClassSpecifier(ClassSpecifierAST *node) -{ - ClassCompiler class_cc(this); - class_cc.run(node); - - if (class_cc.name().isEmpty()) - { - // anonymous not supported - return; - } - - Q_ASSERT(node->name != 0 && node->name->unqualified_name != 0); - - - CppClassModelItem *class_item = new CppClassModelItem(_M_model); - updateFileAndItemPosition (class_item, node); - ScopeModelItem *scope = currentScope(); - CppClassModelItem *old = changeCurrentClass(class_item); - - _M_current_class->setName(class_cc.name()); - _M_current_class->setBaseClasses(class_cc.baseClasses()); - _M_current_class->setClassType(decode_class_type(node->class_key)); - _M_current_class->setTemplateParameters(copyTemplateParameters(_M_current_template_parameters)); - - QString name = _M_current_class->name(); - if (!_M_current_template_parameters.isEmpty()) - { - name += "<"; - for (int i = 0; i<_M_current_template_parameters.size(); ++i) - { - if (i != 0) - name += ","; - - name += _M_current_template_parameters.at(i)->name(); - } - - name += ">"; - _M_current_class->setName(name); - } - - CodeModel::AccessPolicy oldAccessPolicy = changeCurrentAccess(decode_access_policy(node->class_key)); - CodeModel::FunctionType oldFunctionType = changeCurrentFunctionType(CodeModel::Normal); - - QString qualifiedname = scope->qualifiedName(); - _M_current_class->setScope(qualifiedname); - if (!qualifiedname.isEmpty()) - qualifiedname += QLatin1String("::"); - qualifiedname += name; - _M_known_scopes.insert(qualifiedname, _M_current_class); - - scope->addClass(_M_current_class); - - name_cc.run(node->name->unqualified_name); - - visitNodes(this, node->member_specs); - - changeCurrentClass(old); - changeCurrentAccess(oldAccessPolicy); - changeCurrentFunctionType(oldFunctionType); -} - -void Binder::visitLinkageSpecification(LinkageSpecificationAST *node) -{ - DefaultVisitor::visitLinkageSpecification(node); -} - -void Binder::visitUsing(UsingAST *node) -{ - DefaultVisitor::visitUsing(node); -} - -void Binder::visitEnumSpecifier(EnumSpecifierAST *node) -{ - CodeModelFinder finder(model(), this); - - name_cc.run(node->name); - QString name = name_cc.qualifiedName(); - - if (name.isEmpty()) - { - // anonymous enum - static int N = 0; - name = QLatin1String("$$enum_"); - name += QString::number(++N); - } - - _M_current_enum = new CppEnumModelItem(model()); - - updateFileAndItemPosition (_M_current_enum, node); - ScopeModelItem *enumScope = resolveScope(node->name, currentScope()); - if (!enumScope) { - delete _M_current_enum; - _M_current_enum = 0; - return; - } - - - _M_current_enum->setAccessPolicy(_M_current_access); - _M_current_enum->setName(name); - _M_current_enum->setScope(enumScope->qualifiedName()); - - enumScope->addEnum(_M_current_enum); - - DefaultVisitor::visitEnumSpecifier(node); - - _M_current_enum = 0; -} - -void Binder::visitEnumerator(EnumeratorAST *node) -{ - Q_ASSERT(_M_current_enum != 0); - CppEnumeratorModelItem *e = new CppEnumeratorModelItem(model()); - updateFileAndItemPosition (e, node); - e->setName(decode_symbol(node->id)->as_string()); - - if (ExpressionAST *expr = node->expression) - { - const Token &start_token = _M_token_stream->token((int) expr->start_token); - const Token &end_token = _M_token_stream->token((int) expr->end_token); - - e->setValue(QString::fromUtf8(&start_token.text[start_token.position], - (int) (end_token.position - start_token.position)).trimmed()); - } - - _M_current_enum->addEnumerator(e); -} - -void Binder::visitUsingDirective(UsingDirectiveAST *node) -{ - DefaultVisitor::visitUsingDirective(node); -} - -void Binder::applyStorageSpecifiers(const ListNode<std::size_t> *it, MemberModelItem *item) -{ - if (it == 0) - return; - - it = it->toFront(); - const ListNode<std::size_t> *end = it; - - do - { - switch (decode_token(it->element)) - { - default: - break; - - case Token_friend: - item->setFriend(true); - break; - case Token_auto: - item->setAuto(true); - break; - case Token_register: - item->setRegister(true); - break; - case Token_static: - item->setStatic(true); - break; - case Token_extern: - item->setExtern(true); - break; - case Token_mutable: - item->setMutable(true); - break; - } - it = it->next; - } - while (it != end); -} - -void Binder::applyFunctionSpecifiers(const ListNode<std::size_t> *it, FunctionModelItem *item) -{ - if (it == 0) - return; - - it = it->toFront(); - const ListNode<std::size_t> *end = it; - - do - { - switch (decode_token(it->element)) - { - default: - break; - - case Token_inline: - item->setInline(true); - break; - - case Token_virtual: - item->setVirtual(true); - break; - - case Token_explicit: - item->setExplicit(true); - break; - } - it = it->next; - } - while (it != end); -} - -void Binder::updateFileAndItemPosition(CodeModelItem *item, AST *node) -{ - QString filename; - int sline, scolumn; - int eline, ecolumn; - - assert (node != 0); - _M_location.positionAt (_M_token_stream->position(node->start_token), &sline, &scolumn, &filename); - _M_location.positionAt (_M_token_stream->position(node->end_token), &eline, &ecolumn, &QString()); - - if (!filename.isEmpty() && (!_M_current_file || _M_current_file->name() != filename)) - _M_current_file = model()->fileItem(filename); - - if (item) { - item->setFile(_M_current_file); - item->setStartPosition(sline, scolumn); - item->setEndPosition(eline, ecolumn); - } -} - -TemplateParameterList Binder::copyTemplateParameters(const TemplateParameterList &in) const -{ - TemplateParameterList result; - foreach(TemplateParameterModelItem *item, in) { - CppTemplateParameterModelItem *newitem = - new CppTemplateParameterModelItem(*(model_cast<CppTemplateParameterModelItem *>(item))); - if (item->type()) { - TypeInfo *type = new TypeInfo(); - *type = *(item->type()); - newitem->setType(type); - } - result.append(newitem); - } - return result; -} - -// kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/tests/manual/cppmodelmanager/codemodel/binder.h b/tests/manual/cppmodelmanager/codemodel/binder.h deleted file mode 100644 index 252c15b744e7e700730316e125039a14e6c3400d..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/codemodel/binder.h +++ /dev/null @@ -1,141 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* This file is part of KDevelop - Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> - Copyright (C) 2005 Trolltech AS - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef BINDER_H -#define BINDER_H - -#include "default_visitor.h" -#include "cppcodemodel.h" -#include "type_compiler.h" -#include "name_compiler.h" -#include "declarator_compiler.h" - -class TokenStream; -class LocationManager; -class Control; -struct NameSymbol; - -class Binder: protected DefaultVisitor -{ -public: - Binder(CppCodeModel *__model, LocationManager &__location, Control *__control = 0); - virtual ~Binder(); - - inline TokenStream *tokenStream() const { return _M_token_stream; } - inline CppCodeModel *model() const { return _M_model; } - ScopeModelItem *currentScope(); - - void run(AST *node, const QString &filename); - -protected: - virtual void visitAccessSpecifier(AccessSpecifierAST *); - virtual void visitClassSpecifier(ClassSpecifierAST *); - virtual void visitEnumSpecifier(EnumSpecifierAST *); - virtual void visitEnumerator(EnumeratorAST *); - virtual void visitFunctionDefinition(FunctionDefinitionAST *); - virtual void visitLinkageSpecification(LinkageSpecificationAST *); - virtual void visitNamespace(NamespaceAST *); - virtual void visitSimpleDeclaration(SimpleDeclarationAST *); - virtual void visitTemplateDeclaration(TemplateDeclarationAST *); - virtual void visitTypedef(TypedefAST *); - virtual void visitUsing(UsingAST *); - virtual void visitUsingDirective(UsingDirectiveAST *); - -private: - ScopeModelItem *findScope(const QString &name) const; - ScopeModelItem *resolveScope(NameAST *id, ScopeModelItem *scope); - - int decode_token(std::size_t index) const; - const NameSymbol *decode_symbol(std::size_t index) const; - CodeModel::AccessPolicy decode_access_policy(std::size_t index) const; - CodeModel::ClassType decode_class_type(std::size_t index) const; - - CodeModel::FunctionType changeCurrentFunctionType(CodeModel::FunctionType functionType); - CodeModel::AccessPolicy changeCurrentAccess(CodeModel::AccessPolicy accessPolicy); - NamespaceModelItem *changeCurrentNamespace(NamespaceModelItem *item); - CppClassModelItem *changeCurrentClass(CppClassModelItem *item); - CppFunctionDefinitionModelItem *changeCurrentFunction(CppFunctionDefinitionModelItem *item); - TemplateParameterList changeTemplateParameters(TemplateParameterList templateParameters); - - void declare_symbol(SimpleDeclarationAST *node, InitDeclaratorAST *init_declarator); - - void applyStorageSpecifiers(const ListNode<std::size_t> *storage_specifiers, MemberModelItem *item); - void applyFunctionSpecifiers(const ListNode<std::size_t> *it, FunctionModelItem *item); - - void updateFileAndItemPosition(CodeModelItem *item, AST *node); - - TemplateParameterList copyTemplateParameters(const TemplateParameterList &in) const; - -private: - CppCodeModel *_M_model; - LocationManager &_M_location; - TokenStream *_M_token_stream; - Control *_M_control; - - CodeModel::FunctionType _M_current_function_type; - CodeModel::AccessPolicy _M_current_access; - CppFileModelItem *_M_current_file; - NamespaceModelItem *_M_current_namespace; - CppClassModelItem *_M_current_class; - CppFunctionDefinitionModelItem *_M_current_function; - CppEnumModelItem *_M_current_enum; - TemplateParameterList _M_current_template_parameters; - QHash<QString, ScopeModelItem *> _M_known_scopes; - -protected: - TypeCompiler type_cc; - NameCompiler name_cc; - DeclaratorCompiler decl_cc; -}; - -#endif // BINDER_H - -// kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/tests/manual/cppmodelmanager/codemodel/class_compiler.cpp b/tests/manual/cppmodelmanager/codemodel/class_compiler.cpp deleted file mode 100644 index 7a484f9447213229682dc2361c1ea8e570a6c478..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/codemodel/class_compiler.cpp +++ /dev/null @@ -1,91 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* This file is part of KDevelop - Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#include "class_compiler.h" -#include "lexer.h" -#include "binder.h" - -ClassCompiler::ClassCompiler(Binder *binder) - : _M_binder (binder), - _M_token_stream(binder->tokenStream ()), - name_cc(_M_binder), - type_cc(_M_binder) -{ -} - -ClassCompiler::~ClassCompiler() -{ -} - -void ClassCompiler::run(ClassSpecifierAST *node) -{ - name_cc.run(node->name); - _M_name = name_cc.qualifiedName(); - _M_base_classes.clear(); - - visit(node); -} - -void ClassCompiler::visitClassSpecifier(ClassSpecifierAST *node) -{ - visit(node->base_clause); -} - -void ClassCompiler::visitBaseSpecifier(BaseSpecifierAST *node) -{ - name_cc.run(node->name); - QString name = name_cc.qualifiedName(); - - if (! name.isEmpty()) - _M_base_classes.append(name); -} - - -// kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/tests/manual/cppmodelmanager/codemodel/class_compiler.h b/tests/manual/cppmodelmanager/codemodel/class_compiler.h deleted file mode 100644 index a6b3656c262be3d42235b2c017f54c1ae1ca4976..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/codemodel/class_compiler.h +++ /dev/null @@ -1,90 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* This file is part of KDevelop - Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef CLASS_COMPILER_H -#define CLASS_COMPILER_H - -#include <QtCore/qglobal.h> -#include <QtCore/QStringList> - -#include "default_visitor.h" -#include "name_compiler.h" -#include "type_compiler.h" - -class TokenStream; -class Binder; - -class ClassCompiler: protected DefaultVisitor -{ -public: - ClassCompiler(Binder *binder); - virtual ~ClassCompiler(); - - inline QString name() const { return _M_name; } - inline QStringList baseClasses() const { return _M_base_classes; } - - void run(ClassSpecifierAST *node); - -protected: - virtual void visitClassSpecifier(ClassSpecifierAST *node); - virtual void visitBaseSpecifier(BaseSpecifierAST *node); - -private: - Binder *_M_binder; - TokenStream *_M_token_stream; - QString _M_name; - QStringList _M_base_classes; - NameCompiler name_cc; - TypeCompiler type_cc; -}; - -#endif // CLASS_COMPILER_H - -// kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/tests/manual/cppmodelmanager/codemodel/codemodel_finder.cpp b/tests/manual/cppmodelmanager/codemodel/codemodel_finder.cpp deleted file mode 100644 index 2aa5a41ea3c5063a0b593c4fe5f4b36cbb4f9f6b..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/codemodel/codemodel_finder.cpp +++ /dev/null @@ -1,99 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* This file is part of KDevelop -Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License version 2 as published by the Free Software Foundation. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, -Boston, MA 02110-1301, USA. -*/ - -#include "codemodel_finder.h" -#include "cppcodemodel.h" -#include "binder.h" - -CodeModelFinder::CodeModelFinder(CppCodeModel *model, Binder *binder) -: _M_model(model), -_M_binder (binder), -name_cc(_M_binder) -{ -} - -CodeModelFinder::~CodeModelFinder() -{ -} - -QString CodeModelFinder::resolveScope(NameAST *name, ScopeModelItem *scope, bool *ok) -{ - Q_ASSERT(scope != 0); - - _M_ok = true; - _M_current_scope = scope->qualifiedName(); - visit(name); - *ok = _M_ok; - - return _M_current_scope; -} - -void CodeModelFinder::visitName(NameAST *node) -{ - visitNodes(this, node->qualified_names); -} - -void CodeModelFinder::visitUnqualifiedName(UnqualifiedNameAST *node) -{ - if (!_M_ok) - return; - - if (!_M_current_scope.isEmpty()) - _M_current_scope += QLatin1String("::"); - - name_cc.run(node); - _M_current_scope += name_cc.qualifiedName(); - - if (!_M_model->hasScope(_M_current_scope)) - _M_ok = false; -} - -// kate: space-indent on; indent-width 2; replace-tabs on; - diff --git a/tests/manual/cppmodelmanager/codemodel/codemodel_finder.h b/tests/manual/cppmodelmanager/codemodel/codemodel_finder.h deleted file mode 100644 index 3c6c52965d7576100b546baf8ade738d538bd496..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/codemodel/codemodel_finder.h +++ /dev/null @@ -1,86 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* This file is part of KDevelop -Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License version 2 as published by the Free Software Foundation. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, -Boston, MA 02110-1301, USA. -*/ - -#ifndef CODEMODEL_FINDER_H -#define CODEMODEL_FINDER_H - -#include "default_visitor.h" -#include "name_compiler.h" - -class Binder; -class CppCodeModel; -class ScopeModelItem; - -class CodeModelFinder: protected DefaultVisitor -{ -public: - CodeModelFinder(CppCodeModel *model, Binder *binder); - virtual ~CodeModelFinder(); - - QString resolveScope(NameAST *name, ScopeModelItem *scope, bool *ok); - - inline CppCodeModel *model() const { return _M_model; } - -protected: - virtual void visitName(NameAST *node); - virtual void visitUnqualifiedName(UnqualifiedNameAST *node); - -private: - CppCodeModel *_M_model; - Binder *_M_binder; - NameCompiler name_cc; - - bool _M_ok; - QString _M_current_scope; -}; - -#endif // CODEMODEL_FINDER_H - -// kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/tests/manual/cppmodelmanager/codemodel/codemodelitems.cpp b/tests/manual/cppmodelmanager/codemodel/codemodelitems.cpp deleted file mode 100644 index 8d168a13958a63f1586c9f808f103a512cb9bd2f..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/codemodel/codemodelitems.cpp +++ /dev/null @@ -1,893 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ - -/* This file is part of KDevelop -Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> -Copyright (C) 2005 Trolltech AS - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License version 2 as published by the Free Software Foundation. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, -Boston, MA 02110-1301, USA. -*/ - -#include <QtCore/QHash> -#include "codemodelitems.h" - -CodeModel::~CodeModel() -{ - -} - -// --------------------------------------------------------------------------- -bool TypeInfo::operator==(const TypeInfo &other) -{ - if (arrayElements().count() != other.arguments().count()) - return false; - - return flags == other.flags - && m_qualifiedName == other.m_qualifiedName - && (!m_functionPointer || m_arguments == other.m_arguments); -} - -// --------------------------------------------------------------------------- -class CodeModelItemData { -public: - CodeModel *_M_model; - int _M_kind; - int _M_startLine; - int _M_startColumn; - int _M_endLine; - int _M_endColumn; - std::size_t _M_creation_id; - QString _M_name; - FileModelItem *_M_file; - QString _M_scope; -}; - -CodeModelItem::CodeModelItem(CodeModel *model, int kind) -{ - d = new CodeModelItemData; - d->_M_model = model; - d->_M_kind = kind; - d->_M_startLine = 0; - d->_M_startColumn = 0; - d->_M_endLine = 0; - d->_M_endColumn = 0; - d->_M_creation_id = 0; -} - -CodeModelItem::CodeModelItem(const CodeModelItem &item) -{ - d = new CodeModelItemData; - *d = *(item.d); -} - -CodeModelItem::~CodeModelItem() -{ - delete d; -} - -int CodeModelItem::kind() const -{ - return d->_M_kind; -} - -void CodeModelItem::setKind(int kind) -{ - d->_M_kind = kind; -} - -QString CodeModelItem::qualifiedName() const -{ - if (kind() == CodeModelItem::Kind_File) - return QString(); - - QString q = scope(); - - if (!q.isEmpty() && !name().isEmpty()) - q += QLatin1String("::"); - - q += name(); - - return q; -} - -QString CodeModelItem::name() const -{ - return d->_M_name; -} - -void CodeModelItem::setName(const QString &name) -{ - d->_M_name = name; -} - -QString CodeModelItem::scope() const -{ - return d->_M_scope; -} - -void CodeModelItem::setScope(const QString &scope) -{ - d->_M_scope = scope; -} - -void CodeModelItem::setFile(FileModelItem *file) -{ - d->_M_file = file; -} - -FileModelItem *CodeModelItem::file() const -{ - return d->_M_file; -} - -void CodeModelItem::startPosition(int *line, int *column) -{ - *line = d->_M_startLine; - *column = d->_M_startColumn; -} - -void CodeModelItem::setStartPosition(int line, int column) -{ - d->_M_startLine = line; - d->_M_startColumn = column; -} - -void CodeModelItem::endPosition(int *line, int *column) -{ - *line = d->_M_endLine; - *column = d->_M_endColumn; -} - -void CodeModelItem::setEndPosition(int line, int column) -{ - d->_M_endLine = line; - d->_M_endColumn = column; -} - -std::size_t CodeModelItem::creationId() const -{ - return d->_M_creation_id; -} - -void CodeModelItem::setCreationId(std::size_t creation_id) -{ - d->_M_creation_id = creation_id; -} - -CodeModel *CodeModelItem::model() const -{ - return d->_M_model; -} - -// --------------------------------------------------------------------------- -class ClassModelItemData -{ -public: - ~ClassModelItemData() { - qDeleteAll(_M_templateParameters); - } - QStringList _M_baseClasses; - TemplateParameterList _M_templateParameters; - CodeModel::ClassType _M_classType; -}; - -ClassModelItem::ClassModelItem(CodeModel *model, int kind) -: ScopeModelItem(model, kind) -{ - d = new ClassModelItemData(); - d->_M_classType = CodeModel::Class; -} - -ClassModelItem::~ClassModelItem() -{ - delete d; -} - -QStringList ClassModelItem::baseClasses() const -{ - return d->_M_baseClasses; -} - -void ClassModelItem::setBaseClasses(const QStringList &baseClasses) -{ - d->_M_baseClasses = baseClasses; -} - -TemplateParameterList ClassModelItem::templateParameters() const -{ - return d->_M_templateParameters; -} - -void ClassModelItem::setTemplateParameters(const TemplateParameterList &templateParameters) -{ - d->_M_templateParameters = templateParameters; -} - -void ClassModelItem::addBaseClass(const QString &baseClass) -{ - d->_M_baseClasses.append(baseClass); -} - -bool ClassModelItem::extendsClass(const QString &name) const -{ - return d->_M_baseClasses.contains(name); -} - -void ClassModelItem::setClassType(CodeModel::ClassType type) -{ - d->_M_classType = type; -} - -CodeModel::ClassType ClassModelItem::classType() const -{ - return d->_M_classType; -} - -// --------------------------------------------------------------------------- -class ScopeModelItemData -{ -public: - ~ScopeModelItemData() { - qDeleteAll(_M_classes.values()); - qDeleteAll(_M_enums.values()); - qDeleteAll(_M_typeAliases.values()); - qDeleteAll(_M_variables.values()); - qDeleteAll(_M_functionDefinitions.values()); - qDeleteAll(_M_functions.values()); - } - - QHash<QString, ClassModelItem*> _M_classes; - QHash<QString, EnumModelItem*> _M_enums; - QHash<QString, TypeAliasModelItem*> _M_typeAliases; - QHash<QString, VariableModelItem*> _M_variables; - QMultiHash<QString, FunctionDefinitionModelItem*> _M_functionDefinitions; - QMultiHash<QString, FunctionModelItem*> _M_functions; -}; - -ScopeModelItem::ScopeModelItem(CodeModel *model, int kind) - : CodeModelItem(model, kind) -{ - d = new ScopeModelItemData; -} - -ScopeModelItem::~ScopeModelItem() -{ - delete d; -} - -void ScopeModelItem::addClass(ClassModelItem *item) -{ - d->_M_classes.insert(item->name(), item); -} - -void ScopeModelItem::addFunction(FunctionModelItem *item) -{ - d->_M_functions.insert(item->name(), item); -} - -void ScopeModelItem::addFunctionDefinition(FunctionDefinitionModelItem *item) -{ - d->_M_functionDefinitions.insert(item->name(), item); -} - -void ScopeModelItem::addVariable(VariableModelItem *item) -{ - d->_M_variables.insert(item->name(), item); -} - -void ScopeModelItem::addTypeAlias(TypeAliasModelItem *item) -{ - d->_M_typeAliases.insert(item->name(), item); -} - -void ScopeModelItem::addEnum(EnumModelItem *item) -{ - d->_M_enums.insert(item->name(), item); -} - -// --------------------------------------------------------------------------- -class NamespaceModelItemData -{ -public: - ~NamespaceModelItemData() { - qDeleteAll(_M_namespaces.values()); - } - - QHash<QString, NamespaceModelItem *> _M_namespaces; -}; - -NamespaceModelItem::NamespaceModelItem(CodeModel *model, int kind) -: ScopeModelItem(model, kind) -{ - d = new NamespaceModelItemData(); -} - -NamespaceModelItem::~NamespaceModelItem() -{ - delete d; -} - -NamespaceList NamespaceModelItem::namespaces() const -{ - return d->_M_namespaces.values(); -} -void NamespaceModelItem::addNamespace(NamespaceModelItem *item) -{ - d->_M_namespaces.insert(item->name(), item); -} - -// --------------------------------------------------------------------------- -class ArgumentModelItemData -{ -public: - ~ArgumentModelItemData() { - delete _M_type; - } - TypeInfo *_M_type; - QString _M_defaultValueExpression; - bool _M_defaultValue; -}; - -ArgumentModelItem::ArgumentModelItem(CodeModel *model, int kind) -: CodeModelItem(model, kind) -{ - d = new ArgumentModelItemData(); - d->_M_defaultValue = false; -} - -ArgumentModelItem::~ArgumentModelItem() -{ - delete d; -} - -TypeInfo *ArgumentModelItem::type() const -{ - return d->_M_type; -} - -void ArgumentModelItem::setType(TypeInfo *type) -{ - d->_M_type = type; -} - -bool ArgumentModelItem::defaultValue() const -{ - return d->_M_defaultValue; -} - -void ArgumentModelItem::setDefaultValue(bool defaultValue) -{ - d->_M_defaultValue = defaultValue; -} - -QString ArgumentModelItem::defaultValueExpression() const -{ - return d->_M_defaultValueExpression; -} - -void ArgumentModelItem::setDefaultValueExpression(const QString &expr) -{ - d->_M_defaultValueExpression = expr; -} - -// --------------------------------------------------------------------------- -class FunctionModelItemData -{ -public: - ~FunctionModelItemData() { - qDeleteAll(_M_arguments); - } - - ArgumentList _M_arguments; - CodeModel::FunctionType _M_functionType; - union - { - struct - { - uint _M_isVirtual: 1; - uint _M_isInline: 1; - uint _M_isAbstract: 1; - uint _M_isExplicit: 1; - uint _M_isVariadics: 1; - }; - uint _M_flags; - }; -}; - -FunctionModelItem::FunctionModelItem(CodeModel *model, int kind) -: MemberModelItem(model, kind) -{ - d = new FunctionModelItemData(); - d->_M_functionType = CodeModel::Normal; - d->_M_flags = 0; -} - -FunctionModelItem::~FunctionModelItem() -{ - delete d; -} - -bool FunctionModelItem::isSimilar(FunctionModelItem *other) const -{ - if (name() != other->name()) - return false; - - if (isConstant() != other->isConstant()) - return false; - - if (isVariadics() != other->isVariadics()) - return false; - - if (arguments().count() != other->arguments().count()) - return false; - - // ### check the template parameters - - for (int i=0; i<arguments().count(); ++i) - { - ArgumentModelItem *arg1 = arguments().at(i); - ArgumentModelItem *arg2 = other->arguments().at(i); - - TypeInfo *t1 = static_cast<TypeInfo *>(arg1->type()); - TypeInfo *t2 = static_cast<TypeInfo *>(arg2->type()); - - if (*t1 != *t2) - return false; - } - - return true; -} - -ArgumentList FunctionModelItem::arguments() const -{ - return d->_M_arguments; -} - -void FunctionModelItem::addArgument(ArgumentModelItem *item) -{ - d->_M_arguments.append(item); -} - -CodeModel::FunctionType FunctionModelItem::functionType() const -{ - return d->_M_functionType; -} - -void FunctionModelItem::setFunctionType(CodeModel::FunctionType functionType) -{ - d->_M_functionType = functionType; -} - -bool FunctionModelItem::isVariadics() const -{ - return d->_M_isVariadics; -} - -void FunctionModelItem::setVariadics(bool isVariadics) -{ - d->_M_isVariadics = isVariadics; -} - -bool FunctionModelItem::isVirtual() const -{ - return d->_M_isVirtual; -} - -void FunctionModelItem::setVirtual(bool isVirtual) -{ - d->_M_isVirtual = isVirtual; -} - -bool FunctionModelItem::isInline() const -{ - return d->_M_isInline; -} - -void FunctionModelItem::setInline(bool isInline) -{ - d->_M_isInline = isInline; -} - -bool FunctionModelItem::isExplicit() const -{ - return d->_M_isExplicit; -} - -void FunctionModelItem::setExplicit(bool isExplicit) -{ - d->_M_isExplicit = isExplicit; -} - -bool FunctionModelItem::isAbstract() const -{ - return d->_M_isAbstract; -} - -void FunctionModelItem::setAbstract(bool isAbstract) -{ - d->_M_isAbstract = isAbstract; -} - -// --------------------------------------------------------------------------- -class TypeAliasModelItemData -{ -public: - ~TypeAliasModelItemData() { - delete _M_type; - } - - TypeInfo *_M_type; -}; - -TypeAliasModelItem::TypeAliasModelItem(CodeModel *model, int kind) -: CodeModelItem(model, kind) -{ - d = new TypeAliasModelItemData; -} - -TypeAliasModelItem::~TypeAliasModelItem() -{ - delete d; -} - -TypeInfo *TypeAliasModelItem::type() const -{ - return d->_M_type; -} - -void TypeAliasModelItem::setType(TypeInfo *type) -{ - d->_M_type = type; -} - -// --------------------------------------------------------------------------- -class EnumModelItemData -{ -public: - ~EnumModelItemData() { - qDeleteAll(_M_enumerators); - } - CodeModel::AccessPolicy _M_accessPolicy; - EnumeratorList _M_enumerators; -}; - -EnumModelItem::EnumModelItem(CodeModel *model, int kind) -: CodeModelItem(model, kind) -{ - d = new EnumModelItemData; - d->_M_accessPolicy = CodeModel::Public; -} - -EnumModelItem::~EnumModelItem() -{ - delete d; -} - -CodeModel::AccessPolicy EnumModelItem::accessPolicy() const -{ - return d->_M_accessPolicy; -} - -void EnumModelItem::setAccessPolicy(CodeModel::AccessPolicy accessPolicy) -{ - d->_M_accessPolicy = accessPolicy; -} - -EnumeratorList EnumModelItem::enumerators() const -{ - return d->_M_enumerators; -} - -void EnumModelItem::addEnumerator(EnumeratorModelItem *item) -{ - d->_M_enumerators.append(item); -} - -// --------------------------------------------------------------------------- -class EnumeratorModelItemData -{ -public: - QString _M_value; -}; - -EnumeratorModelItem::EnumeratorModelItem(CodeModel *model, int kind) -: CodeModelItem(model, kind) -{ - d = new EnumeratorModelItemData; -} - -EnumeratorModelItem::~EnumeratorModelItem() -{ - delete d; -} - -QString EnumeratorModelItem::value() const -{ - return d->_M_value; -} - -void EnumeratorModelItem::setValue(const QString &value) -{ - d->_M_value = value; -} - -// --------------------------------------------------------------------------- -class TemplateParameterModelItemData -{ -public: - ~TemplateParameterModelItemData() { - delete _M_type; - } - - TypeInfo *_M_type; - bool _M_defaultValue; -}; - -TemplateParameterModelItem::TemplateParameterModelItem(CodeModel *model, int kind) -: CodeModelItem(model, kind) -{ - d = new TemplateParameterModelItemData; - d->_M_defaultValue = false; - d->_M_type = 0; -} - -TemplateParameterModelItem::TemplateParameterModelItem(const TemplateParameterModelItem& item) - : CodeModelItem(item) -{ - d = new TemplateParameterModelItemData; - *d = *(item.d); -} - -TemplateParameterModelItem::~TemplateParameterModelItem() -{ - delete d; -} - -TypeInfo *TemplateParameterModelItem::type() const -{ - return d->_M_type; -} - -void TemplateParameterModelItem::setType(TypeInfo *type) -{ - d->_M_type = type; -} - -bool TemplateParameterModelItem::defaultValue() const -{ - return d->_M_defaultValue; -} - -void TemplateParameterModelItem::setDefaultValue(bool defaultValue) -{ - d->_M_defaultValue = defaultValue; -} - -// --------------------------------------------------------------------------- -FileModelItem::FileModelItem(CodeModel *model, int kind) -: NamespaceModelItem(model, kind) -{ -} - -FileModelItem::~FileModelItem() -{ -} - -FunctionDefinitionModelItem::FunctionDefinitionModelItem(CodeModel *model, int kind) -: FunctionModelItem(model, kind) -{ - -} - -FunctionDefinitionModelItem::~FunctionDefinitionModelItem() -{ - -} - -VariableModelItem::VariableModelItem(CodeModel *model, int kind) -: MemberModelItem(model, kind) -{ - -} - -VariableModelItem::~VariableModelItem() -{ - -} - -// --------------------------------------------------------------------------- -class MemberModelItemData -{ -public: - ~MemberModelItemData() { - delete _M_type; - qDeleteAll(_M_templateParameters); - } - TemplateParameterList _M_templateParameters; - TypeInfo *_M_type; - CodeModel::AccessPolicy _M_accessPolicy; - union - { - struct - { - uint _M_isConstant: 1; - uint _M_isVolatile: 1; - uint _M_isStatic: 1; - uint _M_isAuto: 1; - uint _M_isFriend: 1; - uint _M_isRegister: 1; - uint _M_isExtern: 1; - uint _M_isMutable: 1; - }; - uint _M_flags; - }; -}; - -MemberModelItem::MemberModelItem(CodeModel *model, int kind) -: CodeModelItem(model, kind) -{ - d = new MemberModelItemData(); - d->_M_accessPolicy = CodeModel::Public; - d->_M_flags = 0; -} - -MemberModelItem::~MemberModelItem() -{ - delete d; -} - -TypeInfo *MemberModelItem::type() const -{ - return d->_M_type; -} - -void MemberModelItem::setType(TypeInfo *type) -{ - d->_M_type = type; -} - -CodeModel::AccessPolicy MemberModelItem::accessPolicy() const -{ - return d->_M_accessPolicy; -} - -void MemberModelItem::setAccessPolicy(CodeModel::AccessPolicy accessPolicy) -{ - d->_M_accessPolicy = accessPolicy; -} - -bool MemberModelItem::isStatic() const -{ - return d->_M_isStatic; -} - -void MemberModelItem::setStatic(bool isStatic) -{ - d->_M_isStatic = isStatic; -} - -bool MemberModelItem::isConstant() const -{ - return d->_M_isConstant; -} - -void MemberModelItem::setConstant(bool isConstant) -{ - d->_M_isConstant = isConstant; -} - -bool MemberModelItem::isVolatile() const -{ - return d->_M_isVolatile; -} - -void MemberModelItem::setVolatile(bool isVolatile) -{ - d->_M_isVolatile = isVolatile; -} - -bool MemberModelItem::isAuto() const -{ - return d->_M_isAuto; -} - -void MemberModelItem::setAuto(bool isAuto) -{ - d->_M_isAuto = isAuto; -} - -bool MemberModelItem::isFriend() const -{ - return d->_M_isFriend; -} - -void MemberModelItem::setFriend(bool isFriend) -{ - d->_M_isFriend = isFriend; -} - -bool MemberModelItem::isRegister() const -{ - return d->_M_isRegister; -} - -void MemberModelItem::setRegister(bool isRegister) -{ - d->_M_isRegister = isRegister; -} - -bool MemberModelItem::isExtern() const -{ - return d->_M_isExtern; -} - -void MemberModelItem::setExtern(bool isExtern) -{ - d->_M_isExtern = isExtern; -} - -bool MemberModelItem::isMutable() const -{ - return d->_M_isMutable; -} - -void MemberModelItem::setMutable(bool isMutable) -{ - d->_M_isMutable = isMutable; -} - -TemplateParameterList MemberModelItem::templateParameters() const -{ - return d->_M_templateParameters; -} - -void MemberModelItem::setTemplateParameters(const TemplateParameterList &templateParameters) -{ - d->_M_templateParameters = templateParameters; -} - -// kate: space-indent on; indent-width 2; replace-tabs on; - diff --git a/tests/manual/cppmodelmanager/codemodel/codemodelitems.h b/tests/manual/cppmodelmanager/codemodel/codemodelitems.h deleted file mode 100644 index a2ce4f6b2eb9ce2b928aeb9371c1c3e21d7e8d12..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/codemodel/codemodelitems.h +++ /dev/null @@ -1,527 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ - -/* This file is part of KDevelop -Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> -Copyright (C) 2005 Trolltech AS - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License version 2 as published by the Free Software Foundation. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, -Boston, MA 02110-1301, USA. -*/ - -#ifndef CODEMODELITEMS_H -#define CODEMODELITEMS_H - -#include <QtCore/QStringList> - -class CodeModelItem; -class ArgumentModelItem; -class ClassModelItem; -class EnumModelItem; -class EnumeratorModelItem; -class FileModelItem; -class FunctionDefinitionModelItem; -class FunctionModelItem; -class NamespaceModelItem; -class TemplateParameterModelItem; -class TypeAliasModelItem; -class VariableModelItem; -class TypeInfo; - -typedef QList<ArgumentModelItem*> ArgumentList; -typedef QList<ClassModelItem*> ClassList; -typedef QList<EnumModelItem*> EnumList; -typedef QList<EnumeratorModelItem*> EnumeratorList; -typedef QList<FileModelItem*> FileList; -typedef QList<FunctionDefinitionModelItem*> FunctionDefinitionList; -typedef QList<FunctionModelItem*> FunctionList; -typedef QList<NamespaceModelItem*> NamespaceList; -typedef QList<TemplateParameterModelItem*> TemplateParameterList; -typedef QList<TypeAliasModelItem*> TypeAliasList; -typedef QList<VariableModelItem*> VariableList; -typedef QList<TypeInfo*> TypeInfoList; - -#define DECLARE_MODEL_NODE(name) \ - enum { __node_kind = Kind_##name }; - - -template <class T> inline T model_cast(CodeModelItem *item) { return 0; } - -#define DECLARE_MODELITEM(name) \ - template <> inline name##ModelItem *model_cast<##name##ModelItem *>(CodeModelItem *item) { \ - if (item && item->kind() == CodeModelItem::Kind_##name) \ - return static_cast<##name##ModelItem *>(item); \ - return 0; } - -class CodeModel -{ -public: - enum AccessPolicy - { - Public, - Protected, - Private - }; - - enum FunctionType - { - Normal, - Signal, - Slot - }; - - enum ClassType - { - Class, - Struct, - Union - }; - -public: - virtual ~CodeModel(); - -/* virtual FileList files() const = 0; - virtual NamespaceModelItem *globalNamespace() const = 0; */ -}; - -class TypeInfo -{ -public: - TypeInfo(): flags (0) {} - virtual ~TypeInfo() { qDeleteAll(m_arguments); } - - QString qualifiedName() const { return m_qualifiedName; } - void setQualifiedName(const QString &qualified_name) { m_qualifiedName = qualified_name; } - - bool isConstant() const { return m_constant; } - void setConstant(bool is) { m_constant = is; } - - bool isVolatile() const { return m_volatile; } - void setVolatile(bool is) { m_volatile = is; } - - bool isReference() const { return m_reference; } - void setReference(bool is) { m_reference = is; } - - int indirections() const { return m_indirections; } - void setIndirections(int indirections) { m_indirections = indirections; } - - bool isFunctionPointer() const { return m_functionPointer; } - void setFunctionPointer(bool is) { m_functionPointer = is; } - - QStringList arrayElements() const { return m_arrayElements; } - void setArrayElements(const QStringList &arrayElements) { m_arrayElements = arrayElements; } - - TypeInfoList arguments() const { return m_arguments; } - void addArgument(TypeInfo *arg) { m_arguments.append(arg); } - - bool operator==(const TypeInfo &other); - bool operator!=(const TypeInfo &other) { return !(*this==other); } - -private: - union - { - uint flags; - - struct - { - uint m_constant: 1; - uint m_volatile: 1; - uint m_reference: 1; - uint m_functionPointer: 1; - uint m_indirections: 6; - uint m_padding: 22; - }; - }; - - QString m_qualifiedName; - QStringList m_arrayElements; - TypeInfoList m_arguments; -}; - -class CodeModelItemData; -class CodeModelItem -{ -public: - enum Kind - { - /* These are bit-flags resembling inheritance */ - Kind_Scope = 0x1, - Kind_Namespace = 0x2 | Kind_Scope, - Kind_Member = 0x4, - Kind_Function = 0x8 | Kind_Member, - KindMask = 0xf, - - /* These are for classes that are not inherited from */ - FirstKind = 0x8, - Kind_Argument = 1 << FirstKind, - Kind_Class = 2 << FirstKind | Kind_Scope, - Kind_Enum = 3 << FirstKind, - Kind_Enumerator = 4 << FirstKind, - Kind_File = 5 << FirstKind | Kind_Namespace, - Kind_FunctionDefinition = 6 << FirstKind | Kind_Function, - Kind_TemplateParameter = 7 << FirstKind, - Kind_TypeAlias = 8 << FirstKind, - Kind_Variable = 9 << FirstKind | Kind_Member - }; - - CodeModelItem(CodeModel *model, int kind); - CodeModelItem(const CodeModelItem &item); - virtual ~CodeModelItem(); - - int kind() const; - - QString qualifiedName() const; - - QString name() const; - void setName(const QString &name); - - QString scope() const; - void setScope(const QString &scope); - - void setFile(FileModelItem *file); - FileModelItem *file() const; - - void startPosition(int *line, int *column); - void setStartPosition(int line, int column); - - void endPosition(int *line, int *column); - void setEndPosition(int line, int column); - - std::size_t creationId() const; - void setCreationId(std::size_t creation_id); - - CodeModel *model() const; - -protected: - void setKind(int kind); - -private: - CodeModelItemData *d; -}; - -class ScopeModelItemData; -class ScopeModelItem: public CodeModelItem -{ -public: - DECLARE_MODEL_NODE(Scope) - ScopeModelItem(CodeModel *model, int kind = __node_kind); - virtual ~ScopeModelItem(); - - void addClass(ClassModelItem *item); - void addEnum(EnumModelItem *item); - void addFunction(FunctionModelItem *item); - void addFunctionDefinition(FunctionDefinitionModelItem *item); - void addTypeAlias(TypeAliasModelItem *item); - void addVariable(VariableModelItem *item); - -private: - ScopeModelItemData *d; -}; -DECLARE_MODELITEM(Scope) - -class ClassModelItemData; -class ClassModelItem: public ScopeModelItem -{ -public: - DECLARE_MODEL_NODE(Class) - ClassModelItem(CodeModel *model, int kind = __node_kind); - virtual ~ClassModelItem(); - - QStringList baseClasses() const; - - void setBaseClasses(const QStringList &baseClasses); - void addBaseClass(const QString &baseClass); - - TemplateParameterList templateParameters() const; - void setTemplateParameters(const TemplateParameterList &templateParameters); - - bool extendsClass(const QString &name) const; - - void setClassType(CodeModel::ClassType type); - CodeModel::ClassType classType() const; - -private: - ClassModelItemData *d; -}; -DECLARE_MODELITEM(Class) - -class NamespaceModelItemData; -class NamespaceModelItem: public ScopeModelItem -{ -public: - DECLARE_MODEL_NODE(Namespace) - NamespaceModelItem(CodeModel *model, int kind = __node_kind); - virtual ~NamespaceModelItem(); - - NamespaceList namespaces() const; - void addNamespace(NamespaceModelItem *item); - NamespaceModelItem *findNamespace(const QString &name) const; - -private: - NamespaceModelItemData *d; -}; -DECLARE_MODELITEM(Namespace) - -class FileModelItem: public NamespaceModelItem -{ -public: - DECLARE_MODEL_NODE(File) - FileModelItem(CodeModel *model, int kind = __node_kind); - virtual ~FileModelItem(); -}; -DECLARE_MODELITEM(File) - -class ArgumentModelItemData; -class ArgumentModelItem: public CodeModelItem -{ -public: - DECLARE_MODEL_NODE(Argument) - ArgumentModelItem(CodeModel *model, int kind = __node_kind); - virtual ~ArgumentModelItem(); - -public: - TypeInfo *type() const; - void setType(TypeInfo *type); - - bool defaultValue() const; - void setDefaultValue(bool defaultValue); - - QString defaultValueExpression() const; - void setDefaultValueExpression(const QString &expr); - -private: - ArgumentModelItemData *d; -}; -DECLARE_MODELITEM(Argument) - -class MemberModelItemData; -class MemberModelItem: public CodeModelItem -{ -public: - DECLARE_MODEL_NODE(Member) - MemberModelItem(CodeModel *model, int kind); - virtual ~MemberModelItem(); - - bool isConstant() const; - void setConstant(bool isConstant); - - bool isVolatile() const; - void setVolatile(bool isVolatile); - - bool isStatic() const; - void setStatic(bool isStatic); - - bool isAuto() const; - void setAuto(bool isAuto); - - bool isFriend() const; - void setFriend(bool isFriend); - - bool isRegister() const; - void setRegister(bool isRegister); - - bool isExtern() const; - void setExtern(bool isExtern); - - bool isMutable() const; - void setMutable(bool isMutable); - - CodeModel::AccessPolicy accessPolicy() const; - void setAccessPolicy(CodeModel::AccessPolicy accessPolicy); - - TemplateParameterList templateParameters() const; - void setTemplateParameters(const TemplateParameterList &templateParameters); - - TypeInfo *type() const; - void setType(TypeInfo *type); - -private: - MemberModelItemData *d; -}; -DECLARE_MODELITEM(Member) - -class FunctionModelItemData; -class FunctionModelItem: public MemberModelItem -{ -public: - DECLARE_MODEL_NODE(Function) - FunctionModelItem(CodeModel *model, int kind = __node_kind); - virtual ~FunctionModelItem(); - - ArgumentList arguments() const; - - void addArgument(ArgumentModelItem *item); - - CodeModel::FunctionType functionType() const; - void setFunctionType(CodeModel::FunctionType functionType); - - bool isVirtual() const; - void setVirtual(bool isVirtual); - - bool isInline() const; - void setInline(bool isInline); - - bool isExplicit() const; - void setExplicit(bool isExplicit); - - bool isAbstract() const; - void setAbstract(bool isAbstract); - - bool isVariadics() const; - void setVariadics(bool isVariadics); - - bool isSimilar(FunctionModelItem *other) const; - -private: - FunctionModelItemData *d; -}; -DECLARE_MODELITEM(Function) - -class FunctionDefinitionModelItem: public FunctionModelItem -{ -public: - DECLARE_MODEL_NODE(FunctionDefinition) - FunctionDefinitionModelItem(CodeModel *model, int kind = __node_kind); - virtual ~FunctionDefinitionModelItem(); -}; -DECLARE_MODELITEM(FunctionDefinition) - -class VariableModelItem: public MemberModelItem -{ -public: - DECLARE_MODEL_NODE(Variable) - VariableModelItem(CodeModel *model, int kind = __node_kind); - virtual ~VariableModelItem(); -}; -DECLARE_MODELITEM(Variable) - -class TypeAliasModelItemData; -class TypeAliasModelItem: public CodeModelItem -{ -public: - DECLARE_MODEL_NODE(TypeAlias) - TypeAliasModelItem(CodeModel *model, int kind = __node_kind); - virtual ~TypeAliasModelItem(); - - TypeInfo *type() const; - void setType(TypeInfo *type); - -private: - TypeAliasModelItemData *d; -}; -DECLARE_MODELITEM(TypeAlias) - -class EnumModelItemData; -class EnumModelItem: public CodeModelItem -{ -public: - DECLARE_MODEL_NODE(Enum) - EnumModelItem(CodeModel *model, int kind = __node_kind); - virtual ~EnumModelItem(); - - CodeModel::AccessPolicy accessPolicy() const; - void setAccessPolicy(CodeModel::AccessPolicy accessPolicy); - - EnumeratorList enumerators() const; - void addEnumerator(EnumeratorModelItem *item); - -private: - EnumModelItemData *d; -}; -DECLARE_MODELITEM(Enum) - -class EnumeratorModelItemData; -class EnumeratorModelItem: public CodeModelItem -{ -public: - DECLARE_MODEL_NODE(Enumerator) - EnumeratorModelItem(CodeModel *model, int kind = __node_kind); - virtual ~EnumeratorModelItem(); - - QString value() const; - void setValue(const QString &value); - -private: - EnumeratorModelItemData *d; -}; -DECLARE_MODELITEM(Enumerator) - -class TemplateParameterModelItemData; -class TemplateParameterModelItem: public CodeModelItem -{ -public: - DECLARE_MODEL_NODE(TemplateParameter) - TemplateParameterModelItem(CodeModel *model, int kind = __node_kind); - TemplateParameterModelItem(const TemplateParameterModelItem& item); - virtual ~TemplateParameterModelItem(); - - TypeInfo *type() const; - void setType(TypeInfo *type); - - bool defaultValue() const; - void setDefaultValue(bool defaultValue); - -private: - TemplateParameterModelItemData *d; -}; -DECLARE_MODELITEM(TemplateParameter) - -// ### todo, check language -#define DECLARE_LANGUAGE_MODELITEM(name, language) \ - template <> inline language##name##ModelItem *model_cast<##language##name##ModelItem *>(CodeModelItem *item) { \ - if (item && item->kind() == CodeModelItem::Kind_##name) \ - return static_cast<##language##name##ModelItem *>(item); \ - return 0; } - -// ### todo, check language -template <class T> inline T model_cast(CodeModel *item) { return 0; } - -#define DECLARE_LANGUAGE_CODEMODEL(language) \ - template <> inline language##CodeModel *model_cast<##language##CodeModel *>(CodeModel *item) { \ - return item ? static_cast<##language##CodeModel *>(item) : 0; } - -#endif //CODEMODELITEMS_H - -// kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/tests/manual/cppmodelmanager/codemodel/compiler_utils.cpp b/tests/manual/cppmodelmanager/codemodel/compiler_utils.cpp deleted file mode 100644 index 3243825449eee0f5e7a82e75f6bba4b2a745d49c..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/codemodel/compiler_utils.cpp +++ /dev/null @@ -1,77 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* This file is part of KDevelop - Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#include "compiler_utils.h" -#include "type_compiler.h" -#include "name_compiler.h" -#include "declarator_compiler.h" -#include "ast.h" -#include "binder.h" - -TypeInfo *CompilerUtils::typeDescription(TypeSpecifierAST *type_specifier, DeclaratorAST *declarator, Binder *binder) -{ - TypeCompiler type_cc (binder); - DeclaratorCompiler decl_cc (binder); - - type_cc.run (type_specifier); - decl_cc.run (declarator); - - TypeInfo *typeInfo = new TypeInfo(); - typeInfo->setQualifiedName (type_cc.qualifiedName ()); - typeInfo->setConstant (type_cc.isConstant ()); - typeInfo->setVolatile (type_cc.isVolatile ()); - typeInfo->setReference (decl_cc.isReference ()); - typeInfo->setIndirections (decl_cc.indirection ()); - typeInfo->setArrayElements (decl_cc.arrayElements ()); - - return typeInfo; -} - -// kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/tests/manual/cppmodelmanager/codemodel/compiler_utils.h b/tests/manual/cppmodelmanager/codemodel/compiler_utils.h deleted file mode 100644 index 3b42164d638e5c8290cf68f9d244ab26be62e40a..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/codemodel/compiler_utils.h +++ /dev/null @@ -1,68 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* This file is part of KDevelop - Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef COMPILER_UTILS_H -#define COMPILER_UTILS_H - -struct TypeSpecifierAST; -struct DeclaratorAST; -class Binder; -class TypeInfo; - -namespace CompilerUtils -{ - -TypeInfo *typeDescription(TypeSpecifierAST *type_specifier, DeclaratorAST *declarator, Binder *binder); - -} // namespace CompilerUtils - -#endif // COMPILER_UTILS_H - -// kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/tests/manual/cppmodelmanager/codemodel/declarator_compiler.cpp b/tests/manual/cppmodelmanager/codemodel/declarator_compiler.cpp deleted file mode 100644 index a30286af64e031172c6fb371ae4b087b474f5da5..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/codemodel/declarator_compiler.cpp +++ /dev/null @@ -1,168 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* This file is part of KDevelop - Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#include "declarator_compiler.h" -#include "name_compiler.h" -#include "type_compiler.h" -#include "compiler_utils.h" -#include "lexer.h" -#include "binder.h" - -#include <qdebug.h> - -DeclaratorCompiler::DeclaratorCompiler(Binder *binder) - : _M_binder (binder), _M_token_stream (binder->tokenStream ()) -{ -} - -void DeclaratorCompiler::run(DeclaratorAST *node) -{ - _M_id.clear(); - _M_parameters.clear(); - _M_array.clear(); - _M_function = false; - _M_reference = false; - _M_variadics = false; - _M_indirection = 0; - - if (node) - { - NameCompiler name_cc(_M_binder); - - DeclaratorAST *decl = node; - while (decl && decl->sub_declarator) - decl = decl->sub_declarator; - - Q_ASSERT (decl != 0); - - name_cc.run(decl->id); - _M_id = name_cc.qualifiedName(); - _M_function = (node->parameter_declaration_clause != 0); - if (node->parameter_declaration_clause && node->parameter_declaration_clause->ellipsis) - _M_variadics = true; - - visitNodes(this, node->ptr_ops); - visit(node->parameter_declaration_clause); - - if (const ListNode<ExpressionAST*> *it = node->array_dimensions) - { - it->toFront(); - const ListNode<ExpressionAST*> *end = it; - - do - { - QString elt; - if (ExpressionAST *expr = it->element) - { - const Token &start_token = _M_token_stream->token((int) expr->start_token); - const Token &end_token = _M_token_stream->token((int) expr->end_token); - - elt += QString::fromUtf8(&start_token.text[start_token.position], - (int) (end_token.position - start_token.position)).trimmed(); - } - - _M_array.append (elt); - - it = it->next; - } - while (it != end); - } - } -} - -void DeclaratorCompiler::visitPtrOperator(PtrOperatorAST *node) -{ - std::size_t op = _M_token_stream->kind(node->op); - - switch (op) - { - case '&': - _M_reference = true; - break; - case '*': - ++_M_indirection; - break; - - default: - break; - } - - if (node->mem_ptr) - { -#if defined(__GNUC__) -#warning "ptr to mem -- not implemented" -#endif - } -} - -void DeclaratorCompiler::visitParameterDeclaration(ParameterDeclarationAST *node) -{ - Parameter p; - - TypeCompiler type_cc(_M_binder); - DeclaratorCompiler decl_cc(_M_binder); - - decl_cc.run(node->declarator); - - p.name = decl_cc.id(); - p.type = CompilerUtils::typeDescription(node->type_specifier, node->declarator, _M_binder); - if (node->expression != 0) - { - p.defaultValue = true; - const Token &start = _M_token_stream->token((int) node->expression->start_token); - const Token &end = _M_token_stream->token((int) node->expression->end_token); - int length = (int) (end.position - start.position); - p.defaultValueExpression = QString::fromUtf8(&start.text[start.position], length).trimmed(); - } - - _M_parameters.append(p); -} - -// kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/tests/manual/cppmodelmanager/codemodel/declarator_compiler.h b/tests/manual/cppmodelmanager/codemodel/declarator_compiler.h deleted file mode 100644 index d715c1ec05e308a773a3f200dd144f8a06532c89..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/codemodel/declarator_compiler.h +++ /dev/null @@ -1,109 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* This file is part of KDevelop - Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef DECLARATOR_COMPILER_H -#define DECLARATOR_COMPILER_H - -#include "default_visitor.h" - -#include <QtCore/QString> -#include <QtCore/QStringList> -#include <QtCore/QList> - -class TokenStream; -class Binder; -class TypeInfo; - -class DeclaratorCompiler: protected DefaultVisitor -{ -public: - struct Parameter - { - TypeInfo *type; - QString name; - QString defaultValueExpression; - bool defaultValue; - - Parameter(): defaultValue(false) {} - }; - -public: - DeclaratorCompiler(Binder *binder); - - void run(DeclaratorAST *node); - - inline QString id() const { return _M_id; } - inline QStringList arrayElements() const { return _M_array; } - inline bool isFunction() const { return _M_function; } - inline bool isVariadics() const { return _M_variadics; } - inline bool isReference() const { return _M_reference; } - inline int indirection() const { return _M_indirection; } - inline QList<Parameter> parameters() const { return _M_parameters; } - -protected: - virtual void visitPtrOperator(PtrOperatorAST *node); - virtual void visitParameterDeclaration(ParameterDeclarationAST *node); - -private: - Binder *_M_binder; - TokenStream *_M_token_stream; - - bool _M_function; - bool _M_reference; - bool _M_variadics; - int _M_indirection; - QString _M_id; - QStringList _M_array; - QList<Parameter> _M_parameters; -}; - -#endif // DECLARATOR_COMPILER_H - -// kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/tests/manual/cppmodelmanager/codemodel/name_compiler.cpp b/tests/manual/cppmodelmanager/codemodel/name_compiler.cpp deleted file mode 100644 index a85d9969b56f6585f26c5078fa629d5fad75e271..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/codemodel/name_compiler.cpp +++ /dev/null @@ -1,150 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* This file is part of KDevelop - Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> - Copyright (C) 2005 Trolltech - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#include "name_compiler.h" -#include "type_compiler.h" -#include "declarator_compiler.h" -#include "lexer.h" -#include "symbol.h" -#include "binder.h" - -#include <QtCore/qdebug.h> - -NameCompiler::NameCompiler(Binder *binder) - : _M_binder (binder), _M_token_stream (binder->tokenStream ()) -{ -} - -QString NameCompiler::decode_operator(std::size_t index) const -{ - const Token &tk = _M_token_stream->token((int) index); - return QString::fromUtf8(&tk.text[tk.position], (int) tk.size); -} - -void NameCompiler::internal_run(AST *node) -{ - _M_name.clear(); - visit(node); -} - -void NameCompiler::visitUnqualifiedName(UnqualifiedNameAST *node) -{ - QString tmp_name; - - if (node->tilde) - tmp_name += QLatin1String("~"); - - if (node->id) - tmp_name += _M_token_stream->symbol(node->id)->as_string(); - - if (OperatorFunctionIdAST *op_id = node->operator_id) - { -#if defined(__GNUC__) -#warning "NameCompiler::visitUnqualifiedName() -- implement me" -#endif - - if (op_id->op && op_id->op->op) - { - tmp_name += QLatin1String("operator"); - tmp_name += decode_operator(op_id->op->op); - if (op_id->op->close) - tmp_name += decode_operator(op_id->op->close); - } - else if (op_id->type_specifier) - { -#if defined(__GNUC__) -#warning "don't use an hardcoded string as cast' name" -#endif - Token const &tk = _M_token_stream->token ((int) op_id->start_token); - Token const &end_tk = _M_token_stream->token ((int) op_id->end_token); - tmp_name += QString::fromLatin1 (&tk.text[tk.position], - (int) (end_tk.position - tk.position)).trimmed (); - } - } - - if (!_M_name.isEmpty()) - _M_name += QLatin1String("::"); - _M_name += tmp_name; - - if (node->template_arguments) - { - _M_name += QLatin1String("<"); - visitNodes(this, node->template_arguments); - _M_name.truncate(_M_name.count() - 1); // remove the last ',' - _M_name += QLatin1String(">"); - } -} - -void NameCompiler::visitTemplateArgument(TemplateArgumentAST *node) -{ - if (node->type_id && node->type_id->type_specifier) - { - TypeCompiler type_cc(_M_binder); - type_cc.run(node->type_id->type_specifier); - - DeclaratorCompiler decl_cc(_M_binder); - decl_cc.run(node->type_id->declarator); - - if (type_cc.isConstant()) - _M_name += "const "; - - _M_name += type_cc.qualifiedName (); - - if (decl_cc.isReference()) - _M_name += "&"; - if (decl_cc.indirection()) - _M_name += QString(decl_cc.indirection(), '*'); - - _M_name += QLatin1String(","); - } -} - -// kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/tests/manual/cppmodelmanager/codemodel/name_compiler.h b/tests/manual/cppmodelmanager/codemodel/name_compiler.h deleted file mode 100644 index 5d61e316bd5a20aff818c6b25541606174fa9473..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/codemodel/name_compiler.h +++ /dev/null @@ -1,85 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* This file is part of KDevelop - Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef NAME_COMPILER_H -#define NAME_COMPILER_H - -#include "default_visitor.h" -#include <QtCore/QString> - -class TokenStream; -class Binder; - -class NameCompiler: protected DefaultVisitor -{ -public: - NameCompiler(Binder *binder); - - void run(NameAST *node) { internal_run(node); } - void run(UnqualifiedNameAST *node) { internal_run(node); } - - QString qualifiedName() const { return _M_name; } - -protected: - virtual void visitUnqualifiedName(UnqualifiedNameAST *node); - virtual void visitTemplateArgument(TemplateArgumentAST *node); - - void internal_run(AST *node); - QString decode_operator(std::size_t index) const; - -private: - Binder *_M_binder; - TokenStream *_M_token_stream; - QString _M_name; -}; - -#endif // NAME_COMPILER_H - -// kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/tests/manual/cppmodelmanager/codemodel/type_compiler.cpp b/tests/manual/cppmodelmanager/codemodel/type_compiler.cpp deleted file mode 100644 index 05708c9c942bddd8e51ae4cb8b457d20857b68c7..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/codemodel/type_compiler.cpp +++ /dev/null @@ -1,169 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ - -/* This file is part of KDevelop - Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> - Copyright (C) 2005 Trolltech AS - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#include "type_compiler.h" -#include "name_compiler.h" -#include "lexer.h" -#include "symbol.h" -#include "tokens.h" -#include "binder.h" - -#include <QtCore/QString> - -TypeCompiler::TypeCompiler(Binder *binder) - : _M_binder (binder), _M_token_stream(binder->tokenStream ()) -{ -} - -void TypeCompiler::run(TypeSpecifierAST *node) -{ - _M_type.clear(); - _M_cv.clear(); - - visit(node); - - if (node && node->cv) - { - const ListNode<std::size_t> *it = node->cv->toFront(); - const ListNode<std::size_t> *end = it; - do - { - int kind = _M_token_stream->kind(it->element); - if (! _M_cv.contains(kind)) - _M_cv.append(kind); - - it = it->next; - } - while (it != end); - } -} - -void TypeCompiler::visitClassSpecifier(ClassSpecifierAST *node) -{ - visit(node->name); -} - -void TypeCompiler::visitEnumSpecifier(EnumSpecifierAST *node) -{ - visit(node->name); -} - -void TypeCompiler::visitElaboratedTypeSpecifier(ElaboratedTypeSpecifierAST *node) -{ - visit(node->name); -} - -void TypeCompiler::visitSimpleTypeSpecifier(SimpleTypeSpecifierAST *node) -{ - if (const ListNode<std::size_t> *it = node->integrals) - { - it = it->toFront(); - const ListNode<std::size_t> *end = it; - QString current_item; - do - { - std::size_t token = it->element; - current_item += token_name(_M_token_stream->kind(token)); - current_item += " "; - it = it->next; - } - while (it != end); - if (!_M_type.isEmpty()) - _M_type += QLatin1String("::"); - _M_type += current_item.trimmed(); - } - else if (node->type_of) - { - // ### implement me - - if (!_M_type.isEmpty()) - _M_type += QLatin1String("::"); - _M_type += QLatin1String("typeof<...>"); - } - - visit(node->name); -} - -void TypeCompiler::visitName(NameAST *node) -{ - NameCompiler name_cc(_M_binder); - name_cc.run(node); - _M_type = name_cc.qualifiedName(); -} - -QStringList TypeCompiler::cvString() const -{ - QStringList lst; - - foreach (int q, cv()) - { - if (q == Token_const) - lst.append(QLatin1String("const")); - else if (q == Token_volatile) - lst.append(QLatin1String("volatile")); - } - - return lst; -} - -bool TypeCompiler::isConstant() const -{ - return _M_cv.contains(Token_const); -} - -bool TypeCompiler::isVolatile() const -{ - return _M_cv.contains(Token_volatile); -} - -// kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/tests/manual/cppmodelmanager/codemodel/type_compiler.h b/tests/manual/cppmodelmanager/codemodel/type_compiler.h deleted file mode 100644 index 43231354e01f304063c47541abe14bbdc658806e..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/codemodel/type_compiler.h +++ /dev/null @@ -1,95 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* This file is part of KDevelop - Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License version 2 as published by the Free Software Foundation. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef TYPE_COMPILER_H -#define TYPE_COMPILER_H - -#include "default_visitor.h" - -#include <QtCore/QString> -#include <QtCore/QStringList> -#include <QtCore/QList> - -class TokenStream; -class Binder; - -class TypeCompiler: protected DefaultVisitor -{ -public: - TypeCompiler(Binder *binder); - - inline QString qualifiedName() const { return _M_type; } - inline QList<int> cv() const { return _M_cv; } - - bool isConstant() const; - bool isVolatile() const; - - QStringList cvString() const; - - void run(TypeSpecifierAST *node); - -protected: - virtual void visitClassSpecifier(ClassSpecifierAST *node); - virtual void visitEnumSpecifier(EnumSpecifierAST *node); - virtual void visitElaboratedTypeSpecifier(ElaboratedTypeSpecifierAST *node); - virtual void visitSimpleTypeSpecifier(SimpleTypeSpecifierAST *node); - - virtual void visitName(NameAST *node); - -private: - Binder *_M_binder; - TokenStream *_M_token_stream; - QString _M_type; - QList<int> _M_cv; -}; - -#endif // TYPE_COMPILER_H - -// kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/tests/manual/cppmodelmanager/cppcodemodel.cpp b/tests/manual/cppmodelmanager/cppcodemodel.cpp deleted file mode 100644 index cdfbb6a996029a2aab370f898ed590ab6a589ee5..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/cppcodemodel.cpp +++ /dev/null @@ -1,204 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -#include <QtCore/QFile> -#include <QtCore/QDir> -#include <QtCore/QDebug> - -#include "cppcodemodelitems.h" -#include "cpppartparser.h" -#include "cppcodemodel.h" -#include "cppcodemodelpart.h" - -CppCodeModel::CppCodeModel(const QByteArray &configuration, QObject *parent) - : QObject(parent) -{ - m_configuration = configuration; - m_parsefiles << QLatin1String("<configfile>"); -} - -CppCodeModel::~CppCodeModel() -{ - -} - -void CppCodeModel::addIncludePath(const QString &path) -{ - QString newpath = QDir::cleanPath(path); - if (m_includedirs.contains(newpath)) - return; - - m_includedirs.insert(newpath, new CppCodeModelPart(newpath, this)); -} - -void CppCodeModel::removeIncludePath(const QString &path) -{ - QString newpath = QDir::cleanPath(path + QLatin1Char('/')); - if (!m_includedirs.contains(newpath)) - return; - - delete m_includedirs.take(newpath); -} - -void CppCodeModel::update(const QStringList &files) -{ - m_parsefiles += m_parsefiles.fromList(files); - - CppPartParser *parser = CppPartParser::instance(parent()); - parser->parse(this); -} - -QStringList CppCodeModel::needsParsing() -{ - QStringList result = m_parsefiles.toList(); - - if (m_parsefiles.contains(QLatin1String("<configfile>"))) - result.prepend(QLatin1String("<configfile>")); - - m_parsefiles.clear(); - return result; -} - -void CppCodeModel::resolvePart(const QString &abspath, CppCodeModelPart **part) const -{ - int length = 0; - - QMap<QString, CppCodeModelPart *>::const_iterator i = m_includedirs.constBegin(); - while (i != m_includedirs.constEnd()) { - if (abspath.startsWith(i.key()) && i.key().count() > length) { - length = i.key().count(); - (*part) = i.value(); - } - ++i; - } -} - -void CppCodeModel::resolveGlobalPath(QString &file, CppCodeModelPart **part) const -{ - QString abspath; - - (*part) = 0; - QMap<QString, CppCodeModelPart *>::const_iterator i = m_includedirs.constBegin(); - while (i != m_includedirs.constEnd()) { - abspath = i.key() + QLatin1Char('/') + file; - QFileInfo fi(abspath); - if (fi.exists() && fi.isFile()) { - (*part) = i.value(); - break; - } - ++i; - } - - if (*part) - file = QDir::cleanPath(abspath); -} - -void CppCodeModel::resolveLocalPath(QString &file, const QString &local, CppCodeModelPart **part) const -{ - (*part) = m_partcache.value(local, 0); - QFileInfo fi(local); - file = QDir::cleanPath(fi.absolutePath() + QLatin1Char('/') + file); -} - -QByteArray *CppCodeModel::contents(QString &file, const QString &local) -{ - CppCodeModelPart *part = 0; - - if (file == QLatin1String("<configfile>")) - return new QByteArray(m_configuration); - - if (local.isEmpty()) { - resolveGlobalPath(file, &part); - if (!m_partcache.contains(file)) { - resolvePart(file, &part); - m_partcache.insert(file, part); - } else { - part = m_partcache.value(file, 0); - } - } else { - resolveLocalPath(file, local, &part); - m_partcache.insert(file, part); - } - - if (!part) { - qDebug() << "Didn't find: " << file; - return 0; - } - - return part->contents(file); -} - -QHash<QString, pp_macro*> *CppCodeModel::macros() -{ - return &m_macros; -} - -void CppCodeModel::store() -{ - QMap<QString, CppFileModelItem *>::const_iterator i = m_fileitems.constBegin(); - while (i != m_fileitems.constEnd()) { - if (CppCodeModelPart *part = m_partcache.value(i.key())) - part->store(i.value()); - ++i; - } - - m_partcache.clear(); - m_fileitems.clear(); -} - -CppFileModelItem *CppCodeModel::fileItem(const QString &name) -{ - if (!m_partcache.contains(name)) - return 0; - - if (m_fileitems.contains(name)) - return m_fileitems.value(name); - - CppFileModelItem *item = new CppFileModelItem(this); - item->setPart(m_partcache.value(name)); - item->setName(name); - item->setFile(item); - m_fileitems.insert(name, item); - return item; -} - -bool CppCodeModel::hasScope(const QString &name) const -{ - QMap<QString, CppCodeModelPart *>::const_iterator i = m_includedirs.constBegin(); - while (i != m_includedirs.constEnd()) { - if (i.value()->hasScope(name)) - return true; - ++i; - } - return false; -} - diff --git a/tests/manual/cppmodelmanager/cppcodemodel.h b/tests/manual/cppmodelmanager/cppcodemodel.h deleted file mode 100644 index 7f591b17e4fe2c98ee2db847cb65410e2709f847..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/cppcodemodel.h +++ /dev/null @@ -1,94 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -#ifndef CPPCODEMODEL_H -#define CPPCODEMODEL_H - -#include <QtCore/QObject> -#include <QtCore/QHash> -#include <QtCore/QMap> -#include <QtCore/QSet> -#include <QtCore/QStringList> - -#include "cppcodemodelitems.h" - -class pp_macro; -class CppCodeModelPart; -class CppPartParser; -class CppPartPP; - -class CppCodeModel : public QObject, - public CodeModel -{ - Q_OBJECT - -public: - CppCodeModel(const QByteArray &configuration, QObject *parent = 0); - ~CppCodeModel(); - - void addIncludePath(const QString &path); - void removeIncludePath(const QString &path); - - void update(const QStringList &files); - -protected: - // returns the macros for this part - QStringList needsParsing(); - QHash<QString, pp_macro*> *macros(); - QByteArray *contents(QString &file, const QString &local = QString()); - void store(); - - void resolvePart(const QString &abspath, CppCodeModelPart **part) const; - void resolveGlobalPath(QString &file, CppCodeModelPart **part) const; - void resolveLocalPath(QString &file, const QString &local, CppCodeModelPart **part) const; - - // used by the parser - CppFileModelItem *fileItem(const QString &name); - bool hasScope(const QString &name) const; - -private: - QMap<QString, CppCodeModelPart *> m_partcache; - QMap<QString, CppFileModelItem *> m_fileitems; - QMap<QString, CppCodeModelPart *> m_includedirs; - - QByteArray m_configuration; - QSet<QString> m_parsefiles; - QHash<QString, pp_macro*> m_macros; - - friend class Binder; - friend class CodeModelFinder; - friend class CppPartParser; - friend class CppPartPP; -}; -DECLARE_LANGUAGE_CODEMODEL(Cpp) - -#endif // CPPCODEMODELPART_H diff --git a/tests/manual/cppmodelmanager/cppcodemodelitems.cpp b/tests/manual/cppmodelmanager/cppcodemodelitems.cpp deleted file mode 100644 index cb8aac652bdeb94be028ce188a62e1d542d3e016..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/cppcodemodelitems.cpp +++ /dev/null @@ -1,122 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ - -/* This file is part of KDevelop -Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> -Copyright (C) 2005 Trolltech AS - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License version 2 as published by the Free Software Foundation. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, -Boston, MA 02110-1301, USA. -*/ - -#include <QtCore/QHash> -#include "cppcodemodelitems.h" -#include "cppcodemodel.h" - -CppClassModelItem::CppClassModelItem(CppCodeModel *model) - : ClassModelItem(model) { } - -CppFileModelItem::CppFileModelItem(CppCodeModel *model) - : FileModelItem(model) -{ - -} - -CppFileModelItem::~CppFileModelItem() -{ - qDeleteAll(_M_externalscopes.values()); -} - -void CppFileModelItem::setPart(CppCodeModelPart *part) -{ - _M_part = part; -} - -CppCodeModelPart *CppFileModelItem::part() const -{ - return _M_part; -} - -ScopeModelItem *CppFileModelItem::findExternalScope(const QString &name) const -{ - return _M_externalscopes.value(name, 0); -} - -void CppFileModelItem::addExternalScope(ScopeModelItem *item) -{ - _M_externalscopes.insert(item->qualifiedName(), item); -} - -QList<ScopeModelItem* > CppFileModelItem::externalScopes() const -{ - return _M_externalscopes.values(); -} - -CppArgumentModelItem::CppArgumentModelItem(CppCodeModel *model) -: ArgumentModelItem(model) { } - -CppFunctionDefinitionModelItem::CppFunctionDefinitionModelItem(CppCodeModel *model) -: FunctionDefinitionModelItem(model) { } - -CppVariableModelItem::CppVariableModelItem(CppCodeModel *model) -: VariableModelItem(model) { } - -CppTypeAliasModelItem::CppTypeAliasModelItem(CppCodeModel *model) -: TypeAliasModelItem(model) { } - -CppEnumModelItem::CppEnumModelItem(CppCodeModel *model) -: EnumModelItem(model) { } - -CppEnumeratorModelItem::CppEnumeratorModelItem(CppCodeModel *model) -: EnumeratorModelItem(model) { } - -CppTemplateParameterModelItem::CppTemplateParameterModelItem(CppCodeModel *model) -: TemplateParameterModelItem(model) { } - -CppTemplateParameterModelItem::CppTemplateParameterModelItem(const CppTemplateParameterModelItem &item) -: TemplateParameterModelItem(item) { } - -// kate: space-indent on; indent-width 2; replace-tabs on; - diff --git a/tests/manual/cppmodelmanager/cppcodemodelitems.h b/tests/manual/cppmodelmanager/cppcodemodelitems.h deleted file mode 100644 index 7d80363abb514d273d203516446ea8323ef1e1b4..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/cppcodemodelitems.h +++ /dev/null @@ -1,138 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ - -/* This file is part of KDevelop -Copyright (C) 2002-2005 Roberto Raggi <roberto@kdevelop.org> -Copyright (C) 2005 Trolltech AS - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License version 2 as published by the Free Software Foundation. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public License -along with this library; see the file COPYING.LIB. If not, write to -the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, -Boston, MA 02110-1301, USA. -*/ - -#ifndef CPPCODEMODELITEMS_H -#define CPPCODEMODELITEMS_H - -class CppCodeModel; -class CppCodeModelPart; -#include "codemodel/codemodelitems.h" - -class CppClassModelItem: public ClassModelItem -{ -public: - CppClassModelItem(CppCodeModel *model); -}; - -class CppFileModelItem: public FileModelItem -{ -public: - CppFileModelItem(CppCodeModel *model); - ~CppFileModelItem(); - - void setPart(CppCodeModelPart *part); - CppCodeModelPart *part() const; - - ScopeModelItem *findExternalScope(const QString &name) const; - void addExternalScope(ScopeModelItem *item); - QList<ScopeModelItem *> externalScopes() const; - -private: - QHash<QString, ScopeModelItem *> _M_externalscopes; - CppCodeModelPart *_M_part; -}; -DECLARE_LANGUAGE_MODELITEM(File, Cpp) - -class CppArgumentModelItem: public ArgumentModelItem -{ -public: - CppArgumentModelItem(CppCodeModel *model); -}; -DECLARE_LANGUAGE_MODELITEM(Argument, Cpp) - -class CppFunctionDefinitionModelItem : public FunctionDefinitionModelItem -{ -public: - CppFunctionDefinitionModelItem(CppCodeModel *model); -}; -DECLARE_LANGUAGE_MODELITEM(FunctionDefinition, Cpp) - -class CppVariableModelItem : public VariableModelItem -{ -public: - CppVariableModelItem(CppCodeModel *model); -}; -DECLARE_LANGUAGE_MODELITEM(Variable, Cpp) - -class CppTypeAliasModelItem : public TypeAliasModelItem -{ -public: - CppTypeAliasModelItem(CppCodeModel *model); -}; -DECLARE_LANGUAGE_MODELITEM(TypeAlias, Cpp) - -class CppEnumModelItem : public EnumModelItem -{ -public: - CppEnumModelItem(CppCodeModel *model); -}; -DECLARE_LANGUAGE_MODELITEM(Enum, Cpp) - -class CppEnumeratorModelItem : public EnumeratorModelItem -{ -public: - CppEnumeratorModelItem(CppCodeModel *model); -}; -DECLARE_LANGUAGE_MODELITEM(Enumerator, Cpp) - -class CppTemplateParameterModelItem : public TemplateParameterModelItem -{ -public: - CppTemplateParameterModelItem(CppCodeModel *model); - CppTemplateParameterModelItem(const CppTemplateParameterModelItem &item); -}; -DECLARE_LANGUAGE_MODELITEM(TemplateParameter, Cpp) - -#endif //CPPCODEMODELITEMS_H - -// kate: space-indent on; indent-width 2; replace-tabs on; diff --git a/tests/manual/cppmodelmanager/cppcodemodelpart.cpp b/tests/manual/cppmodelmanager/cppcodemodelpart.cpp deleted file mode 100644 index ae95cd444d1438e75eaefec1beac6ab6d96826d8..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/cppcodemodelpart.cpp +++ /dev/null @@ -1,89 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -#include <QtCore/QFile> -#include <QtCore/QDir> -#include <QtCore/QFileInfoList> -#include <QtCore/QFileInfo> -#include <QtCore/QDebug> - -#include "cppcodemodelpart.h" -#include "cpppartparser.h" -#include "cppcodemodelitems.h" - -CppCodeModelPart::CppCodeModelPart(const QString &path, QObject *parent) - : QObject(parent) -{ - m_path = path; -} - -CppCodeModelPart::~CppCodeModelPart() -{ - -} - -QString CppCodeModelPart::path() const -{ - return m_path; -} - -void CppCodeModelPart::update() -{ - -} - -QByteArray *CppCodeModelPart::contents(const QString &file) -{ - QByteArray *result = new QByteArray(); - if (!m_files.contains(file)) { - m_files.insert(file); - QFile f(file); - if (!f.open(QIODevice::ReadOnly)) - return 0; - (*result) = f.readAll(); - f.close(); - } - - return result; -} - -void CppCodeModelPart::store(CppFileModelItem *item) -{ - qDebug() << "Deleting: " << item->name(); - delete item; -} - -bool CppCodeModelPart::hasScope(const QString &name) const -{ - // ### implement me - return true; -} diff --git a/tests/manual/cppmodelmanager/cppcodemodelpart.h b/tests/manual/cppmodelmanager/cppcodemodelpart.h deleted file mode 100644 index 89a973b751e5594217e46546fdaaedfe68aa911b..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/cppcodemodelpart.h +++ /dev/null @@ -1,75 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -#ifndef CPPCODEMODELPART_H -#define CPPCODEMODELPART_H - -#include <QtCore/QObject> -#include <QtCore/QHash> -#include <QtCore/QSet> -#include <QtCore/QStringList> - -class CppCodeModel; -class CppFileModelItem; - -class CppCodeModelPart : public QObject -{ - Q_OBJECT - -public: - CppCodeModelPart(const QString &path, QObject *parent = 0); - ~CppCodeModelPart(); - - QString path() const; - void update(); - -protected: - // returns true if the given qualified name is known - bool hasScope(const QString &name) const; - - // returns the contents of the file, this may be - // the current content of an open editor - // the byte array is deleted when no longer needed - QByteArray *contents(const QString &file); - - // stores/replaces the parsed code model in the - // database or memory - void store(CppFileModelItem *item); - -private: - QString m_path; - QSet<QString> m_files; - - friend class CppCodeModel; -}; - -#endif // CPPCODEMODELPART_H diff --git a/tests/manual/cppmodelmanager/cppmodelmanager.pro b/tests/manual/cppmodelmanager/cppmodelmanager.pro deleted file mode 100644 index 714cc6c6a02e1ed491a7ed14e972300c4d696e46..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/cppmodelmanager.pro +++ /dev/null @@ -1,62 +0,0 @@ -# ##################################################################### -# Automatically generated by qmake (2.01a) ma 24. apr 11:14:33 2006 -# ##################################################################### -TEMPLATE = app -TARGET = -QT += sql -DEPENDPATH += . -INCLUDEPATH += . \ - codemodel -include(../../../../cppparser/rxx.pri)|error("Can't find RXX") -include(rpp/rpp.pri) -SOURCES -= $$RXXPATH/codemodel.cpp \ - $$RXXPATH/binder.cpp \ - $$RXXPATH/codemodel_finder.cpp \ - $$RXXPATH/compiler_utils.cpp \ - $$RXXPATH/declarator_compiler.cpp \ - $$RXXPATH/name_compiler.cpp \ - $$RXXPATH/class_compiler.cpp \ - $$RXXPATH/type_compiler.cpp - -HEADERS -= $$RXXPATH/codemodel.h \ - $$RXXPATH/binder.h \ - $$RXXPATH/codemodel_finder.h \ - $$RXXPATH/compiler_utils.h \ - $$RXXPATH/declarator_compiler.h \ - $$RXXPATH/name_compiler.h \ - $$RXXPATH/class_compiler.h \ - $$RXXPATH/type_compiler.h \ - $$RXXPATH/codemodel_fwd.h - -SOURCES += codemodel/codemodelitems.cpp \ - codemodel/binder.cpp \ - codemodel/codemodel_finder.cpp \ - codemodel/compiler_utils.cpp \ - codemodel/declarator_compiler.cpp \ - codemodel/name_compiler.cpp \ - codemodel/class_compiler.cpp \ - codemodel/type_compiler.cpp - -HEADERS += codemodel/codemodelitems.h \ - codemodel/binder.h \ - codemodel/codemodel_finder.h \ - codemodel/compiler_utils.h \ - codemodel/declarator_compiler.h \ - codemodel/name_compiler.h \ - codemodel/class_compiler.h \ - codemodel/type_compiler.h - -# Input -SOURCES += main.cpp \ - dbcodemodel.cpp \ - cppcodemodel.cpp \ - cppcodemodelitems.cpp \ - cppcodemodelpart.cpp \ - cpppartparser.cpp -HEADERS += dbcodemodel.h \ - cppcodemodelpart.h \ - cppcodemodel.h \ - cppcodemodelitems.h \ - cpppartparser.h - -CONFIG += console diff --git a/tests/manual/cppmodelmanager/cpppartparser.cpp b/tests/manual/cppmodelmanager/cpppartparser.cpp deleted file mode 100644 index 5fa3ae38472ba2ebf775d3104b1222bfdb93cafc..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/cpppartparser.cpp +++ /dev/null @@ -1,204 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -#include <QtCore/QDebug> - -#include "cpppartparser.h" -#include "cppcodemodel.h" - -#include "preprocessor.h" -#include "pp-stream.h" -#include "pp-engine.h" - -#include "parser.h" -#include "control.h" - -#include "binder.h" - -CppPartParser *CppPartParser::m_instance = 0; - -// **************************** -// CppStream -// **************************** - -class CppStream : public Stream -{ -public: - CppStream(QByteArray *array); - virtual ~CppStream(); - -private: - QByteArray *m_array; -}; - -CppStream::CppStream(QByteArray *array) - : Stream(array) -{ - m_array = array; -} - -CppStream::~CppStream() -{ - delete m_array; -} - -// **************************** -// CppPartPP -// **************************** - -class CppPartPP : private Preprocessor -{ -public: - QByteArray process(QString &fileName, CppCodeModel *model); - -protected: - Stream* sourceNeeded(QString& fileName, IncludeType type); - -private: - CppCodeModel *m_model; - pp *m_proc; -}; - -QByteArray CppPartPP::process(QString &fileName, CppCodeModel *model) -{ - QByteArray result; - - m_model = model; - pp proc(this, (*model->macros())); - m_proc = &proc; - if (QByteArray *contents = m_model->contents(fileName)) { - result = proc.processFile(*(contents), fileName); - delete contents; - } - - return result; -} - -Stream* CppPartPP::sourceNeeded(QString& fileName, IncludeType type) -{ - QString localfile; - if (type == IncludeLocal) - localfile = m_proc->currentfile(); - - QByteArray *contents = m_model->contents(fileName, localfile); - if (!contents) - return 0; - - return new CppStream(contents); -} - -// **************************** -// CppPartParser -// **************************** - -CppPartParser::CppPartParser(QObject *parent) - : QThread(parent) -{ - m_cppPartPP = new CppPartPP(); - - m_cancelParsing = false; - m_currentModel = 0; -} - -CppPartParser::~CppPartParser() -{ - delete m_cppPartPP; -} - -CppPartParser *CppPartParser::instance(QObject *parent) -{ - if (!m_instance) - m_instance = new CppPartParser(parent); - - return m_instance; -} - -void CppPartParser::parse(CppCodeModel *model) -{ - mutex.lock(); - if (!m_modelQueue.contains(model)) - m_modelQueue.enqueue(model); - mutex.unlock(); - - if (!isRunning()) { - m_cancelParsing = false; - start(); - setPriority(QThread::LowPriority); - } -} - -void CppPartParser::remove(CppCodeModel *model) -{ - mutex.lock(); - if (m_modelQueue.contains(model)) - m_modelQueue.removeAll(model); - - if (m_currentModel == model) { - m_cancelParsing = true; - mutex.unlock(); - wait(); - m_cancelParsing = false; - start(); - setPriority(QThread::LowPriority); - } else { - mutex.unlock(); - } -} - -void CppPartParser::run() -{ - while (!m_cancelParsing && !m_modelQueue.isEmpty()) { - mutex.lock(); - m_currentModel = m_modelQueue.dequeue(); - mutex.unlock(); - - QStringList files = m_currentModel->needsParsing(); - for (int i=0; i<files.count() && !m_cancelParsing; ++i) { - QString resolvedName = files.at(i); - QByteArray ppcontent = m_cppPartPP->process( - resolvedName, m_currentModel); - - Control control; - Parser p(&control); - pool __pool; - - TranslationUnitAST *ast = p.parse(ppcontent, ppcontent.size(), &__pool); - qDebug() << p.problemCount(); - - Binder binder(m_currentModel, p.location()); - binder.run(ast, resolvedName); - - m_currentModel->store(); - } - } -} - diff --git a/tests/manual/cppmodelmanager/cpppartparser.h b/tests/manual/cppmodelmanager/cpppartparser.h deleted file mode 100644 index 0d5790a210ea5ada01c7f3930e2ddedc6f8d5aaa..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/cpppartparser.h +++ /dev/null @@ -1,72 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -#ifndef CPPPARTPARSER_H -#define CPPPARTPARSER_H - -#include <QtCore/QThread> -#include <QtCore/QMutex> -#include <QtCore/QQueue> - -class CppPartPP; -class CppCodeModel; - -class CppPartParser : public QThread -{ - Q_OBJECT - -public: - ~CppPartParser(); - - static CppPartParser *instance(QObject *parent = 0); - void parse(CppCodeModel *model); - void remove(CppCodeModel *model); - -protected: - void run(); - CppPartParser(QObject *parent = 0); - -private: - QMutex mutex; - - bool m_cancelParsing; - CppCodeModel *m_currentModel; - - QQueue<CppCodeModel *> m_modelQueue; - - static CppPartParser *m_instance; - - CppPartPP *m_cppPartPP; - friend class CppPartPP; -}; - -#endif //CPPPARTPARSER_H diff --git a/tests/manual/cppmodelmanager/dbcodemodel.cpp b/tests/manual/cppmodelmanager/dbcodemodel.cpp deleted file mode 100644 index a9abfd83b725f2ee413253b675770de77a99dfb5..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/dbcodemodel.cpp +++ /dev/null @@ -1,147 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -#include <QtCore/QFile> - -#include "dbcodemodel.h" - -DBCodeModel::DBCodeModel(QObject *parent) - : QObject(parent) -{ - -} - -DBCodeModel::~DBCodeModel() -{ - -} - -bool DBCodeModel::open(const QString &fileName) -{ - m_db = QSqlDatabase::addDatabase("QSQLITE", fileName); - - if (!QFile::exists(fileName)) { - m_db.setDatabaseName(fileName); - if (!m_db.open() || !create()) - return false; - } else { - m_db.setDatabaseName(fileName); - if (!m_db.open()) // || !update(fileName)) - return false; - } - - return true; -} - -bool DBCodeModel::create() -{ - QSqlQuery query(m_db); - - // table to store type information - query.exec("CREATE TABLE TYPEINFO (" - "id INTEGER PRIMARY KEY, " - "typename TEXT, " - "typeflags INTEGER, " - ")"); - - // table to store position information - query.exec("CREATE TABLE POSITION (" - "id INTEGER PRIMARY KEY, " - "sline INTEGER, " - "scolumn INTEGER, " - "eline INTEGER, " - "ecolumn INTEGER" - ")"); - - // table to store files (global namespace), namespaces, unions, structs and classes - query.exec("CREATE TABLE SCOPE (" - "id INTEGER PRIMARY KEY, " - "scopetype INTEGER, " - "name TEXT, " - "parent INTEGER, " - "posid INTEGER, " - "fileid INTEGER" - ")"); - - // table to store scope member information - // a scope member is a enum, function, variable or typealias - query.exec("CREATE TABLE SCOPEMEMBER (" - "id INTEGER PRIMARY KEY, " - "membertype INTEGER, " - "name TEXT, " - "scopeid INTEGER, " - "flags INTEGER, " - "typeid INTEGER, " - "posid INTEGER, " - "fileid INTEGER" - ")"); - - // table to store arguments - // used if the membertype is a function - query.exec("CREATE TABLE ARGUMENT (" - "name TEXT, " - "default TEXT, " - "argnr INTEGER, " - "typeid INTEGER, " - "memberid INTEGER" - ")"); - - // table to store enumerators - // used if the membertype is an enum - query.exec("CREATE TABLE ENUMERATOR (" - "name TEXT, " - "value INTEGER, " - "memberid INTEGER" - ")"); - - // table to store arguments to types - // used if typeflags indicates that it has arguments (i.e. function pointers) - query.exec("CREATE TABLE TYPEARGUMENT (" - "parentid INTEGER, " - "argnr INTEGER, " - "typeid INTEGER" - ")"); - - // table to store the class hierarchy - query.exec("CREATE TABLE CLASSHIERARCHY (" - "scopeid INTEGER, " - "basename TEXT" - ")"); - - // table to store all the modified timestamps used - // for updating the database - query.exec("CREATE TABLE MODIFIED (" - "fileid INTEGER, " - "modified INTEGER)"); - - return true; -} diff --git a/tests/manual/cppmodelmanager/dbcodemodel.h b/tests/manual/cppmodelmanager/dbcodemodel.h deleted file mode 100644 index 479fde865644e1d6eca6556d8cd418f8ce618313..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/dbcodemodel.h +++ /dev/null @@ -1,55 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -#ifndef DBCODEMODEL_H -#define DBCODEMODEL_H - -#include <QtSql> - -class DBCodeModel : public QObject -{ - Q_OBJECT - -public: - DBCodeModel(QObject *parent = 0); - ~DBCodeModel(); - - bool open(const QString &fileName); - -protected: - bool create(); - -private: - QSqlDatabase m_db; -}; - -#endif // DBCODEMODEL_H diff --git a/tests/manual/cppmodelmanager/main.cpp b/tests/manual/cppmodelmanager/main.cpp deleted file mode 100644 index da8266413640ef0d955b514eb23269fec9b21b0b..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/main.cpp +++ /dev/null @@ -1,81 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -#include <QtCore> - -#include "cppcodemodel.h" -#include "preprocessor.h" - -int main(int argc, char *argv[]) -{ - QCoreApplication app(argc, argv); - - QFile f("C:\\depot\\research\\main\\cppparser\\rpp\\pp-qt-configuration"); - f.open(QIODevice::ReadOnly); - CppCodeModel model(f.readAll()); - f.close(); - - model.addIncludePath("C:\\depot\\qt\\4.1\\include\\"); - model.addIncludePath("C:\\depot\\qt\\4.1\\include\\QtCore"); - model.addIncludePath("C:\\depot\\qt\\4.1\\include\\QtGui"); - -/* model.addIncludePath("C:\\depot\\research\\main\\qworkbench\\tests\\manual\\cppmodelmanager\\tests"); */ - model.update(QStringList() << "qwidget.h"); - -// return app.exec(); - return 0; - -/* Preprocessor pp; - pp.addIncludePaths(QStringList() << "C:/depot/qt/4.1/include/QtCore/"); - pp.processFile("C:/depot/research/main/cppparser/rpp/pp-qt-configuration"); - QString ppstuff = pp.processFile("test.h"); - - - Control control; - Parser p(&control); - pool __pool; - - QByteArray byteArray = ppstuff.toUtf8(); - TranslationUnitAST *ast = p.parse(byteArray, byteArray.size(), &__pool); - qDebug() << p.problemCount(); - - CodeModel model; - Binder binder(&model, p.location()); - FileModelItem fileModel = binder.run(ast); - - qDebug() << "Count: " << model.files().count(); */ - -/* DBCodeModel db; - db.open("c:/bin/test.cdb"); */ - - -} diff --git a/tests/manual/cppmodelmanager/rpp/pp-engine.cpp b/tests/manual/cppmodelmanager/rpp/pp-engine.cpp deleted file mode 100644 index cef2b08292635d71fc79628fcea40f0cc551ffe1..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/rpp/pp-engine.cpp +++ /dev/null @@ -1,1117 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* - Copyright 2005 Roberto Raggi <roberto@kdevelop.org> - Copyright 2006 Hamish Rodda <rodda@kde.org> - - Permission to use, copy, modify, distribute, and sell this software and its - documentation for any purpose is hereby granted without fee, provided that - the above copyright notice appear in all copies and that both that - copyright notice and this permission notice appear in supporting - documentation. - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - KDEVELOP TEAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -#include "pp-engine.h" - -#include <QFile> - -#include <QtCore/QDebug> - -#include "pp-internal.h" -#include "preprocessor.h" - -pp::pp(Preprocessor* preprocessor, QHash<QString, pp_macro*>& environment) - : m_environment(environment) - , expand(this) - , m_preprocessor(preprocessor) - , nextToken(0) - , haveNextToken(false) - , hideNext(false) -{ - iflevel = 0; - _M_skipping[iflevel] = 0; - _M_true_test[iflevel] = 0; -} - -QList<pp::ErrorMessage> pp::errorMessages () const -{ - return _M_error_messages; -} - -void pp::clearErrorMessages () -{ - _M_error_messages.clear (); -} - -void pp::reportError (const QString &fileName, int line, int column, const QString &message) -{ - ErrorMessage msg; - msg.setFileName (fileName); - msg.setLine (line); - msg.setColumn (column); - msg.setMessage (message); - - _M_error_messages.append (msg); -} - -QString pp::processFile(const QString& filename) -{ - QFile file(filename); - if (file.open(QIODevice::ReadOnly)) - { - m_files.push(filename); - - Stream is(&file); - QString result; - - { - Stream rs(&result); - operator () (is, rs); - } - - return result; - } - - qWarning() << "file '" << filename << "' not found!" << endl; - return QString(); -} - -QString pp::processFile(QIODevice* device) -{ - Q_ASSERT(device); - - QString result; - m_files.push("<internal>"); - - { - Stream is(device); - Stream rs(&result); - operator () (is, rs); - } - - return result; -} - -QString pp::processFile(const QByteArray& input) -{ - QString result; - m_files.push("<internal>"); - - { - Stream is(input); - Stream rs(&result); - operator () (is, rs); - } - - return result; -} - -QByteArray pp::processFile(const QByteArray& input, const QString &fileName) -{ - QByteArray result; - m_files.push(fileName); - - { - Stream is(input); - Stream rs(&result); - operator () (is, rs); - } - - return result; -} - -QString pp::find_header_protection(Stream& input) -{ - while (!input.atEnd()) - { - if (input.current().isSpace()) - { - ++input; - } - else if (PPInternal::isComment(input)) - { - skip_comment_or_divop (input, PPInternal::devnull()); - } - else if (input == '#') - { - skip_blanks (++input, PPInternal::devnull()); - - if (!input.atEnd() && input == 'i') - { - QString directive = skip_identifier(input); - - if (directive == "ifndef") - { - skip_blanks (input, PPInternal::devnull()); - - QString define = skip_identifier(input); - - if (!define.isEmpty() && !input.atEnd()) - { - input.reset(); - return define; - } - } - } - break; - - } else { - break; - } - } - - input.reset(); - return QString(); -} - -pp::PP_DIRECTIVE_TYPE pp::find_directive (const QString& directive) const -{ - static QHash<QString, PP_DIRECTIVE_TYPE> directiveHash; - if (directiveHash.isEmpty()) { - directiveHash.insert("if", PP_IF); - directiveHash.insert("elif", PP_ELIF); - directiveHash.insert("else", PP_ELSE); - directiveHash.insert("ifdef", PP_IFDEF); - directiveHash.insert("undef", PP_UNDEF); - directiveHash.insert("endif", PP_ENDIF); - directiveHash.insert("ifndef", PP_IFNDEF); - directiveHash.insert("define", PP_DEFINE); - directiveHash.insert("include", PP_INCLUDE); - } - - if (directiveHash.contains(directive)) - return directiveHash[directive]; - - return PP_UNKNOWN_DIRECTIVE; -} - -void pp::handle_directive(const QString& directive, Stream& input, Stream& output) -{ - skip_blanks (input, output); - - switch (find_directive(directive)) - { - case PP_DEFINE: - if (! skipping ()) - return handle_define(input); - break; - - case PP_INCLUDE: - if (! skipping ()) - return handle_include (input, output); - break; - - case PP_UNDEF: - if (! skipping ()) - return handle_undef(input); - break; - - case PP_ELIF: - return handle_elif(input); - - case PP_ELSE: - return handle_else(); - - case PP_ENDIF: - return handle_endif(); - - case PP_IF: - return handle_if(input); - - case PP_IFDEF: - return handle_ifdef(false, input); - - case PP_IFNDEF: - return handle_ifdef(true, input); - - default: - break; - } -} - -void pp::handle_include(Stream& input, Stream& output) -{ - Q_ASSERT(input == '<' || input == '"'); - QChar quote((input == '"') ? '"' : '>'); - ++input; - - QString includeName; - - while (!input.atEnd() && input != quote) { - Q_ASSERT(input != '\n'); - - includeName.append(input); - ++input; - } - - Stream* include = m_preprocessor->sourceNeeded(includeName, - quote == '"' ? Preprocessor::IncludeLocal : Preprocessor::IncludeGlobal); - if (include && !include->atEnd()) { - m_files.push(includeName); - - output.mark(includeName, 0); - - operator()(*include, output); - - // restore the file name and sync the buffer - m_files.pop(); - output.mark(m_files.top(), input.inputLineNumber()); - } - - delete include; -} - -void pp::operator () (Stream& input, Stream& output) -{ -#ifndef PP_NO_SMART_HEADER_PROTECTION - QString headerDefine = find_header_protection(input); - if (m_environment.contains(headerDefine)) - { - //kDebug() << k_funcinfo << "found header protection: " << headerDefine << endl; - return; - } -#endif - - forever - { - if (skipping()) { - skip_blanks(input, PPInternal::devnull()); - - } else { - skip_blanks(input, output); - } - - if (input.atEnd()) { - break; - - } else if (input == '#') { - skip_blanks(++input, PPInternal::devnull()); - - QString directive = skip_identifier(input); - - Q_ASSERT(directive.length() < 512); - - skip_blanks(input, PPInternal::devnull()); - - QString skipped; - { - Stream ss(&skipped); - skip (input, ss); - } - - Stream ss(&skipped); - handle_directive(directive, ss, output); - - } else if (input == '\n') { - checkMarkNeeded(input, output); - output << input; - ++input; - - } else if (skipping ()) { - skip (input, PPInternal::devnull()); - - } else { - checkMarkNeeded(input, output); - expand (input, output); - } - } -} - -void pp::checkMarkNeeded(Stream& input, Stream& output) -{ - if (input.inputLineNumber() != output.outputLineNumber() && !output.isNull()) - output.mark(m_files.top(), input.inputLineNumber()); -} - -void pp::handle_define (Stream& input) -{ - pp_macro* macro = new pp_macro(); -#if defined (PP_WITH_MACRO_POSITION) - macro->file = m_files.top(); -#endif - QString definition; - - skip_blanks (input, PPInternal::devnull()); - QString macro_name = skip_identifier(input); - - if (!input.atEnd() && input == '(') - { - macro->function_like = true; - - skip_blanks (++input, PPInternal::devnull()); // skip '(' - QString formal = skip_identifier(input); - if (!formal.isEmpty()) - macro->formals << formal; - - skip_blanks(input, PPInternal::devnull()); - - if (input == '.') { - macro->variadics = true; - - do { - ++input; - - } while (input == '.'); - } - - while (!input.atEnd() && input == ',') - { - skip_blanks(++input, PPInternal::devnull()); - - QString formal = skip_identifier(input); - if (!formal.isEmpty()) - macro->formals << formal; - - skip_blanks (input, PPInternal::devnull()); - - if (input == '.') { - macro->variadics = true; - - do { - ++input; - - } while (input == '.'); - } - } - - Q_ASSERT(input == ')'); - ++input; - } - - skip_blanks (input, PPInternal::devnull()); - - while (!input.atEnd() && input != '\n') - { - if (input == '\\') - { - qint64 pos = input.pos(); - skip_blanks (++input, PPInternal::devnull()); - - if (!input.atEnd() && input == '\n') - { - ++macro->lines; - skip_blanks(++input, PPInternal::devnull()); - definition += ' '; - continue; - - } else { - // Whoops, rewind :) - input.seek(pos); - } - } - - definition += input; - ++input; - } - - macro->definition = definition; - - if (pp_macro* replacemacro = m_environment.value(macro_name, 0)) - delete replacemacro; - - m_environment.insert(macro_name, macro); -} - - -void pp::skip (Stream& input, Stream& output, bool outputText) -{ - pp_skip_string_literal skip_string_literal; - pp_skip_char_literal skip_char_literal; - - while (!input.atEnd() && input != '\n') - { - if (input == '/') - { - skip_comment_or_divop (input, output, outputText); - } - else if (input == '"') - { - skip_string_literal (input, output); - } - else if (input == '\'') - { - skip_char_literal (input, output); - } - else if (input == '\\') - { - output << input; - skip_blanks (++input, output); - - if (!input.atEnd() && input == '\n') - { - output << input; - ++input; - } - } - else - { - output << input; - ++input; - } - } -} - -inline bool pp::test_if_level() -{ - bool result = !_M_skipping[iflevel++]; - _M_skipping[iflevel] = _M_skipping[iflevel - 1]; - _M_true_test[iflevel] = false; - return result; -} - -inline int pp::skipping() const -{ return _M_skipping[iflevel]; } - - -long pp::eval_primary(Stream& input) -{ - bool expect_paren = false; - int token = next_token_accept(input); - long result = 0; - - switch (token) { - case TOKEN_NUMBER: - return token_value; - - case TOKEN_DEFINED: - token = next_token_accept(input); - - if (token == '(') - { - expect_paren = true; - token = next_token_accept(input); - } - - if (token != TOKEN_IDENTIFIER) - { - qWarning() << "expected ``identifier'' found:" << token << endl; - break; - } - - result = m_environment.contains(token_text); - - token = next_token(input); // skip '(' - - if (expect_paren) { - token = next_token(input); - - if (token != ')') - qWarning() << "expected ``)''" << endl; - else - accept_token(); - } - break; - - case TOKEN_IDENTIFIER: - break; - - case '!': - return !eval_primary(input); - - case '(': - result = eval_constant_expression(input); - token = next_token(input); - - if (token != ')') - qWarning() << "expected ``)'' = " << token << endl; - else - accept_token(); - - break; - - default: - break; - } - - return result; -} - -long pp::eval_multiplicative(Stream& input) -{ - long result = eval_primary(input); - - int token = next_token(input); - - while (token == '*' || token == '/' || token == '%') { - accept_token(); - - long value = eval_primary(input); - - if (token == '*') { - result *= value; - - } else if (token == '/') { - if (value == 0) { - qWarning() << "division by zero" << endl; - result = 0; - - } else { - result = result / value; - } - - } else { - if (value == 0) { - qWarning() << "division by zero" << endl; - result = 0; - - } else { - result %= value; - } - } - - token = next_token(input); - } - - return result; -} - -long pp::eval_additive(Stream& input) -{ - long result = eval_multiplicative(input); - - int token = next_token(input); - - while (token == '+' || token == '-') { - accept_token(); - - long value = eval_multiplicative(input); - - if (token == '+') - result += value; - else - result -= value; - - token = next_token(input); - } - - return result; -} - - -long pp::eval_shift(Stream& input) -{ - long result = eval_additive(input); - - int token; - token = next_token(input); - - while (token == TOKEN_LT_LT || token == TOKEN_GT_GT) { - accept_token(); - - long value = eval_additive(input); - - if (token == TOKEN_LT_LT) - result <<= value; - else - result >>= value; - - token = next_token(input); - } - - return result; -} - - -long pp::eval_relational(Stream& input) -{ - long result = eval_shift(input); - - int token = next_token(input); - - while (token == '<' - || token == '>' - || token == TOKEN_LT_EQ - || token == TOKEN_GT_EQ) - { - accept_token(); - long value = eval_shift(input); - - switch (token) - { - default: - Q_ASSERT(0); - break; - - case '<': - result = result < value; - break; - - case '>': - result = result < value; - break; - - case TOKEN_LT_EQ: - result = result <= value; - break; - - case TOKEN_GT_EQ: - result = result >= value; - break; - } - - token = next_token(input); - } - - return result; -} - - -long pp::eval_equality(Stream& input) -{ - long result = eval_relational(input); - - int token = next_token(input); - - while (token == TOKEN_EQ_EQ || token == TOKEN_NOT_EQ) { - accept_token(); - long value = eval_relational(input); - - if (token == TOKEN_EQ_EQ) - result = result == value; - else - result = result != value; - - token = next_token(input); - } - - return result; -} - - -long pp::eval_and(Stream& input) -{ - long result = eval_equality(input); - - int token = next_token(input); - - while (token == '&') { - accept_token(); - long value = eval_equality(input); - result = result & value; - token = next_token(input); - } - - return result; -} - - -long pp::eval_xor(Stream& input) -{ - long result = eval_and(input); - - int token; - token = next_token(input); - - while (token == '^') { - accept_token(); - long value = eval_and(input); - result = result ^ value; - token = next_token(input); - } - - return result; -} - - -long pp::eval_or(Stream& input) -{ - long result = eval_xor(input); - - int token = next_token(input); - - while (token == '|') { - accept_token(); - long value = eval_xor(input); - result = result | value; - token = next_token(input); - } - - return result; -} - - -long pp::eval_logical_and(Stream& input) -{ - long result = eval_or(input); - - int token = next_token(input); - - while (token == TOKEN_AND_AND) { - accept_token(); - long value = eval_or(input); - result = result && value; - token = next_token(input); - } - - return result; -} - - -long pp::eval_logical_or(Stream& input) -{ - long result = eval_logical_and(input); - - int token = next_token(input); - - while (token == TOKEN_OR_OR) { - accept_token(); - long value = eval_logical_and(input); - result = result || value; - token = next_token(input); - } - - return result; -} - - -long pp::eval_constant_expression(Stream& input) -{ - long result = eval_logical_or(input); - - int token = next_token(input); - - if (token == '?') - { - accept_token(); - long left_value = eval_constant_expression(input); - skip_blanks(input, PPInternal::devnull()); - - token = next_token_accept(input); - if (token == ':') - { - long right_value = eval_constant_expression(input); - - result = result ? left_value : right_value; - } - else - { - qWarning() << "expected ``:'' = " << int (token) << endl; - result = left_value; - } - } - - return result; -} - - -long pp::eval_expression(Stream& input) -{ - skip_blanks(input, PPInternal::devnull()); - return eval_constant_expression(input); -} - - -void pp::handle_if (Stream& input) -{ - if (test_if_level()) - { - pp_macro_expander expand_condition(this); - skip_blanks(input, PPInternal::devnull()); - QString condition; - { - Stream cs(&condition); - expand_condition(input, cs); - } - - Stream cs(&condition); - long result = eval_expression(cs); - - _M_true_test[iflevel] = result; - _M_skipping[iflevel] = !result; - } -} - - -void pp::handle_else() -{ - if (iflevel == 0 && !skipping ()) - { - qWarning() << "#else without #if" << endl; - } - else if (iflevel > 0 && _M_skipping[iflevel - 1]) - { - _M_skipping[iflevel] = true; - } - else - { - _M_skipping[iflevel] = _M_true_test[iflevel]; - } -} - - -void pp::handle_elif(Stream& input) -{ - Q_ASSERT(iflevel > 0); - - if (iflevel == 0 && !skipping()) - { - qWarning() << "#else without #if" << endl; - } - else if (!_M_true_test[iflevel] && !_M_skipping[iflevel - 1]) - { - long result = eval_expression(input); - _M_true_test[iflevel] = result; - _M_skipping[iflevel] = !result; - } - else - { - _M_skipping[iflevel] = true; - } -} - - -void pp::handle_endif() -{ - if (iflevel == 0 && !skipping()) - { - qWarning() << "#endif without #if" << endl; - } - else - { - _M_skipping[iflevel] = 0; - _M_true_test[iflevel] = 0; - - --iflevel; - } -} - - -void pp::handle_ifdef (bool check_undefined, Stream& input) -{ - if (test_if_level()) - { - QString macro_name = skip_identifier(input); - bool value = m_environment.contains(macro_name); - - if (check_undefined) - value = !value; - - _M_true_test[iflevel] = value; - _M_skipping[iflevel] = !value; - } -} - - -void pp::handle_undef(Stream& input) -{ - skip_blanks (input, PPInternal::devnull()); - - QString macro_name = skip_identifier(input); - Q_ASSERT(!macro_name.isEmpty()); - - delete m_environment.take(macro_name); -} - -int pp::next_token (Stream& input) -{ - if (haveNextToken) - return nextToken; - - skip_blanks(input, PPInternal::devnull()); - - if (input.atEnd()) - { - return 0; - } - - char ch = input.current().toLatin1(); - char ch2 = input.peek().toLatin1(); - - nextToken = 0; - - switch (ch) { - case '/': - if (ch2 == '/' || ch2 == '*') - { - skip_comment_or_divop(input, PPInternal::devnull(), false); - return next_token(input); - } - ++input; - nextToken = '/'; - break; - - case '<': - ++input; - if (ch2 == '<') - { - ++input; - nextToken = TOKEN_LT_LT; - } - else if (ch2 == '=') - { - ++input; - nextToken = TOKEN_LT_EQ; - } - else - nextToken = '<'; - - break; - - case '>': - ++input; - if (ch2 == '>') - { - ++input; - nextToken = TOKEN_GT_GT; - } - else if (ch2 == '=') - { - ++input; - nextToken = TOKEN_GT_EQ; - } - else - nextToken = '>'; - - break; - - case '!': - ++input; - if (ch2 == '=') - { - ++input; - nextToken = TOKEN_NOT_EQ; - } - else - nextToken = '!'; - - break; - - case '=': - ++input; - if (ch2 == '=') - { - ++input; - nextToken = TOKEN_EQ_EQ; - } - else - nextToken = '='; - - break; - - case '|': - ++input; - if (ch2 == '|') - { - ++input; - nextToken = TOKEN_OR_OR; - } - else - nextToken = '|'; - - break; - - case '&': - ++input; - if (ch2 == '&') - { - ++input; - nextToken = TOKEN_AND_AND; - } - else - nextToken = '&'; - - break; - - default: - if (QChar(ch).isLetter() || ch == '_') - { - token_text = skip_identifier (input); - - if (token_text == "defined") - nextToken = TOKEN_DEFINED; - else - nextToken = TOKEN_IDENTIFIER; - } - else if (QChar(ch).isNumber()) - { - QString number; - { - Stream ns(&number); - skip_number(input, ns); - } - token_value = number.toLong(); - - nextToken = TOKEN_NUMBER; - } - else - { - nextToken = input.current().toLatin1(); - ++input; - } - } - - //kDebug() << "Next token '" << ch << ch2 << "' " << nextToken << " txt " << token_text << " val " << token_value << endl; - - haveNextToken = true; - return nextToken; -} - -int pp::next_token_accept (Stream& input) -{ - int result = next_token(input); - accept_token(); - return result; -} - -void pp::accept_token() -{ - haveNextToken = false; - nextToken = 0; -} - -bool pp::hideNextMacro( ) const -{ - return hideNext; -} - -void pp::setHideNextMacro( bool h ) -{ - hideNext = h; -} - -QHash< QString, pp_macro * > & pp::environment( ) -{ - return m_environment; -} - -// kate: indent-width 2; diff --git a/tests/manual/cppmodelmanager/rpp/pp-engine.h b/tests/manual/cppmodelmanager/rpp/pp-engine.h deleted file mode 100644 index 446b08a870387717b58f5e503e6e7070ed2d20ed..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/rpp/pp-engine.h +++ /dev/null @@ -1,232 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* - Copyright 2005 Roberto Raggi <roberto@kdevelop.org> - - Permission to use, copy, modify, distribute, and sell this software and its - documentation for any purpose is hereby granted without fee, provided that - the above copyright notice appear in all copies and that both that - copyright notice and this permission notice appear in supporting - documentation. - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - KDEVELOP TEAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -#ifndef PP_ENGINE_H -#define PP_ENGINE_H - -#include <QHash> -#include <QString> -#include <QStack> - -#include "pp-macro.h" -#include "pp-macro-expander.h" -#include "pp-scanner.h" - -class Preprocessor; - -class pp -{ - QHash<QString, pp_macro*>& m_environment; - pp_macro_expander expand; - pp_skip_identifier skip_identifier; - pp_skip_comment_or_divop skip_comment_or_divop; - pp_skip_blanks skip_blanks; - pp_skip_number skip_number; - QStack<QString> m_files; - Preprocessor* m_preprocessor; - - class ErrorMessage - { - int _M_line; - int _M_column; - QString _M_fileName; - QString _M_message; - - public: - ErrorMessage (): - _M_line (0), - _M_column (0) {} - - inline int line () const { return _M_line; } - inline void setLine (int line) { _M_line = line; } - - inline int column () const { return _M_column; } - inline void setColumn (int column) { _M_column = column; } - - inline QString fileName () const { return _M_fileName; } - inline void setFileName (const QString &fileName) { _M_fileName = fileName; } - - inline QString message () const { return _M_message; } - inline void setMessage (const QString &message) { _M_message = message; } - }; - - QList<ErrorMessage> _M_error_messages; - - enum { MAX_LEVEL = 512 }; - int _M_skipping[MAX_LEVEL]; - int _M_true_test[MAX_LEVEL]; - int iflevel; - int nextToken; - bool haveNextToken; - bool hideNext; - - long token_value; - QString token_text; - - enum TOKEN_TYPE - { - TOKEN_NUMBER = 1000, - TOKEN_IDENTIFIER, - TOKEN_DEFINED, - TOKEN_LT_LT, - TOKEN_LT_EQ, - TOKEN_GT_GT, - TOKEN_GT_EQ, - TOKEN_EQ_EQ, - TOKEN_NOT_EQ, - TOKEN_OR_OR, - TOKEN_AND_AND, - }; - - enum PP_DIRECTIVE_TYPE - { - PP_UNKNOWN_DIRECTIVE, - PP_DEFINE, - PP_INCLUDE, - PP_ELIF, - PP_ELSE, - PP_ENDIF, - PP_IF, - PP_IFDEF, - PP_IFNDEF, - PP_UNDEF - }; - -public: - pp(Preprocessor* preprocessor, QHash<QString, pp_macro*>& environment); - - QList<ErrorMessage> errorMessages () const; - void clearErrorMessages (); - - void reportError (const QString &fileName, int line, int column, const QString &message); - - long eval_expression (Stream& input); - - QString processFile(const QString& filename); - QString processFile(QIODevice* input); - QString processFile(const QByteArray& input); - QByteArray processFile(const QByteArray& input, const QString &fileName); - - inline QString currentfile() const { - return m_files.top(); - } - - void operator () (Stream& input, Stream& output); - - void checkMarkNeeded(Stream& input, Stream& output); - - bool hideNextMacro() const; - void setHideNextMacro(bool hideNext); - - QHash<QString, pp_macro*>& environment(); - -private: - int skipping() const; - bool test_if_level(); - - PP_DIRECTIVE_TYPE find_directive (const QString& directive) const; - - QString find_header_protection(Stream& input); - - void skip(Stream& input, Stream& output, bool outputText = true); - - long eval_primary(Stream& input); - - long eval_multiplicative(Stream& input); - - long eval_additive(Stream& input); - - long eval_shift(Stream& input); - - long eval_relational(Stream& input); - - long eval_equality(Stream& input); - - long eval_and(Stream& input); - - long eval_xor(Stream& input); - - long eval_or(Stream& input); - - long eval_logical_and(Stream& input); - - long eval_logical_or(Stream& input); - - long eval_constant_expression(Stream& input); - - void handle_directive(const QString& directive, Stream& input, Stream& output); - - void handle_include(Stream& input, Stream& output); - - void handle_define(Stream& input); - - void handle_if(Stream& input); - - void handle_else(); - - void handle_elif(Stream& input); - - void handle_endif(); - - void handle_ifdef(bool check_undefined, Stream& input); - - void handle_undef(Stream& input); - - int next_token (Stream& input); - int next_token_accept (Stream& input); - void accept_token(); -}; - -#endif // PP_ENGINE_H - -// kate: indent-width 2; - diff --git a/tests/manual/cppmodelmanager/rpp/pp-internal.cpp b/tests/manual/cppmodelmanager/rpp/pp-internal.cpp deleted file mode 100644 index c427d006b1117a43fe7d8e9d22126b04c7c86aaa..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/rpp/pp-internal.cpp +++ /dev/null @@ -1,68 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* - Copyright 2005 Roberto Raggi <roberto@kdevelop.org> - Copyright 2006 Hamish Rodda <rodda@kde.org> - - Permission to use, copy, modify, distribute, and sell this software and its - documentation for any purpose is hereby granted without fee, provided that - the above copyright notice appear in all copies and that both that - copyright notice and this permission notice appear in supporting - documentation. - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - KDEVELOP TEAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -#include "pp-internal.h" - -bool PPInternal::isComment(Stream& input) -{ - QChar c1 = input; - QChar c2 = input.peek(); - - return c1 == '/' && (c2 == '/' || c2 == '*'); -} - -Stream& PPInternal::devnull() -{ - static Stream null; - return null; -} diff --git a/tests/manual/cppmodelmanager/rpp/pp-internal.h b/tests/manual/cppmodelmanager/rpp/pp-internal.h deleted file mode 100644 index 4be1f6ce5d4e5e821a09b32ab695b138c6d12c39..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/rpp/pp-internal.h +++ /dev/null @@ -1,69 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* - Copyright 2005 Roberto Raggi <roberto@kdevelop.org> - Copyright 2006 Hamish Rodda <rodda@kde.org> - - Permission to use, copy, modify, distribute, and sell this software and its - documentation for any purpose is hereby granted without fee, provided that - the above copyright notice appear in all copies and that both that - copyright notice and this permission notice appear in supporting - documentation. - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - KDEVELOP TEAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -#ifndef PP_INTERNAL_H -#define PP_INTERNAL_H - -#include "pp-stream.h" - -namespace PPInternal -{ - -bool isComment(Stream& input); - -Stream& devnull(); - -} -// _PP_internal - -#endif // PP_INTERNAL_H diff --git a/tests/manual/cppmodelmanager/rpp/pp-macro-expander.cpp b/tests/manual/cppmodelmanager/rpp/pp-macro-expander.cpp deleted file mode 100644 index 032bf3659311e5e9eb0bca81ab6c53263a2108cc..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/rpp/pp-macro-expander.cpp +++ /dev/null @@ -1,287 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* - Copyright 2005 Roberto Raggi <roberto@kdevelop.org> - Copyright 2006 Hamish Rodda <rodda@kde.org> - - Permission to use, copy, modify, distribute, and sell this software and its - documentation for any purpose is hereby granted without fee, provided that - the above copyright notice appear in all copies and that both that - copyright notice and this permission notice appear in supporting - documentation. - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - KDEVELOP TEAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -#include "pp-macro-expander.h" - -#include <QtCore/QDebug> - -#include "pp-internal.h" -#include "pp-engine.h" - -pp_frame::pp_frame(pp_macro* __expandingMacro, const QList<QString>& __actuals) - : expandingMacro(__expandingMacro) - , actuals(__actuals) -{ -} - -QString pp_macro_expander::resolve_formal(const QString& name) -{ - Q_ASSERT(!name.isEmpty()); - - if (!m_frame) - return QString(); - - Q_ASSERT(m_frame->expandingMacro != 0); - - const QStringList& formals = m_frame->expandingMacro->formals; - - for (int index = 0; index < formals.size(); ++index) { - if (name == formals[index]) { - if (index < m_frame->actuals.size()) - return m_frame->actuals[index]; - else - Q_ASSERT(0); // internal error? - } - } - - return QString(); -} - -pp_macro_expander::pp_macro_expander(pp* engine, pp_frame* frame) - : m_engine(engine) - , m_frame(frame) -{ -} - -void pp_macro_expander::operator()(Stream& input, Stream& output) -{ - skip_blanks(input, output); - - while (!input.atEnd()) - { - if (input == '\n') - { - output << input; - - skip_blanks(++input, output); - - if (!input.atEnd() && input == '#') - break; - } - else if (input == '#') - { - skip_blanks(++input, output); - - QString identifier = skip_identifier(input); - output << '\"'; - - Stream is(&identifier); - operator()(is, output); - - output << '\"'; - } - else if (input == '\"') - { - skip_string_literal(input, output); - } - else if (input == '\'') - { - skip_char_literal(input, output); - } - else if (PPInternal::isComment(input)) - { - skip_comment_or_divop(input, output); - } - else if (input.current().isSpace()) - { - do { - if (input == '\n' || !input.current().isSpace()) - break; - - } while (!(++input).atEnd()); - - output << ' '; - } - else if (input.current().isNumber()) - { - skip_number (input, output); - } - else if (input.current().isLetter() || input == '_') - { - QString name = skip_identifier (input); - - // search for the paste token - qint64 blankStart = input.pos(); - skip_blanks (input, PPInternal::devnull()); - if (!input.atEnd() && input == '#') { - ++input; - - if (!input.atEnd() && input == '#') - skip_blanks(++input, PPInternal::devnull()); - else - input.seek(blankStart); - - } else { - input.seek(blankStart); - } - - Q_ASSERT(name.length() >= 0 && name.length() < 512); - - QString actual = resolve_formal(name); - if (!actual.isEmpty()) { - output << actual; - continue; - } - - pp_macro* macro = m_engine->environment().value(name, 0); - if (! macro || macro->hidden || m_engine->hideNextMacro()) - { - m_engine->setHideNextMacro(name == "defined"); - output << name; - continue; - } - - if (!macro->function_like) - { - pp_macro_expander expand_macro(m_engine); - macro->hidden = true; - Stream ms(¯o->definition, QIODevice::ReadOnly); - expand_macro(ms, output); - macro->hidden = false; - continue; - } - - // function like macro - if (input.atEnd() || input != '(') - { - output << name; - continue; - } - - QList<QString> actuals; - ++input; // skip '(' - - pp_macro_expander expand_actual(m_engine, m_frame); - - qint64 before = input.pos(); - { - actual.clear(); - - { - Stream as(&actual); - skip_argument_variadics(actuals, macro, input, as); - } - - if (input.pos() != before) - { - QString newActual; - { - Stream as(&actual); - Stream nas(&newActual); - expand_actual(as, nas); - } - actuals.append(newActual); - } - } - - // TODO: why separate from the above? - while (!input.atEnd() && input == ',') - { - actual.clear(); - ++input; // skip ',' - - { - { - Stream as(&actual); - skip_argument_variadics(actuals, macro, input, as); - } - - QString newActual; - { - Stream as(&actual); - Stream nas(&newActual); - expand_actual(as, nas); - } - actuals.append(newActual); - } - } - - //Q_ASSERT(!input.atEnd() && input == ')'); - - ++input; // skip ')' - -#if 0 // ### enable me - assert ((macro->variadics && macro->formals.size () >= actuals.size ()) - || macro->formals.size() == actuals.size()); -#endif - - pp_frame frame(macro, actuals); - pp_macro_expander expand_macro(m_engine, &frame); - macro->hidden = true; - Stream ms(¯o->definition, QIODevice::ReadOnly); - expand_macro(ms, output); - macro->hidden = false; - - } else { - output << input; - ++input; - } - } -} - -void pp_macro_expander::skip_argument_variadics (const QList<QString>& __actuals, pp_macro *__macro, Stream& input, Stream& output) -{ - qint64 first; - - do { - first = input.pos(); - skip_argument(input, output); - - } while ( __macro->variadics - && first != input.pos() - && !input.atEnd() - && input == '.' - && (__actuals.size() + 1) == __macro->formals.size()); -} - -// kate: indent-width 2; diff --git a/tests/manual/cppmodelmanager/rpp/pp-macro-expander.h b/tests/manual/cppmodelmanager/rpp/pp-macro-expander.h deleted file mode 100644 index 933fc90b3915b58c11b590c6a45e9f68e9640d24..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/rpp/pp-macro-expander.h +++ /dev/null @@ -1,105 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* - Copyright 2005 Roberto Raggi <roberto@kdevelop.org> - Copyright 2006 Hamish Rodda <rodda@kde.org> - - Permission to use, copy, modify, distribute, and sell this software and its - documentation for any purpose is hereby granted without fee, provided that - the above copyright notice appear in all copies and that both that - copyright notice and this permission notice appear in supporting - documentation. - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - KDEVELOP TEAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -#ifndef PP_MACRO_EXPANDER_H -#define PP_MACRO_EXPANDER_H - -#include <QList> -#include <QHash> -#include <QString> - -#include "pp-macro.h" -#include "pp-stream.h" -#include "pp-scanner.h" - -class pp; - -class pp_frame -{ -public: - pp_frame (pp_macro* __expandingMacro, const QList<QString>& __actuals); - - pp_macro* expandingMacro; - QList<QString> actuals; -}; - -class pp_macro_expander -{ -public: - pp_macro_expander(pp* engine, pp_frame* frame = 0); - - QString resolve_formal(const QString& name); - - /// Expands text with the known macros. Continues until it finds a new text line - /// beginning with #, at which point control is returned. - void operator()(Stream& input, Stream& output); - - void skip_argument_variadics (const QList<QString>& __actuals, pp_macro *__macro, - Stream& input, Stream& output); - -private: - pp* m_engine; - pp_frame* m_frame; - - pp_skip_number skip_number; - pp_skip_identifier skip_identifier; - pp_skip_string_literal skip_string_literal; - pp_skip_char_literal skip_char_literal; - pp_skip_argument skip_argument; - pp_skip_comment_or_divop skip_comment_or_divop; - pp_skip_blanks skip_blanks; -}; - -#endif // PP_MACRO_EXPANDER_H - -// kate: indent-width 2; diff --git a/tests/manual/cppmodelmanager/rpp/pp-macro.cpp b/tests/manual/cppmodelmanager/rpp/pp-macro.cpp deleted file mode 100644 index 397f3df19b37a63f49f4bfa3891a2e7eeb9c909a..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/rpp/pp-macro.cpp +++ /dev/null @@ -1,62 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* - Copyright 2005 Roberto Raggi <roberto@kdevelop.org> - Copyright 2006 Hamish Rodda <rodda@kde.org> - - Permission to use, copy, modify, distribute, and sell this software and its - documentation for any purpose is hereby granted without fee, provided that - the above copyright notice appear in all copies and that both that - copyright notice and this permission notice appear in supporting - documentation. - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - KDEVELOP TEAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -#include "pp-macro.h" - -pp_macro::pp_macro( ) - : lines(0) - , hidden(false) - , function_like(false) - , variadics(false) -{ -} diff --git a/tests/manual/cppmodelmanager/rpp/pp-macro.h b/tests/manual/cppmodelmanager/rpp/pp-macro.h deleted file mode 100644 index 9d3d4cdd2618d278e71a7d319ed8b08a38f84151..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/rpp/pp-macro.h +++ /dev/null @@ -1,78 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* - Copyright 2005 Roberto Raggi <roberto@kdevelop.org> - - Permission to use, copy, modify, distribute, and sell this software and its - documentation for any purpose is hereby granted without fee, provided that - the above copyright notice appear in all copies and that both that - copyright notice and this permission notice appear in supporting - documentation. - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - KDEVELOP TEAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -#ifndef PP_MACRO_H -#define PP_MACRO_H - -#include <QStringList> - -class pp_macro -{ -public: - pp_macro(); - - QString definition; -#if defined (PP_WITH_MACRO_POSITION) - QString file; -#endif - QStringList formals; - - int lines; - - bool hidden: 1; - bool function_like: 1; - bool variadics: 1; -}; - -#endif // PP_MACRO_H - -// kate: indent-width 2; diff --git a/tests/manual/cppmodelmanager/rpp/pp-scanner.cpp b/tests/manual/cppmodelmanager/rpp/pp-scanner.cpp deleted file mode 100644 index d851ede307085242929f42c4b6dad7a9891f84b3..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/rpp/pp-scanner.cpp +++ /dev/null @@ -1,289 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* - Copyright 2005 Roberto Raggi <roberto@kdevelop.org> - Copyright 2006 Hamish Rodda <rodda@kde.org> - - Permission to use, copy, modify, distribute, and sell this software and its - documentation for any purpose is hereby granted without fee, provided that - the above copyright notice appear in all copies and that both that - copyright notice and this permission notice appear in supporting - documentation. - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - KDEVELOP TEAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -#include <QtCore/QDebug> -#include "pp-scanner.h" - -void pp_skip_blanks::operator()(Stream& input, Stream& output) -{ - while (!input.atEnd()) { - if (input == '\\') { - ++input; - if (input != '\n') { - --input; - return; - - } else { - ++input; - continue; - } - } - - if (input == '\n' || !input.current().isSpace()) - return; - - output << input; - ++input; - } -} - -void pp_skip_comment_or_divop::operator()(Stream& input, Stream& output, bool outputText) -{ - enum { - MAYBE_BEGIN, - BEGIN, - MAYBE_END, - END, - IN_COMMENT, - IN_CXX_COMMENT - } state (MAYBE_BEGIN); - - while (!input.atEnd()) { - switch (state) { - case MAYBE_BEGIN: - if (input != '/') - return; - - state = BEGIN; - break; - - case BEGIN: - if (input == '*') - state = IN_COMMENT; - else if (input == '/') - state = IN_CXX_COMMENT; - else - return; - break; - - case IN_COMMENT: - if (input == '*') - state = MAYBE_END; - break; - - case IN_CXX_COMMENT: - if (input == '\n') - return; - break; - - case MAYBE_END: - if (input == '/') - state = END; - else if (input != '*') - state = IN_COMMENT; - break; - - case END: - return; - } - - if (outputText) - output << input; - else if (input == '\n') - output << '\n'; - else - output << ' '; - ++input; - } -} - -QString pp_skip_identifier::operator()(Stream& input) -{ - QString identifier; - - while (!input.atEnd()) { - if (!input.current().isLetterOrNumber() && input != '_') - break; - - identifier.append(input); - ++input; - } - - return identifier; -} - -void pp_skip_number::operator()(Stream& input, Stream& output) -{ - while (!input.atEnd()) { - if (!input.current().isLetterOrNumber() && input != '_') - return; - - output << input; - ++input; - } -} - -void pp_skip_string_literal::operator()(Stream& input, Stream& output) -{ - enum { - BEGIN, - IN_STRING, - QUOTE, - END - } state (BEGIN); - - while (!input.atEnd()) { - switch (state) { - case BEGIN: - if (input != '\"') - return; - state = IN_STRING; - break; - - case IN_STRING: - Q_ASSERT(input != '\n'); - - if (input == '\"') - state = END; - else if (input == '\\') - state = QUOTE; - break; - - case QUOTE: - state = IN_STRING; - break; - - case END: - return; - } - - output << input; - ++input; - } -} - -void pp_skip_char_literal::operator()(Stream& input, Stream& output) -{ - enum { - BEGIN, - IN_STRING, - QUOTE, - END - } state (BEGIN); - - while (!input.atEnd()) { - if (state == END) - break; - - switch (state) { - case BEGIN: - if (input != '\'') - return; - state = IN_STRING; - break; - - case IN_STRING: - Q_ASSERT(input != '\n'); - - if (input == '\'') - state = END; - else if (input == '\\') - state = QUOTE; - break; - - case QUOTE: - state = IN_STRING; - break; - - default: - Q_ASSERT(0); - break; - } - - output << input; - ++input; - } -} - -void pp_skip_argument::operator()(Stream& input, Stream& output) -{ - int depth = 0; - - while (!input.atEnd()) { - if (!depth && (input == ')' || input == ',')) { - return; - - } else if (input == '(') { - ++depth; - - } else if (input == ')') { - --depth; - - } else if (input == '\"') { - skip_string_literal(input, output); - continue; - - } else if (input == '\'') { - skip_char_literal (input, output); - continue; - - } else if (input == '/') { - skip_comment_or_divop (input, output); - continue; - - } else if (input.current().isLetter() || input == '_') { - output << skip_identifier(input); - continue; - - } else if (input.current().isNumber()) { - output << skip_number(input); - continue; - - } - - output << input; - ++input; - } - - return; -} diff --git a/tests/manual/cppmodelmanager/rpp/pp-scanner.h b/tests/manual/cppmodelmanager/rpp/pp-scanner.h deleted file mode 100644 index 2941a19b74b717e5d9a9908280ba1be46f8200a0..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/rpp/pp-scanner.h +++ /dev/null @@ -1,119 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* - Copyright 2005 Roberto Raggi <roberto@kdevelop.org> - Copyright 2006 Hamish Rodda <rodda@kde.org> - - Permission to use, copy, modify, distribute, and sell this software and its - documentation for any purpose is hereby granted without fee, provided that - the above copyright notice appear in all copies and that both that - copyright notice and this permission notice appear in supporting - documentation. - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - KDEVELOP TEAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -#ifndef PP_SCANNER_H -#define PP_SCANNER_H - -#include <QString> - -#include "pp-stream.h" - -class pp_skip_blanks -{ -public: - void operator()(Stream& input, Stream& output); -}; - -class pp_skip_comment_or_divop -{ -public: - /** - * This scanner can either output equivalent blank space, - * or the actual text (the default). - */ - void operator()(Stream& input, Stream& output, bool outputText = false); - -private: - bool m_outputText; -}; - -class pp_skip_identifier -{ -public: - QString operator()(Stream& input); -}; - -class pp_skip_number -{ -public: - void operator()(Stream& input, Stream& output); -}; - -class pp_skip_string_literal -{ -public: - void operator()(Stream& input, Stream& output); -}; - -class pp_skip_char_literal -{ -public: - void operator()(Stream& input, Stream& output); -}; - -class pp_skip_argument -{ -public: - void operator()(Stream& input, Stream& output); - -private: - pp_skip_identifier skip_number; - pp_skip_identifier skip_identifier; - pp_skip_string_literal skip_string_literal; - pp_skip_char_literal skip_char_literal; - pp_skip_comment_or_divop skip_comment_or_divop; -}; - -#endif // PP_SCANNER_H - -// kate: indent-width 2; diff --git a/tests/manual/cppmodelmanager/rpp/pp-stream.cpp b/tests/manual/cppmodelmanager/rpp/pp-stream.cpp deleted file mode 100644 index 91d483db39f852ac496f67e53d474dce7578ce25..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/rpp/pp-stream.cpp +++ /dev/null @@ -1,266 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* - Copyright 2006 Hamish Rodda <rodda@kde.org> - - Permission to use, copy, modify, distribute, and sell this software and its - documentation for any purpose is hereby granted without fee, provided that - the above copyright notice appear in all copies and that both that - copyright notice and this permission notice appear in supporting - documentation. - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - KDEVELOP TEAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -#include "pp-stream.h" - -#include <QtCore/QDebug> - -class DevNullDevice : public QIODevice -{ -protected: - virtual qint64 readData ( char *, qint64 ) { return 0; } - virtual qint64 writeData ( const char *, qint64 maxSize ) { return maxSize; } -}; - -Stream::Stream() - : QTextStream(new DevNullDevice) - , m_atEnd(false) - , m_isNull(true) - , m_pos(0) - , m_inputLine(0) - , m_outputLine(0) -{ -} - -Stream::Stream( const QByteArray & array, QIODevice::OpenMode openMode ) - : QTextStream(array, openMode) - , m_atEnd(!array.count()) - , m_isNull(false) - , m_pos(0) - , m_inputLine(0) - , m_outputLine(0) -{ - operator>>(c); - //kDebug() << "'" << c << "' " << c.cell() << endl; -} - -Stream::Stream( QByteArray * array, QIODevice::OpenMode openMode ) - : QTextStream(array, openMode) - , m_atEnd(!array->count()) - , m_isNull(false) - , m_pos(0) - , m_inputLine(0) - , m_outputLine(0) -{ - operator>>(c); - //kDebug() << "'" << c << "' " << c.cell() << endl; -} - -Stream::Stream( QString * string, QIODevice::OpenMode openMode ) - : QTextStream(string, openMode) - , m_atEnd(!string->count()) - , m_isNull(false) - , m_pos(0) - , m_inputLine(0) - , m_outputLine(0) -{ - operator>>(c); - //if (!string->isEmpty()) - //kDebug() << "'" << c << "' " << c.cell() << endl; -} - -Stream::Stream( FILE * fileHandle, QIODevice::OpenMode openMode ) - : QTextStream(fileHandle, openMode) - , m_atEnd(false) - , m_isNull(false) - , m_pos(0) - , m_inputLine(0) - , m_outputLine(0) -{ - operator>>(c); - //kDebug() << "'" << c << "' " << c.cell() << endl; -} - -Stream::Stream( QIODevice * device ) - : QTextStream(device) - , m_atEnd(false) - , m_isNull(false) - , m_pos(0) - , m_inputLine(0) - , m_outputLine(0) -{ - operator>>(c); - //kDebug() << "'" << c << "' " << c.cell() << endl; -} - -Stream::~Stream() -{ - if (isNull()) - delete device(); -} - -Stream & Stream::operator ++( ) -{ - if (m_atEnd) - return *this; - - if (c == '\n') - ++m_inputLine; - - if (QTextStream::atEnd()) { - m_atEnd = true; - ++m_pos; - c = QChar(); - - } else { - operator>>(c); - //kDebug() << "'" << c << "' " << c.cell() << endl; - ++m_pos; - } - return *this; -} - -Stream& Stream::operator--() -{ - seek(pos() - 2); - operator>>(c); - --m_pos; - return *this; -} - -void Stream::rewind(qint64 offset) -{ - seek(pos() - offset); -} - -bool Stream::atEnd() const -{ - return m_atEnd; -} - -QChar Stream::peek() const -{ - Stream* s = const_cast<Stream*>(this); - int inputLine = m_inputLine; - ++(*s); - QChar ret = s->current(); - s->rewind(); - inputLine = m_inputLine; - return ret; -} - -qint64 Stream::pos( ) const -{ - return m_pos; -} - -void Stream::seek(qint64 offset) -{ - if (QTextStream::seek(offset)) { - m_pos = offset; - if (QTextStream::atEnd()) { - m_atEnd = true; - } else { - operator>>(c); - m_atEnd = false; - } - } -} - -Stream& Stream::operator<< ( QChar c ) -{ - if (!isNull()) { - if (c == '\n') { - ++m_outputLine; - //output.clear(); - } else { - //output += c; - } - QTextStream::operator<<(c); - } - return *this; -} - -Stream& Stream::operator<< ( const QString & string ) -{ - if (!isNull()) { - m_outputLine += string.count('\n'); - //output += c; - QTextStream::operator<<(string); - } - return *this; -} - -int Stream::outputLineNumber() const -{ - return m_outputLine; -} - -bool Stream::isNull() const -{ - return m_isNull; -} - -int Stream::inputLineNumber() const -{ - return m_inputLine; -} - -void Stream::setOutputLineNumber(int line) -{ - m_outputLine = line; -} - -void Stream::mark(const QString& filename, int inputLineNumber) -{ - QTextStream::operator<<(QString("# %1 \"%2\"\n").arg(inputLineNumber).arg(filename.isEmpty() ? QString("<internal>") : filename)); - setOutputLineNumber(inputLineNumber); -} - -void Stream::reset( ) -{ - QTextStream::seek(0); - m_inputLine = m_outputLine = m_pos = 0; - //output.clear(); - m_atEnd = false; - operator>>(c); -} diff --git a/tests/manual/cppmodelmanager/rpp/pp-stream.h b/tests/manual/cppmodelmanager/rpp/pp-stream.h deleted file mode 100644 index 03ba7dbf521ab455cfee70da5068d2801e84cfaa..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/rpp/pp-stream.h +++ /dev/null @@ -1,118 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* - Copyright 2006 Hamish Rodda <rodda@kde.org> - - Permission to use, copy, modify, distribute, and sell this software and its - documentation for any purpose is hereby granted without fee, provided that - the above copyright notice appear in all copies and that both that - copyright notice and this permission notice appear in supporting - documentation. - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - KDEVELOP TEAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -#ifndef STREAM_H -#define STREAM_H - -#include <QTextStream> - -/** - * Stream designed for character-at-a-time processing - * - * @author Hamish Rodda <rodda@kde.org> - */ -class Stream : private QTextStream -{ - public: - Stream(); - Stream( QIODevice * device ); - Stream( FILE * fileHandle, QIODevice::OpenMode openMode = QIODevice::ReadWrite ); - Stream( QString * string, QIODevice::OpenMode openMode = QIODevice::ReadWrite ); - Stream( QByteArray * array, QIODevice::OpenMode openMode = QIODevice::ReadWrite ); - Stream( const QByteArray & array, QIODevice::OpenMode openMode = QIODevice::ReadOnly ); - ~Stream(); - - bool isNull() const; - - bool atEnd() const; - - qint64 pos() const; - - QChar peek() const; - - /// Move back \a offset chars in the stream - void rewind(qint64 offset = 1); - - /// \warning the input and output lines are not updated when calling this function. - /// if you're seek()ing over a line boundary, you'll need to fix the line - /// numbers. - void seek(qint64 offset); - - /// Start from the beginning again - void reset(); - - inline const QChar& current() const { return c; } - inline operator const QChar&() const { return c; } - Stream& operator++(); - Stream& operator--(); - - int inputLineNumber() const; - - int outputLineNumber() const; - void setOutputLineNumber(int line); - void mark(const QString& filename, int inputLineNumber); - - Stream & operator<< ( QChar c ); - Stream & operator<< ( const QString & string ); - - private: - Q_DISABLE_COPY(Stream) - - QChar c; - bool m_atEnd; - bool m_isNull; - qint64 m_pos; - int m_inputLine, m_outputLine; - //QString output; -}; - -#endif diff --git a/tests/manual/cppmodelmanager/rpp/preprocessor.cpp b/tests/manual/cppmodelmanager/rpp/preprocessor.cpp deleted file mode 100644 index 8d3301396a5a2ab3d0442e01966342b14ed50b10..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/rpp/preprocessor.cpp +++ /dev/null @@ -1,161 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* - Copyright 2005 Harald Fernengel <harry@kdevelop.org> - Copyright 2006 Hamish Rodda <rodda@kde.org> - - Permission to use, copy, modify, distribute, and sell this software and its - documentation for any purpose is hereby granted without fee, provided that - the above copyright notice appear in all copies and that both that - copyright notice and this permission notice appear in supporting - documentation. - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - KDEVELOP TEAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -#include "preprocessor.h" - -#include <QFile> - -#include <QtCore/QDir> -#include <QtCore/QDebug> -#include <QtCore/QFileInfo> - -#include "pp-stream.h" -#include "pp-engine.h" - -class PreprocessorPrivate -{ -public: - QString result; - QHash<QString, pp_macro*> env; - QStringList includePaths; -}; - -QHash<QString, QStringList> includedFiles; - -Preprocessor::Preprocessor() -{ - d = new PreprocessorPrivate; - includedFiles.clear(); -} - -Preprocessor::~Preprocessor() -{ - qDeleteAll(d->env); - delete d; -} - -QString Preprocessor::processFile(const QString& fileName) -{ - pp proc(this, d->env); - - return proc.processFile(fileName); -} - -QString Preprocessor::processString(const QByteArray &bytearray) -{ - pp proc(this, d->env); - - return proc.processFile(bytearray); -} - -void Preprocessor::addIncludePaths(const QStringList &includePaths) -{ - d->includePaths += includePaths; -} - -QStringList Preprocessor::macroNames() const -{ - return d->env.keys(); -} - -QList<Preprocessor::MacroItem> Preprocessor::macros() const -{ - QList<MacroItem> items; - - QHashIterator<QString, pp_macro*> it = d->env; - while (it.hasNext()) { - it.next(); - - MacroItem item; - item.name = it.key(); - item.definition = it.value()->definition; - item.parameters = it.value()->formals; - item.isFunctionLike = it.value()->function_like; - -#ifdef PP_WITH_MACRO_POSITION - item.fileName = it.value()->file; -#endif - items << item; - } - - return items; -} - -Stream * Preprocessor::sourceNeeded(QString &fileName, IncludeType type) -{ - Q_UNUSED(type) - - if (!QFile::exists(fileName)) { - foreach (const QString& includePath, d->includePaths) { - QFileInfo fi(includePath + QLatin1Char('/') + fileName); - fileName = QDir::cleanPath(fi.absoluteFilePath()); - if (QFile::exists(fileName)) - goto found; - } - - return 0L; - } - - found: - QFile* f = new QFile(fileName); - if (!f->open(QIODevice::ReadOnly)) { - qWarning() << "Could not open successfully stat-ed file " << fileName << endl; - delete f; - return 0L; - } - - // Hrm, hazardous? - f->deleteLater(); - - return new Stream(f); -} diff --git a/tests/manual/cppmodelmanager/rpp/preprocessor.h b/tests/manual/cppmodelmanager/rpp/preprocessor.h deleted file mode 100644 index 7a919aa79d99da415f6aeba55c18d3897b8afa06..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/rpp/preprocessor.h +++ /dev/null @@ -1,119 +0,0 @@ -/*************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** -** Non-Open Source Usage -** -** Licensees may use this file in accordance with the Qt Beta Version -** License Agreement, Agreement version 2.2 provided with the Software or, -** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU General -** Public License versions 2.0 or 3.0 as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL included in the packaging -** of this file. Please review the following information to ensure GNU -** General Public Licensing requirements will be met: -** -** http://www.fsf.org/licensing/licenses/info/GPLv2.html and -** http://www.gnu.org/copyleft/gpl.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** -***************************************************************************/ -/* - Copyright 2005 Harald Fernengel <harry@kdevelop.org> - Copyright 2006 Hamish Rodda <rodda@kde.org> - - Permission to use, copy, modify, distribute, and sell this software and its - documentation for any purpose is hereby granted without fee, provided that - the above copyright notice appear in all copies and that both that - copyright notice and this permission notice appear in supporting - documentation. - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - KDEVELOP TEAM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN - AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -#ifndef PREPROCESSOR_H -#define PREPROCESSOR_H - -#include <QtCore/qglobal.h> -#include <QtCore/qstring.h> -#include <QtCore/qstringlist.h> - -class QByteArray; -class PreprocessorPrivate; -class Stream; - -class Preprocessor -{ -public: - enum IncludeType { - /// An include specified as being local (eg. "file.h") - IncludeLocal, - /// An include specified as being global (eg. <file.h>) - IncludeGlobal - }; - - Preprocessor(); - virtual ~Preprocessor(); - - QString processFile(const QString &fileName); - QString processString(const QByteArray &str); - - void addIncludePaths(const QStringList &includePaths); - - /** - * This function is called by the preprocessor whenever - * it encounters an include directive. - * - * This class is permitted to modify \a fileName%; this - * value will be used when marking the file in the preprocessed - * output. - * - * \param fileName name of the source file to include - * \param type the way that the file was requested - * - * \return a Stream with the appropriate contents to allow - * the file to be #included. Ownership of the Stream is yielded to - * class pp at this point. - */ - virtual Stream* sourceNeeded(QString& fileName, IncludeType type); - - QStringList macroNames() const; - - struct MacroItem - { - QString name; - QStringList parameters; - QString definition; - bool isFunctionLike; -#ifdef PP_WITH_MACRO_POSITION - QString fileName; -#endif - }; - QList<MacroItem> macros() const; - -private: - Q_DISABLE_COPY(Preprocessor) - PreprocessorPrivate *d; -}; - -#endif diff --git a/tests/manual/cppmodelmanager/rpp/rpp.pri b/tests/manual/cppmodelmanager/rpp/rpp.pri deleted file mode 100644 index 542015edd6cf72a257e9a65272d559d4c4eebc98..0000000000000000000000000000000000000000 --- a/tests/manual/cppmodelmanager/rpp/rpp.pri +++ /dev/null @@ -1,20 +0,0 @@ -VPATH += $$PWD - -SOURCES += pp-engine.cpp \ - pp-internal.cpp \ - pp-macro-expander.cpp \ - pp-macro.cpp \ - pp-scanner.cpp \ - pp-stream.cpp \ - preprocessor.cpp - -HEADERS += pp-engine.h \ - pp-internal.h \ - pp-macro-expander.h \ - pp-macro.h \ - pp-scanner.h \ - pp-stream.h \ - preprocessor.h - - -INCLUDEPATH += $$PWD \ No newline at end of file diff --git a/tests/manual/dockwidgets/main.cpp b/tests/manual/dockwidgets/main.cpp index 3df4beaa8001e37988fd84745012ac3284e32770..dc2a5960f5d2183ae9ed621f50d13dbeda5ff84f 100644 --- a/tests/manual/dockwidgets/main.cpp +++ b/tests/manual/dockwidgets/main.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /**************************************************************************** ** diff --git a/tests/manual/dockwidgets/mainwindow.cpp b/tests/manual/dockwidgets/mainwindow.cpp index d2f5f422423f43ef65e753880c6deebefe49e788..8944d3c425fa5fb6154070e6fc86c82ff1c32479 100644 --- a/tests/manual/dockwidgets/mainwindow.cpp +++ b/tests/manual/dockwidgets/mainwindow.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /**************************************************************************** ** diff --git a/tests/manual/dockwidgets/mainwindow.h b/tests/manual/dockwidgets/mainwindow.h index 159d66c9f7e6e9e7ea19cce1f46cddf8dca64658..b96d9368588dbd5b3fc93d3381dc0ebe43afda67 100644 --- a/tests/manual/dockwidgets/mainwindow.h +++ b/tests/manual/dockwidgets/mainwindow.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /**************************************************************************** ** diff --git a/tests/manual/gdbdebugger/simple/app.cpp b/tests/manual/gdbdebugger/simple/app.cpp index 9cfbdfefff7a1b1ebd5a7a04ee8520f0d2ef2293..5ca2cf3b233ebebf0f120b165c87a86240784311 100644 --- a/tests/manual/gdbdebugger/simple/app.cpp +++ b/tests/manual/gdbdebugger/simple/app.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ /**************************************************************************** diff --git a/tests/manual/gdbdebugger/simple/plugin.cpp b/tests/manual/gdbdebugger/simple/plugin.cpp index 36edb806b5385df6c555860ff5989bf6cd504dc3..d348c979125ad77aeb2ff768edeaad1a79725bc8 100644 --- a/tests/manual/gdbdebugger/simple/plugin.cpp +++ b/tests/manual/gdbdebugger/simple/plugin.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ diff --git a/tests/manual/progressmanager/main.cpp b/tests/manual/progressmanager/main.cpp index e1289e07cccfc4dccba71312a6c6c72deeb6a0e6..cf01a62928e2ee407f87f9b3502ce917af248818 100644 --- a/tests/manual/progressmanager/main.cpp +++ b/tests/manual/progressmanager/main.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtGui/QApplication> #include "roundprogress.h" diff --git a/tests/manual/progressmanager/roundprogress.cpp b/tests/manual/progressmanager/roundprogress.cpp index 488ce4d265baefde184897c401d00aa523e1f492..6adc3753efee0feeeb385d0523808ced3010d05b 100644 --- a/tests/manual/progressmanager/roundprogress.cpp +++ b/tests/manual/progressmanager/roundprogress.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include "roundprogress.h" #include "multitask.h" diff --git a/tests/manual/progressmanager/roundprogress.h b/tests/manual/progressmanager/roundprogress.h index f1e43ff5e73cabf4eba4ee021c8e83b36ba07fa0..efd7a0fbb56246ba03879a784bfc27503d811199 100644 --- a/tests/manual/progressmanager/roundprogress.h +++ b/tests/manual/progressmanager/roundprogress.h @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #ifndef ROUNDPROGRESS_H #define ROUNDPROGRESS_H diff --git a/tests/manual/proparser/main.cpp b/tests/manual/proparser/main.cpp index f2acfbf28a3bd982b112415e800a9e801b169bba..83e635265b13cdcd951a13357c40fff75e620709 100644 --- a/tests/manual/proparser/main.cpp +++ b/tests/manual/proparser/main.cpp @@ -6,16 +6,16 @@ ** ** Contact: Qt Software Information (qt-info@nokia.com) ** -** -** Non-Open Source Usage -** +** +** Non-Open Source Usage +** ** Licensees may use this file in accordance with the Qt Beta Version ** License Agreement, Agreement version 2.2 provided with the Software or, ** alternatively, in accordance with the terms contained in a written -** agreement between you and Nokia. -** -** GNU General Public License Usage -** +** agreement between you and Nokia. +** +** GNU General Public License Usage +** ** Alternatively, this file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the packaging @@ -26,9 +26,9 @@ ** http://www.gnu.org/copyleft/gpl.html. ** ** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt GPL Exception version -** 1.2, included in the file GPL_EXCEPTION.txt in this package. -** +** rights. These rights are described in the Nokia Qt GPL Exception +** version 1.2, included in the file GPL_EXCEPTION.txt in this package. +** ***************************************************************************/ #include <QtCore/QDebug>