summaryrefslogtreecommitdiffstats
path: root/kbabel/datatools/regexp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-12-16 17:43:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-12-16 22:23:19 +0900
commit7d4f47bd0bf7544dbd7f64ed4089e80780c1d2bd (patch)
treef7e3d4f8731326ee1ee3fdeae370e7528a89c652 /kbabel/datatools/regexp
parentd24f40d9befa84da067a756437c70e20461b511b (diff)
downloadtdesdk-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/datatools/regexp')
-rw-r--r--kbabel/datatools/regexp/CMakeLists.txt2
-rw-r--r--kbabel/datatools/regexp/Makefile.am2
-rw-r--r--kbabel/datatools/regexp/main.cpp (renamed from kbabel/datatools/regexp/main.cc)0
-rw-r--r--kbabel/datatools/regexp/regexplist.xml4
4 files changed, 4 insertions, 4 deletions
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>