~elopio/gallery-app/revert_workaround-1302706-click_toolbar_button_failure

« back to all changes in this revision

Viewing changes to src/database/database.h

  • Committer: Leo Arias
  • Date: 2015-05-15 08:05:23 UTC
  • mfrom: (954.1.241 gallery-app)
  • Revision ID: leo.arias@canonical.com-20150515080523-i2of3vr8h7dioj59
Now the toolbar object is not needed at all.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
class AlbumTable;
28
28
class MediaTable;
29
 
class PhotoEditTable;
30
29
 
31
30
class QSqlDatabase;
32
31
class QSqlQuery;
50
49
 
51
50
    AlbumTable* getAlbumTable() const;
52
51
    MediaTable* getMediaTable() const;
53
 
    PhotoEditTable* getPhotoEditTable() const;
54
52
 
55
53
private:
56
54
    bool openDB();
75
73
    QSqlDatabase* m_db;
76
74
    AlbumTable* m_albumTable;
77
75
    MediaTable* m_mediaTable;
78
 
    PhotoEditTable* m_photoEditTable;
79
76
};
80
77
 
81
78
#endif // DATABASE_H