KDevelop API Documentation

KDevAppTreeListItem Class Reference

#include <kapplicationtree.h>

Inheritance diagram for KDevAppTreeListItem:

Inheritance graph
[legend]
Collaboration diagram for KDevAppTreeListItem:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KDevAppTreeListItem (KListView *parent, const QString &name, const QPixmap &pixmap, bool parse, bool dir, const QString &p, const QString &c, const QString &dE)
 KDevAppTreeListItem (QListViewItem *parent, const QString &name, const QPixmap &pixmap, bool parse, bool dir, const QString &p, const QString &c, const QString &dE)
bool isDirectory ()
QString desktopEntryPath () const
QString executable () const

Protected Member Functions

QString key (int column, bool ascending) const
void init (const QPixmap &pixmap, bool parse, bool dir, const QString &_path, const QString &_exec, const QString &_dEntry)
virtual void activate ()
virtual void setOpen (bool o)

Private Attributes

bool parsed
bool directory
QString path
QString exec
QString dEntry

Friends

class KDevApplicationTree

Constructor & Destructor Documentation

KDevAppTreeListItem::KDevAppTreeListItem KListView parent,
const QString name,
const QPixmap pixmap,
bool  parse,
bool  dir,
const QString p,
const QString c,
const QString dE
 

Definition at line 68 of file kapplicationtree.cpp.

References init().

KDevAppTreeListItem::KDevAppTreeListItem QListViewItem parent,
const QString name,
const QPixmap pixmap,
bool  parse,
bool  dir,
const QString p,
const QString c,
const QString dE
 

Definition at line 78 of file kapplicationtree.cpp.

References init().


Member Function Documentation

void KDevAppTreeListItem::activate  )  [protected, virtual]
 

Definition at line 112 of file kapplicationtree.cpp.

References setOpen().

QString KDevAppTreeListItem::desktopEntryPath  )  const [inline]
 

Definition at line 59 of file kapplicationtree.h.

Referenced by ToolsConfig::toList().

QString KDevAppTreeListItem::executable  )  const [inline]
 

Definition at line 60 of file kapplicationtree.h.

void KDevAppTreeListItem::init const QPixmap pixmap,
bool  parse,
bool  dir,
const QString _path,
const QString _exec,
const QString _dEntry
[protected]
 

Definition at line 88 of file kapplicationtree.cpp.

References dEntry, directory, exec, parsed, and path.

Referenced by KDevAppTreeListItem().

bool KDevAppTreeListItem::isDirectory  ) 
 

Definition at line 127 of file kapplicationtree.cpp.

Referenced by KDevApplicationTree::isDirSel().

QString KDevAppTreeListItem::key int  column,
bool  ascending
const [protected]
 

Definition at line 104 of file kapplicationtree.cpp.

References text().

void KDevAppTreeListItem::setOpen bool  o  )  [protected, virtual]
 

Definition at line 118 of file kapplicationtree.cpp.

References parsed, and path.

Referenced by activate().


Friends And Related Function Documentation

friend class KDevApplicationTree [friend]
 

Definition at line 66 of file kapplicationtree.h.


Member Data Documentation

QString KDevAppTreeListItem::dEntry [private]
 

Definition at line 45 of file kapplicationtree.h.

Referenced by init().

bool KDevAppTreeListItem::directory [private]
 

Definition at line 42 of file kapplicationtree.h.

Referenced by init(), KDevApplicationTree::slotItemHighlighted(), and KDevApplicationTree::slotSelectionChanged().

QString KDevAppTreeListItem::exec [private]
 

Definition at line 44 of file kapplicationtree.h.

Referenced by init(), KDevApplicationTree::slotItemHighlighted(), and KDevApplicationTree::slotSelectionChanged().

bool KDevAppTreeListItem::parsed [private]
 

Definition at line 41 of file kapplicationtree.h.

Referenced by init(), and setOpen().

QString KDevAppTreeListItem::path [private]
 

Definition at line 43 of file kapplicationtree.h.

Referenced by init(), and setOpen().


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