diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-12-16 17:43:36 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-12-16 22:23:19 +0900 |
commit | 7d4f47bd0bf7544dbd7f64ed4089e80780c1d2bd (patch) | |
tree | f7e3d4f8731326ee1ee3fdeae370e7528a89c652 /kbabel | |
parent | d24f40d9befa84da067a756437c70e20461b511b (diff) | |
download | tdesdk-7d4f47bd0bf7544dbd7f64ed4089e80780c1d2bd.tar.gz tdesdk-7d4f47bd0bf7544dbd7f64ed4089e80780c1d2bd.zip |
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kbabel')
41 files changed, 32 insertions, 32 deletions
diff --git a/kbabel/Makefile.am b/kbabel/Makefile.am index c38a56f3..bb902d4f 100644 --- a/kbabel/Makefile.am +++ b/kbabel/Makefile.am @@ -4,5 +4,5 @@ SUBDIRS = common filters datatools kbabeldict commonui catalogmanager kbabel add messages: rc.cpp $(EXTRACTRC) `find . -name \*.rc -o -name \*.ui` >> rc.cpp - $(XGETTEXT) `find . -name \*.cpp -o -name \*.cc` -o $(podir)/kbabel.pot + $(XGETTEXT) `find . -name \*.cpp` -o $(podir)/kbabel.pot diff --git a/kbabel/common/libgettext/CMakeLists.txt b/kbabel/common/libgettext/CMakeLists.txt index 6e118d64..a82d9826 100644 --- a/kbabel/common/libgettext/CMakeLists.txt +++ b/kbabel/common/libgettext/CMakeLists.txt @@ -17,7 +17,7 @@ include_directories( ) -##### pofiles.cc (source) ####################### +##### pofiles.cpp (source) ####################### add_custom_command( OUTPUT pofiles.cpp COMMAND ${LEX_EXECUTABLE} -+ -opofiles.cpp ${CMAKE_CURRENT_SOURCE_DIR}/pofiles.ll diff --git a/kbabel/common/libgettext/Makefile.am b/kbabel/common/libgettext/Makefile.am index 6f5f4fe2..304e2537 100644 --- a/kbabel/common/libgettext/Makefile.am +++ b/kbabel/common/libgettext/Makefile.am @@ -5,13 +5,13 @@ INCLUDES=$(all_includes) #LEX_OUTPUT_ROOT = lex.GettextBase #AM_LFLAGS = -+ -CLEANFILES = pofiles.cc +CLEANFILES = pofiles.cpp noinst_LTLIBRARIES = libgettext.la -libgettext_la_SOURCES = pofiles.cc +libgettext_la_SOURCES = pofiles.cpp -pofiles.cc: $(srcdir)/pofiles.ll - $(LEX) -+ -opofiles.cc $(srcdir)/pofiles.ll +pofiles.cpp: $(srcdir)/pofiles.ll + $(LEX) -+ -opofiles.cpp $(srcdir)/pofiles.ll noinst_HEADERS = tokens.h pofiles.h diff --git a/kbabel/datatools/accelerators/CMakeLists.txt b/kbabel/datatools/accelerators/CMakeLists.txt index 9e9567db..5dcfc21e 100644 --- a/kbabel/datatools/accelerators/CMakeLists.txt +++ b/kbabel/datatools/accelerators/CMakeLists.txt @@ -34,7 +34,7 @@ tde_create_translated_desktop( ##### kbabel_accelstool (module) ################ tde_add_kpart( kbabel_accelstool AUTOMOC - SOURCES main.cc + SOURCES main.cpp LINK kbabelcommon-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kbabel/datatools/accelerators/Makefile.am b/kbabel/datatools/accelerators/Makefile.am index 5ee57aae..4eff4d91 100644 --- a/kbabel/datatools/accelerators/Makefile.am +++ b/kbabel/datatools/accelerators/Makefile.am @@ -6,7 +6,7 @@ kbabel_accelstool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la kde_module_LTLIBRARIES = kbabel_accelstool.la -kbabel_accelstool_la_SOURCES = main.cc +kbabel_accelstool_la_SOURCES = main.cpp kbabel_accelstool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined diff --git a/kbabel/datatools/accelerators/main.cc b/kbabel/datatools/accelerators/main.cpp index 0c7cae3a..0c7cae3a 100644 --- a/kbabel/datatools/accelerators/main.cc +++ b/kbabel/datatools/accelerators/main.cpp diff --git a/kbabel/datatools/arguments/CMakeLists.txt b/kbabel/datatools/arguments/CMakeLists.txt index a767a0e6..7a532ce2 100644 --- a/kbabel/datatools/arguments/CMakeLists.txt +++ b/kbabel/datatools/arguments/CMakeLists.txt @@ -34,7 +34,7 @@ tde_create_translated_desktop( ##### kbabel_argstool (module) ####################### tde_add_kpart( kbabel_argstool AUTOMOC - SOURCES main.cc + SOURCES main.cpp LINK kbabelcommon-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kbabel/datatools/arguments/Makefile.am b/kbabel/datatools/arguments/Makefile.am index ab4e2f01..104b9c8d 100644 --- a/kbabel/datatools/arguments/Makefile.am +++ b/kbabel/datatools/arguments/Makefile.am @@ -6,7 +6,7 @@ kbabel_argstool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la kde_module_LTLIBRARIES = kbabel_argstool.la -kbabel_argstool_la_SOURCES = main.cc +kbabel_argstool_la_SOURCES = main.cpp kbabel_argstool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined diff --git a/kbabel/datatools/arguments/main.cc b/kbabel/datatools/arguments/main.cpp index b6c3fa5a..b6c3fa5a 100644 --- a/kbabel/datatools/arguments/main.cc +++ b/kbabel/datatools/arguments/main.cpp diff --git a/kbabel/datatools/context/CMakeLists.txt b/kbabel/datatools/context/CMakeLists.txt index c448cca1..94781fef 100644 --- a/kbabel/datatools/context/CMakeLists.txt +++ b/kbabel/datatools/context/CMakeLists.txt @@ -34,7 +34,7 @@ tde_create_translated_desktop( ##### kbabel_contexttool (module) ############### tde_add_kpart( kbabel_contexttool AUTOMOC - SOURCES main.cc + SOURCES main.cpp LINK kbabelcommon-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kbabel/datatools/context/Makefile.am b/kbabel/datatools/context/Makefile.am index 3b56628a..6dca7415 100644 --- a/kbabel/datatools/context/Makefile.am +++ b/kbabel/datatools/context/Makefile.am @@ -6,7 +6,7 @@ kbabel_contexttool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la kde_module_LTLIBRARIES = kbabel_contexttool.la -kbabel_contexttool_la_SOURCES = main.cc +kbabel_contexttool_la_SOURCES = main.cpp kbabel_contexttool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined diff --git a/kbabel/datatools/context/main.cc b/kbabel/datatools/context/main.cpp index 0fb989d2..0fb989d2 100644 --- a/kbabel/datatools/context/main.cc +++ b/kbabel/datatools/context/main.cpp diff --git a/kbabel/datatools/equations/CMakeLists.txt b/kbabel/datatools/equations/CMakeLists.txt index f7b60f01..e4dd4a39 100644 --- a/kbabel/datatools/equations/CMakeLists.txt +++ b/kbabel/datatools/equations/CMakeLists.txt @@ -34,7 +34,7 @@ tde_create_translated_desktop( ##### kbabel_equationstool (module) ############# tde_add_kpart( kbabel_equationstool AUTOMOC - SOURCES main.cc + SOURCES main.cpp LINK kbabelcommon-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kbabel/datatools/equations/Makefile.am b/kbabel/datatools/equations/Makefile.am index dac35e6f..48b0f6bc 100644 --- a/kbabel/datatools/equations/Makefile.am +++ b/kbabel/datatools/equations/Makefile.am @@ -6,7 +6,7 @@ kbabel_equationstool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la kde_module_LTLIBRARIES = kbabel_equationstool.la -kbabel_equationstool_la_SOURCES = main.cc +kbabel_equationstool_la_SOURCES = main.cpp kbabel_equationstool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined diff --git a/kbabel/datatools/equations/main.cc b/kbabel/datatools/equations/main.cpp index c0dbbba2..c0dbbba2 100644 --- a/kbabel/datatools/equations/main.cc +++ b/kbabel/datatools/equations/main.cpp diff --git a/kbabel/datatools/length/CMakeLists.txt b/kbabel/datatools/length/CMakeLists.txt index 8750dbc5..df075cad 100644 --- a/kbabel/datatools/length/CMakeLists.txt +++ b/kbabel/datatools/length/CMakeLists.txt @@ -34,7 +34,7 @@ tde_create_translated_desktop( ##### kbabel_lengthtool (module) ################ tde_add_kpart( kbabel_lengthtool AUTOMOC - SOURCES main.cc + SOURCES main.cpp LINK kbabelcommon-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kbabel/datatools/length/Makefile.am b/kbabel/datatools/length/Makefile.am index 2359a95b..dc8e2867 100644 --- a/kbabel/datatools/length/Makefile.am +++ b/kbabel/datatools/length/Makefile.am @@ -6,7 +6,7 @@ kbabel_lengthtool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la kde_module_LTLIBRARIES = kbabel_lengthtool.la -kbabel_lengthtool_la_SOURCES = main.cc +kbabel_lengthtool_la_SOURCES = main.cpp kbabel_lengthtool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined diff --git a/kbabel/datatools/length/main.cc b/kbabel/datatools/length/main.cpp index f1c295eb..f1c295eb 100644 --- a/kbabel/datatools/length/main.cc +++ b/kbabel/datatools/length/main.cpp diff --git a/kbabel/datatools/not-translated/CMakeLists.txt b/kbabel/datatools/not-translated/CMakeLists.txt index 59d36138..41da20a1 100644 --- a/kbabel/datatools/not-translated/CMakeLists.txt +++ b/kbabel/datatools/not-translated/CMakeLists.txt @@ -34,7 +34,7 @@ tde_create_translated_desktop( ##### kbabel_nottranslatedtool (module) ######### tde_add_kpart( kbabel_nottranslatedtool AUTOMOC - SOURCES main.cc + SOURCES main.cpp LINK kbabelcommon-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kbabel/datatools/not-translated/Makefile.am b/kbabel/datatools/not-translated/Makefile.am index 40299023..52a88ca9 100644 --- a/kbabel/datatools/not-translated/Makefile.am +++ b/kbabel/datatools/not-translated/Makefile.am @@ -6,7 +6,7 @@ kbabel_nottranslatedtool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.l kde_module_LTLIBRARIES = kbabel_nottranslatedtool.la -kbabel_nottranslatedtool_la_SOURCES = main.cc +kbabel_nottranslatedtool_la_SOURCES = main.cpp kbabel_nottranslatedtool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined diff --git a/kbabel/datatools/not-translated/main.cc b/kbabel/datatools/not-translated/main.cpp index 68093191..68093191 100644 --- a/kbabel/datatools/not-translated/main.cc +++ b/kbabel/datatools/not-translated/main.cpp diff --git a/kbabel/datatools/pluralforms/CMakeLists.txt b/kbabel/datatools/pluralforms/CMakeLists.txt index 2a86d0c3..80b3f102 100644 --- a/kbabel/datatools/pluralforms/CMakeLists.txt +++ b/kbabel/datatools/pluralforms/CMakeLists.txt @@ -34,7 +34,7 @@ tde_create_translated_desktop( ##### kbabel_pluraltool (module) ################ tde_add_kpart( kbabel_pluraltool AUTOMOC - SOURCES main.cc + SOURCES main.cpp LINK kbabelcommon-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kbabel/datatools/pluralforms/Makefile.am b/kbabel/datatools/pluralforms/Makefile.am index 951e08cb..53ea610d 100644 --- a/kbabel/datatools/pluralforms/Makefile.am +++ b/kbabel/datatools/pluralforms/Makefile.am @@ -6,7 +6,7 @@ kbabel_pluraltool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la kde_module_LTLIBRARIES = kbabel_pluraltool.la -kbabel_pluraltool_la_SOURCES = main.cc +kbabel_pluraltool_la_SOURCES = main.cpp kbabel_pluraltool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined diff --git a/kbabel/datatools/pluralforms/main.cc b/kbabel/datatools/pluralforms/main.cpp index 693a843b..693a843b 100644 --- a/kbabel/datatools/pluralforms/main.cc +++ b/kbabel/datatools/pluralforms/main.cpp diff --git a/kbabel/datatools/punctuation/CMakeLists.txt b/kbabel/datatools/punctuation/CMakeLists.txt index b325342f..d096dcf5 100644 --- a/kbabel/datatools/punctuation/CMakeLists.txt +++ b/kbabel/datatools/punctuation/CMakeLists.txt @@ -34,7 +34,7 @@ tde_create_translated_desktop( ##### kbabel_punctuationtool (module) ########### tde_add_kpart( kbabel_punctuationtool AUTOMOC - SOURCES main.cc + SOURCES main.cpp LINK kbabelcommon-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kbabel/datatools/punctuation/Makefile.am b/kbabel/datatools/punctuation/Makefile.am index 1aceb053..c30ada47 100644 --- a/kbabel/datatools/punctuation/Makefile.am +++ b/kbabel/datatools/punctuation/Makefile.am @@ -6,7 +6,7 @@ kbabel_punctuationtool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la kde_module_LTLIBRARIES = kbabel_punctuationtool.la -kbabel_punctuationtool_la_SOURCES = main.cc +kbabel_punctuationtool_la_SOURCES = main.cpp kbabel_punctuationtool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined diff --git a/kbabel/datatools/punctuation/main.cc b/kbabel/datatools/punctuation/main.cpp index 6d779518..6d779518 100644 --- a/kbabel/datatools/punctuation/main.cc +++ b/kbabel/datatools/punctuation/main.cpp diff --git a/kbabel/datatools/regexp/CMakeLists.txt b/kbabel/datatools/regexp/CMakeLists.txt index 77e4553b..e75b53a4 100644 --- a/kbabel/datatools/regexp/CMakeLists.txt +++ b/kbabel/datatools/regexp/CMakeLists.txt @@ -36,7 +36,7 @@ install( FILES regexplist.xml DESTINATION ${DATA_INSTALL_DIR}/kbabel ) ##### kbabel_regexptool (module) ################ tde_add_kpart( kbabel_regexptool AUTOMOC - SOURCES main.cc + SOURCES main.cpp LINK kbabelcommon-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kbabel/datatools/regexp/Makefile.am b/kbabel/datatools/regexp/Makefile.am index 42ebe1cb..cc574668 100644 --- a/kbabel/datatools/regexp/Makefile.am +++ b/kbabel/datatools/regexp/Makefile.am @@ -6,7 +6,7 @@ kbabel_regexptool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la kde_module_LTLIBRARIES = kbabel_regexptool.la -kbabel_regexptool_la_SOURCES = main.cc +kbabel_regexptool_la_SOURCES = main.cpp kbabel_regexptool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined diff --git a/kbabel/datatools/regexp/main.cc b/kbabel/datatools/regexp/main.cpp index e500728e..e500728e 100644 --- a/kbabel/datatools/regexp/main.cc +++ b/kbabel/datatools/regexp/main.cpp diff --git a/kbabel/datatools/regexp/regexplist.xml b/kbabel/datatools/regexp/regexplist.xml index 72f647cb..39624092 100644 --- a/kbabel/datatools/regexp/regexplist.xml +++ b/kbabel/datatools/regexp/regexplist.xml @@ -10,7 +10,7 @@ ... </regexplist> - Right now the file should be copied to ~/.trinity/share/apps/kbabel/regexplist.xml. I'm sorry this cannot be configured but hope it will in the future. By the time if you need another location you have to modify the source code (main.cc) + Right now the file should be copied to ~/.trinity/share/apps/kbabel/regexplist.xml. I'm sorry this cannot be configured but hope it will in the future. By the time if you need another location you have to modify the source code (main.cpp) You'll see in the example that most expressions start with '(^| |\\t)+' and then a word. This is to ensure it _is_ a word. Using the usual expressions to ensure we pick up a whole word doesn't work for the catalan language. Anyway, if you need to match a tab be sure you use the '\\t' expression. @@ -300,4 +300,4 @@ </item> -</regexplist>
\ No newline at end of file +</regexplist> diff --git a/kbabel/datatools/setfuzzy/CMakeLists.txt b/kbabel/datatools/setfuzzy/CMakeLists.txt index 864a5030..5ccf8bac 100644 --- a/kbabel/datatools/setfuzzy/CMakeLists.txt +++ b/kbabel/datatools/setfuzzy/CMakeLists.txt @@ -34,7 +34,7 @@ tde_create_translated_desktop( ##### kbabel_setfuzzytool (module) ############## tde_add_kpart( kbabel_setfuzzytool AUTOMOC - SOURCES main.cc + SOURCES main.cpp LINK kbabelcommon-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kbabel/datatools/setfuzzy/Makefile.am b/kbabel/datatools/setfuzzy/Makefile.am index f1a5b8bc..1b84cb02 100644 --- a/kbabel/datatools/setfuzzy/Makefile.am +++ b/kbabel/datatools/setfuzzy/Makefile.am @@ -6,7 +6,7 @@ kbabel_setfuzzytool_la_LIBADD = ../../common/libkbabelcommon.la kde_module_LTLIBRARIES = kbabel_setfuzzytool.la -kbabel_setfuzzytool_la_SOURCES = main.cc +kbabel_setfuzzytool_la_SOURCES = main.cpp kbabel_setfuzzytool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined diff --git a/kbabel/datatools/setfuzzy/main.cc b/kbabel/datatools/setfuzzy/main.cpp index 7bc0ed16..7bc0ed16 100644 --- a/kbabel/datatools/setfuzzy/main.cc +++ b/kbabel/datatools/setfuzzy/main.cpp diff --git a/kbabel/datatools/whitespace/CMakeLists.txt b/kbabel/datatools/whitespace/CMakeLists.txt index 13f1c0f1..94784981 100644 --- a/kbabel/datatools/whitespace/CMakeLists.txt +++ b/kbabel/datatools/whitespace/CMakeLists.txt @@ -34,7 +34,7 @@ tde_create_translated_desktop( ##### kbabel_whitespacetool (module) ############ tde_add_kpart( kbabel_whitespacetool AUTOMOC - SOURCES main.cc + SOURCES main.cpp LINK kbabelcommon-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kbabel/datatools/whitespace/Makefile.am b/kbabel/datatools/whitespace/Makefile.am index eb3937fb..890d8dc1 100644 --- a/kbabel/datatools/whitespace/Makefile.am +++ b/kbabel/datatools/whitespace/Makefile.am @@ -6,7 +6,7 @@ kbabel_whitespacetool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la kde_module_LTLIBRARIES = kbabel_whitespacetool.la -kbabel_whitespacetool_la_SOURCES = main.cc +kbabel_whitespacetool_la_SOURCES = main.cpp kbabel_whitespacetool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined diff --git a/kbabel/datatools/whitespace/main.cc b/kbabel/datatools/whitespace/main.cpp index 06558211..06558211 100644 --- a/kbabel/datatools/whitespace/main.cc +++ b/kbabel/datatools/whitespace/main.cpp diff --git a/kbabel/datatools/xml/CMakeLists.txt b/kbabel/datatools/xml/CMakeLists.txt index 0fa9676d..ea47a588 100644 --- a/kbabel/datatools/xml/CMakeLists.txt +++ b/kbabel/datatools/xml/CMakeLists.txt @@ -34,7 +34,7 @@ tde_create_translated_desktop( ##### kbabel_xmltool (module) ################### tde_add_kpart( kbabel_xmltool AUTOMOC - SOURCES main.cc + SOURCES main.cpp LINK kbabelcommon-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kbabel/datatools/xml/Makefile.am b/kbabel/datatools/xml/Makefile.am index 3f116709..2fd2c28d 100644 --- a/kbabel/datatools/xml/Makefile.am +++ b/kbabel/datatools/xml/Makefile.am @@ -6,7 +6,7 @@ kbabel_xmltool_la_LIBADD = $(LIB_TDEIO) ../../common/libkbabelcommon.la kde_module_LTLIBRARIES = kbabel_xmltool.la -kbabel_xmltool_la_SOURCES = main.cc +kbabel_xmltool_la_SOURCES = main.cpp kbabel_xmltool_la_LDFLAGS = $(all_libraries) -avoid-version -module -no-undefined diff --git a/kbabel/datatools/xml/main.cc b/kbabel/datatools/xml/main.cpp index 59342c0d..59342c0d 100644 --- a/kbabel/datatools/xml/main.cc +++ b/kbabel/datatools/xml/main.cpp diff --git a/kbabel/kbabeldict/modules/dbsearchengine/makemsgdb.C b/kbabel/kbabeldict/modules/dbsearchengine/makemsgdb.cpp index a83d947b..a83d947b 100644 --- a/kbabel/kbabeldict/modules/dbsearchengine/makemsgdb.C +++ b/kbabel/kbabeldict/modules/dbsearchengine/makemsgdb.cpp |