Added dialogs to change home and work locations.
[ptas] / zouba / locations.h
1 #ifndef LOCATIONS_H
2 #define LOCATIONS_H
3
4 #include "location.h"
5
6 #include <QHash>
7 #include <QString>
8
9 class Locations
10 {
11 public:
12   Locations();
13   ~Locations();
14
15   bool addLocation( Location *location );
16
17   Location *location( const QString &label );
18
19 private:
20   static QHash<QString,Location *> locationHash;
21 };
22 #endif // LOCATIONS_H