Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c047c335

Von Christian Ehringfeld vor mehr als 9 Jahren hinzugefügt

  • ID c047c3359c41607d62318e0ea91a4642865d107e
  • Vorgänger bcd2b697
  • Nachfolger fa8b0f73

license stuff

Unterschiede anzeigen:

samples/example/main.cpp
CuteEntityManager::EntityManager *e = new
// CuteEntityManager::EntityManager("QSQLITE",
// QDir::currentPath() + "/db.sqlite", "", "", "", 0, true);
//QSqlDatabase db = QSqlDatabase()
CuteEntityManager::EntityManager("QSQLITE",
":memory:");
SqliteBackupProcessor *sqliteproc = new SqliteBackupProcessor(e->getDb(),
src/expression.cpp
/*
* Copyright (C) 2015 Christian Ehringfeld <c.ehringfeld@t-online.de>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "expression.h"
using namespace CuteEntityManager;
Expression::Expression() {
src/sqlitebackupprocessor.cpp
/*
* Copyright (C) 2015 Christian Ehringfeld <c.ehringfeld@t-online.de>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "sqlitebackupprocessor.h"
#include <sqlite3.h>
......
}
SqliteBackupProcessor::~SqliteBackupProcessor() {
}
QSharedPointer<Database> SqliteBackupProcessor::getDatabase() const {
return database;
}
......
}
return state;
}
src/sqlitebackupprocessor.h
/*
* Copyright (C) 2015 Christian Ehringfeld <c.ehringfeld@t-online.de>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef SQLITEBACKUPPROCESSOR_H
#define SQLITEBACKUPPROCESSOR_H

Auch abrufbar als: Unified diff