| 
    Wexus2 0.20 
   | 
 

Public Attributes | |
| int | year | 
| int | month | 
| int | day | 
| QString | title | 
Protected Member Functions | |
| virtual bool | onLoad (const QString &fullfilename) | 
| virtual bool blogapp::Post::onLoad | ( | const QString & | fullfilename | ) |  [protected, virtual] | 
        
This is called after loading a record. id (the filename) is already set up entering this function. You can also examine the full filename parameter.
Decendants should be able to work with empty-string ids and can throw exceptions on errors.
TODO in the future, this might be implemented in a more automatic/regex manner using .eh-like files.
The default implementation does nothing but return true;
Reimplemented from wexus::ActiveFile.