Fix variable name
[kdepim.git] / blogilo / src / constants.h
blob3fefbfe56cd0ebb4a467607d10adc80f3d3264e9
1 /*
2 This file is part of Blogilo, A KDE Blogging Client
4 Copyright (C) 2008-2010 Mehrdad Momeny <mehrdad.momeny@gmail.com>
5 Copyright (C) 2008-2010 Golnaz Nilieh <g382nilieh@gmail.com>
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License as
9 published by the Free Software Foundation; either version 2 of
10 the License or (at your option) version 3 or any later version
11 accepted by the membership of KDE e.V. (or its successor approved
12 by the membership of KDE e.V.), which shall act as a proxy
13 defined in Section 14 of version 3 of the license.
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, see http://www.gnu.org/licenses/
24 #ifndef CONSTANTS_H
25 #define CONSTANTS_H
27 #include <QStandardPaths>
29 /**
30 Constants.
31 @author Mehrdad Momeny <mehrdad.momeny@gmail.com>
32 @author Golnaz Nilieh <g382nilieh@gmail.com>
35 static const char APPNAME[] = "Blogilo";
36 #define DATA_DIR QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QLatin1String("/blogilo/")
37 #define CONF_DB DATA_DIR+QLatin1String("/blogilo.db")
38 static const int STATUSTIMEOUT = 5000;
40 #endif