• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

rocs/App

Public Member Functions | List of all members
JournalEditorWidget Class Reference

#include <JournalEditorWidget.h>

Inheritance diagram for JournalEditorWidget:
Inheritance graph
[legend]

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

JournalEditorWidget::JournalEditorWidget ( QWidget *  parent)
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
projectthe 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:
  • JournalEditorWidget.h
  • JournalEditorWidget.cpp
This file is part of the KDE documentation.
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.

rocs/App

Skip menu "rocs/App"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal