freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2-demos] gsoc-2022-chariri-2 eb87e88 17/30: [ftinspect] Rename


From: Werner Lemberg
Subject: [freetype2-demos] gsoc-2022-chariri-2 eb87e88 17/30: [ftinspect] Rename `custom_widgets.[ch]pp` to `customwidgets.[ch]pp`.
Date: Mon, 11 Jul 2022 07:17:40 -0400 (EDT)

branch: gsoc-2022-chariri-2
commit eb87e880fa8d6b8e88acf0341e9cae1301b98b5c
Author: Charlie Jiang <w@chariri.moe>
Commit: Charlie Jiang <w@chariri.moe>

    [ftinspect] Rename `custom_widgets.[ch]pp` to `customwidgets.[ch]pp`.
    
    This is for consistency among all file names.
    
    * src/ftinspect/widgets/custom_widgets.hpp: Renamed.
    
    * src/ftinspect/widgets/custom_widgets.cpp: Renamed, and reference updated.
    
    * src/ftinspect/maingui.hpp, src/ftinspect/meson.build,
      src/ftinspect/CMakeLists.txt: Reference updated.
---
 src/ftinspect/CMakeLists.txt                                    | 2 +-
 src/ftinspect/maingui.hpp                                       | 2 +-
 src/ftinspect/meson.build                                       | 4 ++--
 src/ftinspect/widgets/{custom_widgets.cpp => customwidgets.cpp} | 2 +-
 src/ftinspect/widgets/{custom_widgets.hpp => customwidgets.hpp} | 0
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/ftinspect/CMakeLists.txt b/src/ftinspect/CMakeLists.txt
index ca59fd5..0dfa312 100644
--- a/src/ftinspect/CMakeLists.txt
+++ b/src/ftinspect/CMakeLists.txt
@@ -28,7 +28,7 @@ add_executable(ftinspect
   "rendering/glyphpoints.cpp"
   "rendering/grid.cpp"
 
-  "widgets/custom_widgets.cpp"
+  "widgets/customwidgets.cpp"
 
   "models/ttsettingscomboboxmodel.cpp"
 
diff --git a/src/ftinspect/maingui.hpp b/src/ftinspect/maingui.hpp
index 940fe7f..af4da6d 100644
--- a/src/ftinspect/maingui.hpp
+++ b/src/ftinspect/maingui.hpp
@@ -11,7 +11,7 @@
 #include "rendering/glyphpointnumbers.hpp"
 #include "rendering/glyphpoints.hpp"
 #include "rendering/grid.hpp"
-#include "widgets/custom_widgets.hpp"
+#include "widgets/customwidgets.hpp"
 #include "models/ttsettingscomboboxmodel.hpp"
 #include "panels/settingpanel.hpp"
 
diff --git a/src/ftinspect/meson.build b/src/ftinspect/meson.build
index 47f0cc3..8a2787a 100644
--- a/src/ftinspect/meson.build
+++ b/src/ftinspect/meson.build
@@ -28,7 +28,7 @@ if qt5_dep.found()
     'rendering/glyphpointnumbers.cpp',
     'rendering/glyphpoints.cpp',
     'rendering/grid.cpp',
-    'widgets/custom_widgets.cpp',
+    'widgets/customwidgets.cpp',
 
     'models/ttsettingscomboboxmodel.cpp',
 
@@ -41,7 +41,7 @@ if qt5_dep.found()
   moc_files = qt5.preprocess(
     moc_headers: [
       'engine/fontfilemanager.hpp',
-      'widgets/custom_widgets.hpp',
+      'widgets/customwidgets.hpp',
       'models/ttsettingscomboboxmodel.hpp',
       'panels/settingpanel.hpp',
       'maingui.hpp',
diff --git a/src/ftinspect/widgets/custom_widgets.cpp 
b/src/ftinspect/widgets/customwidgets.cpp
similarity index 99%
rename from src/ftinspect/widgets/custom_widgets.cpp
rename to src/ftinspect/widgets/customwidgets.cpp
index f0969d7..e49ed59 100644
--- a/src/ftinspect/widgets/custom_widgets.cpp
+++ b/src/ftinspect/widgets/customwidgets.cpp
@@ -2,7 +2,7 @@
 
 // Copyright (C) 2016-2022 by Werner Lemberg.
 
-#include "custom_widgets.hpp"
+#include "customwidgets.hpp"
 
 #include <qevent.h>
 #include <QStandardItemModel>
diff --git a/src/ftinspect/widgets/custom_widgets.hpp 
b/src/ftinspect/widgets/customwidgets.hpp
similarity index 100%
rename from src/ftinspect/widgets/custom_widgets.hpp
rename to src/ftinspect/widgets/customwidgets.hpp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]