cupsdserversecuritypage.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 #ifndef CUPSDSERVERSECURITYPAGE_H
00021 #define CUPSDSERVERSECURITYPAGE_H
00022 
00023 #include "cupsdpage.h"
00024 
00025 #include <qptrlist.h>
00026 
00027 class QLineEdit;
00028 class QListView;
00029 class CupsdOption;
00030 class CupsLocation;
00031 
00032 class CupsdServerSecurityPage : public CupsdPage
00033 {
00034     Q_OBJECT;
00035 public:
00036     CupsdServerSecurityPage(QWidget *parent = 0, const char *name = 0);
00037     ~CupsdServerSecurityPage();
00038 
00039     bool loadConfig(CupsdConf *conf, QString& msg);
00040     bool saveConfig(CupsdConf *conf, QString& msg);
00041     void setDefaults();
00042         void setInfos(CupsdConf*);
00043 
00044 protected:
00045     void updateLocations();
00046 
00047 protected slots:
00048     void addClicked();
00049     void modifyClicked();
00050     void removeClicked();
00051 
00052 private:
00053     QLineEdit   *systemgroup_;
00054     QListView   *locations_;
00055 
00056     CupsdOption *opt_[1];
00057     QPtrList<CupsLocation>  loclist_;
00058 };
00059 
00060 #endif
 
This file is part of the documentation for kdeprint Library Version 3.2.0.