KDevelop API Documentation

KDevApplicationTree Class Reference

#include <kapplicationtree.h>

Inheritance diagram for KDevApplicationTree:

KListView QListView 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 addDesktopGroup(), KDevApplicationTree(), slotItemHighlighted(), and slotSelectionChanged().

Referenced by KDevApplicationTree().


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 addDesktopGroup(), KServiceGroup::caption(), KService::desktopEntryPath(), endl(), KService::exec(), KServiceGroup::icon(), KService::icon(), KSycocaEntry::isType(), kdWarning(), KServiceGroup::List, KService::name(), KServiceGroup::Ptr, KServiceGroup::relPath(), and text().

Referenced by addDesktopGroup(), and 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.

References resizeEvent().

Referenced by resizeEvent().

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, highlighted(), and slotItemHighlighted().

Referenced by KDevApplicationTree(), and slotItemHighlighted().

void KDevApplicationTree::slotSelectionChanged QListViewItem i  )  [slot]
 

Definition at line 233 of file kapplicationtree.cpp.

References currentitem, selected(), and slotSelectionChanged().

Referenced by KDevApplicationTree(), and slotSelectionChanged().


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.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:22 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003