kpgeneralpage.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 #ifndef KPGENERALPAGE_H
00022 #define KPGENERALPAGE_H
00023 
00024 #include "kprintdialogpage.h"
00025 
00026 class QComboBox;
00027 class QButtonGroup;
00028 class QGroupBox;
00029 class QLabel;
00030 
00031 class KPGeneralPage : public KPrintDialogPage
00032 {
00033     Q_OBJECT
00034 public:
00035     KPGeneralPage(KMPrinter *pr, DrMain *dr, QWidget *parent = 0, const char *name = 0);
00036     ~KPGeneralPage();
00037 
00038     void setOptions(const QMap<QString,QString>& opts);
00039     void getOptions(QMap<QString,QString>& opts, bool incldef = false);
00040 
00041 protected:
00042     void initialize();
00043 
00044 protected slots:
00045     void slotOrientationChanged(int);
00046     void slotDuplexChanged(int);
00047     void slotNupChanged(int);
00048 
00049 protected:
00050     QComboBox   *m_pagesize, *m_papertype, *m_inputslot;
00051     QComboBox   *m_startbanner, *m_endbanner;
00052     QButtonGroup    *m_orientbox, *m_duplexbox, *m_nupbox;
00053     QGroupBox   *m_bannerbox;
00054     QLabel      *m_orientpix, *m_duplexpix, *m_nuppix;
00055 };
00056 
00057 #endif
 
This file is part of the documentation for kdeprint Library Version 3.2.0.