Diffstat (limited to 'noncore/apps/opie-sheet/sheet.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-sheet/sheet.h | 4 |
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 | |||
44 | typeCellBorders defaultBorders; | 44 | typeCellBorders defaultBorders; |
45 | typeCellData defaultCellData; | 45 | typeCellData defaultCellData; |
46 | 46 | ||
47 | // QT objects | 47 | // QT objects |
48 | QList<typeCellData> sheetData, clipboardData; | 48 | QList<typeCellData> sheetData, clipboardData; |
49 | QString pressedCell, releasedCell, sheetName; | 49 | QString pressedCell, releasedCell, sheetName; |
50 | QStringList listDataParser; | ||
50 | 51 | ||
51 | // Private functions | 52 | // Private functions |
52 | int getOperatorPriority(char oper); | 53 | int getOperatorPriority(char oper); |
53 | bool findRowColumn(const QString &variable, int *row, int *col, bool giveError=FALSE); | 54 | bool findRowColumn(const QString &variable, int *row, int *col, bool giveError=FALSE); |
55 | QString findCellName(int row, int col); | ||
54 | bool findRange(const QString &variable1, const QString &variable2, int *row1, int *col1, int *row2, int *col2); | 56 | bool findRange(const QString &variable1, const QString &variable2, int *row1, int *col1, int *row2, int *col2); |
55 | double calculateVariable(const QString &variable); | 57 | double calculateVariable(const QString &variable); |
56 | double calculateFunction(const QString &function, const QString ¶meters); | 58 | double calculateFunction(const QString &function, const QString ¶meters); |
57 | QChar popCharStack(QStack<QChar> *stackChars); | 59 | QChar popCharStack(QStack<QChar> *stackChars); |
58 | QString popStringStack(QStack<QString> *stackStrings); | 60 | QString popStringStack(QStack<QString> *stackStrings); |
59 | QString getParameter(const QString ¶meters, int paramNo, bool giveError=FALSE, const QString funcName=""); | 61 | QString getParameter(const QString ¶meters, int paramNo, bool giveError=FALSE, const QString funcName=""); |
60 | QString dataParser(const QString &data); | 62 | QString dataParser(const QString &cell, const QString &data); |
61 | QString dataParserHelper(const QString &data); | 63 | QString dataParserHelper(const QString &data); |
62 | typeCellData *createCellData(int row, int col); | 64 | typeCellData *createCellData(int row, int col); |
63 | typeCellData *findCellData(int row, int col); | 65 | typeCellData *findCellData(int row, int col); |
64 | void pushCharStack(QStack<QChar> *stackChars, const QChar &character); | 66 | void pushCharStack(QStack<QChar> *stackChars, const QChar &character); |
65 | void pushStringStack(QStack<QString> *stackStrings, const QString &string); | 67 | void pushStringStack(QStack<QString> *stackStrings, const QString &string); |
66 | 68 | ||