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

okular

  • Okular
  • EditTextCommand
Public Member Functions | Protected Attributes | List of all members
Okular::EditTextCommand Class Referenceabstract

#include <documentcommands_p.h>

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

Public Member Functions

 EditTextCommand (const QString &newContents, int newCursorPos, const QString &prevContents, int prevCursorPos, int prevAnchorPos)
 
virtual int id () const =0
 
virtual bool mergeWith (const QUndoCommand *uc)
 
virtual void redo ()=0
 
virtual void undo ()=0
 

Protected Attributes

EditType m_editType
 
QString m_newContents
 
int m_newCursorPos
 
int m_prevAnchorPos
 
QString m_prevContents
 
int m_prevCursorPos
 

Detailed Description

Definition at line 102 of file documentcommands_p.h.

Constructor & Destructor Documentation

Okular::EditTextCommand::EditTextCommand ( const QString &  newContents,
int  newCursorPos,
const QString &  prevContents,
int  prevCursorPos,
int  prevAnchorPos 
)

Definition at line 159 of file documentcommands.cpp.

Member Function Documentation

virtual int Okular::EditTextCommand::id ( ) const
pure virtual

Implemented in Okular::EditFormComboCommand, Okular::EditFormTextCommand, and Okular::EditAnnotationContentsCommand.

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

Reimplemented in Okular::EditFormComboCommand, Okular::EditFormTextCommand, and Okular::EditAnnotationContentsCommand.

Definition at line 207 of file documentcommands.cpp.

virtual void Okular::EditTextCommand::redo ( )
pure virtual

Implemented in Okular::EditFormComboCommand, Okular::EditFormTextCommand, and Okular::EditAnnotationContentsCommand.

virtual void Okular::EditTextCommand::undo ( )
pure virtual

Implemented in Okular::EditFormComboCommand, Okular::EditFormTextCommand, and Okular::EditAnnotationContentsCommand.

Member Data Documentation

EditType Okular::EditTextCommand::m_editType
protected

Definition at line 136 of file documentcommands_p.h.

QString Okular::EditTextCommand::m_newContents
protected

Definition at line 131 of file documentcommands_p.h.

int Okular::EditTextCommand::m_newCursorPos
protected

Definition at line 132 of file documentcommands_p.h.

int Okular::EditTextCommand::m_prevAnchorPos
protected

Definition at line 135 of file documentcommands_p.h.

QString Okular::EditTextCommand::m_prevContents
protected

Definition at line 133 of file documentcommands_p.h.

int Okular::EditTextCommand::m_prevCursorPos
protected

Definition at line 134 of file documentcommands_p.h.


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