diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/management/kmdriverdb.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/management/kmdriverdb.h')
-rw-r--r-- | kdeprint/management/kmdriverdb.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kdeprint/management/kmdriverdb.h b/kdeprint/management/kmdriverdb.h index e0f3a7eba..1ffecdc0a 100644 --- a/kdeprint/management/kmdriverdb.h +++ b/kdeprint/management/kmdriverdb.h @@ -20,10 +20,10 @@ #ifndef KMDRIVERDB_H #define KMDRIVERDB_H -#include <qobject.h> -#include <qptrlist.h> -#include <qdict.h> -#include <qstring.h> +#include <tqobject.h> +#include <tqptrlist.h> +#include <tqdict.h> +#include <tqstring.h> #include "kmdbentry.h" @@ -35,31 +35,31 @@ class KMDriverDB : public QObject public: static KMDriverDB* self(); - KMDriverDB(QObject *parent = 0, const char *name = 0); + KMDriverDB(TQObject *parent = 0, const char *name = 0); ~KMDriverDB(); - void init(QWidget *parent = 0); - KMDBEntryList* findEntry(const QString& manu, const QString& model); - KMDBEntryList* findPnpEntry(const QString& manu, const QString& model); - QDict<KMDBEntryList>* findModels(const QString& manu); - const QDict< QDict<KMDBEntryList> >& manufacturers() const { return m_entries; } + void init(TQWidget *parent = 0); + KMDBEntryList* findEntry(const TQString& manu, const TQString& model); + KMDBEntryList* findPnpEntry(const TQString& manu, const TQString& model); + TQDict<KMDBEntryList>* findModels(const TQString& manu); + const TQDict< TQDict<KMDBEntryList> >& manufacturers() const { return m_entries; } protected: void loadDbFile(); void insertEntry(KMDBEntry *entry); - QString dbFile(); + TQString dbFile(); protected slots: void slotDbCreated(); signals: void dbLoaded(bool reloaded); - void error(const QString&); + void error(const TQString&); private: KMDBCreator *m_creator; - QDict< QDict<KMDBEntryList> > m_entries; - QDict< QDict<KMDBEntryList> > m_pnpentries; + TQDict< TQDict<KMDBEntryList> > m_entries; + TQDict< TQDict<KMDBEntryList> > m_pnpentries; static KMDriverDB *m_self; }; |