From 14e01a92a4a8b3c861bec41d33a1743870844e63 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 6 Feb 2013 11:36:58 +0100 Subject: [PATCH] Rename Path.h to PathChanger.h (actual name of the class) --- src/AspellChecker.cpp | 2 +- src/Buffer.cpp | 2 +- src/Converter.cpp | 2 +- src/Format.cpp | 2 +- src/LyX.cpp | 2 +- src/VCBackend.cpp | 2 +- src/frontends/qt4/GuiApplication.cpp | 2 +- src/frontends/qt4/GuiView.cpp | 2 +- src/frontends/qt4/qt_helpers.cpp | 2 +- src/insets/ExternalTemplate.cpp | 2 +- src/insets/InsetBibtex.cpp | 2 +- src/support/Makefile.am | 4 ++-- src/support/{Path.cpp => PathChanger.cpp} | 2 +- src/support/{Path.h => PathChanger.h} | 10 +++++----- src/support/filetools.cpp | 2 +- 15 files changed, 20 insertions(+), 20 deletions(-) rename src/support/{Path.cpp => PathChanger.cpp} (98%) rename src/support/{Path.h => PathChanger.h} (90%) diff --git a/src/AspellChecker.cpp b/src/AspellChecker.cpp index 5829612270..1e42352690 100644 --- a/src/AspellChecker.cpp +++ b/src/AspellChecker.cpp @@ -25,7 +25,7 @@ #include "support/filetools.h" #include "support/Package.h" #include "support/FileName.h" -#include "support/Path.h" +#include "support/PathChanger.h" #include diff --git a/src/Buffer.cpp b/src/Buffer.cpp index f5124abe8c..05d6be22a4 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -99,7 +99,7 @@ #include "support/lyxalgo.h" #include "support/os.h" #include "support/Package.h" -#include "support/Path.h" +#include "support/PathChanger.h" #include "support/Systemcall.h" #include "support/textutils.h" #include "support/types.h" diff --git a/src/Converter.cpp b/src/Converter.cpp index e96ed7b096..abce7b8fcc 100644 --- a/src/Converter.cpp +++ b/src/Converter.cpp @@ -32,7 +32,7 @@ #include "support/lstrings.h" #include "support/os.h" #include "support/Package.h" -#include "support/Path.h" +#include "support/PathChanger.h" #include "support/Systemcall.h" using namespace std; diff --git a/src/Format.cpp b/src/Format.cpp index 7e634b48be..3364f7b9df 100644 --- a/src/Format.cpp +++ b/src/Format.cpp @@ -23,7 +23,7 @@ #include "support/gettext.h" #include "support/lstrings.h" #include "support/os.h" -#include "support/Path.h" +#include "support/PathChanger.h" #include "support/Systemcall.h" #include "support/textutils.h" #include "support/Translator.h" diff --git a/src/LyX.cpp b/src/LyX.cpp index 2247f33212..e68ae0392f 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -60,7 +60,7 @@ #include "support/Messages.h" #include "support/os.h" #include "support/Package.h" -#include "support/Path.h" +#include "support/PathChanger.h" #include "support/Systemcall.h" #include "support/bind.h" diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp index 1d18a395ca..aa62f11e02 100644 --- a/src/VCBackend.cpp +++ b/src/VCBackend.cpp @@ -24,7 +24,7 @@ #include "support/filetools.h" #include "support/gettext.h" #include "support/lstrings.h" -#include "support/Path.h" +#include "support/PathChanger.h" #include "support/Systemcall.h" #include "support/regex.h" diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index 83f1dc1ef6..c03e4f1ce8 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -68,7 +68,7 @@ #include "support/Messages.h" #include "support/os.h" #include "support/Package.h" -#include "support/Path.h" +#include "support/PathChanger.h" #include "support/Systemcall.h" #ifdef Q_WS_MACX diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index efd6d437f2..05c34cb3ae 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -76,7 +76,7 @@ #include "support/lstrings.h" #include "support/os.h" #include "support/Package.h" -#include "support/Path.h" +#include "support/PathChanger.h" #include "support/Systemcall.h" #include "support/Timeout.h" #include "support/ProgressInterface.h" diff --git a/src/frontends/qt4/qt_helpers.cpp b/src/frontends/qt4/qt_helpers.cpp index 35bac8bbd0..3aea0ebb4b 100644 --- a/src/frontends/qt4/qt_helpers.cpp +++ b/src/frontends/qt4/qt_helpers.cpp @@ -34,7 +34,7 @@ #include "support/lyxalgo.h" #include "support/os.h" #include "support/Package.h" -#include "support/Path.h" +#include "support/PathChanger.h" #include "support/Systemcall.h" #include diff --git a/src/insets/ExternalTemplate.cpp b/src/insets/ExternalTemplate.cpp index 6bd02ac47a..de3eee6e59 100644 --- a/src/insets/ExternalTemplate.cpp +++ b/src/insets/ExternalTemplate.cpp @@ -19,7 +19,7 @@ #include "support/filetools.h" #include "support/lstrings.h" #include "support/Package.h" -#include "support/Path.h" +#include "support/PathChanger.h" #include "support/Translator.h" #include diff --git a/src/insets/InsetBibtex.cpp b/src/insets/InsetBibtex.cpp index 26f0de41f9..d0f7636796 100644 --- a/src/insets/InsetBibtex.cpp +++ b/src/insets/InsetBibtex.cpp @@ -40,7 +40,7 @@ #include "support/gettext.h" #include "support/lstrings.h" #include "support/os.h" -#include "support/Path.h" +#include "support/PathChanger.h" #include "support/textutils.h" #include diff --git a/src/support/Makefile.am b/src/support/Makefile.am index dc317c0c01..a537ff8da5 100644 --- a/src/support/Makefile.am +++ b/src/support/Makefile.am @@ -78,8 +78,8 @@ liblyxsupport_a_SOURCES = \ numpunct_lyx_char_type.h \ os.cpp \ os.h \ - Path.cpp \ - Path.h \ + PathChanger.cpp \ + PathChanger.h \ Package.cpp \ Package.h \ ProgressInterface.h \ diff --git a/src/support/Path.cpp b/src/support/PathChanger.cpp similarity index 98% rename from src/support/Path.cpp rename to src/support/PathChanger.cpp index 36837f6f9a..733d2e6e75 100644 --- a/src/support/Path.cpp +++ b/src/support/PathChanger.cpp @@ -10,7 +10,7 @@ #include -#include "support/Path.h" +#include "support/PathChanger.h" // undef PathChanger macro when building PathChanger #undef PathChanger diff --git a/src/support/Path.h b/src/support/PathChanger.h similarity index 90% rename from src/support/Path.h rename to src/support/PathChanger.h index e7940c09da..d82aab39fb 100644 --- a/src/support/Path.h +++ b/src/support/PathChanger.h @@ -1,6 +1,6 @@ // -*- C++ -*- /** - * \file Path.h + * \file PathChanger.h * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * @@ -9,8 +9,8 @@ * Full author contact details are available in file CREDITS. */ -#ifndef PATH_H -#define PATH_H +#ifndef PATHCHANGER_H +#define PATHCHANGER_H #include "support/FileName.h" @@ -19,7 +19,7 @@ namespace lyx { namespace support { /** - * Path - utility closs for stackable working directories + * Path - utility class for stackable working directories * * You can use a local variable of this type to temporarily * change to a directory as the cwd, for example : @@ -77,4 +77,4 @@ int getPrivateFrameworkPathName(char * buf, unsigned len, char const * framework #endif -#endif // PATH_H +#endif // PATHCHANGER_H diff --git a/src/support/filetools.cpp b/src/support/filetools.cpp index 68c92d8daa..f991455a27 100644 --- a/src/support/filetools.cpp +++ b/src/support/filetools.cpp @@ -32,7 +32,7 @@ #include "support/os.h" #include "support/Messages.h" #include "support/Package.h" -#include "support/Path.h" +#include "support/PathChanger.h" #include "support/Systemcall.h" #include "support/qstring_helpers.h" -- 2.39.5