summaryrefslogtreecommitdiffstats
path: root/src/qalculateinsertmatrixvectordialog.cpp
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2021-08-07 11:45:47 +0200
committerSlávek Banko <[email protected]>2021-08-18 01:21:36 +0200
commit776ef1e137b59624bfb902cfa3c427be976caed2 (patch)
tree4987616f4974e476902179004bc471e2ae28dfa6 /src/qalculateinsertmatrixvectordialog.cpp
parent2b195ec5b27f1df53d81d29683d4a9f2810482fb (diff)
downloadqalculate-tde-776ef1e137b59624bfb902cfa3c427be976caed2.tar.gz
qalculate-tde-776ef1e137b59624bfb902cfa3c427be976caed2.zip
Conversion to the cmake building system.
Added a man page taken from the Debian packaging system. Changed the doc folder's layout. Signed-off-by: gregory guy <[email protected]> CMake: Use tde_add_project_translations common macro. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 2fe98299baff89c26b594704ea6baf6bd8336346)
Diffstat (limited to 'src/qalculateinsertmatrixvectordialog.cpp')
-rw-r--r--src/qalculateinsertmatrixvectordialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/qalculateinsertmatrixvectordialog.cpp b/src/qalculateinsertmatrixvectordialog.cpp
index 07835aa..d8791e9 100644
--- a/src/qalculateinsertmatrixvectordialog.cpp
+++ b/src/qalculateinsertmatrixvectordialog.cpp
@@ -170,7 +170,7 @@ void QalculateInsertMatrixVectorDialog::slotOk() {
TQString str2 = elementsTable->text(index_r, index_c).stripWhiteSpace();
if(!str2.isEmpty()) {
if(b) {
- matrixstr += CALCULATOR->getComma();
+ matrixstr += CALCULATOR->getComma().c_str();
matrixstr += " ";
} else {
b = true;
@@ -186,7 +186,7 @@ void QalculateInsertMatrixVectorDialog::slotOk() {
bool b1 = false;
for(int index_r = 0; index_r < r; index_r++) {
if(b1) {
- matrixstr += CALCULATOR->getComma();
+ matrixstr += CALCULATOR->getComma().c_str();
matrixstr += " ";
} else {
b1 = true;
@@ -195,7 +195,7 @@ void QalculateInsertMatrixVectorDialog::slotOk() {
bool b2 = false;
for(int index_c = 0; index_c < c; index_c++) {
if(b2) {
- matrixstr += CALCULATOR->getComma();
+ matrixstr += CALCULATOR->getComma().c_str();
matrixstr += " ";
} else {
b2 = true;
@@ -219,7 +219,7 @@ void QalculateInsertMatrixVectorDialog::insertSelection() {
TQString str2 = elementsTable->text(index_r, index_c).stripWhiteSpace();
if(!str2.isEmpty()) {
if(b) {
- matrixstr += CALCULATOR->getComma();
+ matrixstr += CALCULATOR->getComma().c_str();
matrixstr += " ";
} else {
b = true;
@@ -235,7 +235,7 @@ void QalculateInsertMatrixVectorDialog::insertSelection() {
bool b1 = false;
for(int index_r = sel.topRow(); index_r <= sel.bottomRow(); index_r++) {
if(b1) {
- matrixstr += CALCULATOR->getComma();
+ matrixstr += CALCULATOR->getComma().c_str();
matrixstr += " ";
} else {
b1 = true;
@@ -244,7 +244,7 @@ void QalculateInsertMatrixVectorDialog::insertSelection() {
bool b2 = false;
for(int index_c = sel.leftCol(); index_c <= sel.rightCol(); index_c++) {
if(b2) {
- matrixstr += CALCULATOR->getComma();
+ matrixstr += CALCULATOR->getComma().c_str();
matrixstr += " ";
} else {
b2 = true;