knotes Library API Documentation

knoteslegacy.h

00001 /*******************************************************************
00002  KNotes -- Notes for the KDE project
00003 
00004  Copyright (c) 2002-2004, Michael Brade <brade@kde.org>
00005 
00006  This program is free software; you can redistribute it and/or
00007  modify it under the terms of the GNU General Public License
00008  as published by the Free Software Foundation; either version 2
00009  of the License, or (at your option) any later version.
00010 
00011  This program is distributed in the hope that it will be useful,
00012  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  GNU General Public License for more details.
00015 
00016  You should have received a copy of the GNU General Public License
00017  along with this program; if not, write to the Free Software
00018  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00019 *******************************************************************/
00020 
00021 #ifndef KNOTESLEGACY_H
00022 #define KNOTESLEGACY_H
00023 
00024 #include <qstring.h>
00025 #include <qdir.h>
00026 
00027 namespace KCal {
00028     class CalendarLocal;
00029     class Journal;
00030 }
00031 
00032 
00036 class KNotesLegacy
00037 {
00038 public:
00039     static void cleanUp();
00040     static bool convert( KCal::CalendarLocal *calendar );
00041 private:
00042     static bool convertKNotes1Config( KCal::Journal *j, QDir& dir, const QString& file );
00043     static bool convertKNotes2Config( KCal::Journal *j, QDir& dir, const QString& file );
00044 };
00045 
00046 #endif
KDE Logo
This file is part of the documentation for knotes Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:36:55 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003