Wexus2 0.20
wexus2.src/blogapp/Post.h
00001 
00002 /*
00003  * Copyright (c) 2011 Aleksander B. Demko
00004  * This source code is distributed under the MIT license.
00005  * See the accompanying file LICENSE.MIT.txt for details.
00006  */
00007 
00008 #ifndef __INCLUDED_BLOGAPP_POST_H__
00009 #define __INCLUDED_BLOGAPP_POST_H__
00010 
00011 #include <wexus/ActiveFile.h>
00012 
00013 namespace blogapp
00014 {
00015   class Post;
00016 }
00017 
00018 class blogapp::Post : public wexus::ActiveFile
00019 {
00020   public:
00021     int year;
00022     int month;
00023     int day;
00024     QString title;
00025 
00026   public:
00027     Post(void);
00028 
00029   protected:
00030     virtual bool onLoad(const QString &fullfilename);
00031 };
00032 
00033 #endif
00034 
 All Classes Namespaces Functions Variables Enumerations Enumerator