Changeset 606c155 for src/mvc/track.h


Ignore:
Timestamp:
01/21/10 13:59:22 (12 years ago)
Author:
korrco <korrco@…>
Branches:
master, qt5
Children:
96fe8fb
Parents:
72cd3af
Message:

activities tab implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/track.h

    r72cd3af r606c155  
    66 */
    77
    8 #ifndef TRACK_H
    9 #define TRACK_H
     8#ifndef TRACK_H_
     9#define TRACK_H_
    1010
    1111#include <ormrecord.h>
     
    1515public:
    1616    static const QSqlRecord sColumns;
     17    static const QSqlRecord sInsertColumns;
    1718    static QString const sTableName;
    1819    static const int sTableColCount;
     20    static const QString NAME;
    1921public:
    2022    static QMap<int, Track> mIdToTrack;
    2123public:
    22     static QList<Track> getAll();
     24    int insert();
    2325    int id() const { return value("id").toInt(); }
    2426    void setId(int id) { setValue("id", id); }
     
    2628    void setName(const QString & type) { setValue("name", type); }
    2729public:
     30    //static void
     31    static QList<Track> getAll();
     32    static Track retrieveByName(QString name);
    2833    static void updateTrackMap();
    2934    static QString getTrackName(int id);
    3035};
    3136
    32 #endif /* TRACK_H */
    33 
     37#endif /* TRACK_H_ */
Note: See TracChangeset for help on using the changeset viewer.