korganizer

kohelper.h
1 /*
2  This file is part of KOrganizer. It provides several static methods
3  that are useful to all views.
4 
5  Copyright (c) 2005 Reinhold Kainhofer <reinhold@kainhofer.com>
6 
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.
11 
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.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program; if not, write to the Free Software
19  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 
21  As a special exception, permission is given to link this program
22  with any edition of TQt, and distribute the resulting executable,
23  without including the source code for TQt in the source distribution.
24 */
25 #ifndef KOHELPER_H
26 #define KOHELPER_H
27 
28 #include <tdemacros.h>
29 
30 namespace KCal {
31  class Calendar;
32  class Incidence;
33 }
34 
35 class TDE_EXPORT KOHelper
36 {
37  public:
44  static TQColor resourceColor( KCal::Calendar*calendar, KCal::Incidence*incidence );
45 };
46 
47 #endif