diff options
Diffstat (limited to 'sip/kparts/part.sip')
-rw-r--r-- | sip/kparts/part.sip | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/sip/kparts/part.sip b/sip/kparts/part.sip index cddc3c5..c1f5758 100644 --- a/sip/kparts/part.sip +++ b/sip/kparts/part.sip @@ -35,15 +35,15 @@ class PartBase : KXMLGUIClient public: PartBase (); - void setPartObject (QObject*); - QObject* partObject () const; + void setPartObject (TQObject*); + TQObject* partObject () const; protected: virtual void setInstance (KInstance*); virtual void setInstance (KInstance*, bool); %If ( KDE_3_1_0 - ) - void loadPlugins (QObject* /Transfer/, KXMLGUIClient*, KInstance*); + void loadPlugins (TQObject* /Transfer/, KXMLGUIClient*, KInstance*); //ig void setPluginLoadingMode (KParts::PartBase::PluginLoadingMode); %End @@ -51,7 +51,7 @@ protected: }; // class PartBase -class Part : QObject, KParts::PartBase +class Part : TQObject, KParts::PartBase { %TypeHeaderCode #include <part.h> @@ -59,26 +59,26 @@ class Part : QObject, KParts::PartBase public: - Part (QObject* /TransferThis/ = 0, const char* = 0); - virtual void embed (QWidget*); - virtual QWidget* widget (); + Part (TQObject* /TransferThis/ = 0, const char* = 0); + virtual void embed (TQWidget*); + virtual TQWidget* widget (); virtual void setManager (KParts::PartManager*); KParts::PartManager* manager (); - virtual KParts::Part* hitTest (QWidget*, const QPoint&); + virtual KParts::Part* hitTest (TQWidget*, const TQPoint&); virtual void setSelectable (bool); bool isSelectable () const; signals: - void setWindowCaption (const QString&); - void setStatusBarText (const QString&); + void setWindowCaption (const TQString&); + void setStatusBarText (const TQString&); protected: - virtual void setWidget (QWidget*); - virtual void customEvent (QCustomEvent*); + virtual void setWidget (TQWidget*); + virtual void customEvent (TQCustomEvent*); virtual void partActivateEvent (KParts::PartActivateEvent*); virtual void partSelectEvent (KParts::PartSelectEvent*); virtual void guiActivateEvent (KParts::GUIActivateEvent*); - QWidget* hostContainer (const QString&); + TQWidget* hostContainer (const TQString&); //force %ConvertToSubClassCode @@ -123,7 +123,7 @@ class ReadOnlyPart : KParts::Part public: - ReadOnlyPart (QObject* /TransferThis/ = 0, const char* = 0); + ReadOnlyPart (TQObject* /TransferThis/ = 0, const char* = 0); void setProgressInfoEnabled (bool); bool isProgressInfoEnabled () const; void showProgressInfo (bool); @@ -136,15 +136,15 @@ public: virtual bool closeURL (); public: - bool openStream (const QString&, const KURL&); - bool writeStream (const QByteArray&); + bool openStream (const TQString&, const KURL&); + bool writeStream (const TQByteArray&); bool closeStream (); signals: void started (KIO::Job*); void completed (); void completed (bool); - void canceled (const QString&); + void canceled (const TQString&); protected slots: void slotJobFinished (KIO::Job*); @@ -170,7 +170,7 @@ class ReadWritePart : KParts::ReadOnlyPart public: - ReadWritePart (QObject* /TransferThis/ = 0, const char* = 0); + ReadWritePart (TQObject* /TransferThis/ = 0, const char* = 0); bool isReadWrite () const; virtual void setReadWrite (bool = 1); bool isModified () const; @@ -222,9 +222,9 @@ protected slots: // to create a KParts::ReadOnlyPart. It executes the following C++ code: // </para> // <pre class="PROGRAMLISTING"> -// KParts::ReadOnlyPart *createReadOnlyPart (const QString& lib, QObject *parent, -// const QString& name, const char *className, -// const QStringList &args) +// KParts::ReadOnlyPart *createReadOnlyPart (const TQString& lib, TQObject *parent, +// const TQString& name, const char *className, +// const TQStringList &args) // { // KLibFactory *factory = KLibLoader::self ()->factory ((const char *)lib); // @@ -246,16 +246,16 @@ protected slots: // Usage: KParts.createReadOnlyPart (lib, parent, name, className, args) // </para> //end -KParts::ReadOnlyPart* createReadOnlyPart (const QString&, QObject* = 0, const QString& = QString ::null , const char* = "KParts::ReadOnlyPart", const QStringList& = QStringList ()); +KParts::ReadOnlyPart* createReadOnlyPart (const TQString&, TQObject* = 0, const TQString& = TQString ::null , const char* = "KParts::ReadOnlyPart", const TQStringList& = TQStringList ()); //doc // <para> // This is a PyKDE-only function that handles the machinery necessary // to create a KParts::ReadWritePart. It executes the following C++ code: // </para> // <pre class="PROGRAMLISTING"> -// KParts::ReadWritePart *createReadWritePart (const QString& lib, QObject *parent, -// const QString& name, const char *className, -// const QStringList &args) +// KParts::ReadWritePart *createReadWritePart (const TQString& lib, TQObject *parent, +// const TQString& name, const char *className, +// const TQStringList &args) // { // KLibFactory *factory = KLibLoader::self ()->factory ((const char *)lib); // @@ -277,15 +277,15 @@ KParts::ReadOnlyPart* createReadOnlyPart (const QString&, QObject* = 0, const QS // Usage: KParts.createReadWritePart (lib, parent, name, className, args) // </para> //end -KParts::ReadWritePart* createReadWritePart (const QString&, QObject* = 0, const QString& = QString ::null , const char* = "KParts::ReadWritePart", const QStringList& = QStringList ()); +KParts::ReadWritePart* createReadWritePart (const TQString&, TQObject* = 0, const TQString& = TQString ::null , const char* = "KParts::ReadWritePart", const TQStringList& = TQStringList ()); //end %ModuleCode #include <klibloader.h> -KParts::ReadOnlyPart *createReadOnlyPart (const QString& lib, QObject *parent, const QString& name, const char *className, - const QStringList &args) +KParts::ReadOnlyPart *createReadOnlyPart (const TQString& lib, TQObject *parent, const TQString& name, const char *className, + const TQStringList &args) { KParts::ReadOnlyPart *res = NULL; @@ -297,8 +297,8 @@ KParts::ReadOnlyPart *createReadOnlyPart (const QString& lib, QObject *parent, c return res; } -KParts::ReadWritePart *createReadWritePart (const QString& lib, QObject *parent, const QString& name, const char *className, - const QStringList &args) +KParts::ReadWritePart *createReadWritePart (const TQString& lib, TQObject *parent, const TQString& name, const char *className, + const TQStringList &args) { KParts::ReadWritePart *res = NULL; |