KDevelop API Documentation

TargetItem Class Reference

Stores one target For e.g. More...

#include <autolistviewitems.h>

Inheritance diagram for TargetItem:

Inheritance graph
[legend]
Collaboration diagram for TargetItem:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TargetItem (QListView *lv, bool group, const QString &text)
 Class TargetItem.

Public Attributes

QString name
 Target kind - not used currently TargetKind kind; Name of target, e.g.
QString primary
 One of PROGRAMS, LIBRARIES, LTLIBRARIES, SCRIPTS, HEADERS, DATA, JAVA In addition to these automake primaries, we use KDEICON and KDEDOCS for am_edit magic.
QString prefix
 May be bin, pkglib, noinst, check, sbin, pkgdata, java...
QPtrList< FileItemsources
 Content of foo_SOURCES (or java_JAVA) assignment.
QString ldflags
 Content of foo_LDFLAGS assignment.
QString ldadd
 Content of foo_LDADD assignment.
QString libadd
 Content of foo_LIBADD assignment.
QString dependencies
 Content of foo_DEPENDENCIES assignment.

Detailed Description

Stores one target For e.g.

the line bin_LTLIBRARIES = foo.la generates a target with name 'foo.la', primary LTLIBRARIES and prefix 'bin' In order to make things not too simple ;-) headers and data are handled a bit different from programs, libraries and scripts: All headers for a certain prefix (analogously for data) are put in _one_ TargetItem object, and the names of the files are put in the sources variable. This avoids cluttering the list view with lots of header items.

Definition at line 91 of file autolistviewitems.h.


Constructor & Destructor Documentation

TargetItem::TargetItem QListView lv,
bool  group,
const QString text
 

Class TargetItem.

Definition at line 101 of file autolistviewitems.cpp.

References sources, and text().


Member Data Documentation

QString TargetItem::dependencies
 

Content of foo_DEPENDENCIES assignment.

Definition at line 117 of file autolistviewitems.h.

Referenced by AutoSubprojectView::parsePrimary(), TargetOptionsDialog::readConfig(), and TargetOptionsDialog::storeConfig().

QString TargetItem::ldadd
 

Content of foo_LDADD assignment.

Definition at line 113 of file autolistviewitems.h.

Referenced by AutoSubprojectView::parsePrimary(), AutoProjectPart::queueInternalLibDependenciesBuild(), TargetOptionsDialog::readConfig(), and TargetOptionsDialog::storeConfig().

QString TargetItem::ldflags
 

Content of foo_LDFLAGS assignment.

Definition at line 111 of file autolistviewitems.h.

Referenced by AutoSubprojectView::parsePrimary(), TargetOptionsDialog::readConfig(), and TargetOptionsDialog::storeConfig().

QString TargetItem::libadd
 

Content of foo_LIBADD assignment.

Definition at line 115 of file autolistviewitems.h.

Referenced by AutoSubprojectView::parsePrimary(), AutoProjectPart::queueInternalLibDependenciesBuild(), TargetOptionsDialog::readConfig(), and TargetOptionsDialog::storeConfig().

QString TargetItem::name
 

Target kind - not used currently TargetKind kind; Name of target, e.g.

foo

Definition at line 101 of file autolistviewitems.h.

Referenced by RemoveTargetDialog::accept(), RemoveFileDialog::accept(), ChooseTargetDialog::accept(), AddFileDialog::accept(), AddExistingFilesDialog::AddExistingFilesDialog(), AddFileDialog::AddFileDialog(), AutoProjectWidget::addToTarget(), AutoProjectPart::buildTarget(), FileItem::changeMakefileEntry(), ChooseTargetDialog::ChooseTargetDialog(), AutoProjectWidget::createTargetItem(), AutoProjectPart::executeTarget(), RemoveTargetDialog::init(), AutoProjectPart::mainProgram(), AutoProjectWidget::pathForTarget(), AutoProjectPart::queueInternalLibDependenciesBuild(), TargetOptionsDialog::readConfig(), RemoveFileDialog::RemoveFileDialog(), RemoveTargetDialog::RemoveTargetDialog(), AutoProjectWidget::saveSession(), AutoDetailsView::slotAddExistingFile(), AutoDetailsView::slotAddNewFile(), AutoDetailsView::slotDetailsContextMenu(), AddExistingFilesDialog::slotOk(), AutoDetailsView::slotRemoveDetail(), AutoDetailsView::slotSetActiveTarget(), ChooseTargetDialog::slotSubprojectChanged(), ChooseTargetDialog::slotTargetChanged(), AutoDetailsView::slotTargetOptions(), TargetOptionsDialog::storeConfig(), and TargetOptionsDialog::TargetOptionsDialog().

QString TargetItem::prefix
 

May be bin, pkglib, noinst, check, sbin, pkgdata, java...

Definition at line 107 of file autolistviewitems.h.

Referenced by RemoveTargetDialog::accept(), RemoveFileDialog::accept(), AddServiceDialog::accept(), AddFileDialog::accept(), AddApplicationDialog::accept(), AddExistingFilesDialog::AddExistingFilesDialog(), AddFileDialog::AddFileDialog(), FileItem::changeMakefileEntry(), AutoProjectWidget::createTargetItem(), AutoSubprojectView::findNoinstHeaders(), AutoSubprojectView::parsePrimary(), RemoveFileDialog::RemoveFileDialog(), RemoveTargetDialog::RemoveTargetDialog(), AutoDetailsView::slotAddExistingFile(), AutoDetailsView::slotAddNewFile(), AddExistingFilesDialog::slotOk(), and AutoDetailsView::slotRemoveDetail().

QString TargetItem::primary
 

One of PROGRAMS, LIBRARIES, LTLIBRARIES, SCRIPTS, HEADERS, DATA, JAVA In addition to these automake primaries, we use KDEICON and KDEDOCS for am_edit magic.

Definition at line 105 of file autolistviewitems.h.

Referenced by RemoveTargetDialog::accept(), RemoveFileDialog::accept(), ChooseTargetDialog::accept(), AddServiceDialog::accept(), AddFileDialog::accept(), AddApplicationDialog::accept(), AddExistingFilesDialog::AddExistingFilesDialog(), AddFileDialog::AddFileDialog(), AutoProjectWidget::addToTarget(), AutoProjectPart::buildTarget(), FileItem::changeMakefileEntry(), ChooseTargetDialog::ChooseTargetDialog(), AutoProjectWidget::createTargetItem(), AutoSubprojectView::findNoinstHeaders(), RemoveTargetDialog::init(), AutoProjectPart::mainProgram(), AutoSubprojectView::parsePrimary(), AutoProjectPart::queueInternalLibDependenciesBuild(), TargetOptionsDialog::readConfig(), RemoveFileDialog::RemoveFileDialog(), RemoveTargetDialog::RemoveTargetDialog(), AutoDetailsView::slotAddExistingFile(), AutoDetailsView::slotAddNewFile(), AutoDetailsView::slotDetailsContextMenu(), AutoProjectWidget::slotDetailsSelectionChanged(), AddExistingFilesDialog::slotOk(), AutoDetailsView::slotRemoveDetail(), ChooseTargetDialog::slotSubprojectChanged(), TargetOptionsDialog::storeConfig(), and TargetOptionsDialog::TargetOptionsDialog().

QPtrList<FileItem> TargetItem::sources
 

Content of foo_SOURCES (or java_JAVA) assignment.

Definition at line 109 of file autolistviewitems.h.

Referenced by RemoveTargetDialog::accept(), RemoveFileDialog::accept(), ChooseTargetDialog::accept(), AddServiceDialog::accept(), AddIconDialog::accept(), AddFileDialog::accept(), AddApplicationDialog::accept(), AutoProjectWidget::addToTarget(), FileItem::changeMakefileEntry(), AutoProjectPart::executeTarget(), AutoSubprojectView::parse(), AutoSubprojectView::parseKDEDOCS(), AutoSubprojectView::parseKDEICON(), AutoSubprojectView::parsePrimary(), AddExistingFilesDialog::slotOk(), and TargetItem().


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:48:51 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003