summaryrefslogtreecommitdiffstats
path: root/src/qalculateinsertmatrixvectordialog.cpp
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-08-07 11:45:47 +0200
committergregory guy <gregory-tde@laposte.net>2021-08-17 11:12:56 +0200
commit2fe98299baff89c26b594704ea6baf6bd8336346 (patch)
tree66a3169b6f1af61b0e49bb1a258e619171295e2a /src/qalculateinsertmatrixvectordialog.cpp
parentf5cb5376886b7394cfbc7d84acac65f5181affcd (diff)
downloadqalculate-tde-2fe98299baff89c26b594704ea6baf6bd8336346.tar.gz
qalculate-tde-2fe98299baff89c26b594704ea6baf6bd8336346.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 <gregory-tde@laposte.net> CMake: Use tde_add_project_translations common macro. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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;