[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/filters/kspread/excel/sidewinder
From: Ariya Hidayat <ariya () kde ! org>
Date: 2003-08-16 22:32:36
[Download RAW message or body]
CVS commit by ariya:
calculation mode (auto/manual) for Workbook
M +11 -0 workbook.cpp 1.2
M +4 -0 workbook.h 1.2
--- koffice/filters/kspread/excel/sidewinder/workbook.cpp #1.1:1.2
@@ -30,4 +30,5 @@ class Workbook::Private
public:
std::vector<Sheet*> sheets;
+ bool autoCalc;
};
@@ -35,4 +36,5 @@ Workbook::Workbook()
{
d = new Workbook::Private();
+ d->autoCalc = true;
}
@@ -69,3 +71,12 @@ Sheet* Workbook::sheet( unsigned index )
}
+bool Workbook::autoCalc() const
+{
+ return d->autoCalc;
+}
+
+void Workbook::setAutoCalc( bool a )
+{
+ d->autoCalc = a;
+}
--- koffice/filters/kspread/excel/sidewinder/workbook.h #1.1:1.2
@@ -42,4 +42,8 @@ public:
unsigned sheetCount() const;
+
+ bool autoCalc() const;
+
+ void setAutoCalc( bool a );
private:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic