Remove grantlee_strings_extractor.pyc
[kdepim.git] / korganizer / koapp.h
blob9851c9793684917e0f7812a90136386823fd7448
1 /*
2 This file is part of KOrganizer.
4 Copyright (c) 1999 Preston Brown <pbrown@kde.org>
5 Copyright (c) 2000,2001,2003 Cornelius Schumacher <schumacher@kde.org>
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License along
18 with this program; if not, write to the Free Software Foundation, Inc.,
19 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 As a special exception, permission is given to link this program
22 with any edition of Qt, and distribute the resulting executable,
23 without including the source code for Qt in the source distribution.
26 #ifndef KORG_KOAPP_H
27 #define KORG_KOAPP_H
29 #include <KontactInterface/PimUniqueApplication>
31 class QUrl;
33 class KOrganizerApp : public KontactInterface::PimUniqueApplication
35 Q_OBJECT
36 public:
37 KOrganizerApp(int &argc, char **argv[]);
38 ~KOrganizerApp();
40 /**
41 Create new instance of KOrganizer. If there is already running a
42 KOrganizer only an additional main window is opened.
44 int activate(const QStringList &args, const QString &workingDir) Q_DECL_OVERRIDE;
46 private:
47 /**
48 Process calendar from URL \arg url. If url is empty open the default
49 calendar based on the resource framework.
51 void processCalendar(const QUrl &url);
54 #endif