QCAD
Open Source 2D CAD
Item Class Reference

Copyright (c) 2011-2018 by Andrew Mustun. More...

Inheritance diagram for Item:
Table

Public Member Functions

void getAttributeAs ()
 
void getCreators (void localeName)
 
void getFilePath ()
 
void getIcon (void small, void regenerate, void noFavoritesMark)
 
void getLicenses ()
 
void getPath ()
 
void getRdfFilePath ()
 
void getScriptClassName ()
 
void getTableName ()
 
void getTitles (void localeName)
 
void isFavorite ()
 
void isScript ()
 
void Item (void parent_id, void name, void path, void type, void last_mod, void last_mod_rdf, void size, void size_rdf)
 
void markIcon (void icon, void small, void favorite, void script, void failed)
 Marks the given icon with further information (favorite star, script wheel, error). More...
 
void save ()
 
- Public Member Functions inherited from Table
void addProperties (void query)
 Adds the fields from the query record to this object as properties. More...
 
void Table ()
 
void toString ()
 

Public Attributes

int icon
 
int id
 
int last_mod
 
int last_mod_rdf
 
int name
 
int parent_id
 
int path
 
int size
 
int size_rdf
 
int type
 

Detailed Description

Copyright (c) 2011-2018 by Andrew Mustun.

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

Constructor & Destructor Documentation

◆ Item()

void Item::Item ( void  parent_id,
void  name,
void  path,
void  type,
void  last_mod,
void  last_mod_rdf,
void  size,
void  size_rdf 
)
inline

Member Function Documentation

◆ getAttributeAs()

void Item::getAttributeAs ( )
inline

◆ getCreators()

void Item::getCreators ( void  localeName)
inline

◆ getFilePath()

void Item::getFilePath ( )
inline

◆ getIcon()

void Item::getIcon ( void  small,
void  regenerate,
void  noFavoritesMark 
)
inline

◆ getLicenses()

void Item::getLicenses ( )
inline

◆ getPath()

void Item::getPath ( )
inline

◆ getRdfFilePath()

void Item::getRdfFilePath ( )
inline

◆ getScriptClassName()

void Item::getScriptClassName ( )
inline

◆ getTableName()

void Item::getTableName ( )
inline

◆ getTitles()

void Item::getTitles ( void  localeName)
inline

◆ isFavorite()

void Item::isFavorite ( )
inline

◆ isScript()

void Item::isScript ( )
inline

◆ markIcon()

void Item::markIcon ( void  icon,
void  small,
void  favorite,
void  script,
void  failed 
)
inline

Marks the given icon with further information (favorite star, script wheel, error).

Parameters
iconQPixmap or undefined.
favoriteTrue: mark as favorite.
scriptTrue: mark as script.
failedTrue: mark as error.
Returns
New QIcon.

◆ save()

void Item::save ( )
inline

Member Data Documentation

◆ icon

int Item::icon

◆ id

int Item::id

◆ last_mod

int Item::last_mod

◆ last_mod_rdf

int Item::last_mod_rdf

◆ name

int Item::name

◆ parent_id

int Item::parent_id

◆ path

int Item::path

◆ size

int Item::size

◆ size_rdf

int Item::size_rdf

◆ type

int Item::type

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