From a54d6f7ceb482d4cbcaaaaaeea1dc9c236e5cc1a Mon Sep 17 00:00:00 2001 From: kokkiemouse Date: Wed, 11 Nov 2020 22:53:56 +0900 Subject: [PATCH] f i x e d Signed-off-by: kokkiemouse --- .gitignore | 1 - system/cpp-src/mkalteriso/qstringls_to_str.cpp | 8 ++++++++ system/cpp-src/mkalteriso/qstringls_to_str.h | 5 +++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 system/cpp-src/mkalteriso/qstringls_to_str.cpp create mode 100644 system/cpp-src/mkalteriso/qstringls_to_str.h diff --git a/.gitignore b/.gitignore index 5345e830..98be8546 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,6 @@ *.sig .build_option system/mkalteriso -system/cpp-src/mkalteriso system/cpp-src/mkalteriso/build/ pkg/ src/ diff --git a/system/cpp-src/mkalteriso/qstringls_to_str.cpp b/system/cpp-src/mkalteriso/qstringls_to_str.cpp new file mode 100644 index 00000000..17cf33a4 --- /dev/null +++ b/system/cpp-src/mkalteriso/qstringls_to_str.cpp @@ -0,0 +1,8 @@ +#include "qstringls_to_str.h" +QString qstrls_to_qstr(QStringList lskun){ + QString return_str=""; + for (QString contentkun:lskun) { + return_str += contentkun + " "; + } + return return_str; +} diff --git a/system/cpp-src/mkalteriso/qstringls_to_str.h b/system/cpp-src/mkalteriso/qstringls_to_str.h new file mode 100644 index 00000000..f12c79c6 --- /dev/null +++ b/system/cpp-src/mkalteriso/qstringls_to_str.h @@ -0,0 +1,5 @@ +#ifndef QSTRINGLS_TO_STR_H +#define QSTRINGLS_TO_STR_H +#include +QString qstrls_to_qstr(QStringList); +#endif // QSTRINGLS_TO_STR_H -- 2.11.0