moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kwordquiz / src / wqprintdialogpage.h
blobde1bf95b5b171109d43924174bb044e57cd944ad
1 /* This file is part of KWordQuiz
2 Copyright (C) 2004 Peter Hedlund <peter@peterandlinda.com>
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License version 2 as published by the Free Software Foundation.
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Library General Public License for more details.
13 You should have received a copy of the GNU Library General Public License
14 along with this library; see the file COPYING.LIB. If not, write to
15 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16 Boston, MA 02111-1307, USA.
19 #ifndef WQPRINTDIALOGPAGE_H
20 #define WQPRINTDIALOGPAGE_H
23 #include <kdeprint/kprintdialogpage.h>
25 /**
26 Print dialog page to provide specific print options for KWordQuiz
28 @author Peter Hedlund
30 class WQPrintDialogPage : public KPrintDialogPage
32 Q_OBJECT
33 public:
34 WQPrintDialogPage( QWidget *parent = 0, const char *name = 0 );
36 ~WQPrintDialogPage();
37 //reimplement virtual functions
38 void getOptions(QMap<QString,QString>& opts, bool incldef = false);
39 void setOptions(const QMap<QString,QString>& opts);
40 bool isValid(const QString& msg );
42 private:
43 QButtonGroup * g;
44 QRadioButton * rb0;
45 QRadioButton * rb1;
46 QRadioButton * rb2;
49 #endif