author | mickeyl <mickeyl> | 2006-05-25 22:35:51 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2006-05-25 22:35:51 (UTC) |
commit | 7cfd27c0f29c6d7e2b90ce718d762433b82c1fe3 (patch) (side-by-side diff) | |
tree | 817b7d3383348b4654c63b216c31de71e73ef6c9 | |
parent | debf4dfe9a9ca9103aa9f8fa2db5f0b5fed08952 (diff) | |
download | opie-7cfd27c0f29c6d7e2b90ce718d762433b82c1fe3.zip opie-7cfd27c0f29c6d7e2b90ce718d762433b82c1fe3.tar.gz opie-7cfd27c0f29c6d7e2b90ce718d762433b82c1fe3.tar.bz2 |
g++ 4.1.1 fix
-rw-r--r-- | noncore/apps/opie-reader/infowin.h | 2 | ||||
-rw-r--r-- | noncore/apps/opie-sheet/sheet.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-reader/infowin.h b/noncore/apps/opie-reader/infowin.h index 6f0fb99..c003998 100644 --- a/noncore/apps/opie-reader/infowin.h +++ b/noncore/apps/opie-reader/infowin.h @@ -1,39 +1,39 @@ #ifndef __INFOWIN_H #define __INFOWIN_H #include <qlabel.h> class QString; class QMultiLineEdit; class infowin : public QWidget { Q_OBJECT QLabel* fileSize; QLabel* textSize; QLabel* ratio; QLabel* location; QLabel* read; QLabel* docread; QLabel* docSize; QLabel* docLocation; QLabel* zoom; QMultiLineEdit* aboutbox; public: - infowin::infowin( QWidget *parent=0, const char *name=0, WFlags f = 0); + infowin( QWidget *parent=0, const char *name=0, WFlags f = 0); void setFileSize(int sz) { fileSize->setNum(sz); } void setTextSize(int sz) { textSize->setNum(sz); } void setRatio(int sz) { ratio->setText(QString().setNum(sz)+"%"); } void setLocation(int sz) { location->setNum(sz); } void setRead(int sz) { read->setText(QString().setNum(sz)+"%"); } void setDocRead(int sz) { docread->setText(QString().setNum(sz)+"%"); } void setZoom(int sz) { zoom->setText(QString().setNum(sz)+"%"); } void setDocSize(int sz) { docSize->setNum(sz); } void setDocLocation(int sz) { docLocation->setNum(sz); } void setAbout(const QString& s); private slots: void infoClose() { emit Close(); } signals: void Close(); }; #endif diff --git a/noncore/apps/opie-sheet/sheet.h b/noncore/apps/opie-sheet/sheet.h index 92c8061..8938511 100644 --- a/noncore/apps/opie-sheet/sheet.h +++ b/noncore/apps/opie-sheet/sheet.h @@ -65,65 +65,65 @@ typedef struct typeCellData class Expression { public: QString Body; QList<QString> CompiledBody; QList<int> CompiledBodyType; QString SYMBOL; QString MATHSYMBOL; QArray<int> ArgsOfFunc; int FuncDepth; bool ErrorFound; int n; // holds the current parser position QString chunk; // the piece in the parser we are on int SymbGroup; // the current type QString InExpr; QChar chunk0(void); // retunrs the first char of expression; Expression(QString expr1);// constructor bool isSymbol(QChar ch); bool isMathSymbol(QChar ch); void GetNext(); void First(); void Third(); void Fourth(); void Fifth(); void Sixth(); void Seventh(); void Eighth(); void Ninth(); - bool Expression::Parse(); //parses the expression in RPN format; + bool Parse(); //parses the expression in RPN format; }; class Sheet: public QTable { Q_OBJECT // Variables bool clicksLocked; int selectionNo; typeCellBorders defaultBorders; typeCellData defaultCellData; // QT objects QList<typeCellData> sheetData, clipboardData; QString pressedCell, releasedCell, sheetName; QStringList listDataParser; // Private functions 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); QString calculateVariable(const QString &variable); QString calculateFunction(const QString &func, const QString ¶meters, int NumOfParams); QString getParameter(const QString ¶meters, int paramNo, bool giveError=FALSE, const QString funcName=""); 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); |