KDevelop API Documentation

KDevApplicationTree Class Reference

#include <kapplicationtree.h>

Inheritance diagram for KDevApplicationTree:

Inheritance graph
[legend]
Collaboration diagram for KDevApplicationTree:

Collaboration graph
[legend]
List of all members.

Public Slots

void slotItemHighlighted (QListViewItem *i)
void slotSelectionChanged (QListViewItem *i)

Signals

void selected (const QString &_name, const QString &_exec)
void highlighted (const QString &_name, const QString &_exec)

Public Member Functions

 KDevApplicationTree (QWidget *parent, const char *name=0)
void addDesktopGroup (QString relPath, KDevAppTreeListItem *item=0)
 Add a group of .desktop/.kdelnk entries.
bool isDirSel ()

Protected Member Functions

void resizeEvent (QResizeEvent *_ev)

Protected Attributes

KDevAppTreeListItemcurrentitem

Constructor & Destructor Documentation

KDevApplicationTree::KDevApplicationTree QWidget parent,
const char *  name = 0
 

Definition at line 134 of file kapplicationtree.cpp.

References KListView::addColumn(), addDesktopGroup(), slotItemHighlighted(), and slotSelectionChanged().


Member Function Documentation

void KDevApplicationTree::addDesktopGroup QString  relPath,
KDevAppTreeListItem item = 0
 

Add a group of .desktop/.kdelnk entries.

Definition at line 156 of file kapplicationtree.cpp.

References KServiceGroup::caption(), KService::desktopEntryPath(), KService::exec(), KServiceGroup::group(), KServiceGroup::icon(), KService::icon(), KSycocaEntry::isType(), kdWarning(), KServiceGroup::List, KService::name(), KServiceGroup::Ptr, KServiceGroup::relPath(), and text().

Referenced by KDevApplicationTree().

void KDevApplicationTree::highlighted const QString _name,
const QString _exec
[signal]
 

Referenced by slotItemHighlighted().

bool KDevApplicationTree::isDirSel  ) 
 

Definition at line 148 of file kapplicationtree.cpp.

References currentitem, and KDevAppTreeListItem::isDirectory().

void KDevApplicationTree::resizeEvent QResizeEvent _ev  )  [protected]
 

Definition at line 249 of file kapplicationtree.cpp.

void KDevApplicationTree::selected const QString _name,
const QString _exec
[signal]
 

Referenced by slotSelectionChanged().

void KDevApplicationTree::slotItemHighlighted QListViewItem i  )  [slot]
 

Definition at line 216 of file kapplicationtree.cpp.

References currentitem, KDevAppTreeListItem::directory, KDevAppTreeListItem::exec, and highlighted().

Referenced by KDevApplicationTree().

void KDevApplicationTree::slotSelectionChanged QListViewItem i  )  [slot]
 

Definition at line 233 of file kapplicationtree.cpp.

References currentitem, KDevAppTreeListItem::directory, KDevAppTreeListItem::exec, and selected().

Referenced by KDevApplicationTree().


Member Data Documentation

KDevAppTreeListItem* KDevApplicationTree::currentitem [protected]
 

Definition at line 89 of file kapplicationtree.h.

Referenced by isDirSel(), slotItemHighlighted(), and slotSelectionChanged().


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