void RKTextMatrix::setColumn (int column, const QString* textarray, int length) { RK_TRACE (EDITOR); upsize (length - 1, column); for (int i = 0; i < length; ++i) { rows[i][column] = textarray[i]; } }
void RKTextMatrix::appendRow (const QStringList& row) { RK_TRACE (EDITOR); QStringList _row = row; while (colcount > _row.size ()) _row.append (QString ()); rows.append (_row); upsize (rows.size ()-1, row.size ()-1); }
static void dopush(Dataptr matrix, Treestack *sp, const Branch *const barray, const long root) /* push tree in barray (of root root) on to stack *sp */ { lvb_assert(sp->next <= sp->size); if (sp->next == sp->size) upsize(matrix, sp); treecopy(matrix, sp->stack[sp->next].tree, barray); sp->stack[sp->next].root = root; sp->next++; } /* end dopush() */
void RKTextMatrix::setText (int row, int col, const QString& text) { // RK_TRACE (EDITOR); upsize (row, col); rows[row][col] = text; }