Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Commit

Permalink
Updated app.hpp
Browse files Browse the repository at this point in the history
Added function declaration, To remove database
  • Loading branch information
foxt7ot committed Jan 22, 2015
1 parent cfef4b7 commit da69884
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions databasecreation/src/app.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class App: public QObject

// "Q_INVOKABLE" allows these functions to be called from main.qml
Q_INVOKABLE bool createDatabase();
Q_INVOKABLE void removeDatabase();
Q_INVOKABLE void dropTable();
Q_INVOKABLE void createTable();
Q_INVOKABLE void createRecord(const QString &firstName, const QString &lastName);
Expand Down

0 comments on commit da69884

Please sign in to comment.