Changeset 4693fa6 for src/mvc/track.h


Ignore:
Timestamp:
01/20/10 22:02:30 (12 years ago)
Author:
pavelpa <pavelpa@…>
Branches:
master, qt5
Children:
8fe9bd2
Parents:
926f106
Message:

changed 'Activity' -> 'Track'

File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/mvc/track.h

    r926f106 r4693fa6  
    11/*
    2  * activity.h
     2 * track.h
    33 *
    44 *  Created on: Dec 27, 2009
     
    66 */
    77
    8 #ifndef ACTIVITY_H_
    9 #define ACTIVITY_H_
     8#ifndef TRACK_H
     9#define TRACK_H
    1010
    1111#include <ormrecord.h>
    1212
    13 class Activity : public OrmRecord<Activity>
     13class Track : public OrmRecord<Track>
    1414{
    1515public:
     
    1818    static const int sTableColCount;
    1919public:
    20     static QMap<int, Activity> mIdToActivity;
     20    static QMap<int, Track> mIdToTrack;
    2121public:
    22     static QList<Activity> getAll();
     22    static QList<Track> getAll();
    2323    int id() const { return value("id").toInt(); }
    2424    void setId(int id) { setValue("id", id); }
     
    2626    void setName(const QString & type) { setValue("name", type); }
    2727public:
    28     static void updateActivityMap();
    29     static QString getActivityName(int id);
     28    static void updateTrackMap();
     29    static QString getTrackName(int id);
    3030};
    3131
    32 #endif /* ACTIVITY_H_ */
     32#endif /* TRACK_H */
     33
Note: See TracChangeset for help on using the changeset viewer.