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

okteta

  • Kasten2
  • ReplaceTool
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
Kasten2::ReplaceTool Class Reference

#include <replacetool.h>

Inheritance diagram for Kasten2::ReplaceTool:
Inheritance graph
[legend]

Public Slots

void setCaseSensitivity (Qt::CaseSensitivity caseSensitivity)
 
void setDoPrompt (int doPrompt)
 
void setReplaceData (const QByteArray &replaceData)
 
void setSearchData (const QByteArray &searchData)
 

Signals

void finished (bool previousFound, int noOfReplacements)
 
void isApplyableChanged (bool isApplyable)
 
- Signals inherited from Kasten2::AbstractTool
void titleChanged (const QString &newTitle)
 

Public Member Functions

 ReplaceTool ()
 
virtual ~ReplaceTool ()
 
QString charCodingName () const
 
bool hasSelectedData () const
 
bool isApplyable () const
 
void replace (KFindDirection direction, bool fromCursor, bool inSelection)
 
QByteArray replaceData () const
 
QByteArray searchData () const
 
virtual void setTargetModel (AbstractModel *model)
 
void setUserQueryAgent (If::ReplaceUserQueryable *userQueryAgent)
 
virtual QString title () const
 
- Public Member Functions inherited from Kasten2::AbstractTool
virtual ~AbstractTool ()
 

Protected Slots

void onReadOnlyChanged (bool isReadOnly)
 

Protected Member Functions

void doReplace (KFindDirection direction, Okteta::Address startIndex)
 
- Protected Member Functions inherited from Kasten2::AbstractTool
 AbstractTool ()
 

Protected Attributes

Okteta::AbstractByteArrayModel * mByteArrayModel
 
ByteArrayView * mByteArrayView
 
Qt::CaseSensitivity mCaseSensitivity
 
bool mDoPrompt:1
 
bool mDoWrap:1
 
bool mPreviousFound:1
 
QByteArray mReplaceData
 
Okteta::Address mReplaceFirstIndex
 
Okteta::Address mReplaceLastIndex
 
QByteArray mSearchData
 
If::ReplaceUserQueryable * mUserQueryAgent
 
- Protected Attributes inherited from Kasten2::AbstractTool
Private *const d
 

Detailed Description

Definition at line 48 of file replacetool.h.

Constructor & Destructor Documentation

Kasten2::ReplaceTool::ReplaceTool ( )

Definition at line 44 of file replacetool.cpp.

Kasten2::ReplaceTool::~ReplaceTool ( )
virtual

Definition at line 295 of file replacetool.cpp.

Member Function Documentation

QString Kasten2::ReplaceTool::charCodingName ( ) const

Definition at line 65 of file replacetool.cpp.

void Kasten2::ReplaceTool::doReplace ( KFindDirection  direction,
Okteta::Address  startIndex 
)
protected

Definition at line 178 of file replacetool.cpp.

void Kasten2::ReplaceTool::finished ( bool  previousFound,
int  noOfReplacements 
)
signal
bool Kasten2::ReplaceTool::hasSelectedData ( ) const

Definition at line 64 of file replacetool.cpp.

bool Kasten2::ReplaceTool::isApplyable ( ) const

Definition at line 53 of file replacetool.cpp.

void Kasten2::ReplaceTool::isApplyableChanged ( bool  isApplyable)
signal
void Kasten2::ReplaceTool::onReadOnlyChanged ( bool  isReadOnly)
protectedslot

Definition at line 287 of file replacetool.cpp.

void Kasten2::ReplaceTool::replace ( KFindDirection  direction,
bool  fromCursor,
bool  inSelection 
)

Definition at line 136 of file replacetool.cpp.

QByteArray Kasten2::ReplaceTool::replaceData ( ) const
inline

Definition at line 115 of file replacetool.h.

QByteArray Kasten2::ReplaceTool::searchData ( ) const
inline

Definition at line 114 of file replacetool.h.

void Kasten2::ReplaceTool::setCaseSensitivity ( Qt::CaseSensitivity  caseSensitivity)
slot

Definition at line 120 of file replacetool.cpp.

void Kasten2::ReplaceTool::setDoPrompt ( int  doPrompt)
slot

Definition at line 131 of file replacetool.cpp.

void Kasten2::ReplaceTool::setReplaceData ( const QByteArray &  replaceData)
slot

Definition at line 109 of file replacetool.cpp.

void Kasten2::ReplaceTool::setSearchData ( const QByteArray &  searchData)
slot

Definition at line 98 of file replacetool.cpp.

void Kasten2::ReplaceTool::setTargetModel ( AbstractModel *  model)
virtual

Implements Kasten2::AbstractTool.

Definition at line 68 of file replacetool.cpp.

void Kasten2::ReplaceTool::setUserQueryAgent ( If::ReplaceUserQueryable *  userQueryAgent)

Definition at line 93 of file replacetool.cpp.

QString Kasten2::ReplaceTool::title ( ) const
virtual

Implements Kasten2::AbstractTool.

Definition at line 62 of file replacetool.cpp.

Member Data Documentation

Okteta::AbstractByteArrayModel* Kasten2::ReplaceTool::mByteArrayModel
protected

Definition at line 110 of file replacetool.h.

ByteArrayView* Kasten2::ReplaceTool::mByteArrayView
protected

Definition at line 109 of file replacetool.h.

Qt::CaseSensitivity Kasten2::ReplaceTool::mCaseSensitivity
protected

Definition at line 96 of file replacetool.h.

bool Kasten2::ReplaceTool::mDoPrompt
protected

Definition at line 97 of file replacetool.h.

bool Kasten2::ReplaceTool::mDoWrap
protected

Definition at line 101 of file replacetool.h.

bool Kasten2::ReplaceTool::mPreviousFound
protected

Definition at line 100 of file replacetool.h.

QByteArray Kasten2::ReplaceTool::mReplaceData
protected

Definition at line 95 of file replacetool.h.

Okteta::Address Kasten2::ReplaceTool::mReplaceFirstIndex
protected

Definition at line 102 of file replacetool.h.

Okteta::Address Kasten2::ReplaceTool::mReplaceLastIndex
protected

Definition at line 103 of file replacetool.h.

QByteArray Kasten2::ReplaceTool::mSearchData
protected

Definition at line 94 of file replacetool.h.

If::ReplaceUserQueryable* Kasten2::ReplaceTool::mUserQueryAgent
protected

Definition at line 106 of file replacetool.h.


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

KDE's Doxygen guidelines are available online.

okteta

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

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

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