kde-playground/kdepim/pimsettingexporter/akonadidatabase.h

42 lines
1.1 KiB
C
Raw Permalink Normal View History

/*
Copyright (c) 2012-2013 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, 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 General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AKONADIDATABASE_H
#define AKONADIDATABASE_H
#include <QString>
#include <QStringList>
class AkonadiDataBase
{
public:
explicit AkonadiDataBase();
~AkonadiDataBase();
QStringList options() const;
QString driver() const;
QString name() const;
private:
void init();
QStringList m_dboptions;
QString m_dbdriver;
QString m_dbname;
};
#endif // AKONADIDATABASE_H