rocs/App
#include <JournalEditorWidget.h>

Public Member Functions | |
JournalEditorWidget (QWidget *parent) | |
bool | isModified () const |
void | openJournal (Project *project) |
void | saveJournal () |
Detailed Description
This class contains a UI to edit a project's journal file.
The journal is presented as a rich text editor window and saved as HTML.
Definition at line 34 of file JournalEditorWidget.h.
Constructor & Destructor Documentation
|
explicit |
Default constructor.
Definition at line 32 of file JournalEditorWidget.cpp.
Member Function Documentation
bool JournalEditorWidget::isModified | ( | ) | const |
- Returns
- true if journal is modified since loading, otherwise false
Definition at line 97 of file JournalEditorWidget.cpp.
void JournalEditorWidget::openJournal | ( | Project * | project | ) |
Loads journal from specified project project
.
File path and file name changes of the journal file are automatically recognized by this. Call
- See also
- saveJournal() later to save.
- Parameters
-
project the project for which the journal shall be added to the widget
Definition at line 42 of file JournalEditorWidget.cpp.
void JournalEditorWidget::saveJournal | ( | ) |
Writes current journal content to file as specified by its project.
Definition at line 70 of file JournalEditorWidget.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.