cupsdserverpage.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef CUPSDSERVERPAGE_H
00021 #define CUPSDSERVERPAGE_H
00022
00023 #include "cupsdpage.h"
00024
00025 class QLineEdit;
00026 class QCheckBox;
00027 class QComboBox;
00028
00029 class CupsdServerPage : public CupsdPage
00030 {
00031 Q_OBJECT
00032
00033 public:
00034 CupsdServerPage(QWidget *parent = 0, const char *name = 0);
00035
00036 bool loadConfig(CupsdConf*, QString&);
00037 bool saveConfig(CupsdConf*, QString&);
00038 void setInfos(CupsdConf*);
00039
00040 protected slots:
00041 void classChanged(int);
00042
00043 private:
00044 QLineEdit *servername_, *serveradmin_, *language_, *printcap_, *otherclassname_;
00045 QComboBox *classification_, *charset_, *printcapformat_;
00046 QCheckBox *classoverride_;
00047 };
00048
00049 #endif
|