summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-reader/infowin.h2
-rw-r--r--noncore/apps/opie-sheet/sheet.h2
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
@@ -73,49 +73,49 @@ public:
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);