20 #ifndef KMDRIVERDBWIDGET_H
21 #define KMDRIVERDBWIDGET_H
24 #include "kmdbentry.h"
30 class KMDriverDbWidget :
public TQWidget
34 KMDriverDbWidget(TQWidget *parent = 0,
const char *name = 0);
38 void setHaveRaw(
bool on);
39 void setHaveOther(
bool on);
40 void setDriver(
const TQString& manu,
const TQString& model);
42 TQString manufacturer();
44 TQString description() {
return m_desc; }
45 KMDBEntryList* drivers();
46 TQString driverFile();
51 void slotDbLoaded(
bool reloaded);
52 void slotManufacturerSelected(
const TQString& name);
53 void slotPostscriptToggled(
bool);
54 void slotOtherClicked();
55 void slotError(
const TQString&);
60 TQCheckBox *m_postscript;
62 TQPushButton *m_other;
68 inline TQString KMDriverDbWidget::driverFile()
69 {
return m_external; }
71 inline bool KMDriverDbWidget::isExternal()
72 {
return !(m_external.isEmpty()); }