forked from qt-creator/qt-creator
Rename namespace DIFFEditor to DiffEditor.
Change-Id: Ia87098de61f38530806e1cf87b69d0bfc66e250c Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -30,7 +30,7 @@
|
|||||||
#ifndef DIFFEDITORCONSTANTS_H
|
#ifndef DIFFEDITORCONSTANTS_H
|
||||||
#define DIFFEDITORCONSTANTS_H
|
#define DIFFEDITORCONSTANTS_H
|
||||||
|
|
||||||
namespace DIFFEditor {
|
namespace DiffEditor {
|
||||||
namespace Constants {
|
namespace Constants {
|
||||||
|
|
||||||
const char DIFF_EDITOR_ID[] = "Diff Editor";
|
const char DIFF_EDITOR_ID[] = "Diff Editor";
|
||||||
@@ -39,6 +39,6 @@ const char DIFF_EDITOR_MIMETYPE[] = "text/x-patch";
|
|||||||
const char G_TOOLS_DIFF[] = "QtCreator.Group.Tools.Options";
|
const char G_TOOLS_DIFF[] = "QtCreator.Group.Tools.Options";
|
||||||
|
|
||||||
} // namespace Constants
|
} // namespace Constants
|
||||||
} // namespace DIFFEditor
|
} // namespace DiffEditor
|
||||||
|
|
||||||
#endif // DIFFEDITORCONSTANTS_H
|
#endif // DIFFEDITORCONSTANTS_H
|
||||||
|
|||||||
@@ -46,8 +46,8 @@
|
|||||||
#include <coreplugin/editormanager/editormanager.h>
|
#include <coreplugin/editormanager/editormanager.h>
|
||||||
#include <coreplugin/coreconstants.h>
|
#include <coreplugin/coreconstants.h>
|
||||||
|
|
||||||
using namespace DIFFEditor;
|
namespace DiffEditor {
|
||||||
using namespace DIFFEditor::Internal;
|
namespace Internal {
|
||||||
|
|
||||||
///////////////////////////////// DiffEditor //////////////////////////////////
|
///////////////////////////////// DiffEditor //////////////////////////////////
|
||||||
|
|
||||||
@@ -349,5 +349,7 @@ QString DiffEditorPlugin::getFileContents(const QString &fileName, QTextCodec *c
|
|||||||
return QString();
|
return QString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} // namespace Internal
|
||||||
|
} // namespace DiffEditor
|
||||||
|
|
||||||
Q_EXPORT_PLUGIN(DiffEditorPlugin)
|
Q_EXPORT_PLUGIN(DiffEditor::Internal::DiffEditorPlugin)
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
#include <QAction>
|
#include <QAction>
|
||||||
#include <QToolBar>
|
#include <QToolBar>
|
||||||
|
|
||||||
namespace DIFFEditor {
|
namespace DiffEditor {
|
||||||
class DiffEditorWidget;
|
class DiffEditorWidget;
|
||||||
|
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
@@ -153,6 +153,6 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Internal
|
} // namespace Internal
|
||||||
} // namespace DIFFEditor
|
} // namespace DiffEditor
|
||||||
|
|
||||||
#endif // DIFFEDITORPLUGIN_H
|
#endif // DIFFEDITORPLUGIN_H
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
using namespace TextEditor;
|
using namespace TextEditor;
|
||||||
|
|
||||||
namespace DIFFEditor {
|
namespace DiffEditor {
|
||||||
|
|
||||||
//////////////////////
|
//////////////////////
|
||||||
|
|
||||||
@@ -1022,6 +1022,6 @@ void DiffEditorWidget::rightSliderChanged()
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
} // namespace DIFFEditor
|
} // namespace DiffEditor
|
||||||
|
|
||||||
#include "diffeditorwidget.moc"
|
#include "diffeditorwidget.moc"
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ QT_END_NAMESPACE
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
namespace DIFFEditor {
|
namespace DiffEditor {
|
||||||
|
|
||||||
class DiffViewEditorWidget;
|
class DiffViewEditorWidget;
|
||||||
|
|
||||||
@@ -154,6 +154,6 @@ private:
|
|||||||
int m_rightSafePosHack;
|
int m_rightSafePosHack;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace DIFFEditor
|
} // namespace DiffEditor
|
||||||
|
|
||||||
#endif // DIFFEDITORWIDGET_H
|
#endif // DIFFEDITORWIDGET_H
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <QMap>
|
#include <QMap>
|
||||||
|
|
||||||
namespace DIFFEditor {
|
namespace DiffEditor {
|
||||||
|
|
||||||
Diff::Diff() :
|
Diff::Diff() :
|
||||||
command(Diff::Equal)
|
command(Diff::Equal)
|
||||||
@@ -496,4 +496,4 @@ int Differ::commonSuffix(const QString &text1, const QString &text2) const
|
|||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace DIFFEditor
|
} // namespace DiffEditor
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ template <class K, class T>
|
|||||||
class QMap;
|
class QMap;
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
namespace DIFFEditor {
|
namespace DiffEditor {
|
||||||
|
|
||||||
class DIFFEDITOR_EXPORT Diff
|
class DIFFEDITOR_EXPORT Diff
|
||||||
{
|
{
|
||||||
@@ -93,6 +93,6 @@ private:
|
|||||||
DiffMode m_currentDiffMode;
|
DiffMode m_currentDiffMode;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace DIFFEditor
|
} // namespace DiffEditor
|
||||||
|
|
||||||
#endif // DIFF_H
|
#endif // DIFF_H
|
||||||
|
|||||||
Reference in New Issue
Block a user