1 // Copyright 2010 Jochen Becher
3 // This file is part of MovieSchedule.
5 // MovieSchedule is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation, either version 3 of the License, or
8 // (at your option) any later version.
10 // MovieSchedule is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with MovieSchedule. If not, see <http://www.gnu.org/licenses/>.
21 #include "data/moviekey.h"
31 MovieKey GetKey() const { return MovieKey(_name); }
33 QString GetName() const { return _name; }
34 void SetName(const QString &name) { _name = name; }
36 QString GetTheatersUrl() const { return _theaters_url; }
37 void SetTheatersUrl(const QString &theaters_url) { _theaters_url = theaters_url; }
39 QTime GetDuration() const { return _duration; }
40 void SetDuration(const QTime &duration) { _duration = duration; }
42 QString GetComment() const { return _comment; }
43 void SetComment(const QString &age) { _comment = age; }
45 double GetRate() const { return _rate; }
46 void SetRate(double rate) { _rate = rate; }
50 QString _theaters_url;