Add context, this fordward is different from the fordward when we are in mail context
[kdepim.git] / korganizer / koapp.h
blob2d0fa0dcc2c9b880ef241280251e02bb4cc0739f
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.
25 #ifndef KOAPP_H
26 #define KOAPP_H
28 #include <libkdepim/pimapplication.h>
29 #include <kurl.h>
31 class KOrganizerApp : public KPIM::PimApplication
33 Q_OBJECT
34 public:
35 KOrganizerApp();
36 ~KOrganizerApp();
38 /**
39 Create new instance of KOrganizer. If there is already running a
40 KOrganizer only an additional main window is opened.
42 int newInstance();
44 private:
45 /**
46 Process calendar from URL \arg url. If url is empty open the default
47 calendar based on the resource framework.
49 void processCalendar( const KUrl &url );
52 #endif