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.
**
***************************************************************************/
#include "docsettingspage.h"
#include <QtGui/QFileDialog>
@@ -42,7 +43,6 @@ DocSettingsPage::DocSettingsPage(QHelpEngine *helpEngine)
: m_helpEngine(helpEngine),
m_registeredDocs(false)
{
}
QString DocSettingsPage::name() const

View File

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

View File

@@ -30,18 +30,6 @@
** 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
#define HELP_GLOBAL_H

View File

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

View File

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

View File

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

View File

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

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
**
***************************************************************************/
#include "helpmode.h"
#include "helpplugin.h"
@@ -43,7 +44,8 @@ using namespace Help::Internal;
HelpMode::HelpMode(QWidget *widget, QWidget *centralWidget, QObject *parent):
BaseMode(tr("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->layout()->setSpacing(0);

View File

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

View File

@@ -44,6 +44,18 @@
#include "helpfindsupport.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/qplugin.h>
#include <QtCore/QFileInfo>
@@ -58,18 +70,6 @@
#include <QtGui/QComboBox>
#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::Internal;

View File

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

View File

@@ -30,6 +30,11 @@
** 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 <QtGui/QKeyEvent>
#include <QtGui/QFocusEvent>
@@ -39,10 +44,6 @@
#include <QtGui/QListView>
#include <QtGui/QApplication>
#include "indextoolwindow.h"
#include "helpengine.h"
#include "topicchooser.h"
using namespace Help::Internal;
IndexToolWidget::IndexToolWidget()

View File

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

View File

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

View File

@@ -85,4 +85,4 @@ private:
} // namespace Internal
} // namespace Help
#endif // SEARCHWIDGET_H
#endif // SEARCHWIDGET_H

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
**
***************************************************************************/
#include "annotationhighlighter.h"
namespace Perforce {
@@ -48,5 +49,5 @@ QString PerforceAnnotationHighlighter::changeNumber(const QString &block) const
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.
**
***************************************************************************/
#ifndef ANNOTATIONHIGHLIGHTER_H
#define ANNOTATIONHIGHLIGHTER_H
@@ -52,7 +53,7 @@ private:
const QChar m_colon;
};
} //namespace Perforce
} //namespace Internal
} // namespace Perforce
} // 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.
**
***************************************************************************/
#include <QtGui/QIntValidator>
#include "changenumberdialog.h"

View File

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

View File

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

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
**
***************************************************************************/
#ifndef PENDINGCHANGESDIALOG_H
#define PENDINGCHANGESDIALOG_H
@@ -52,8 +53,8 @@ private:
Ui::PendingChangesDialog m_ui;
};
} //namespace Perforce
} //namespace Internal
} // namespace Perforce
} // 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.
**
***************************************************************************/
#ifndef PERFORCE_CONSTANTS_H
#define PERFORCE_CONSTANTS_H
namespace Perforce {
namespace Constants {
const char * const C_PERFORCEEDITOR = "Perforce Editor";
namespace Constants {
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";
const char * const C_PERFORCEEDITOR = "Perforce Editor";
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

View File

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

View File

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

View File

@@ -30,15 +30,16 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
**
***************************************************************************/
#include "perforceoutputwindow.h"
#include "perforceplugin.h"
#include <QtGui/QKeyEvent>
#include <QtGui/QMouseEvent>
#include <QtGui/QMenu>
#include <QtGui/QAction>
#include <QtGui/QListWidget>
#include "perforceoutputwindow.h"
#include "perforceplugin.h"
using namespace Perforce::Internal;
PerforceOutputWindow::PerforceOutputWindow(PerforcePlugin *p4Plugin)
@@ -74,7 +75,6 @@ bool PerforceOutputWindow::canFocus()
void PerforceOutputWindow::setFocus()
{
}
QWidget *PerforceOutputWindow::outputWidget(QWidget *parent)
@@ -95,7 +95,6 @@ void PerforceOutputWindow::clearContents()
void PerforceOutputWindow::visibilityChanged(bool /* b */)
{
}
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.
**
***************************************************************************/
#ifndef PERFORCEOUTPUTWINDOW_H
#define PERFORCEOUTPUTWINDOW_H
@@ -84,4 +85,4 @@ private:
} // namespace Perforce
} // 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.
**
***************************************************************************/
#include "p4.h"
#include "perforceplugin.h"
#include "perforceoutputwindow.h"

View File

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

View File

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

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
**
***************************************************************************/
#ifndef PERFOCESETTINGS_H
#define PERFOCESETTINGS_H
@@ -59,7 +60,8 @@ inline bool operator==(const PerforceSettings &p1, const PerforceSettings &p2)
{ return p1.equals(p2); }
inline bool operator!=(const PerforceSettings &p1, const PerforceSettings &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.
**
***************************************************************************/
#include "perforcesubmiteditor.h"
#include "perforcesubmiteditorwidget.h"
#include "perforceplugin.h"
@@ -190,5 +191,5 @@ void PerforceSubmitEditor::updateEntries()
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.
**
***************************************************************************/
#ifndef PERFORCESUBMITEDITOR_H
#define PERFORCESUBMITEDITOR_H

View File

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

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
**
***************************************************************************/
#include "perforceversioncontrol.h"
#include "perforceplugin.h"
@@ -65,5 +66,6 @@ QString PerforceVersionControl::findTopLevelForDirectory(const QString &director
{
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.
**
***************************************************************************/
#ifndef PERFORCEVERSIONCONTROL_H
#define PERFORCEVERSIONCONTROL_H
@@ -55,6 +56,7 @@ private:
PerforcePlugin *m_plugin;
};
}
}
#endif
} // Internal
} // Perforce
#endif // PERFORCEVERSIONCONTROL_H

View File

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

View File

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

View File

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

View File

@@ -30,15 +30,17 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
**
***************************************************************************/
#ifndef WORKBENCHCLIENTUSER_H
#define WORKBENCHCLIENTUSER_H
#include "p4.h"
#include "ui_promptdialog.h"
#include <coreplugin/icorelistener.h>
#include <QtCore/QObject>
#include <QtCore/QMap>
#include <coreplugin/icorelistener.h>
#include "p4.h"
#include "ui_promptdialog.h"
QT_BEGIN_NAMESPACE
class QRadioButton;
@@ -108,4 +110,4 @@ private:
} // namespace Perforce
} // 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.
**
***************************************************************************/
#ifndef ABSTRACTPROCESS_H
#define ABSTRACTPROCESS_H
@@ -68,5 +69,5 @@ private:
} //namespace Internal
} //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.
**
***************************************************************************/
#include "abstractprocessstep.h"
#include "buildstep.h"
#include "project.h"
#include <QtCore/QProcess>
#include <QtCore/QEventLoop>
#include <QtCore/QDebug>
@@ -41,7 +43,7 @@
using namespace ProjectExplorer;
AbstractProcessStep::AbstractProcessStep(Project *pro)
: BuildStep(pro)
: BuildStep(pro)
{
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
**
***************************************************************************/
#ifndef BUILDCONFIGURATION_H
#define BUILDCONFIGURATION_H
@@ -59,6 +60,6 @@ private:
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.
**
***************************************************************************/
#include "buildmanager.h"
#include "buildstep.h"
#include "compileoutputwindow.h"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -30,6 +30,7 @@
** version 1.2, included in the file GPL_EXCEPTION.txt in this package.
**
***************************************************************************/
#ifndef EDITORCONFIGURATION_H
#define EDITORCONFIGURATION_H
@@ -54,6 +55,6 @@ private:
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.
**
***************************************************************************/
#include "editorsettingspropertiespage.h"
#include "editorconfiguration.h"

View File

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

View File

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

View File

@@ -30,8 +30,9 @@
** 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"
@@ -96,6 +97,6 @@ private:
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.
**
***************************************************************************/
#include "environmenteditmodel.h"
using namespace ProjectExplorer;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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