Mercurial > octave
diff libgui/src/documentation-dock-widget.h @ 24733:e15d53d2de1e
move more GUI classse inside octave namespace
* documentation-dock-widget.h, documentation-dock-widget.cc,
files-dock-widget.h, files-dock-widget.cc, find-files-dialog.h,
find-files-dialog.cc, find-files-model.h, find-files-model.cc,
history-dock-widget.h, history-dock-widget.cc, terminal-dock-widget.h,
terminal-dock-widget.cc: Move classes inside octave namespace.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 11 Feb 2018 09:20:36 -0500 |
parents | ea1c88bd4430 |
children | ba5af45bbfc4 |
line wrap: on
line diff
--- a/libgui/src/documentation-dock-widget.h Sat Feb 10 23:32:04 2018 -0500 +++ b/libgui/src/documentation-dock-widget.h Sun Feb 11 09:20:36 2018 -0500 @@ -27,31 +27,34 @@ #include "webinfo.h" -class documentation_dock_widget : public octave_dock_widget +namespace octave { - Q_OBJECT - -public: + class documentation_dock_widget : public octave_dock_widget + { + Q_OBJECT - documentation_dock_widget (QWidget *parent = nullptr); + public: + + documentation_dock_widget (QWidget *parent = nullptr); -public slots: + public slots: - void notice_settings (const QSettings *settings); + void notice_settings (const QSettings *settings); - void load_info_file (void); + void load_info_file (void); + + protected slots: -protected slots: + void copyClipboard (void); + void pasteClipboard (void); + void selectAll (void); - void copyClipboard (void); - void pasteClipboard (void); - void selectAll (void); + void showDoc (const QString & name); + + private: - void showDoc (const QString & name); - -private: - - octave::webinfo *m_webinfo; -}; + octave::webinfo *m_webinfo; + }; +} #endif