summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-sheet/sheet.h
authorthufir <thufir>2002-10-08 16:43:57 (UTC)
committer thufir <thufir>2002-10-08 16:43:57 (UTC)
commit9475b63d025c1ca386764784b7dad460935f45b0 (patch) (side-by-side diff)
treef0b209ab08afb75e94f6d3f2b0ff4bc235774cbd /noncore/apps/opie-sheet/sheet.h
parent76fb8a57bf9fbae3a7073c8b0be1216f34adf99c (diff)
downloadopie-9475b63d025c1ca386764784b7dad460935f45b0.zip
opie-9475b63d025c1ca386764784b7dad460935f45b0.tar.gz
opie-9475b63d025c1ca386764784b7dad460935f45b0.tar.bz2
fixed bug #250
Diffstat (limited to 'noncore/apps/opie-sheet/sheet.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-sheet/sheet.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/apps/opie-sheet/sheet.h b/noncore/apps/opie-sheet/sheet.h
index f78a684..f4e9d38 100644
--- a/noncore/apps/opie-sheet/sheet.h
+++ b/noncore/apps/opie-sheet/sheet.h
@@ -44,23 +44,25 @@ class Sheet: public QTable
typeCellBorders defaultBorders;
typeCellData defaultCellData;
// QT objects
QList<typeCellData> sheetData, clipboardData;
QString pressedCell, releasedCell, sheetName;
+ QStringList listDataParser;
// Private functions
int getOperatorPriority(char oper);
bool findRowColumn(const QString &variable, int *row, int *col, bool giveError=FALSE);
+ QString findCellName(int row, int col);
bool findRange(const QString &variable1, const QString &variable2, int *row1, int *col1, int *row2, int *col2);
double calculateVariable(const QString &variable);
double calculateFunction(const QString &function, const QString &parameters);
QChar popCharStack(QStack<QChar> *stackChars);
QString popStringStack(QStack<QString> *stackStrings);
QString getParameter(const QString &parameters, int paramNo, bool giveError=FALSE, const QString funcName="");
- QString dataParser(const QString &data);
+ QString dataParser(const QString &cell, const QString &data);
QString dataParserHelper(const QString &data);
typeCellData *createCellData(int row, int col);
typeCellData *findCellData(int row, int col);
void pushCharStack(QStack<QChar> *stackChars, const QChar &character);
void pushStringStack(QStack<QString> *stackStrings, const QString &string);