cupsdoption.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 #ifndef CUPSDOPTION_H
00021 #define CUPSDOPTION_H
00022 
00023 #include <qwidget.h>
00024 
00025 class QCheckBox;
00026 class QHBoxLayout;
00027 class QFrame;
00028 
00029 class CupsdOption : public QWidget
00030 {
00031     Q_OBJECT;
00032 public:
00033     CupsdOption(QWidget *parent = 0, const char *name = 0);
00034     ~CupsdOption();
00035 
00036     QSize sizeHint() const;
00037     void setDefault(bool on = true);
00038     bool isDefault() const;
00039 
00040 protected slots:
00041     void checkClicked();
00042 
00043 protected:
00044     void childEvent(QChildEvent *e);
00045 
00046 private:
00047     QCheckBox   *cb_;
00048     QWidget     *cbw_;
00049     QHBoxLayout     *layout_;
00050     QFrame      *fr_;
00051 
00052     QWidget     *widget_;
00053 };
00054 
00055 #endif
 
This file is part of the documentation for kdeprint Library Version 3.2.0.