summaryrefslogtreecommitdiffstats
path: root/kdeprint/lpr/lprhandler.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/lpr/lprhandler.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-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/lprhandler.h')
-rw-r--r--kdeprint/lpr/lprhandler.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kdeprint/lpr/lprhandler.h b/kdeprint/lpr/lprhandler.h
index 49b9c6236..98b9c3819 100644
--- a/kdeprint/lpr/lprhandler.h
+++ b/kdeprint/lpr/lprhandler.h
@@ -24,7 +24,7 @@
#warning internal header, do not use except if you are a KDEPrint developer
#endif
-#include <qstring.h>
+#include <tqstring.h>
class PrintcapEntry;
class KMPrinter;
@@ -42,30 +42,30 @@ class KPrinter;
class LprHandler
{
public:
- LprHandler(const QString& name, KMManager *mgr = 0);
+ LprHandler(const TQString& name, KMManager *mgr = 0);
virtual ~LprHandler();
virtual bool validate(PrintcapEntry*);
virtual KMPrinter* createPrinter(PrintcapEntry*);
virtual bool completePrinter(KMPrinter*, PrintcapEntry*, bool shortmode = true);
virtual DrMain* loadDriver(KMPrinter*, PrintcapEntry*, bool = false);
- virtual DrMain* loadDbDriver(const QString&);
+ virtual DrMain* loadDbDriver(const TQString&);
virtual bool savePrinterDriver(KMPrinter*, PrintcapEntry*, DrMain*, bool* = 0);
virtual PrintcapEntry* createEntry(KMPrinter*);
virtual bool removePrinter(KMPrinter*, PrintcapEntry*);
- virtual QString printOptions(KPrinter*);
+ virtual TQString printOptions(KPrinter*);
virtual void reset();
- QString name() const;
+ TQString name() const;
KMManager* manager() const;
- QString driverDirectory();
+ TQString driverDirectory();
protected:
- DrMain* loadToolDriver(const QString&);
- QString locateDir(const QString& dirname, const QString& paths);
- QString cachedDriverDir() const;
- void setCachedDriverDir(const QString&);
- virtual QString driverDirInternal();
+ DrMain* loadToolDriver(const TQString&);
+ TQString locateDir(const TQString& dirname, const TQString& paths);
+ TQString cachedDriverDir() const;
+ void setCachedDriverDir(const TQString&);
+ virtual TQString driverDirInternal();
protected:
QString m_name;
@@ -73,16 +73,16 @@ protected:
QString m_cacheddriverdir;
};
-inline QString LprHandler::name() const
+inline TQString LprHandler::name() const
{ return m_name; }
inline KMManager* LprHandler::manager() const
{ return m_manager; }
-inline QString LprHandler::cachedDriverDir() const
+inline TQString LprHandler::cachedDriverDir() const
{ return m_cacheddriverdir; }
-inline void LprHandler::setCachedDriverDir(const QString& s)
+inline void LprHandler::setCachedDriverDir(const TQString& s)
{ m_cacheddriverdir = s; }
#endif