From a088ea84fdb50322545de823165650d810859ef5 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 7 Feb 2018 14:16:05 +0100 Subject: [PATCH] Rename files --- kicad/CMakeLists.txt | 6 +++--- kicad/tree_project_frame.cpp | 4 ++-- ...class_treeproject_item.cpp => treeproject_item.cpp} | 8 ++++---- kicad/{class_treeproject_item.h => treeproject_item.h} | 2 +- ...class_treeprojectfiles.cpp => treeprojectfiles.cpp} | 6 +++--- kicad/{class_treeprojectfiles.h => treeprojectfiles.h} | 10 +++++----- 6 files changed, 18 insertions(+), 18 deletions(-) rename kicad/{class_treeproject_item.cpp => treeproject_item.cpp} (97%) rename kicad/{class_treeproject_item.h => treeproject_item.h} (97%) rename kicad/{class_treeprojectfiles.cpp => treeprojectfiles.cpp} (96%) rename kicad/{class_treeprojectfiles.h => treeprojectfiles.h} (88%) diff --git a/kicad/CMakeLists.txt b/kicad/CMakeLists.txt index 088576dc1c..029402b0bd 100644 --- a/kicad/CMakeLists.txt +++ b/kicad/CMakeLists.txt @@ -14,12 +14,11 @@ include_directories( set( KICAD_SRCS - class_treeprojectfiles.cpp - class_treeproject_item.cpp commandframe.cpp dialogs/dialog_template_selector_base.cpp dialogs/dialog_template_selector.cpp files-io.cpp + import_project.cpp kicad.cpp mainframe.cpp menubar.cpp @@ -27,7 +26,8 @@ set( KICAD_SRCS prjconfig.cpp project_template.cpp tree_project_frame.cpp - import_project.cpp + treeprojectfiles.cpp + treeproject_item.cpp ) if( MINGW ) diff --git a/kicad/tree_project_frame.cpp b/kicad/tree_project_frame.cpp index 74f9fac469..4b220094ba 100644 --- a/kicad/tree_project_frame.cpp +++ b/kicad/tree_project_frame.cpp @@ -40,8 +40,8 @@ #include #include -#include "class_treeproject_item.h" -#include "class_treeprojectfiles.h" +#include "treeproject_item.h" +#include "treeprojectfiles.h" #include "pgm_kicad.h" #include "tree_project_frame.h" diff --git a/kicad/class_treeproject_item.cpp b/kicad/treeproject_item.cpp similarity index 97% rename from kicad/class_treeproject_item.cpp rename to kicad/treeproject_item.cpp index 4d8d1939fa..1de55f646e 100644 --- a/kicad/class_treeproject_item.cpp +++ b/kicad/treeproject_item.cpp @@ -1,7 +1,7 @@ /* * This program source code file is part of KiCad, a free EDA CAD application. * - * Copyright (C) 1992-2012 KiCad Developers, see change_log.txt for contributors. + * Copyright (C) 1992-2012 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -22,7 +22,7 @@ */ /** - * @file class_treeproject_item.cpp + * @file treeproject_item.cpp * * @brief Class TREEPROJECT_ITEM is a derived class from wxTreeItemData and * store info about a file or directory shown in the KiCad tree project files @@ -34,11 +34,11 @@ #include #include -#include "class_treeprojectfiles.h" +#include "treeprojectfiles.h" #include "pgm_kicad.h" #include "tree_project_frame.h" -#include "class_treeproject_item.h" +#include "treeproject_item.h" TREEPROJECT_ITEM::TREEPROJECT_ITEM( enum TreeFileType type, const wxString& data, diff --git a/kicad/class_treeproject_item.h b/kicad/treeproject_item.h similarity index 97% rename from kicad/class_treeproject_item.h rename to kicad/treeproject_item.h index fe18ee4248..902393977e 100644 --- a/kicad/class_treeproject_item.h +++ b/kicad/treeproject_item.h @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2010-2014 Jean-Pierre Charras - * Copyright (C) 2004-2014 KiCad Developers, see change_log.txt for contributors. + * Copyright (C) 2004-2014 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/kicad/class_treeprojectfiles.cpp b/kicad/treeprojectfiles.cpp similarity index 96% rename from kicad/class_treeprojectfiles.cpp rename to kicad/treeprojectfiles.cpp index ad8404599d..57b07c5488 100644 --- a/kicad/class_treeprojectfiles.cpp +++ b/kicad/treeprojectfiles.cpp @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2004-2012 Jean-Pierre Charras - * Copyright (C) 2004-2012 KiCad Developers, see change_log.txt for contributors. + * Copyright (C) 2004-2012 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -30,10 +30,10 @@ #include -#include "class_treeproject_item.h" +#include "treeproject_item.h" #include "tree_project_frame.h" -#include "class_treeprojectfiles.h" +#include "treeprojectfiles.h" IMPLEMENT_ABSTRACT_CLASS( TREEPROJECTFILES, wxTreeCtrl ) diff --git a/kicad/class_treeprojectfiles.h b/kicad/treeprojectfiles.h similarity index 88% rename from kicad/class_treeprojectfiles.h rename to kicad/treeprojectfiles.h index d6fd49a494..50a8b0ec10 100644 --- a/kicad/class_treeprojectfiles.h +++ b/kicad/treeprojectfiles.h @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2010-2014 Jean-Pierre Charras - * Copyright (C) 2004-2014 KiCad Developers, see change_log.txt for contributors. + * Copyright (C) 2004-2014 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -23,11 +23,11 @@ */ /* - * file class_treeprojectfiles.h + * file treeprojectfiles.h */ -#ifndef CLASS_TREEPROJECTFILES_H -#define CLASS_TREEPROJECTFILES_H +#ifndef TREEPROJECTFILES_H +#define TREEPROJECTFILES_H #include @@ -60,4 +60,4 @@ private: int OnCompareItems( const wxTreeItemId& item1, const wxTreeItemId& item2 ) override; }; -#endif // CLASS_TREEPROJECTFILES_H +#endif // TREEPROJECTFILES_H