~ubuntu-branches/ubuntu/vivid/robojournal/vivid-proposed

« back to all changes in this revision

Viewing changes to sql/sqlitecore.h

  • Committer: Package Import Robot
  • Author(s): Ritesh Raj Sarraf
  • Date: 2014-10-14 15:50:21 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20141014155021-gjd34w00cquge8jf
Tags: 0.5-1
* [d7ce610] Imported Upstream version 0.5
* [ff3b609] Refine what is in the docs/
* [c1e0474] Add doc-base registration
* [68cd341] Install upstream provided xpm icon
* [a627af4] Add patch to override hardcoded doc location

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
    This file is part of RoboJournal.
3
3
    Copyright (c) 2012 by Will Kraft <pwizard@gmail.com>.
4
 
    MADE IN USA
 
4
    
5
5
 
6
6
    RoboJournal is free software: you can redistribute it and/or modify
7
7
    it under the terms of the GNU General Public License as published by
28
28
{
29
29
public:
30
30
    SQLiteCore();
31
 
    bool Connect();
 
31
    bool Connect(QString dbname);
32
32
    bool Disconnect();
33
33
    bool AddEntry();
34
34
    bool RemoveEntry();
35
 
    bool CreateDB();
 
35
    bool CreateDB(QString dbname);
36
36
 
37
37
    static QSqlDatabase db;
38
38