Worksheet index property should be stored in Workbook

This commit is contained in:
Debao Zhang
2013-08-30 10:46:13 +08:00
parent bca00392dc
commit 7816c724dc
6 changed files with 55 additions and 45 deletions
+1 -4
View File
@@ -63,18 +63,15 @@ public:
private:
friend class Package;
friend class Workbook;
Worksheet(const QString &sheetName, int sheetIndex, Workbook *parent=0);
Worksheet(const QString &sheetName, Workbook *parent=0);
~Worksheet();
virtual bool isChartsheet() const;
QString name() const;
int index() const;
bool isHidden() const;
bool isSelected() const;
bool isActived() const;
void setHidden(bool hidden);
void setSelected(bool select);
void setActived(bool act);
void saveToXmlFile(QIODevice *device);
WorksheetPrivate * const d_ptr;