karm

csvexportdialog.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 CSVEXPORTDIALOG_H
00022 #define CSVEXPORTDIALOG_H
00023 
00024 #include "csvexportdialog_base.h"
00025 #include "reportcriteria.h"
00026 
00027 class CSVExportDialog : public CSVExportDialogBase
00028 {
00029   Q_OBJECT
00030   TQ_OBJECT
00031 
00032   public:
00033     CSVExportDialog( ReportCriteria::REPORTTYPE rt,
00034                      TQWidget *parent = 0, 
00035                      const char *name = 0
00036                      );
00037     
00047     void enableTasksToExportQuestion();
00048 
00052     ReportCriteria reportCriteria();
00053 
00054   private slots:
00055 
00059     void enableExportButton();
00060 
00061   private:
00062     ReportCriteria rc;
00063 };
00064 
00065 #endif