LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LaunchPoint Class Reference

#include <LaunchPoint.h>

Public Member Functions

 LaunchPoint (ApplicationDescription *appDesc, const std::string &id, const std::string &launchPointId, const std::string &title, const std::string &menuName, const std::string &iconPath, const std::string &params, bool removable)
 
 ~LaunchPoint ()
 
json_object * toJSON () const
 
void setAppDesc (ApplicationDescription *appDesc)
 
bool updateIconPath (std::string newIconPath)
 
void updateTitle (const std::string &titleStr)
 
ApplicationDescriptionappDesc () const
 
const std::string & id () const
 
const std::string & launchPointId () const
 
const std::string & title () const
 
const std::string & menuName () const
 
const std::string & iconPath () const
 
const std::string & params () const
 
QPixmap icon () const
 
bool isDefault () const
 
void setAsDefault (bool dv=true)
 
bool setRemovable (bool v=true)
 
bool isRemovable () const
 
std::string category () const
 
std::string entryPoint () const
 
bool matchesTitle (const gchar *str) const
 
int compareByKeys (const LaunchPoint *lp) const
 
bool isVisible () const
 

Static Public Member Functions

static LaunchPointfromFile (ApplicationDescription *appDesc, const std::string &filePath)
 

Constructor & Destructor Documentation

LaunchPoint::LaunchPoint ( ApplicationDescription appDesc,
const std::string &  id,
const std::string &  launchPointId,
const std::string &  title,
const std::string &  menuName,
const std::string &  iconPath,
const std::string &  params,
bool  removable 
)
LaunchPoint::~LaunchPoint ( )

Member Function Documentation

ApplicationDescription* LaunchPoint::appDesc ( ) const
inline
std::string LaunchPoint::category ( ) const
int LaunchPoint::compareByKeys ( const LaunchPoint lp) const
std::string LaunchPoint::entryPoint ( ) const
LaunchPoint * LaunchPoint::fromFile ( ApplicationDescription appDesc,
const std::string &  filePath 
)
static
QPixmap LaunchPoint::icon ( ) const
const std::string& LaunchPoint::iconPath ( ) const
inline
const std::string& LaunchPoint::id ( ) const
inline
bool LaunchPoint::isDefault ( ) const
inline
bool LaunchPoint::isRemovable ( ) const
inline
bool LaunchPoint::isVisible ( ) const
const std::string& LaunchPoint::launchPointId ( ) const
inline
bool LaunchPoint::matchesTitle ( const gchar *  str) const
const std::string& LaunchPoint::menuName ( ) const
inline
const std::string& LaunchPoint::params ( ) const
inline
void LaunchPoint::setAppDesc ( ApplicationDescription appDesc)
inline
void LaunchPoint::setAsDefault ( bool  dv = true)
inline
bool LaunchPoint::setRemovable ( bool  v = true)
inline
const std::string& LaunchPoint::title ( ) const
inline
json_object * LaunchPoint::toJSON ( ) const
bool LaunchPoint::updateIconPath ( std::string  newIconPath)
void LaunchPoint::updateTitle ( const std::string &  titleStr)

The documentation for this class was generated from the following files: