KDevelop API Documentation

ReplaceItem Class Reference

#include <replaceitem.h>

Inheritance diagram for ReplaceItem:

QCheckListItem List of all members.

Public Member Functions

 ReplaceItem (ReplaceView *parent, ReplaceItem *after, QString file)
 ReplaceItem (ReplaceItem *parent, ReplaceItem *after, QString file, QString string, int line)
QString const & file () const
int line () const
QString const & string () const
bool isFile () const
bool justClicked ()
bool lineClicked ()
ReplaceItemparent () const
ReplaceItemfirstChild () const
ReplaceItemnextSibling () const
void activate (int column, QPoint const &localPos)
bool hasCheckedChildren () const
virtual void stateChange (bool state)

Static Public Attributes

bool s_listview_done = false

Private Member Functions

void setChecked (bool checked)

Private Attributes

QString _file
QString _string
int _line
bool const _isfile
bool _lineclicked
bool _clicked

Constructor & Destructor Documentation

ReplaceItem::ReplaceItem ReplaceView parent,
ReplaceItem after,
QString  file
[inline]
 

Definition at line 25 of file replaceitem.h.

References _clicked, _file, _isfile, _line, _lineclicked, _string, and file.

ReplaceItem::ReplaceItem ReplaceItem parent,
ReplaceItem after,
QString  file,
QString  string,
int  line
[inline]
 

Definition at line 39 of file replaceitem.h.

References _clicked, _file, _isfile, _line, _lineclicked, _string, and file.


Member Function Documentation

void ReplaceItem::activate int  column,
QPoint const &  localPos
 

Definition at line 139 of file replaceitem.cpp.

References _lineclicked, activate(), and isFile().

Referenced by activate(), and ReplaceView::slotMousePressed().

QString const& ReplaceItem::file  )  const [inline]
 

Definition at line 51 of file replaceitem.h.

References _file.

Referenced by ReplaceWidget::makeReplacements(), and ReplaceView::slotClicked().

ReplaceItem* ReplaceItem::firstChild  )  const [inline]
 

Definition at line 88 of file replaceitem.h.

Referenced by hasCheckedChildren(), ReplaceView::makeReplacementsForFile(), and setChecked().

bool ReplaceItem::hasCheckedChildren  )  const
 

Definition at line 22 of file replaceitem.cpp.

References firstChild(), and nextSibling().

Referenced by setChecked().

bool ReplaceItem::isFile  )  const [inline]
 

Definition at line 66 of file replaceitem.h.

References _isfile.

Referenced by activate(), and setChecked().

bool ReplaceItem::justClicked  )  [inline]
 

Definition at line 71 of file replaceitem.h.

References _clicked.

Referenced by stateChange().

int ReplaceItem::line  )  const [inline]
 

Definition at line 56 of file replaceitem.h.

References _line.

Referenced by ReplaceView::makeReplacementsForFile(), and ReplaceView::slotClicked().

bool ReplaceItem::lineClicked  )  [inline]
 

Definition at line 78 of file replaceitem.h.

References _lineclicked.

Referenced by ReplaceView::slotClicked().

ReplaceItem* ReplaceItem::nextSibling  )  const [inline]
 

Definition at line 93 of file replaceitem.h.

Referenced by hasCheckedChildren(), ReplaceWidget::makeReplacements(), ReplaceView::makeReplacementsForFile(), and setChecked().

ReplaceItem* ReplaceItem::parent  )  const [inline]
 

Definition at line 83 of file replaceitem.h.

Referenced by setChecked().

void ReplaceItem::setChecked bool  checked  )  [private]
 

Definition at line 44 of file replaceitem.cpp.

References _clicked, firstChild(), hasCheckedChildren(), isFile(), nextSibling(), parent(), and setChecked().

Referenced by setChecked(), and stateChange().

void ReplaceItem::stateChange bool  state  )  [virtual]
 

Definition at line 36 of file replaceitem.cpp.

References justClicked(), s_listview_done, setChecked(), and stateChange().

Referenced by stateChange().

QString const& ReplaceItem::string  )  const [inline]
 

Definition at line 61 of file replaceitem.h.

References _string.


Member Data Documentation

bool ReplaceItem::_clicked [private]
 

Definition at line 115 of file replaceitem.h.

Referenced by justClicked(), ReplaceItem(), and setChecked().

QString ReplaceItem::_file [private]
 

Definition at line 110 of file replaceitem.h.

Referenced by file(), and ReplaceItem().

bool const ReplaceItem::_isfile [private]
 

Definition at line 113 of file replaceitem.h.

Referenced by isFile(), and ReplaceItem().

int ReplaceItem::_line [private]
 

Definition at line 112 of file replaceitem.h.

Referenced by line(), and ReplaceItem().

bool ReplaceItem::_lineclicked [private]
 

Definition at line 114 of file replaceitem.h.

Referenced by activate(), lineClicked(), and ReplaceItem().

QString ReplaceItem::_string [private]
 

Definition at line 111 of file replaceitem.h.

Referenced by ReplaceItem(), and string().

bool ReplaceItem::s_listview_done = false [static]
 

Definition at line 19 of file replaceitem.cpp.

Referenced by stateChange().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:29 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003