diff options
Diffstat (limited to 'src/frontend/display/cwritedisplay.h')
-rw-r--r-- | src/frontend/display/cwritedisplay.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/frontend/display/cwritedisplay.h b/src/frontend/display/cwritedisplay.h index eaa2d9d..24dd29f 100644 --- a/src/frontend/display/cwritedisplay.h +++ b/src/frontend/display/cwritedisplay.h @@ -23,29 +23,29 @@ class BtActionCollection; */ class CWriteDisplay : public CDisplay { -protected: - friend class CDisplay; - friend class CPlainWriteDisplay; - CWriteDisplay( CWriteWindow* writeWindow ); - ~CWriteDisplay(); - -public: // Public methods - /** - * Sets the current modified status of the widget. - */ - virtual void setModified( const bool modified ) = 0; - /** - * Returns true if the current text was modified. - */ - virtual bool isModified() const = 0; - /** - * Returns the text of this edit widget. - */ - virtual const QString plainText() = 0; - /** - * Creates the necessary action objects and puts them on the toolbar. - */ - virtual void setupToolbar( QToolBar* bar, BtActionCollection* actionCollection ) = 0; + protected: + friend class CDisplay; + friend class CPlainWriteDisplay; + CWriteDisplay( CWriteWindow* writeWindow ); + ~CWriteDisplay(); + + public: // Public methods + /** + * Sets the current modified status of the widget. + */ + virtual void setModified( const bool modified ) = 0; + /** + * Returns true if the current text was modified. + */ + virtual bool isModified() const = 0; + /** + * Returns the text of this edit widget. + */ + virtual const QString plainText() = 0; + /** + * Creates the necessary action objects and puts them on the toolbar. + */ + virtual void setupToolbar( QToolBar* bar, BtActionCollection* actionCollection ) = 0; }; #endif |