Back to index

scribus-ng  1.3.4.dfsg+svn20071115
odtdia.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007  /***************************************************************************
00008   *   Copyright (C) 2004 by Riku Leino                                      *
00009   *   tsoots@gmail.com                                                      *
00010   *                                                                         *
00011   *   This program is free software; you can redistribute it and/or modify  *
00012   *   it under the terms of the GNU General Public License as published by  *
00013   *   the Free Software Foundation; either version 2 of the License, or     *
00014   *   (at your option) any later version.                                   *
00015   *                                                                         *
00016   *   This program is distributed in the hope that it will be useful,       *
00017   *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00018   *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00019   *   GNU General Public License for more details.                          *
00020   *                                                                         *
00021   *   You should have received a copy of the GNU General Public License     *
00022   *   along with this program; if not, write to the                         *
00023   *   Free Software Foundation, Inc.,                                       *
00024   *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00025  ***************************************************************************/
00026 
00027 #ifndef ODTDIA_H
00028 #define ODTDIA_H
00029 
00030 #include "scconfig.h"
00031 
00032 #ifdef HAVE_XML
00033 
00034 #include <qcheckbox.h>
00035 #include <qcombobox.h>
00036 #include <qdialog.h>
00037 #include <qlabel.h>
00038 #include <qlayout.h>
00039 #include <qpushbutton.h>
00040 #include <qstring.h>
00041 #include <qstringlist.h>
00042 
00043 class OdtDialog : public QDialog
00044 {
00045        Q_OBJECT
00046 
00047 public:
00048        OdtDialog(bool update, bool prefix, bool pack);
00049        ~OdtDialog();
00050        bool shouldUpdate();
00051        bool usePrefix();
00052        bool askAgain();
00053        bool packStyles();
00054 private:
00055        QCheckBox* updateCheck;
00056        QCheckBox* prefixCheck;
00057        QCheckBox* doNotAskCheck;
00058        QCheckBox* packCheck;
00059        QPushButton* okButton;
00060        QPushButton* cancelButton;
00061 };
00062 
00063 #endif // HAVE_XML
00064 
00065 #endif // ODTDIA_H