kmspecialprinterdlg.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 #ifndef KMSPECIALPRINTERDLG_H
00021 #define KMSPECIALPRINTERDLG_H
00022 
00023 #include <kdialogbase.h>
00024 
00025 class KMPrinter;
00026 class QLineEdit;
00027 class QCheckBox;
00028 class QComboBox;
00029 class KIconButton;
00030 class KXmlCommandSelector;
00031 
00032 class KMSpecialPrinterDlg : public KDialogBase
00033 {
00034     Q_OBJECT
00035 public:
00036     KMSpecialPrinterDlg(QWidget *parent = 0, const char *name = 0);
00037 
00038     void setPrinter(KMPrinter*);
00039     KMPrinter* printer();
00040 
00041 protected:
00042     bool checkSettings();
00043 
00044 protected slots:
00045     void slotOk();
00046     void slotTextChanged(const QString &);
00047 
00048 private:
00049     QLineEdit   *m_name, *m_description, *m_location, *m_extension;
00050     QComboBox   *m_mimetype;
00051     QCheckBox   *m_usefile;
00052     QStringList m_mimelist;
00053     KIconButton *m_icon;
00054     KXmlCommandSelector *m_command;
00055 };
00056 
00057 #endif
 
This file is part of the documentation for kdeprint Library Version 3.2.0.