KDevelop API Documentation

ReplacePart Class Reference

This plugin replaces a search pattern with a specified string, after letting the user preview and choose which replacements should take place. More...

#include <replace_part.h>

Inheritance diagram for ReplacePart:

KDevPlugin QObject KXMLGUIClient List of all members.

Public Slots

void slotReplace ()

Public Member Functions

 ReplacePart (QObject *parent, const char *name, const QStringList &)
 ~ReplacePart ()

Private Attributes

QGuardedPtr< ReplaceWidgetm_widget

Detailed Description

This plugin replaces a search pattern with a specified string, after letting the user preview and choose which replacements should take place.

The operation is only carried out on files that are part of the current project.

Author(s):
Jens Dagerbo aka teatime

Maintainer(s):
Jens Dagerbo aka teatime

Feature(s):
Replaces a search pattern with a specified string, after letting the user preview and choose which replacements should take place.

Todo:
Better user feedback

Better commenting (doxygen style comments).

Warning:
The operation is only carried out on files that are part of the current project.

Search/Replace will work on all matches on a line. There is no (nor will there likely be) a way to limit matching to only some matches on the same line. In practice this is not a very big problem.

Definition at line 23 of file replace_part.h.


Constructor & Destructor Documentation

ReplacePart::ReplacePart QObject parent,
const char *  name,
const QStringList
 

ReplacePart::~ReplacePart  ) 
 

Definition at line 71 of file replace_part.cpp.

References m_widget, KDevPlugin::mainWindow(), and KDevMainWindow::removeView().


Member Function Documentation

void ReplacePart::slotReplace  )  [slot]
 

Definition at line 78 of file replace_part.cpp.

References m_widget.


Member Data Documentation

QGuardedPtr<ReplaceWidget> ReplacePart::m_widget [private]
 

Definition at line 35 of file replace_part.h.

Referenced by slotReplace(), and ~ReplacePart().


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 Tue Oct 19 08:02:06 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003