KDevelop API Documentation

CTags2Part Class Reference

#include <ctags2_part.h>

Inheritance diagram for CTags2Part:

Inheritance graph
[legend]
Collaboration diagram for CTags2Part:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CTags2Part (QObject *parent, const char *name, const QStringList &)
 ~CTags2Part ()
int getFileLineFromPattern (KURL const &url, QString const &pattern)
bool createTagsFile ()

Private Slots

void slotGotoTag ()
void contextMenu (QPopupMenu *, const Context *)

Private Member Functions

int getFileLineFromStream (QTextStream &stream, QString const &pattern)

Private Attributes

QGuardedPtr< CTags2Widgetm_widget
QString m_contextString

Constructor & Destructor Documentation

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

CTags2Part::~CTags2Part  ) 
 

Definition at line 65 of file ctags2_part.cpp.

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


Member Function Documentation

void CTags2Part::contextMenu QPopupMenu ,
const Context
[private, slot]
 

Definition at line 87 of file ctags2_part.cpp.

References Context::hasType().

bool CTags2Part::createTagsFile  ) 
 

Definition at line 74 of file ctags2_part.cpp.

References KDevPlugin::project(), KProcess::setWorkingDirectory(), and KProcess::start().

Referenced by CTags2Widget::regeneratebutton_clicked().

int CTags2Part::getFileLineFromPattern KURL const &  url,
QString const &  pattern
 

Definition at line 142 of file ctags2_part.cpp.

Referenced by CTags2Widget::itemExecuted().

int CTags2Part::getFileLineFromStream QTextStream stream,
QString const &  pattern
[private]
 

Definition at line 117 of file ctags2_part.cpp.

void CTags2Part::slotGotoTag  )  [private, slot]
 

Definition at line 109 of file ctags2_part.cpp.

References m_contextString, m_widget, KDevPlugin::mainWindow(), and KDevMainWindow::raiseView().


Member Data Documentation

QString CTags2Part::m_contextString [private]
 

Definition at line 46 of file ctags2_part.h.

Referenced by slotGotoTag().

QGuardedPtr<CTags2Widget> CTags2Part::m_widget [private]
 

Definition at line 45 of file ctags2_part.h.

Referenced by slotGotoTag(), and ~CTags2Part().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:39:11 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003