KDevelop API Documentation

ProjectItem Class Reference

Base class for all items appearing in ProjectOverview and ProjectDetails. More...

#include <autolistviewitems.h>

Inheritance diagram for ProjectItem:

QListViewItem FileItem SubprojectItem TargetItem List of all members.

Public Types

enum  Type { Subproject, Target, File }

Public Member Functions

 ProjectItem (Type type, QListView *parent, const QString &text)
 Class ProjectItem.

 ProjectItem (Type type, ProjectItem *parent, const QString &text)
void paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int alignment)
void setBold (bool b)
bool isBold () const
Type type ()

Private Attributes

Type typ
bool bld

Detailed Description

Base class for all items appearing in ProjectOverview and ProjectDetails.

Definition at line 28 of file autolistviewitems.h.


Member Enumeration Documentation

enum ProjectItem::Type
 

Enumeration values:
Subproject 
Target 
File 

Definition at line 31 of file autolistviewitems.h.

Referenced by type().


Constructor & Destructor Documentation

ProjectItem::ProjectItem Type  type,
QListView parent,
const QString text
 

Class ProjectItem.

Definition at line 25 of file autolistviewitems.cpp.

References bld, ProjectItem(), and text().

Referenced by ProjectItem().

ProjectItem::ProjectItem Type  type,
ProjectItem parent,
const QString text
 

Definition at line 32 of file autolistviewitems.cpp.

References bld, ProjectItem(), and text().


Member Function Documentation

bool ProjectItem::isBold  )  const [inline]
 

Definition at line 40 of file autolistviewitems.h.

References bld.

Referenced by paintCell().

void ProjectItem::paintCell QPainter p,
const QColorGroup cg,
int  column,
int  width,
int  alignment
 

Definition at line 39 of file autolistviewitems.cpp.

References isBold(), and paintCell().

Referenced by paintCell().

void ProjectItem::setBold bool  b  )  [inline]
 

Definition at line 38 of file autolistviewitems.h.

References bld, and setBold().

Referenced by AutoProjectWidget::setActiveTarget(), and setBold().

Type ProjectItem::type  )  [inline]
 

Definition at line 42 of file autolistviewitems.h.

References typ, and Type.

Referenced by AutoProjectWidget::selectedFile(), AutoProjectWidget::selectedSubproject(), AutoProjectWidget::selectedTarget(), AutoDetailsView::slotBuildTarget(), AutoDetailsView::slotDetailsContextMenu(), AutoDetailsView::slotDetailsExecuted(), AutoProjectWidget::slotDetailsSelectionChanged(), and AutoDetailsView::slotRemoveDetail().


Member Data Documentation

bool ProjectItem::bld [private]
 

Definition at line 47 of file autolistviewitems.h.

Referenced by isBold(), ProjectItem(), and setBold().

Type ProjectItem::typ [private]
 

Definition at line 46 of file autolistviewitems.h.

Referenced by type().


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:05 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003