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

okular

  • Okular
  • EditAnnotationContentsCommand
Public Member Functions | List of all members
Okular::EditAnnotationContentsCommand Class Reference

#include <documentcommands_p.h>

Inheritance diagram for Okular::EditAnnotationContentsCommand:
Inheritance graph
[legend]

Public Member Functions

 EditAnnotationContentsCommand (Okular::DocumentPrivate *docPriv, Okular::Annotation *annotation, int pageNumber, const QString &newContents, int newCursorPos, const QString &prevContents, int prevCursorPos, int prevAnchorPos)
 
virtual int id () const
 
virtual bool mergeWith (const QUndoCommand *uc)
 
virtual void redo ()
 
virtual void undo ()
 
- Public Member Functions inherited from Okular::EditTextCommand
 EditTextCommand (const QString &newContents, int newCursorPos, const QString &prevContents, int prevCursorPos, int prevAnchorPos)
 

Additional Inherited Members

- Protected Attributes inherited from Okular::EditTextCommand
EditType m_editType
 
QString m_newContents
 
int m_newCursorPos
 
int m_prevAnchorPos
 
QString m_prevContents
 
int m_prevCursorPos
 

Detailed Description

Definition at line 140 of file documentcommands_p.h.

Constructor & Destructor Documentation

Okular::EditAnnotationContentsCommand::EditAnnotationContentsCommand ( Okular::DocumentPrivate *  docPriv,
Okular::Annotation *  annotation,
int  pageNumber,
const QString &  newContents,
int  newCursorPos,
const QString &  prevContents,
int  prevCursorPos,
int  prevAnchorPos 
)

Definition at line 245 of file documentcommands.cpp.

Member Function Documentation

int Okular::EditAnnotationContentsCommand::id ( ) const
virtual

Implements Okular::EditTextCommand.

Definition at line 273 of file documentcommands.cpp.

bool Okular::EditAnnotationContentsCommand::mergeWith ( const QUndoCommand *  uc)
virtual

Reimplemented from Okular::EditTextCommand.

Definition at line 278 of file documentcommands.cpp.

void Okular::EditAnnotationContentsCommand::redo ( )
virtual

Implements Okular::EditTextCommand.

Definition at line 267 of file documentcommands.cpp.

void Okular::EditAnnotationContentsCommand::undo ( )
virtual

Implements Okular::EditTextCommand.

Definition at line 261 of file documentcommands.cpp.


The documentation for this class was generated from the following files:
  • documentcommands_p.h
  • documentcommands.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okular

Skip menu "okular"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

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