more code cosmetics

This commit is contained in:
hjk
2008-12-02 16:19:05 +01:00
parent 10e963fb61
commit cf11b69643
398 changed files with 1011 additions and 820 deletions

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "docsettingspage.h" #include "docsettingspage.h"
#include <QtGui/QFileDialog> #include <QtGui/QFileDialog>
@@ -42,7 +43,6 @@ DocSettingsPage::DocSettingsPage(QHelpEngine *helpEngine)
: m_helpEngine(helpEngine), : m_helpEngine(helpEngine),
m_registeredDocs(false) m_registeredDocs(false)
{ {
} }
QString DocSettingsPage::name() const QString DocSettingsPage::name() const

View File

@@ -34,10 +34,11 @@
#ifndef DOCSETTINGSPAGE_H #ifndef DOCSETTINGSPAGE_H
#define DOCSETTINGSPAGE_H #define DOCSETTINGSPAGE_H
#include <QtGui/QWidget> #include "ui_docsettingspage.h"
#include <coreplugin/dialogs/ioptionspage.h> #include <coreplugin/dialogs/ioptionspage.h>
#include "ui_docsettingspage.h" #include <QtGui/QWidget>
QT_FORWARD_DECLARE_CLASS(QHelpEngine) QT_FORWARD_DECLARE_CLASS(QHelpEngine)

View File

@@ -30,18 +30,6 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** 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 HELP_GLOBAL_H #ifndef HELP_GLOBAL_H
#define HELP_GLOBAL_H #define HELP_GLOBAL_H

View File

@@ -30,14 +30,15 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "helpengine.h"
#include "config.h"
#include <QtCore/QDebug> #include <QtCore/QDebug>
#include <QtCore/QDir> #include <QtCore/QDir>
#include <QtCore/QDateTime> #include <QtCore/QDateTime>
#include <QtCore/QCoreApplication> #include <QtCore/QCoreApplication>
#include "helpengine.h"
#include "config.h"
using namespace Help::Internal; using namespace Help::Internal;
static bool verifyDirectory(const QString &str) static bool verifyDirectory(const QString &str)
@@ -52,7 +53,8 @@ static bool verifyDirectory(const QString &str)
return true; return true;
} }
struct IndexKeyword { struct IndexKeyword
{
IndexKeyword(const QString &kw, const QString &l) IndexKeyword(const QString &kw, const QString &l)
: keyword(kw), link(l) {} : keyword(kw), link(l) {}
IndexKeyword() : keyword(QString()), link(QString()) {} IndexKeyword() : keyword(QString()), link(QString()) {}
@@ -193,12 +195,6 @@ QModelIndex IndexListModel::filter(const QString &s, const QString &real)
HelpEngine::HelpEngine(QObject *parent, const QString &defaultQtVersionPath) HelpEngine::HelpEngine(QObject *parent, const QString &defaultQtVersionPath)
: QObject(parent) : QObject(parent)
{ {
@@ -344,13 +340,6 @@ QString HelpEngine::home() const
TitleMapThread::TitleMapThread(HelpEngine *he) TitleMapThread::TitleMapThread(HelpEngine *he)
: QThread(he) : QThread(he)
{ {
@@ -488,9 +477,6 @@ void TitleMapThread::buildContentDict()
} }
IndexThread::IndexThread(HelpEngine *he) IndexThread::IndexThread(HelpEngine *he)
: QThread(he) : QThread(he)
{ {

View File

@@ -30,9 +30,12 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef HELPENGINE_H #ifndef HELPENGINE_H
#define HELPENGINE_H #define HELPENGINE_H
#include "docuparser.h"
#include <QtCore/QThread> #include <QtCore/QThread>
#include <QtCore/QPair> #include <QtCore/QPair>
#include <QtCore/QMap> #include <QtCore/QMap>
@@ -40,8 +43,6 @@
#include <QtCore/QMutex> #include <QtCore/QMutex>
#include <QtGui/QStringListModel> #include <QtGui/QStringListModel>
#include "docuparser.h"
namespace Help { namespace Help {
namespace Internal { namespace Internal {
@@ -129,7 +130,7 @@ class HelpEngine : public QObject
Q_OBJECT Q_OBJECT
public: public:
HelpEngine(QObject *parent, const QString& defaultQtVersionPath); HelpEngine(QObject *parent, const QString &defaultQtVersionPath);
~HelpEngine(); ~HelpEngine();
void init(); void init();
QList<QPair<QString, ContentList> > contents() const { return contentList; } QList<QPair<QString, ContentList> > contents() const { return contentList; }
@@ -176,7 +177,7 @@ private:
bool contentsOnly; bool contentsOnly;
}; };
} //namespace Internal } // namespace Internal
} //namespace Help } // namespace Help
#endif #endif // HELPENGINE_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "helpfindsupport.h" #include "helpfindsupport.h"
#include "helpviewer.h" #include "helpviewer.h"
@@ -48,6 +49,7 @@ bool HelpFindSupport::isEnabled() const
{ {
return true; return true;
} }
QString HelpFindSupport::currentFindString() const QString HelpFindSupport::currentFindString() const
{ {
Q_ASSERT(m_centralWidget); Q_ASSERT(m_centralWidget);
@@ -61,8 +63,10 @@ QString HelpFindSupport::currentFindString() const
#endif #endif
} }
QString HelpFindSupport::completedFindString() const
QString HelpFindSupport::completedFindString() const { return QString(); } {
return QString();
}
bool HelpFindSupport::findIncremental(const QString &txt, QTextDocument::FindFlags findFlags) bool HelpFindSupport::findIncremental(const QString &txt, QTextDocument::FindFlags findFlags)
{ {

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef HELPFINDSUPPORT_H #ifndef HELPFINDSUPPORT_H
#define HELPFINDSUPPORT_H #define HELPFINDSUPPORT_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "helpindexfilter.h" #include "helpindexfilter.h"
#include "helpplugin.h" #include "helpplugin.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef HELPINDEXFILTER_H #ifndef HELPINDEXFILTER_H
#define HELPINDEXFILTER_H #define HELPINDEXFILTER_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "helpmode.h" #include "helpmode.h"
#include "helpplugin.h" #include "helpplugin.h"
@@ -43,7 +44,8 @@ using namespace Help::Internal;
HelpMode::HelpMode(QWidget *widget, QWidget *centralWidget, QObject *parent): HelpMode::HelpMode(QWidget *widget, QWidget *centralWidget, QObject *parent):
BaseMode(tr("Help"), BaseMode(tr("Help"),
Constants::ID_MODE_HELP, Constants::ID_MODE_HELP,
QIcon((QLatin1String(":/fancyactionbar/images/mode_Reference.png"))), Constants::P_MODE_HELP, widget, parent), QIcon((QLatin1String(":/fancyactionbar/images/mode_Reference.png"))),
Constants::P_MODE_HELP, widget, parent),
m_centralWidget(centralWidget) m_centralWidget(centralWidget)
{ {
m_centralWidget->layout()->setSpacing(0); m_centralWidget->layout()->setSpacing(0);

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef HELPMODE_H #ifndef HELPMODE_H
#define HELPMODE_H #define HELPMODE_H

View File

@@ -44,6 +44,18 @@
#include "helpfindsupport.h" #include "helpfindsupport.h"
#include "searchwidget.h" #include "searchwidget.h"
#include <extensionsystem/pluginmanager.h>
#include <coreplugin/icore.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/modemanager.h>
#include <coreplugin/uniqueidmanager.h>
#include <coreplugin/actionmanager/actionmanagerinterface.h>
#include <coreplugin/minisplitter.h>
#include <coreplugin/modemanager.h>
#include <coreplugin/rightpane.h>
#include <coreplugin/sidebar.h>
#include <coreplugin/welcomemode.h>
#include <QtCore/QDebug> #include <QtCore/QDebug>
#include <QtCore/qplugin.h> #include <QtCore/qplugin.h>
#include <QtCore/QFileInfo> #include <QtCore/QFileInfo>
@@ -58,18 +70,6 @@
#include <QtGui/QComboBox> #include <QtGui/QComboBox>
#include <QtHelp/QHelpEngine> #include <QtHelp/QHelpEngine>
#include <extensionsystem/pluginmanager.h>
#include <coreplugin/icore.h>
#include <coreplugin/coreconstants.h>
#include <coreplugin/modemanager.h>
#include <coreplugin/uniqueidmanager.h>
#include <coreplugin/actionmanager/actionmanagerinterface.h>
#include <coreplugin/minisplitter.h>
#include <coreplugin/modemanager.h>
#include <coreplugin/rightpane.h>
#include <coreplugin/sidebar.h>
#include <coreplugin/welcomemode.h>
using namespace Help; using namespace Help;
using namespace Help::Internal; using namespace Help::Internal;

View File

@@ -35,6 +35,7 @@
#define HELPPLUGIN_H #define HELPPLUGIN_H
#include "help_global.h" #include "help_global.h"
#include <extensionsystem/iplugin.h> #include <extensionsystem/iplugin.h>
#include <QtCore/QMap> #include <QtCore/QMap>

View File

@@ -30,6 +30,11 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "indextoolwindow.h"
#include "helpengine.h"
#include "topicchooser.h"
#include <QtCore/QDebug> #include <QtCore/QDebug>
#include <QtGui/QKeyEvent> #include <QtGui/QKeyEvent>
#include <QtGui/QFocusEvent> #include <QtGui/QFocusEvent>
@@ -39,10 +44,6 @@
#include <QtGui/QListView> #include <QtGui/QListView>
#include <QtGui/QApplication> #include <QtGui/QApplication>
#include "indextoolwindow.h"
#include "helpengine.h"
#include "topicchooser.h"
using namespace Help::Internal; using namespace Help::Internal;
IndexToolWidget::IndexToolWidget() IndexToolWidget::IndexToolWidget()

View File

@@ -30,14 +30,15 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef INDEXTOOLWINDOW_H #ifndef INDEXTOOLWINDOW_H
#define INDEXTOOLWINDOW_H #define INDEXTOOLWINDOW_H
#include <coreplugin/iview.h>
#include <QtCore/QModelIndex> #include <QtCore/QModelIndex>
#include <QtGui/QWidget> #include <QtGui/QWidget>
#include <coreplugin/iview.h>
class QListView; class QListView;
class QLineEdit; class QLineEdit;

View File

@@ -31,8 +31,8 @@
** **
***************************************************************************/ ***************************************************************************/
#ifndef INDEXWINDOW #ifndef INDEXWINDOW_H
#define INDEXWINDOW #define INDEXWINDOW_H
#include <QtCore/QUrl> #include <QtCore/QUrl>
#include <QtGui/QWidget> #include <QtGui/QWidget>
@@ -79,4 +79,4 @@ private:
QT_END_NAMESPACE QT_END_NAMESPACE
#endif #endif // INDEXWINDOW_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "annotationhighlighter.h" #include "annotationhighlighter.h"
namespace Perforce { namespace Perforce {
@@ -48,5 +49,5 @@ QString PerforceAnnotationHighlighter::changeNumber(const QString &block) const
return pos > 1 ? block.left(pos) : QString(); return pos > 1 ? block.left(pos) : QString();
} }
} } // Internal
} } // Perforce

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef ANNOTATIONHIGHLIGHTER_H #ifndef ANNOTATIONHIGHLIGHTER_H
#define ANNOTATIONHIGHLIGHTER_H #define ANNOTATIONHIGHLIGHTER_H
@@ -52,7 +53,7 @@ private:
const QChar m_colon; const QChar m_colon;
}; };
} //namespace Perforce } // namespace Perforce
} //namespace Internal } // namespace Internal
#endif #endif // ANNOTATIONHIGHLIGHTER_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include <QtGui/QIntValidator> #include <QtGui/QIntValidator>
#include "changenumberdialog.h" #include "changenumberdialog.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef CHANGENUMBERDIALOG_H #ifndef CHANGENUMBERDIALOG_H
#define CHANGENUMBERDIALOG_H #define CHANGENUMBERDIALOG_H
@@ -53,9 +54,7 @@ private:
}; };
} //namespace Perforce } // namespace Perforce
} //namespace Internal } // namespace Internal
#endif
#endif // CHANGENUMBERDIALOG_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef P4_API_INCL #ifndef P4_API_INCL
#define P4_API_INCL #define P4_API_INCL

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include <QtCore/QRegExp> #include <QtCore/QRegExp>
#include "pendingchangesdialog.h" #include "pendingchangesdialog.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef PENDINGCHANGESDIALOG_H #ifndef PENDINGCHANGESDIALOG_H
#define PENDINGCHANGESDIALOG_H #define PENDINGCHANGESDIALOG_H
@@ -52,8 +53,8 @@ private:
Ui::PendingChangesDialog m_ui; Ui::PendingChangesDialog m_ui;
}; };
} //namespace Perforce } // namespace Perforce
} //namespace Internal } // namespace Internal
#endif #endif // PENDINGCHANGESDIALOG_H

View File

@@ -30,24 +30,27 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef PERFORCE_CONSTANTS_H #ifndef PERFORCE_CONSTANTS_H
#define PERFORCE_CONSTANTS_H #define PERFORCE_CONSTANTS_H
namespace Perforce { namespace Perforce {
namespace Constants { namespace Constants {
const char * const C_PERFORCEEDITOR = "Perforce Editor";
const char * const PERFORCEEDITOR_KIND = "Perforce Editor"; const char * const C_PERFORCEEDITOR = "Perforce Editor";
const char * const C_PERFORCESUBMITEDITOR = "Perforce Submit Editor";
const char * const PERFORCESUBMITEDITOR_KIND = "Perforce Submit Editor";
const char * const ICON_SUBMIT = ":/trolltech.perforce/images/submit.png";
const char * const ICON_DIFF = ":/trolltech.perforce/images/diff.png";
const char * const SUBMIT_CURRENT = "Nokia.Perforce.SubmitCurrentLog";
const char * const DIFF_SELECTED = "Nokia.Perforce.DiffSelectedFilesInLog";
const char * const SUBMIT_MIMETYPE = "application/vnd.nokia.text.p4.submit";
enum { debug = 0 }; const char * const PERFORCEEDITOR_KIND = "Perforce Editor";
} const char * const C_PERFORCESUBMITEDITOR = "Perforce Submit Editor";
} const char * const PERFORCESUBMITEDITOR_KIND = "Perforce Submit Editor";
const char * const ICON_SUBMIT = ":/trolltech.perforce/images/submit.png";
const char * const ICON_DIFF = ":/trolltech.perforce/images/diff.png";
const char * const SUBMIT_CURRENT = "Nokia.Perforce.SubmitCurrentLog";
const char * const DIFF_SELECTED = "Nokia.Perforce.DiffSelectedFilesInLog";
const char * const SUBMIT_MIMETYPE = "application/vnd.nokia.text.p4.submit";
enum { debug = 0 };
} // Internal
} // Perforce
#endif // PERFORCE_CONSTANTS_H #endif // PERFORCE_CONSTANTS_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "perforceeditor.h" #include "perforceeditor.h"
#include "annotationhighlighter.h" #include "annotationhighlighter.h"
#include "perforceplugin.h" #include "perforceplugin.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef PERFORCEEDITOR_H #ifndef PERFORCEEDITOR_H
#define PERFORCEEDITOR_H #define PERFORCEEDITOR_H

View File

@@ -30,15 +30,16 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "perforceoutputwindow.h"
#include "perforceplugin.h"
#include <QtGui/QKeyEvent> #include <QtGui/QKeyEvent>
#include <QtGui/QMouseEvent> #include <QtGui/QMouseEvent>
#include <QtGui/QMenu> #include <QtGui/QMenu>
#include <QtGui/QAction> #include <QtGui/QAction>
#include <QtGui/QListWidget> #include <QtGui/QListWidget>
#include "perforceoutputwindow.h"
#include "perforceplugin.h"
using namespace Perforce::Internal; using namespace Perforce::Internal;
PerforceOutputWindow::PerforceOutputWindow(PerforcePlugin *p4Plugin) PerforceOutputWindow::PerforceOutputWindow(PerforcePlugin *p4Plugin)
@@ -74,7 +75,6 @@ bool PerforceOutputWindow::canFocus()
void PerforceOutputWindow::setFocus() void PerforceOutputWindow::setFocus()
{ {
} }
QWidget *PerforceOutputWindow::outputWidget(QWidget *parent) QWidget *PerforceOutputWindow::outputWidget(QWidget *parent)
@@ -95,7 +95,6 @@ void PerforceOutputWindow::clearContents()
void PerforceOutputWindow::visibilityChanged(bool /* b */) void PerforceOutputWindow::visibilityChanged(bool /* b */)
{ {
} }
void PerforceOutputWindow::append(const QString &txt, bool doPopup) void PerforceOutputWindow::append(const QString &txt, bool doPopup)

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef PERFORCEOUTPUTWINDOW_H #ifndef PERFORCEOUTPUTWINDOW_H
#define PERFORCEOUTPUTWINDOW_H #define PERFORCEOUTPUTWINDOW_H
@@ -84,4 +85,4 @@ private:
} // namespace Perforce } // namespace Perforce
} // namespace Internal } // namespace Internal
#endif #endif // PERFORCEOUTPUTWINDOW_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "p4.h" #include "p4.h"
#include "perforceplugin.h" #include "perforceplugin.h"
#include "perforceoutputwindow.h" #include "perforceoutputwindow.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef PERFORCEPLUGIN_H #ifndef PERFORCEPLUGIN_H
#define PERFORCEPLUGIN_H #define PERFORCEPLUGIN_H
@@ -64,6 +65,7 @@ namespace Core {
namespace Perforce { namespace Perforce {
namespace Internal { namespace Internal {
class PerforceOutputWindow; class PerforceOutputWindow;
class SettingsPage; class SettingsPage;
class PerforceVersionControl; class PerforceVersionControl;

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "perforcesettings.h" #include "perforcesettings.h"
#include <QtCore/QSettings> #include <QtCore/QSettings>
@@ -90,6 +91,5 @@ bool PerforceSettings::equals(const PerforceSettings &s) const
&& defaultEnv == s.defaultEnv; && defaultEnv == s.defaultEnv;
} }
} } // Internal
} } // Perforce

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef PERFOCESETTINGS_H #ifndef PERFOCESETTINGS_H
#define PERFOCESETTINGS_H #define PERFOCESETTINGS_H
@@ -59,7 +60,8 @@ inline bool operator==(const PerforceSettings &p1, const PerforceSettings &p2)
{ return p1.equals(p2); } { return p1.equals(p2); }
inline bool operator!=(const PerforceSettings &p1, const PerforceSettings &p2) inline bool operator!=(const PerforceSettings &p1, const PerforceSettings &p2)
{ return !p1.equals(p2); } { return !p1.equals(p2); }
}
}
#endif } // Internal
} // Perforce
#endif // PERFOCESETTINGS_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "perforcesubmiteditor.h" #include "perforcesubmiteditor.h"
#include "perforcesubmiteditorwidget.h" #include "perforcesubmiteditorwidget.h"
#include "perforceplugin.h" #include "perforceplugin.h"
@@ -190,5 +191,5 @@ void PerforceSubmitEditor::updateEntries()
m_entries.insert(QLatin1String("Files"), files); m_entries.insert(QLatin1String("Files"), files);
} }
} } // Internal
} } // Perforce

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef PERFORCESUBMITEDITOR_H #ifndef PERFORCESUBMITEDITOR_H
#define PERFORCESUBMITEDITOR_H #define PERFORCESUBMITEDITOR_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "perforcesubmiteditorwidget.h" #include "perforcesubmiteditorwidget.h"
namespace Perforce { namespace Perforce {
@@ -51,5 +52,6 @@ void PerforceSubmitEditorWidget::setData(const QString &change,
m_submitPanelUi.clientName->setText(client); m_submitPanelUi.clientName->setText(client);
m_submitPanelUi.userName->setText(userName); m_submitPanelUi.userName->setText(userName);
} }
}
} } // Internal
} // Perforce

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef PERFORCESUBMITEDITORWIDGET_H #ifndef PERFORCESUBMITEDITORWIDGET_H
#define PERFORCESUBMITEDITORWIDGET_H #define PERFORCESUBMITEDITORWIDGET_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "perforceversioncontrol.h" #include "perforceversioncontrol.h"
#include "perforceplugin.h" #include "perforceplugin.h"
@@ -65,5 +66,6 @@ QString PerforceVersionControl::findTopLevelForDirectory(const QString &director
{ {
return m_plugin->findTopLevelForDirectory(directory); return m_plugin->findTopLevelForDirectory(directory);
} }
}
} } // Internal
} // Perforce

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef PERFORCEVERSIONCONTROL_H #ifndef PERFORCEVERSIONCONTROL_H
#define PERFORCEVERSIONCONTROL_H #define PERFORCEVERSIONCONTROL_H
@@ -55,6 +56,7 @@ private:
PerforcePlugin *m_plugin; PerforcePlugin *m_plugin;
}; };
} } // Internal
} } // Perforce
#endif
#endif // PERFORCEVERSIONCONTROL_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "settingspage.h" #include "settingspage.h"
#include "perforcesettings.h" #include "perforcesettings.h"
#include "perforceplugin.h" #include "perforceplugin.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef SETTINGSPAGE_H #ifndef SETTINGSPAGE_H
#define SETTINGSPAGE_H #define SETTINGSPAGE_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "workbenchclientuser.h" #include "workbenchclientuser.h"
#include "perforceoutputwindow.h" #include "perforceoutputwindow.h"
#include "perforceplugin.h" #include "perforceplugin.h"

View File

@@ -30,15 +30,17 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef WORKBENCHCLIENTUSER_H #ifndef WORKBENCHCLIENTUSER_H
#define WORKBENCHCLIENTUSER_H #define WORKBENCHCLIENTUSER_H
#include "p4.h"
#include "ui_promptdialog.h"
#include <coreplugin/icorelistener.h>
#include <QtCore/QObject> #include <QtCore/QObject>
#include <QtCore/QMap> #include <QtCore/QMap>
#include <coreplugin/icorelistener.h>
#include "p4.h"
#include "ui_promptdialog.h"
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
class QRadioButton; class QRadioButton;
@@ -108,4 +110,4 @@ private:
} // namespace Perforce } // namespace Perforce
} // namespace Internal } // namespace Internal
#endif #endif // WORKBENCHCLIENTUSER_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef ABSTRACTPROCESS_H #ifndef ABSTRACTPROCESS_H
#define ABSTRACTPROCESS_H #define ABSTRACTPROCESS_H
@@ -68,5 +69,5 @@ private:
} //namespace Internal } //namespace Internal
} //namespace Qt4ProjectManager } //namespace Qt4ProjectManager
#endif #endif // ABSTRACTPROCESS_H

View File

@@ -30,9 +30,11 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "abstractprocessstep.h" #include "abstractprocessstep.h"
#include "buildstep.h" #include "buildstep.h"
#include "project.h" #include "project.h"
#include <QtCore/QProcess> #include <QtCore/QProcess>
#include <QtCore/QEventLoop> #include <QtCore/QEventLoop>
#include <QtCore/QDebug> #include <QtCore/QDebug>

View File

@@ -30,11 +30,13 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef ABSTRACTPROCESSSTEP_H #ifndef ABSTRACTPROCESSSTEP_H
#define ABSTRACTPROCESSSTEP_H #define ABSTRACTPROCESSSTEP_H
#include "buildstep.h" #include "buildstep.h"
#include "environment.h" #include "environment.h"
#include <QtCore/QString> #include <QtCore/QString>
#include <QtCore/QProcess> #include <QtCore/QProcess>
@@ -136,6 +138,6 @@ private:
ProjectExplorer::Environment m_environment; ProjectExplorer::Environment m_environment;
}; };
} } // namespace ProjectExplorer
#endif // ABSTRACTPROCESSSTEP_H #endif // ABSTRACTPROCESSSTEP_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "allprojectsfilter.h" #include "allprojectsfilter.h"
#include "projectexplorer.h" #include "projectexplorer.h"
#include "session.h" #include "session.h"
@@ -42,8 +43,7 @@ using namespace QuickOpen;
using namespace ProjectExplorer; using namespace ProjectExplorer;
using namespace ProjectExplorer::Internal; using namespace ProjectExplorer::Internal;
AllProjectsFilter::AllProjectsFilter(ProjectExplorerPlugin *pe, AllProjectsFilter::AllProjectsFilter(ProjectExplorerPlugin *pe, ICore *core)
ICore *core)
: BaseFileFilter(core) : BaseFileFilter(core)
{ {
m_projectExplorer = pe; m_projectExplorer = pe;

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef ALLPROJECTSFILTER_H #ifndef ALLPROJECTSFILTER_H
#define ALLPROJECTSFILTER_H #define ALLPROJECTSFILTER_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "allprojectsfind.h" #include "allprojectsfind.h"
#include "projectexplorer.h" #include "projectexplorer.h"
#include "project.h" #include "project.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef ALLPROJECTSFIND_H #ifndef ALLPROJECTSFIND_H
#define ALLPROJECTSFIND_H #define ALLPROJECTSFIND_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef APPLICATIONLAUNCHER_H #ifndef APPLICATIONLAUNCHER_H
#define APPLICATIONLAUNCHER_H #define APPLICATIONLAUNCHER_H

View File

@@ -30,12 +30,13 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include <projectexplorer/ProjectExplorerInterfaces>
#include <QDebug>
#include "applicationlauncher.h" #include "applicationlauncher.h"
#include "consoleprocess.h" #include "consoleprocess.h"
#include "winguiprocess.h" #include "winguiprocess.h"
#include <projectexplorer/ProjectExplorerInterfaces>
#include <QDebug>
using namespace ProjectExplorer::Internal; using namespace ProjectExplorer::Internal;

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "applicationlauncher.h" #include "applicationlauncher.h"
#include "consoleprocess.h" #include "consoleprocess.h"

View File

@@ -30,9 +30,11 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "applicationrunconfiguration.h" #include "applicationrunconfiguration.h"
#include "persistentsettings.h" #include "persistentsettings.h"
#include "environment.h" #include "environment.h"
#include <projectexplorer/projectexplorerconstants.h> #include <projectexplorer/projectexplorerconstants.h>
#include <QtGui/QLabel> #include <QtGui/QLabel>

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef APPLICATIONRUNCONFIGURATION_H #ifndef APPLICATIONRUNCONFIGURATION_H
#define APPLICATIONRUNCONFIGURATION_H #define APPLICATIONRUNCONFIGURATION_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "buildconfiguration.h" #include "buildconfiguration.h"
using namespace ProjectExplorer; using namespace ProjectExplorer;

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef BUILDCONFIGURATION_H #ifndef BUILDCONFIGURATION_H
#define BUILDCONFIGURATION_H #define BUILDCONFIGURATION_H
@@ -59,6 +60,6 @@ private:
QString m_name; QString m_name;
}; };
} } // namespace ProjectExplorer
#endif #endif // BUILDCONFIGURATION_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "buildmanager.h" #include "buildmanager.h"
#include "buildstep.h" #include "buildstep.h"
#include "compileoutputwindow.h" #include "compileoutputwindow.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef BUILDMANAGER_H #ifndef BUILDMANAGER_H
#define BUILDMANAGER_H #define BUILDMANAGER_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "buildparserinterface.h" #include "buildparserinterface.h"
using namespace ProjectExplorer; using namespace ProjectExplorer;

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef BUILDPARSERINTERFACE_H #ifndef BUILDPARSERINTERFACE_H
#define BUILDPARSERINTERFACE_H #define BUILDPARSERINTERFACE_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "buildprogress.h" #include "buildprogress.h"
#include <coreplugin/stylehelper.h> #include <coreplugin/stylehelper.h>

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef BUILDPROGRESS_H #ifndef BUILDPROGRESS_H
#define BUILDPROGRESS_H #define BUILDPROGRESS_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "buildsettingspropertiespage.h" #include "buildsettingspropertiespage.h"
#include "buildstep.h" #include "buildstep.h"
#include "buildstepspage.h" #include "buildstepspage.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef BUILDSETTINGSPROPERTIESPAGE_H #ifndef BUILDSETTINGSPROPERTIESPAGE_H
#define BUILDSETTINGSPROPERTIESPAGE_H #define BUILDSETTINGSPROPERTIESPAGE_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "buildstep.h" #include "buildstep.h"
#include "buildconfiguration.h" #include "buildconfiguration.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef BUILDSTEP_H #ifndef BUILDSTEP_H
#define BUILDSTEP_H #define BUILDSTEP_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "buildstepspage.h" #include "buildstepspage.h"
#include "ui_buildstepspage.h" #include "ui_buildstepspage.h"
#include "project.h" #include "project.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef BUILDSTEPSPAGE_H #ifndef BUILDSTEPSPAGE_H
#define BUILDSTEPSPAGE_H #define BUILDSTEPSPAGE_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "compileoutputwindow.h" #include "compileoutputwindow.h"
#include "buildmanager.h" #include "buildmanager.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef COMPILEOUTPUTWINDOW_H #ifndef COMPILEOUTPUTWINDOW_H
#define COMPILEOUTPUTWINDOW_H #define COMPILEOUTPUTWINDOW_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef CONSOLEPROCESS_H #ifndef CONSOLEPROCESS_H
#define CONSOLEPROCESS_H #define CONSOLEPROCESS_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "consoleprocess.h" #include "consoleprocess.h"
using namespace ProjectExplorer::Internal; using namespace ProjectExplorer::Internal;

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include <QtCore/QDir> #include <QtCore/QDir>
#include <QtCore/private/qwineventnotifier_p.h> #include <QtCore/private/qwineventnotifier_p.h>
#include <QtCore/QAbstractEventDispatcher> #include <QtCore/QAbstractEventDispatcher>

View File

@@ -31,8 +31,6 @@
** **
***************************************************************************/ ***************************************************************************/
#include "currentprojectfilter.h" #include "currentprojectfilter.h"
#include "projectexplorer.h" #include "projectexplorer.h"
#include "project.h" #include "project.h"
@@ -40,7 +38,6 @@
#include <QtCore/QVariant> #include <QtCore/QVariant>
#include <QtCore/QTimer> #include <QtCore/QTimer>
#include <QtCore/QThread> #include <QtCore/QThread>
#include <QtDebug> #include <QtDebug>

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef CURRENTPROJECTFILTER_H #ifndef CURRENTPROJECTFILTER_H
#define CURRENTPROJECTFILTER_H #define CURRENTPROJECTFILTER_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "currentprojectfind.h" #include "currentprojectfind.h"
#include "projectexplorer.h" #include "projectexplorer.h"
#include "project.h" #include "project.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef CURRENTPROJECTFIND_H #ifndef CURRENTPROJECTFIND_H
#define CURRENTPROJECTFIND_H #define CURRENTPROJECTFIND_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "customexecutablerunconfiguration.h" #include "customexecutablerunconfiguration.h"
#include "environment.h" #include "environment.h"
#include "project.h" #include "project.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef CUSTOMEXECUTABLERUNCONFIGURATION_H #ifndef CUSTOMEXECUTABLERUNCONFIGURATION_H
#define CUSTOMEXECUTABLERUNCONFIGURATION_H #define CUSTOMEXECUTABLERUNCONFIGURATION_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "dependenciesdialog.h" #include "dependenciesdialog.h"
#include "project.h" #include "project.h"
#include "session.h" #include "session.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef DEPENDENCIESDIALOG_H #ifndef DEPENDENCIESDIALOG_H
#define DEPENDENCIESDIALOG_H #define DEPENDENCIESDIALOG_H

View File

@@ -30,5 +30,6 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "directoryproject.h" #include "directoryproject.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "editorconfiguration.h" #include "editorconfiguration.h"
#include <QtCore/QTextCodec> #include <QtCore/QTextCodec>

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef EDITORCONFIGURATION_H #ifndef EDITORCONFIGURATION_H
#define EDITORCONFIGURATION_H #define EDITORCONFIGURATION_H
@@ -54,6 +55,6 @@ private:
QTextCodec *m_defaultTextCodec; QTextCodec *m_defaultTextCodec;
}; };
} } // ProjectExplorer
#endif #endif // EDITORCONFIGURATION_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "editorsettingspropertiespage.h" #include "editorsettingspropertiespage.h"
#include "editorconfiguration.h" #include "editorconfiguration.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef EDITORSETTINGSPROPERTIESPAGE_H #ifndef EDITORSETTINGSPROPERTIESPAGE_H
#define EDITORSETTINGSPROPERTIESPAGE_H #define EDITORSETTINGSPROPERTIESPAGE_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "environment.h" #include "environment.h"
#include <QtCore/QProcess> #include <QtCore/QProcess>

View File

@@ -30,8 +30,9 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef ENVIRONMENT
#define ENVIRONMENT #ifndef ENVIRONMENT_H
#define ENVIRONMENT_H
#include "projectexplorer_export.h" #include "projectexplorer_export.h"
@@ -96,6 +97,6 @@ private:
QMap<QString, QString> m_values; QMap<QString, QString> m_values;
}; };
} } // namespace ProjectExplorer
#endif #endif // ENVIRONMENT_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "environmenteditmodel.h" #include "environmenteditmodel.h"
using namespace ProjectExplorer; using namespace ProjectExplorer;

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef ENVIRONMENTEDITMODEL_H #ifndef ENVIRONMENTEDITMODEL_H
#define ENVIRONMENTEDITMODEL_H #define ENVIRONMENTEDITMODEL_H
@@ -40,8 +41,7 @@
#include <QtCore/QDebug> #include <QtCore/QDebug>
#include <QtGui/QFont> #include <QtGui/QFont>
namespace ProjectExplorer namespace ProjectExplorer {
{
class PROJECTEXPLORER_EXPORT EnvironmentModel : public QAbstractItemModel class PROJECTEXPLORER_EXPORT EnvironmentModel : public QAbstractItemModel
{ {
@@ -88,5 +88,6 @@ private:
bool m_mergedEnvironments; bool m_mergedEnvironments;
}; };
} } // namespace ProjectExplorer
#endif // ENVIRONMENTEDITMODEL_H #endif // ENVIRONMENTEDITMODEL_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "foldernavigationwidget.h" #include "foldernavigationwidget.h"
#include "projectexplorer.h" #include "projectexplorer.h"
#include "projectexplorerconstants.h" #include "projectexplorerconstants.h"
@@ -52,18 +53,21 @@ bool debug = false;
} }
namespace ProjectExplorer { namespace ProjectExplorer {
namespace Internal { namespace Internal {
class FirstRowFilter : public QSortFilterProxyModel {
class FirstRowFilter : public QSortFilterProxyModel
{
Q_OBJECT Q_OBJECT
public: public:
FirstRowFilter(QObject *parent = 0) : QSortFilterProxyModel(parent) {} FirstRowFilter(QObject *parent = 0) : QSortFilterProxyModel(parent) {}
protected: protected:
bool filterAcceptsRow (int source_row, const QModelIndex & ) const { bool filterAcceptsRow (int source_row, const QModelIndex & ) const {
return source_row != 0; return source_row != 0;
} }
}; };
}
} } // namespace Internal
} // namespace ProjectExplorer
/*! /*!
/class FolderNavigationWidget /class FolderNavigationWidget

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef FOLDERNAVIGATIONWIDGET_H #ifndef FOLDERNAVIGATIONWIDGET_H
#define FOLDERNAVIGATIONWIDGET_H #define FOLDERNAVIGATIONWIDGET_H

View File

@@ -30,10 +30,12 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef PROJECTMANAGERINTERFACE_H #ifndef PROJECTMANAGERINTERFACE_H
#define PROJECTMANAGERINTERFACE_H #define PROJECTMANAGERINTERFACE_H
#include "projectexplorer_export.h" #include "projectexplorer_export.h"
#include <QtCore/QObject> #include <QtCore/QObject>
namespace ProjectExplorer { namespace ProjectExplorer {

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef IPROJECTPROPERTIES_H #ifndef IPROJECTPROPERTIES_H
#define IPROJECTPROPERTIES_H #define IPROJECTPROPERTIES_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef PROJECTEXPLORERMETATYPEDECLARATIONS_H #ifndef PROJECTEXPLORERMETATYPEDECLARATIONS_H
#define PROJECTEXPLORERMETATYPEDECLARATIONS_H #define PROJECTEXPLORERMETATYPEDECLARATIONS_H
@@ -63,5 +64,6 @@ Q_DECLARE_METATYPE(ProjectExplorer::IApplicationOutput*)
Q_DECLARE_METATYPE(ProjectExplorer::Internal::CommandQObject*) Q_DECLARE_METATYPE(ProjectExplorer::Internal::CommandQObject*)
Q_DECLARE_METATYPE(QList<ProjectExplorer::Internal::CommandQObject*>) Q_DECLARE_METATYPE(QList<ProjectExplorer::Internal::CommandQObject*>)
Q_DECLARE_METATYPE(ProjectExplorer::BuildParserInterface*) Q_DECLARE_METATYPE(ProjectExplorer::BuildParserInterface*)
Q_DECLARE_METATYPE(ProjectExplorer::GlobalConfigManagerInterface*) Q_DECLARE_METATYPE(ProjectExplorer::GlobalConfigManagerInterface*)
#endif // PROJECTEXPLORERMETATYPEDECLARATIONS_H #endif // PROJECTEXPLORERMETATYPEDECLARATIONS_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "nodesvisitor.h" #include "nodesvisitor.h"
#include "projectnodes.h" #include "projectnodes.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef NODESVISITOR_H #ifndef NODESVISITOR_H
#define NODESVISITOR_H #define NODESVISITOR_H
@@ -82,6 +83,6 @@ private:
QStringList m_filePaths; QStringList m_filePaths;
}; };
} } // namespace ProjectExplorer
#endif // NODESVISITOR_H #endif // NODESVISITOR_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "outputwindow.h" #include "outputwindow.h"
#include "projectexplorerconstants.h" #include "projectexplorerconstants.h"
#include "runconfiguration.h" #include "runconfiguration.h"

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#ifndef OUTPUTWINDOW_H #ifndef OUTPUTWINDOW_H
#define OUTPUTWINDOW_H #define OUTPUTWINDOW_H
@@ -192,7 +193,7 @@ protected:
void contextMenuEvent(QContextMenuEvent * e); void contextMenuEvent(QContextMenuEvent * e);
}; };
#endif // 0 #endif // 0
} //namespace Internal } // namespace Internal
} //namespace ProjectExplorer } // namespace ProjectExplorer
#endif #endif // OUTPUTWINDOW_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package. ** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
** **
***************************************************************************/ ***************************************************************************/
#include "persistentsettings.h" #include "persistentsettings.h"
#include <QtCore/QDebug> #include <QtCore/QDebug>

Some files were not shown because too many files have changed in this diff Show More