karm

reportcriteria.h

00001 /*
00002  *   Copyright (C) 2004  Mark Bucciarelli <mark@hubcapconsulting.com>
00003  *
00004  *   This program is free software; you can redistribute it and/or modify
00005  *   it under the terms of the GNU General Public License as published by
00006  *   the Free Software Foundation; either version 2 of the License, or
00007  *   (at your option) any later version.
00008  *
00009  *   This program is distributed in the hope that it will be useful,
00010  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *   GNU General Public License for more details.
00013  *
00014  *   You should have received a copy of the GNU General Public License along
00015  *   with this program; if not, write to the
00016  *      Free Software Foundation, Inc.
00017  *      51 Franklin Street, Fifth Floor
00018  *      Boston, MA  02110-1301  USA.
00019  *
00020  */
00021 #ifndef REPORTCRITERIA_H
00022 #define REPORTCRITERIA_H
00023 
00024 #include <qdatetime.h>
00025 #include <kurl.h>
00026 class QString;
00027 
00038 class ReportCriteria
00039 {
00040   public:
00041 
00045     enum REPORTTYPE { CSVTotalsExport = 0, CSVHistoryExport = 1 };
00046 
00050     REPORTTYPE reportType;
00051 
00055     KURL url;
00056 
00060     QDate   from;
00061 
00065     QDate   to;
00066 
00072     bool    allTasks;
00073 
00078     bool    decimalMinutes;
00079 
00083     QString delimiter;
00084 
00088     QString quote;
00089 };
00090 
00091 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys