Added settings for seasons and number series. Added static method
ComboData::createComboData for easier combo bindings.
This commit is contained in:
+6
-1
@@ -39,6 +39,11 @@ public:
|
||||
|
||||
odb::session &session();
|
||||
|
||||
SeasonPtr currentSeason() const;
|
||||
void setCurrentSeason(const SeasonPtr ¤tSeason);
|
||||
|
||||
void checkNumberSeries();
|
||||
|
||||
private:
|
||||
Context();
|
||||
QList<IPlugin*> m_plugins;
|
||||
@@ -47,6 +52,7 @@ private:
|
||||
bool m_dbOpened;
|
||||
odb::session m_session;
|
||||
QSharedPointer<User> m_currentUser;
|
||||
SeasonPtr m_currentSeason;
|
||||
|
||||
QStringList m_solved;
|
||||
|
||||
@@ -56,7 +62,6 @@ private:
|
||||
void createSchema(IPlugin *plugin, const QSqlDatabase &db, const QMap<QString, int> &schemaMap);
|
||||
void checkPermissions();
|
||||
void checkSeason();
|
||||
void checkNumberSeries();
|
||||
};
|
||||
|
||||
#endif // CONTEXT_H
|
||||
|
||||
Reference in New Issue
Block a user