diff options
Diffstat (limited to 'sip/tdeprint/kmjobmanager.sip')
-rw-r--r-- | sip/tdeprint/kmjobmanager.sip | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/sip/tdeprint/kmjobmanager.sip b/sip/tdeprint/kmjobmanager.sip index 2bbaad5..0094059 100644 --- a/sip/tdeprint/kmjobmanager.sip +++ b/sip/tdeprint/kmjobmanager.sip @@ -26,7 +26,7 @@ %If ( KDE_3_1_0 - ) -class KMJobManager : QObject +class KMJobManager : TQObject { %TypeHeaderCode #include <kmjobmanager.h> @@ -58,44 +58,44 @@ public: public: - KMJobManager (QObject* /TransferThis/ = 0, const char* = 0); + KMJobManager (TQObject* /TransferThis/ = 0, const char* = 0); static KMJobManager* self (); %If ( KDE_3_2_2 - ) - void addPrinter (const QString&, KMJobManager::JobType = ActiveJobs , bool = 0); + void addPrinter (const TQString&, KMJobManager::JobType = ActiveJobs , bool = 0); %End - void removePrinter (const QString&, KMJobManager::JobType = ActiveJobs ); + void removePrinter (const TQString&, KMJobManager::JobType = ActiveJobs ); void clearFilter (); -//ig QDict<KMJobManager::JobFilter>* filter (); +//ig TQDict<KMJobManager::JobFilter>* filter (); int limit (); void setLimit (int); - KMJob* findJob (const QString&); - bool sendCommand (const QString&, int, const QString& = QString ::null ); - bool sendCommand (const QPtrList<KMJob>&, int, const QString& = QString ::null ); - const QPtrList<KMJob>& jobList (bool = 1); + KMJob* findJob (const TQString&); + bool sendCommand (const TQString&, int, const TQString& = TQString ::null ); + bool sendCommand (const TQPtrList<KMJob>&, int, const TQString& = TQString ::null ); + const TQPtrList<KMJob>& jobList (bool = 1); void addJob (KMJob*); //ig KMThreadJob* threadJob (); virtual int actions (); - virtual QValueList<KAction*> createPluginActions (KActionCollection*); - virtual void validatePluginActions (KActionCollection*, const QPtrList<KMJob>&); - virtual bool doPluginAction (int, const QPtrList<KMJob>&); + virtual TQValueList<KAction*> createPluginActions (KActionCollection*); + virtual void validatePluginActions (KActionCollection*, const TQPtrList<KMJob>&); + virtual bool doPluginAction (int, const TQPtrList<KMJob>&); protected: void discardAllJobs (); void removeDiscardedJobs (); protected: - virtual bool listJobs (const QString&, KMJobManager::JobType, int = 0); - virtual bool sendCommandSystemJob (const QPtrList<KMJob>&, int, const QString& = QString ::null ); - bool sendCommandThreadJob (const QPtrList<KMJob>&, int, const QString& = QString ::null ); + virtual bool listJobs (const TQString&, KMJobManager::JobType, int = 0); + virtual bool sendCommandSystemJob (const TQPtrList<KMJob>&, int, const TQString& = TQString ::null ); + bool sendCommandThreadJob (const TQPtrList<KMJob>&, int, const TQString& = TQString ::null ); protected: public: %If ( - KDE_3_2_2 ) - void addPrinter (const QString&, KMJobManager::JobType = ActiveJobs ); + void addPrinter (const TQString&, KMJobManager::JobType = ActiveJobs ); //force %ConvertToSubClassCode @@ -122,13 +122,13 @@ public: %If (KDE_3_1_0 - ) -%MappedType QPtrList<KMJob> +%MappedType TQPtrList<KMJob> //converts a Python list of KMJob { %TypeHeaderCode #include <qptrlist.h> #include <kmjob.h> -typedef QPtrList<KMJob> KMJobList; +typedef TQPtrList<KMJob> KMJobList; %End %ConvertFromTypeCode @@ -144,7 +144,7 @@ typedef QPtrList<KMJob> KMJobList; // Get it. - QPtrList<KMJob> *cpplist = (QPtrList<KMJob> *)sipCpp; + TQPtrList<KMJob> *cpplist = (TQPtrList<KMJob> *)sipCpp; KMJob *cpp; PyObject *inst; @@ -166,7 +166,7 @@ typedef QPtrList<KMJob> KMJobList; if (sipIsErr == NULL) return PyList_Check(sipPy); - QPtrList<KMJob> *cpplist = new QPtrList<KMJob>; + TQPtrList<KMJob> *cpplist = new TQPtrList<KMJob>; PyObject *elem; KMJob *cpp; |