cupslocationgeneral.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 #ifndef CUPSLOCATIONGENERAL_H
00021 #define CUPSLOCATIONGENERAL_H
00022 
00023 #include <qwidget.h>
00024 
00025 class QLineEdit;
00026 class QComboBox;
00027 struct CupsLocation;
00028 struct CupsdConf;
00029 
00030 class CupsLocationGeneral : public QWidget
00031 {
00032     Q_OBJECT;
00033 public:
00034     CupsLocationGeneral(CupsdConf *conf, QWidget *parent = 0, const char *name = 0);
00035     ~CupsLocationGeneral();
00036 
00037     void loadLocation(CupsLocation *loc);
00038     void saveLocation(CupsLocation *loc);
00039     bool isValid();
00040         void setInfos(CupsdConf*);
00041 
00042 protected slots:
00043     void authClassChanged(int);
00044     void authTypeChanged(int);
00045 
00046 private:
00047     QComboBox   *resource_;
00048     QComboBox   *authtype_;
00049     QComboBox   *authclass_;
00050     QLineEdit   *authgroupname_;
00051         QComboBox   *encryption_;
00052 
00053     CupsdConf   *conf_; 
00054 };
00055 
00056 #endif
 
This file is part of the documentation for kdeprint Library Version 3.2.0.