00001 #ifndef HELPEROBJECTS_H_ 00002 #define HELPEROBJECTS_H_ 00003 00004 #include <qvaluevector.h> 00005 00006 class Theater; 00007 00008 typedef QValueVector<Theater> TheaterVector; 00009 00010 class Movie 00011 { 00012 public: 00013 QString rating; 00014 QString name; 00015 QString runningTime; 00016 QString showTimes; 00017 TheaterVector theaters; 00018 Movie() 00019 { 00020 rating = ""; 00021 name = ""; 00022 runningTime = ""; 00023 showTimes = ""; 00024 } 00025 }; 00026 00027 typedef QValueVector<Movie> MovieVector; 00028 00029 class Theater 00030 { 00031 public: 00032 QString name; 00033 QString address; 00034 MovieVector movies; 00035 QString showTimes; 00036 Theater() 00037 { 00038 name = ""; 00039 address = ""; 00040 } 00041 }; 00042 00043 #endif
1.5.5