diff options
Diffstat (limited to 'sip/tdecore/kstartupinfo.sip')
-rw-r--r-- | sip/tdecore/kstartupinfo.sip | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/sip/tdecore/kstartupinfo.sip b/sip/tdecore/kstartupinfo.sip index 319ee2d..b4e78cc 100644 --- a/sip/tdecore/kstartupinfo.sip +++ b/sip/tdecore/kstartupinfo.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KStartupInfo : QObject +class KStartupInfo : TQObject { %TypeHeaderCode #include <kstartupinfo.h> @@ -40,12 +40,12 @@ public: static void appStarted (); %If ( KDE_3_2_0 - ) - static void appStarted (const QCString&); - static void setNewStartupId (QWidget*, const QCString&); + static void appStarted (const TQCString&); + static void setNewStartupId (TQWidget*, const TQCString&); static void silenceStartup (bool); %If ( KDE_3_3_0 - ) - static QCString createNewStartupId (); + static TQCString createNewStartupId (); %End %End @@ -62,7 +62,7 @@ public: %End - KStartupInfo (bool, QObject* /TransferThis/ = 0, const char* = 0); + KStartupInfo (bool, TQObject* /TransferThis/ = 0, const char* = 0); static bool sendStartup (const KStartupInfoId&, const KStartupInfoData&); //ig static bool sendStartupX (Display*, const KStartupInfoId&, const KStartupInfoData&); static bool sendChange (const KStartupInfoId&, const KStartupInfoData&); @@ -86,8 +86,8 @@ public: KStartupInfo::startup_t checkStartup (WId, KStartupInfoData&); KStartupInfo::startup_t checkStartup (WId, KStartupInfoId&, KStartupInfoData&); void setTimeout (uint); - static void setWindowStartupId (WId, const QCString&); - static QCString windowStartupId (WId); + static void setWindowStartupId (WId, const TQCString&); + static TQCString windowStartupId (WId); %If ( KDE_3_2_0 - ) static void handleAutoAppStartedSending (); @@ -100,7 +100,7 @@ signals: void gotRemoveStartup (const KStartupInfoId&, const KStartupInfoData&); protected: - virtual void customEvent (QCustomEvent*); + virtual void customEvent (TQCustomEvent*); }; // class KStartupInfo @@ -120,8 +120,8 @@ public: %End bool none () const; - void initId (const QCString& = ""); - const QCString& id () const; + void initId (const TQCString& = ""); + const TQCString& id () const; %If ( KDE_3_3_0 - ) ulong timestamp () const; @@ -137,7 +137,7 @@ public: private: - KStartupInfoId (const QString&); + KStartupInfoId (const TQString&); }; // class KStartupInfoId @@ -150,31 +150,31 @@ class KStartupInfoData public: - void setBin (const QString&); - const QString& bin () const; - void setName (const QString&); - const QString& findName () const; - const QString& name () const; + void setBin (const TQString&); + const TQString& bin () const; + void setName (const TQString&); + const TQString& findName () const; + const TQString& name () const; %If ( KDE_3_2_0 - ) - void setDescription (const QString&); - const QString& findDescription () const; - const QString& description () const; + void setDescription (const TQString&); + const TQString& findDescription () const; + const TQString& description () const; %End - void setIcon (const QString&); - const QString& findIcon () const; - const QString& icon () const; + void setIcon (const TQString&); + const TQString& findIcon () const; + const TQString& icon () const; void setDesktop (int); int desktop () const; - void setWMClass (const QCString&); - const QCString findWMClass () const; - const QCString& WMClass () const; + void setWMClass (const TQCString&); + const TQCString findWMClass () const; + const TQCString& WMClass () const; void addPid (pid_t); - const QValueList<int>& pids () const; + const TQValueList<int>& pids () const; bool is_pid (pid_t) const; - void setHostname (const QCString& = QCString ()); - const QCString& hostname () const; + void setHostname (const TQCString& = TQCString ()); + const TQCString& hostname () const; %If ( KDE_3_1_1 - ) @@ -202,11 +202,11 @@ public: KStartupInfoData (const KStartupInfoData&); private: - KStartupInfoData (const QString&); + KStartupInfoData (const TQString&); }; // class KStartupInfoData -/*%MappedType QValueList<pid_t> +/*%MappedType TQValueList<pid_t> //converts a Python list of long { %TypeHeaderCode @@ -242,7 +242,7 @@ private: %End %ConvertToTypeCode - // Convert a Python list of long to a QValueList<long> on the heap. + // Convert a Python list of long to a TQValueList<long> on the heap. if (sipIsErr == NULL) return PyList_Check(sipPy); @@ -254,7 +254,7 @@ private: return 0; } - QValueList<pid_t> *qvl = new QValueList<pid_t>; + TQValueList<pid_t> *qvl = new TQValueList<pid_t>; PyErr_Clear(); |