summaryrefslogtreecommitdiffstats
path: root/kdeprint/kmmanager.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdeprint/kmmanager.h
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/kmmanager.h')
-rw-r--r--kdeprint/kmmanager.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/kdeprint/kmmanager.h b/kdeprint/kmmanager.h
index 8826273a0..304245730 100644
--- a/kdeprint/kmmanager.h
+++ b/kdeprint/kmmanager.h
@@ -45,7 +45,7 @@ class PrinterFilter;
* if you're a KDEPrint developer. The API might change in the
* future and binary compatibility might be broken.
*/
-class KDEPRINT_EXPORT KMManager : public QObject
+class KDEPRINT_EXPORT KMManager : public TQObject
{
Q_OBJECT
@@ -97,7 +97,7 @@ public:
bool startPrinter(const TQString& name, bool state);
bool completePrinter(const TQString& name);
bool setDefaultPrinter(const TQString& name);
- int printerOperationMask() const { return m_printeroperationmask; }
+ int printerOperationMask() const { return m_printeroperationtqmask; }
int addPrinterWizard(TQWidget *parent = 0);
// special printer management functions
@@ -105,7 +105,7 @@ public:
bool removeSpecialPrinter(KMPrinter *p);
// printer listing functions
- KMPrinter* findPrinter(const TQString& name);
+ KMPrinter* tqfindPrinter(const TQString& name);
TQPtrList<KMPrinter>* printerList(bool reload = true);
TQPtrList<KMPrinter>* printerListComplete(bool reload = true);
KMPrinter* defaultPrinter();
@@ -129,7 +129,7 @@ public:
virtual TQString stateInformation();
// server functions
- int serverOperationMask() const { return m_serveroperationmask; }
+ int serverOperationMask() const { return m_serveroperationtqmask; }
virtual bool restartServer();
virtual bool configureServer(TQWidget *parent = 0);
virtual TQStringList detectLocalPrinters();
@@ -161,8 +161,8 @@ protected:
bool uncompressFile(const TQString& srcname, TQString& destname);
bool notImplemented();
void setHasManagement(bool on) { m_hasmanagement = on; }
- void setPrinterOperationMask(int m) { m_printeroperationmask = m; }
- void setServerOperationMask(int m) { m_serveroperationmask = m; }
+ void setPrinterOperationMask(int m) { m_printeroperationtqmask = m; }
+ void setServerOperationMask(int m) { m_serveroperationtqmask = m; }
TQString testPage();
void discardAllPrinters(bool);
void setUpdatePossible( bool );
@@ -172,8 +172,8 @@ protected:
QString m_errormsg;
KMPrinterList m_printers, m_fprinters; // filtered printers
bool m_hasmanagement;
- int m_printeroperationmask;
- int m_serveroperationmask;
+ int m_printeroperationtqmask;
+ int m_serveroperationtqmask;
KMSpecialManager *m_specialmgr;
KMVirtualManager *m_virtualmgr;
PrinterFilter *m_printerfilter;