From 931f81f9fe49f3fe339bb3cb23501393bfbb2d0a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 11 Dec 2020 16:15:55 +0900 Subject: [PATCH] Renaming of files in preparation for code style tools. Signed-off-by: Michele Calgaro --- kbackgammon/Makefile.am | 2 +- konquest/CMakeLists.txt | 6 +++--- konquest/ChangeLog | 8 ++++---- konquest/{Konquest.cc => Konquest.cpp} | 0 konquest/Makefile.am | 8 ++++---- konquest/{fleetdlg.cc => fleetdlg.cpp} | 0 konquest/{gameboard.cc => gameboard.cpp} | 0 konquest/{gamecore.cc => gamecore.cpp} | 0 konquest/{gameenddlg.cc => gameenddlg.cpp} | 0 konquest/{int_validator.cc => int_validator.cpp} | 0 konquest/{mainwin.cc => mainwin.cpp} | 0 konquest/{map_widget.cc => map_widget.cpp} | 0 konquest/{minimap.cc => minimap.cpp} | 0 konquest/{newgamedlg.cc => newgamedlg.cpp} | 0 konquest/{planet_info.cc => planet_info.cpp} | 0 konquest/{scoredlg.cc => scoredlg.cpp} | 0 libtdegames/Makefile.am | 2 +- libtdegames/kgame/Makefile.am | 2 +- libtdegames/kgame/dialogs/Makefile.am | 2 +- 19 files changed, 15 insertions(+), 15 deletions(-) rename konquest/{Konquest.cc => Konquest.cpp} (100%) rename konquest/{fleetdlg.cc => fleetdlg.cpp} (100%) rename konquest/{gameboard.cc => gameboard.cpp} (100%) rename konquest/{gamecore.cc => gamecore.cpp} (100%) rename konquest/{gameenddlg.cc => gameenddlg.cpp} (100%) rename konquest/{int_validator.cc => int_validator.cpp} (100%) rename konquest/{mainwin.cc => mainwin.cpp} (100%) rename konquest/{map_widget.cc => map_widget.cpp} (100%) rename konquest/{minimap.cc => minimap.cpp} (100%) rename konquest/{newgamedlg.cc => newgamedlg.cpp} (100%) rename konquest/{planet_info.cc => planet_info.cpp} (100%) rename konquest/{scoredlg.cc => scoredlg.cpp} (100%) diff --git a/kbackgammon/Makefile.am b/kbackgammon/Makefile.am index 1b4422df..49b553f9 100644 --- a/kbackgammon/Makefile.am +++ b/kbackgammon/Makefile.am @@ -16,6 +16,6 @@ rcdir = $(kde_datadir)/kbackgammon rc_DATA = kbackgammonui.rc eventsrc messages: rc.cpp - LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.c -o -name \*.ecpp -o -name \*.C`; \ + LIST=`find . -name \*.h -o -name \*.cpp -o -name \*.c`; \ $(XGETTEXT) $$LIST -o $(podir)/kbackgammon.pot diff --git a/konquest/CMakeLists.txt b/konquest/CMakeLists.txt index 88e56e8d..79bfa0b4 100644 --- a/konquest/CMakeLists.txt +++ b/konquest/CMakeLists.txt @@ -19,9 +19,9 @@ link_directories( ##### konquest (executable) ##################### tde_add_executable( konquest AUTOMOC - SOURCES Konquest.cc gameboard.cc gamecore.cc int_validator.cc mainwin.cc - map_widget.cc minimap.cc newgamedlg.cc planet_info.cc gameenddlg.cc - scoredlg.cc fleetdlg.cc newGameDlg_ui.ui + SOURCES Konquest.cpp gameboard.cpp gamecore.cpp int_validator.cpp mainwin.cpp + map_widget.cpp minimap.cpp newgamedlg.cpp planet_info.cpp gameenddlg.cpp + scoredlg.cpp fleetdlg.cpp newGameDlg_ui.ui LINK tdecore-shared tdeui-shared tdeio-shared tdegames-shared DESTINATION ${BIN_INSTALL_DIR} ) diff --git a/konquest/ChangeLog b/konquest/ChangeLog index 0601252e..74a128b1 100644 --- a/konquest/ChangeLog +++ b/konquest/ChangeLog @@ -5,16 +5,16 @@ 2004-08-22 Inge Wallin - * gameboard.cc (nextTurn): Fixed a grammatical error. + * gameboard.cpp (nextTurn): Fixed a grammatical error. 0.99.4 -- Brought the KDE CVS tree in sync with my own. Changes from previous version - include: + include: -- removed dependence on libg++ random integer classes - -- fixed a couple of problems with the game state machine. + -- fixed a couple of problems with the game state machine. 0.0.4 -- - Fixed (hopefully) a compiler error. gamecore.cc would compile fine with + Fixed (hopefully) a compiler error. gamecore.cpp would compile fine with debug (-g), but not with the optimizer (-O2). Added a destructor and things seem okay. diff --git a/konquest/Konquest.cc b/konquest/Konquest.cpp similarity index 100% rename from konquest/Konquest.cc rename to konquest/Konquest.cpp diff --git a/konquest/Makefile.am b/konquest/Makefile.am index 96dc993a..0f8f4ce0 100644 --- a/konquest/Makefile.am +++ b/konquest/Makefile.am @@ -4,9 +4,9 @@ INCLUDES= -I$(top_srcdir)/libtdegames $(all_includes) KDE_ICON = konquest bin_PROGRAMS = konquest -konquest_SOURCES = Konquest.cc gameboard.cc gamecore.cc int_validator.cc \ - mainwin.cc map_widget.cc minimap.cc newgamedlg.cc planet_info.cc \ - gameenddlg.cc scoredlg.cc fleetdlg.cc newGameDlg_ui.ui +konquest_SOURCES = Konquest.cpp gameboard.cpp gamecore.cpp int_validator.cpp \ + mainwin.cpp map_widget.cpp minimap.cpp newgamedlg.cpp planet_info.cpp \ + gameenddlg.cpp scoredlg.cpp fleetdlg.cpp newGameDlg_ui.ui konquest_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor konquest_LDADD = $(LIB_TDEGAMES) konquest_DEPENDENCIES = $(LIB_TDEGAMES_DEP) @@ -20,4 +20,4 @@ rcdir = $(kde_datadir)/konquest rc_DATA = konquestui.rc messages: rc.cpp - $(XGETTEXT) rc.cpp *.cc -o $(podir)/konquest.pot + $(XGETTEXT) rc.cpp $(podir)/konquest.pot diff --git a/konquest/fleetdlg.cc b/konquest/fleetdlg.cpp similarity index 100% rename from konquest/fleetdlg.cc rename to konquest/fleetdlg.cpp diff --git a/konquest/gameboard.cc b/konquest/gameboard.cpp similarity index 100% rename from konquest/gameboard.cc rename to konquest/gameboard.cpp diff --git a/konquest/gamecore.cc b/konquest/gamecore.cpp similarity index 100% rename from konquest/gamecore.cc rename to konquest/gamecore.cpp diff --git a/konquest/gameenddlg.cc b/konquest/gameenddlg.cpp similarity index 100% rename from konquest/gameenddlg.cc rename to konquest/gameenddlg.cpp diff --git a/konquest/int_validator.cc b/konquest/int_validator.cpp similarity index 100% rename from konquest/int_validator.cc rename to konquest/int_validator.cpp diff --git a/konquest/mainwin.cc b/konquest/mainwin.cpp similarity index 100% rename from konquest/mainwin.cc rename to konquest/mainwin.cpp diff --git a/konquest/map_widget.cc b/konquest/map_widget.cpp similarity index 100% rename from konquest/map_widget.cc rename to konquest/map_widget.cpp diff --git a/konquest/minimap.cc b/konquest/minimap.cpp similarity index 100% rename from konquest/minimap.cc rename to konquest/minimap.cpp diff --git a/konquest/newgamedlg.cc b/konquest/newgamedlg.cpp similarity index 100% rename from konquest/newgamedlg.cc rename to konquest/newgamedlg.cpp diff --git a/konquest/planet_info.cc b/konquest/planet_info.cpp similarity index 100% rename from konquest/planet_info.cc rename to konquest/planet_info.cpp diff --git a/konquest/scoredlg.cc b/konquest/scoredlg.cpp similarity index 100% rename from konquest/scoredlg.cc rename to konquest/scoredlg.cpp diff --git a/libtdegames/Makefile.am b/libtdegames/Makefile.am index 7fec27d4..67fbed02 100644 --- a/libtdegames/Makefile.am +++ b/libtdegames/Makefile.am @@ -18,6 +18,6 @@ METASOURCES = AUTO SUBDIRS = carddecks highscore kgame pics messages: - $(XGETTEXT) `find . -name \*.h -o -name \*.cpp -o -name \*.cc` -o $(podir)/libtdegames.pot + $(XGETTEXT) `find . -name \*.h -o -name \*.cpp` -o $(podir)/libtdegames.pot include ../admin/Doxyfile.am diff --git a/libtdegames/kgame/Makefile.am b/libtdegames/kgame/Makefile.am index f49bc653..1c427178 100644 --- a/libtdegames/kgame/Makefile.am +++ b/libtdegames/kgame/Makefile.am @@ -25,5 +25,5 @@ METASOURCES = AUTO SUBDIRS = . dialogs messages: -# $(XGETTEXT) `find . -name \*.h -o -name \*.cpp -o -name \*.cc` -o $(podir)/libtdegames.pot +# $(XGETTEXT) `find . -name \*.h -o -name \*.cpp` -o $(podir)/libtdegames.pot diff --git a/libtdegames/kgame/dialogs/Makefile.am b/libtdegames/kgame/dialogs/Makefile.am index f3c1adbe..f44a3d07 100644 --- a/libtdegames/kgame/dialogs/Makefile.am +++ b/libtdegames/kgame/dialogs/Makefile.am @@ -13,5 +13,5 @@ INCLUDES = -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/kgame $(all_i METASOURCES = AUTO messages: -# $(XGETTEXT) `find . -name \*.h -o -name \*.cpp -o -name \*.cc` -o $(podir)/libtdegames.pot +# $(XGETTEXT) `find . -name \*.h -o -name \*.cpp` -o $(podir)/libtdegames.pot