CatItem Class Reference

#include <catalog.h>


Detailed Description

CatItem (Catalog Item) stores a single item in the index.

Definition at line 36 of file catalog.h.


Public Member Functions

 CatItem ()
 CatItem (QString full, bool isDir=false)
 CatItem (QString full, QString shortN)
 CatItem (QString full, QString shortN, uint i_d)
 CatItem (QString full, QString shortN, uint i_d, QString iconPath)
 This is the constructor most used by plugins.
 CatItem (const CatItem &s)
CatItemoperator= (const CatItem &s)
bool operator== (const CatItem &other) const

Data Fields

QString fullPath
 The full path of the indexed item.
QString shortName
 The abbreviated name of the indexed item.
QString lowName
 The lowercase name of the indexed item.
QString icon
 A path to an icon for the item.
int usage
 How many times this item has been called by the user.
void * data
 This is unused, and meant for plugin writers and future extensions.
int id
 The plugin id of the creator of this CatItem.

Constructor & Destructor Documentation

CatItem::CatItem (  )  [inline]

Definition at line 54 of file catalog.h.

CatItem::CatItem ( QString  full,
bool  isDir = false 
) [inline]

Definition at line 58 of file catalog.h.

CatItem::CatItem ( QString  full,
QString  shortN 
) [inline]

Definition at line 77 of file catalog.h.

CatItem::CatItem ( QString  full,
QString  shortN,
uint  i_d 
) [inline]

Definition at line 86 of file catalog.h.

CatItem::CatItem ( QString  full,
QString  shortN,
uint  i_d,
QString  iconPath 
) [inline]

This is the constructor most used by plugins.

Parameters:
full The full path of the file to execute
The abbreviated name for the entry
i_d Your plugin id (0 for Launchy itself)
iconPath The path to the icon for this entry
Warning:
It is usually a good idea to append ".your_plugin_name" to the end of the full parameter so that there are not multiple items in the index with the same full path.

Definition at line 101 of file catalog.h.

CatItem::CatItem ( const CatItem s  )  [inline]

Definition at line 109 of file catalog.h.


Member Function Documentation

CatItem& CatItem::operator= ( const CatItem s  )  [inline]

Definition at line 119 of file catalog.h.

bool CatItem::operator== ( const CatItem other  )  const [inline]

Definition at line 130 of file catalog.h.


Field Documentation

QString CatItem::fullPath

The full path of the indexed item.

Definition at line 40 of file catalog.h.

QString CatItem::shortName

The abbreviated name of the indexed item.

Definition at line 42 of file catalog.h.

QString CatItem::lowName

The lowercase name of the indexed item.

Definition at line 44 of file catalog.h.

QString CatItem::icon

A path to an icon for the item.

Definition at line 46 of file catalog.h.

int CatItem::usage

How many times this item has been called by the user.

Definition at line 48 of file catalog.h.

void* CatItem::data

This is unused, and meant for plugin writers and future extensions.

Definition at line 50 of file catalog.h.

int CatItem::id

The plugin id of the creator of this CatItem.

Definition at line 52 of file catalog.h.


The documentation for this class was generated from the following file:
Generated on Sat Jun 14 15:07:34 2008 for LaunchyPluginAPI by  doxygen 1.5.4