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/lpr/lpchelper.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/lpr/lpchelper.h')
-rw-r--r-- | kdeprint/lpr/lpchelper.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kdeprint/lpr/lpchelper.h b/kdeprint/lpr/lpchelper.h index a4474354d..d7e6c7897 100644 --- a/kdeprint/lpr/lpchelper.h +++ b/kdeprint/lpr/lpchelper.h @@ -20,9 +20,9 @@ #ifndef LPCHELPER_H #define LPCHELPER_H -#include <qobject.h> -#include <qmap.h> -#include <qtextstream.h> +#include <tqobject.h> +#include <tqmap.h> +#include <tqtextstream.h> #include "kmprinter.h" class KMJob; @@ -30,29 +30,29 @@ class KMJob; class LpcHelper : public QObject { public: - LpcHelper(QObject *parent = 0, const char *name = 0); + LpcHelper(TQObject *parent = 0, const char *name = 0); ~LpcHelper(); - KMPrinter::PrinterState state(const QString&) const; + KMPrinter::PrinterState state(const TQString&) const; KMPrinter::PrinterState state(KMPrinter*) const; void updateStates(); - bool enable(KMPrinter*, bool, QString&); - bool start(KMPrinter*, bool, QString&); - bool removeJob(KMJob*, QString&); - bool changeJobState(KMJob*, int, QString&); + bool enable(KMPrinter*, bool, TQString&); + bool start(KMPrinter*, bool, TQString&); + bool removeJob(KMJob*, TQString&); + bool changeJobState(KMJob*, int, TQString&); - bool restart(QString&); + bool restart(TQString&); protected: - bool changeState(const QString&, const QString&, QString&); - void parseStatusLPR(QTextStream&); - void parseStatusLPRng(QTextStream&); - int parseStateChangeLPR(const QString&, const QString&); - int parseStateChangeLPRng(const QString&, const QString&); + bool changeState(const TQString&, const TQString&, TQString&); + void parseStatusLPR(TQTextStream&); + void parseStatusLPRng(TQTextStream&); + int parseStateChangeLPR(const TQString&, const TQString&); + int parseStateChangeLPRng(const TQString&, const TQString&); private: - QMap<QString, KMPrinter::PrinterState> m_state; + TQMap<TQString, KMPrinter::PrinterState> m_state; QString m_exepath, m_lprmpath, m_checkpcpath; }; |