Changeset 0d995ed for src/mvc/event.h


Ignore:
Timestamp:
05/05/10 15:57:37 (12 years ago)
Author:
kirilma <kirilma@…>
Branches:
master, qt5
Children:
508de33
Parents:
58eb7cc
Message:

refactor: cache whole Room object in Event

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/event.h

    r58eb7cc r0d995ed  
    2525
    2626#include <ormrecord.h>
     27
     28class Room;
    2729
    2830/**
     
    6567    QString description() const { return value("description").toString(); }
    6668    // records from other tables associated with 'id'
    67     QString room();
     69    Room* room();
     70    QString roomName();
    6871    int roomId();
    6972    QStringList persons();
     
    9699    int mRoomId;
    97100    QString mRoomName;
     101    Room* room_;
    98102};
    99103
Note: See TracChangeset for help on using the changeset viewer.