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/lpd/lpdtools.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/lpd/lpdtools.h')
-rw-r--r-- | kdeprint/lpd/lpdtools.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kdeprint/lpd/lpdtools.h b/kdeprint/lpd/lpdtools.h index 2f8b8c975..3592437e6 100644 --- a/kdeprint/lpd/lpdtools.h +++ b/kdeprint/lpd/lpdtools.h @@ -19,10 +19,10 @@ #ifndef LPDTOOLS_H #define LPDTOOLS_H -#include <qstring.h> -#include <qmap.h> -#include <qptrlist.h> -#include <qtextstream.h> +#include <tqstring.h> +#include <tqmap.h> +#include <tqptrlist.h> +#include <tqtextstream.h> class KMLpdManager; class DrMain; @@ -32,15 +32,15 @@ class PrintcapEntry { friend class KMLpdManager; public: - bool readLine(const QString& line); - void writeEntry(QTextStream&); + bool readLine(const TQString& line); + void writeEntry(TQTextStream&); KMPrinter* createPrinter(); - QString arg(const QString& key) const { return m_args[key]; } - QString comment(int i); + TQString arg(const TQString& key) const { return m_args[key]; } + TQString comment(int i); private: QString m_name; QString m_comment; - QMap<QString,QString> m_args; + TQMap<TQString,TQString> m_args; }; //***************************************************************************************************** @@ -61,16 +61,16 @@ class PrinttoolEntry { friend class KMLpdManager; public: - bool readEntry(QTextStream& t); + bool readEntry(TQTextStream& t); DrMain* createDriver(); private: QString m_name, m_gsdriver, m_description, m_about; - QPtrList<Resolution> m_resolutions; - QPtrList<BitsPerPixel> m_depths; + TQPtrList<Resolution> m_resolutions; + TQPtrList<BitsPerPixel> m_depths; }; //***************************************************************************************************** -QString getPrintcapLine(QTextStream& t, QString *lastcomment = NULL); +TQString getPrintcapLine(TQTextStream& t, TQString *lastcomment = NULL); #endif // LPDTOOLS_H |