KDevelop API Documentation

ProjectItem Class Reference

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

#include <autolistviewitems.h>

Inheritance diagram for ProjectItem:

Inheritance graph
[legend]
Collaboration diagram for ProjectItem:

Collaboration graph
[legend]
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 29 of file autolistviewitems.h.


Member Enumeration Documentation

enum ProjectItem::Type
 

Enumeration values:
Subproject 
Target 
File 

Definition at line 32 of file autolistviewitems.h.

Referenced by type().


Constructor & Destructor Documentation

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

Class ProjectItem.

Definition at line 30 of file autolistviewitems.cpp.

References bld, and text().

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

Definition at line 37 of file autolistviewitems.cpp.

References bld, and text().


Member Function Documentation

bool ProjectItem::isBold  )  const [inline]
 

Definition at line 41 of file autolistviewitems.h.

Referenced by paintCell().

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

Definition at line 44 of file autolistviewitems.cpp.

References isBold().

void ProjectItem::setBold bool  b  )  [inline]
 

Definition at line 39 of file autolistviewitems.h.

References bld.

Referenced by AutoProjectWidget::setActiveTarget().

Type ProjectItem::type  )  [inline]
 

Definition at line 43 of file autolistviewitems.h.

References Type.

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


Member Data Documentation

bool ProjectItem::bld [private]
 

Definition at line 48 of file autolistviewitems.h.

Referenced by ProjectItem(), and setBold().

Type ProjectItem::typ [private]
 

Definition at line 47 of file autolistviewitems.h.


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 Wed Mar 23 00:28:34 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003