00001 /****************************************************************************** 00002 * 00003 * This file is part of Gibberish. 00004 * 00005 * Gibberish is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * Gibberish is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with Foobar; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00018 * 00019 *****************************************************************************/ 00020 00021 #ifndef _H_VOCABULARY 00022 #define _H_VOCABULARY 00023 00024 #include <QString> 00025 #include <QList> 00026 #include <QDate> 00027 00036 class Vocabulary 00037 { 00038 public: 00039 Vocabulary(); 00040 00041 void setTitle( QString title ); 00042 void setAuthor( QString author ); 00043 void setEmail( QString email ); 00044 void setDescription( QString description ); 00045 void setCreated( QDate created ); 00046 //void setCategories( QList categories ); 00047 //void setLanguages( QList languages ); 00048 void setXMLPath( QString xmlPath ); 00049 00050 QString getTitle(); 00051 QString getAuthor(); 00052 QString getEmail(); 00053 QString getDescription(); 00054 QDate getCreated(); 00055 //QList& getCategories(); 00056 //QList& getLanguages(); 00057 QString getXMLPath(); 00058 00059 private: 00060 QString title; 00061 QString author; 00062 QString email; 00063 QString description; 00064 QDate created; 00065 //QList<QString> categories; 00066 //QList<QString> languages; 00067 QString xmlPath; 00068 }; 00069 00070 #endif