24 #include <tqptrlist.h>
28 #include "kmdbentry.h"
32 class KMDriverDB :
public TQObject
36 static KMDriverDB*
self();
38 KMDriverDB(TQObject *parent = 0,
const char *name = 0);
41 void init(TQWidget *parent = 0);
42 KMDBEntryList* findEntry(
const TQString& manu,
const TQString& model);
43 KMDBEntryList* findPnpEntry(
const TQString& manu,
const TQString& model);
44 TQDict<KMDBEntryList>* findModels(
const TQString& manu);
45 const TQDict< TQDict<KMDBEntryList> >& manufacturers()
const {
return m_entries; }
49 void insertEntry(KMDBEntry *entry);
56 void dbLoaded(
bool reloaded);
57 void error(
const TQString&);
60 KMDBCreator *m_creator;
61 TQDict< TQDict<KMDBEntryList> > m_entries;
62 TQDict< TQDict<KMDBEntryList> > m_pnpentries;
64 static KMDriverDB *m_self;