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 * 59 Temple Place - Suite 330 00018 * Boston, MA 02111-1307 USA. 00019 * 00020 */ 00021 #ifndef REPORTCRITERIA_H 00022 #define REPORTCRITERIA_H 00023 00024 #include <qdatetime.h> 00025 class QString; 00026 00037 class ReportCriteria 00038 { 00039 public: 00040 00044 enum REPORTTYPE { CSVTotalsExport = 0, CSVHistoryExport = 1 }; 00045 00049 REPORTTYPE reportType; 00050 00054 QString url; 00055 00059 QDate from; 00060 00064 QDate to; 00065 00071 bool allTasks; 00072 00077 bool decimalMinutes; 00078 00082 QString delimiter; 00083 00087 QString quote; 00088 }; 00089 00090 #endif