From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/kprinterimpl.h | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'kdeprint/kprinterimpl.h') diff --git a/kdeprint/kprinterimpl.h b/kdeprint/kprinterimpl.h index 94096e20a..ae6b8b75d 100644 --- a/kdeprint/kprinterimpl.h +++ b/kdeprint/kprinterimpl.h @@ -21,10 +21,10 @@ #ifndef KPRINTERIMPL_H #define KPRINTERIMPL_H -#include -#include -#include -#include +#include +#include +#include +#include #include @@ -35,36 +35,36 @@ class KDEPRINT_EXPORT KPrinterImpl : public QObject { Q_OBJECT public: - KPrinterImpl(QObject *parent = 0, const char *name = 0); + KPrinterImpl(TQObject *parent = 0, const char *name = 0); virtual ~KPrinterImpl(); - virtual bool setupCommand(QString& cmd, KPrinter*); + virtual bool setupCommand(TQString& cmd, KPrinter*); virtual void preparePrinting(KPrinter*); - virtual void broadcastOption(const QString& key, const QString& value); + virtual void broadcastOption(const TQString& key, const TQString& value); - bool printFiles(KPrinter*, const QStringList&, bool removeflag = false); + bool printFiles(KPrinter*, const TQStringList&, bool removeflag = false); // result: // -1 -> error // 0 -> nothing happened // 1 -> files filterd - int filterFiles(KPrinter*, QStringList&, bool removeflag = false); - int autoConvertFiles(KPrinter*, QStringList&, bool removeflag = false); - void saveOptions(const QMap& opts); - const QMap& loadOptions() const { return m_options; } - QString tempFile(); - QString quote(const QString&); - void statusMessage(const QString&, KPrinter* = 0); + int filterFiles(KPrinter*, TQStringList&, bool removeflag = false); + int autoConvertFiles(KPrinter*, TQStringList&, bool removeflag = false); + void saveOptions(const TQMap& opts); + const TQMap& loadOptions() const { return m_options; } + TQString tempFile(); + TQString quote(const TQString&); + void statusMessage(const TQString&, KPrinter* = 0); protected: - bool startPrinting(const QString& cmd, KPrinter *printer, const QStringList& files, bool removeflag = false); - int dcopPrint(const QString& cmd, const QStringList& files, bool removeflag = false); - bool setupSpecialCommand(QString&, KPrinter*, const QStringList&); - int doFilterFiles(KPrinter* pr, QStringList& files, const QStringList& flist, const QMap& opts, bool removeflag = false); + bool startPrinting(const TQString& cmd, KPrinter *printer, const TQStringList& files, bool removeflag = false); + int dcopPrint(const TQString& cmd, const TQStringList& files, bool removeflag = false); + bool setupSpecialCommand(TQString&, KPrinter*, const TQStringList&); + int doFilterFiles(KPrinter* pr, TQStringList& files, const TQStringList& flist, const TQMap& opts, bool removeflag = false); void loadAppOptions(); void saveAppOptions(); protected: - QMap m_options; // use to save current options + TQMap m_options; // use to save current options }; #endif -- cgit v1.2.1