Changeset a1755df for src/mvc/event.h


Ignore:
Timestamp:
02/03/10 15:08:05 (12 years ago)
Author:
timkoma <timkoma@…>
Branches:
master, qt5
Children:
fe88470
Parents:
78e3575
Message:

performance improvement for Events

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/event.h

    r78e3575 ra1755df  
    3636{
    3737public:
     38    Event();
    3839    static const QSqlRecord sColumns;
    3940    static QString const sTableName;
     
    6465    QString description() const { return value("description").toString(); }
    6566    // records from other tables associated with 'id'
    66     QString room() const;
    67     int roomId() const;
     67    QString room();
     68    int roomId();
    6869    QStringList persons();
    69     QMap<QString,QString> links() const;
     70    QMap<QString,QString> links();
    7071
    7172    void setId(int id) { setValue("id", id); }
     
    9192
    9293private:
    93     QStringList personsList;
     94    QStringList mPersonsList;
     95    QMap<QString,QString> mLinksList;
     96    int mRoomId;
     97    QString mRoomName;
    9498};
    9599
Note: See TracChangeset for help on using the changeset viewer.