2
Copyright (c) 2009 Sascha Peilicke <sasch.pe@gmx.de>
4
This application is free software; you can redistribute it and/or modify it
5
under the terms of the GNU Library General Public License as published by
6
the Free Software Foundation; either version 2 of the License, or (at your
7
option) any later version.
9
This application is distributed in the hope that it will be useful, but WITHOUT
10
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
12
License for more details.
14
You should have received a copy of the GNU Library General Public License
15
along with this application; see the file COPYING.LIB. If not, write to the
16
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20
#ifndef TODOSSYNCSOURCE_H
21
#define TODOSSYNCSOURCE_H
23
#include "akonadisyncsource.h"
28
class TodosSyncSourceConfig : public AkonadiSyncSourceConfig
33
TodosSyncSourceConfig()
34
: AkonadiSyncSourceConfig(Settings::self()->todosLastSyncTime().toTime_t(),
35
Settings::self()->todosRemoteDatabaseName().toLatin1())
37
setName(Settings::self()->todosCollectionName().toLatin1());
38
setType("text/x-vcalendar");
39
setSupportedTypes("text/x-vcard:,text/vcard");
46
class TodosSyncSource : public AkonadiSyncSource
51
TodosSyncSource(TimeTrackingObserver *observer,
52
TodosSyncSourceConfig *config,
53
SyncManagerConfig *managerConfig);