Changeset View
Changeset View
Standalone View
Standalone View
components/impl/SpreadsheetImpl.h
Show All 27 Lines | |||||
28 | namespace Calligra { | 28 | namespace Calligra { | ||
29 | namespace Components { | 29 | namespace Components { | ||
30 | 30 | | |||
31 | class SpreadsheetImpl : public DocumentImpl | 31 | class SpreadsheetImpl : public DocumentImpl | ||
32 | { | 32 | { | ||
33 | Q_OBJECT | 33 | Q_OBJECT | ||
34 | public: | 34 | public: | ||
35 | explicit SpreadsheetImpl(QObject* parent = 0); | 35 | explicit SpreadsheetImpl(QObject* parent = 0); | ||
36 | ~SpreadsheetImpl(); | 36 | ~SpreadsheetImpl() override; | ||
37 | 37 | | |||
38 | virtual bool load(const QUrl& url); | 38 | bool load(const QUrl& url) override; | ||
39 | virtual int currentIndex(); | 39 | int currentIndex() override; | ||
40 | virtual void setCurrentIndex(int newValue); | 40 | void setCurrentIndex(int newValue) override; | ||
41 | virtual int indexCount() const; | 41 | int indexCount() const override; | ||
42 | virtual QUrl urlAtPoint(QPoint point); | 42 | QUrl urlAtPoint(QPoint point) override; | ||
43 | virtual QObject* part() const; | 43 | QObject* part() const override; | ||
44 | 44 | | |||
45 | private Q_SLOTS: | 45 | private Q_SLOTS: | ||
46 | void updateDocumentSize(const QSize& size); | 46 | void updateDocumentSize(const QSize& size); | ||
47 | 47 | | |||
48 | private: | 48 | private: | ||
49 | class Private; | 49 | class Private; | ||
50 | Private* const d; | 50 | Private* const d; | ||
51 | }; | 51 | }; | ||
52 | 52 | | |||
53 | } // Namespace Components | 53 | } // Namespace Components | ||
54 | } // Namespace Calligra | 54 | } // Namespace Calligra | ||
55 | 55 | | |||
56 | #endif // CALLIGRA_COMPONENTS_SPREADSHEETIMPL_H | 56 | #endif // CALLIGRA_COMPONENTS_SPREADSHEETIMPL_H |