Changeset e6ab8a2 for src/mvc/room.h


Ignore:
Timestamp:
07/04/11 23:42:02 (11 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master, qt5
Children:
526128c
Parents:
8dd3dd2
Message:

Removed the ability to show "pictures" (maps) of rooms and maps of conferences.
The XML file does not contain picture/map/image information of conferences or rooms.
We left the room.picture definition in the database SQL because there is no "drop column"
in sqlite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/room.h

    r8dd3dd2 re6ab8a2  
    3636    QString name() const { return value("name").toString(); }
    3737    void setName(const QString & type) { setValue("name", type); }
    38     // TODO: make naming consistent - either "picture" or "map"
    39     QVariant map() const { return value("picture"); }
    40     bool hasMap() const
    41     {
    42         // empty strings also treasted as NULL,
    43         // as storing NULLs requires rewrite of storing code and DB scheme
    44         return !isNull("picture") and !value("picture").toString().isEmpty();
    45     }
    4638    int insert();
    4739public:
Note: See TracChangeset for help on using the changeset viewer.