Added initial implementation of Db.

This commit is contained in:
Jim Evins
2013-11-02 23:25:00 -04:00
parent 262932a4c7
commit 81916cdbda
7 changed files with 683 additions and 10 deletions
+5 -1
View File
@@ -51,8 +51,10 @@ namespace libglabels
mDescription(description),
mPaperId(paperId),
mPageWidth(pageWidth),
mPageHeight(pageHeight)
mPageHeight(pageHeight),
mName("")
{
mName.append( brand ).append( " " ).append( part );
}
Template( const Template &other );
@@ -83,6 +85,8 @@ namespace libglabels
inline const QString &productUrl() const { return mProductUrl; }
inline void setProductUrl( const QString &value ) { mProductUrl = value; }
inline const QString &name() const { return mName; }
void addCategory( const QString &categoryId );
void addFrame( Frame *frame );