QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Item Class Reference

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

Inheritance diagram for Item:
Table

List of all members.

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 futher information (favorite star, script wheel, error).
void save ()
- Public Member Functions inherited from Table
void addProperties (void query)
 Adds the fields from the query record to this object as properties.
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-2013 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

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

void Item::getAttributeAs ( )
inline
void Item::getCreators ( void  localeName)
inline
void Item::getFilePath ( )
inline
void Item::getIcon ( void  small,
void  regenerate,
void  noFavoritesMark 
)
inline
void Item::getLicenses ( )
inline
void Item::getPath ( )
inline
void Item::getRdfFilePath ( )
inline
void Item::getScriptClassName ( )
inline
void Item::getTableName ( )
inline
void Item::getTitles ( void  localeName)
inline
void Item::isFavorite ( )
inline
void Item::isScript ( )
inline
void Item::markIcon ( void  icon,
void  small,
void  favorite,
void  script,
void  failed 
)
inline

Marks the given icon with futher 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.
void Item::save ( )
inline

Member Data Documentation

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

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