cupsdsecuritypage.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef CUPSDSECURITYPAGE_H
00021 #define CUPSDSECURITYPAGE_H
00022
00023 #include "cupsdpage.h"
00024 #include <qptrlist.h>
00025
00026 class QLineEdit;
00027 class EditList;
00028 class QDirLineEdit;
00029 struct CupsLocation;
00030
00031 class CupsdSecurityPage : public CupsdPage
00032 {
00033 Q_OBJECT
00034
00035 public:
00036 CupsdSecurityPage(QWidget *parent = 0, const char *name = 0);
00037
00038 bool loadConfig(CupsdConf*, QString&);
00039 bool saveConfig(CupsdConf*, QString&);
00040 void setInfos(CupsdConf*);
00041
00042 protected slots:
00043 void slotAdd();
00044 void slotEdit(int);
00045 void slotDefaultList();
00046 void slotDeleted(int);
00047
00048 private:
00049 QLineEdit *remoteroot_, *systemgroup_;
00050 QDirLineEdit *encryptcert_, *encryptkey_;
00051 EditList *locations_;
00052
00053 QPtrList<CupsLocation> locs_;
00054 };
00055
00056 #endif
|