diff options
Diffstat (limited to 'sip/tdecore/kapplication.sip')
-rw-r--r-- | sip/tdecore/kapplication.sip | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/sip/tdecore/kapplication.sip b/sip/tdecore/kapplication.sip index e91de01..e7ab9e1 100644 --- a/sip/tdecore/kapplication.sip +++ b/sip/tdecore/kapplication.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KApplication : QApplication, KInstance +class KApplication : TQApplication, KInstance { %TypeHeaderCode #include <kapplication.h> @@ -46,11 +46,11 @@ public: KApplication (bool = 1, bool = 1); %If ( KDE_3_3_0 - ) -//ig KApplication (Display*, Qt::HANDLE = 0, Qt::HANDLE = 0, bool = 1); +//ig KApplication (Display*, TQt::HANDLE = 0, TQt::HANDLE = 0, bool = 1); %End -//ig KApplication (Display*, int&, char**, const QCString&, bool = 1, bool = 1); - KApplication (SIP_PYLIST, QCString&, bool = 1, bool = 1) [(int&, char**, const QCString&, bool = 1, bool = 1)]; +//ig KApplication (Display*, int&, char**, const TQCString&, bool = 1, bool = 1); + KApplication (SIP_PYLIST, TQCString&, bool = 1, bool = 1) [(int&, char**, const TQCString&, bool = 1, bool = 1)]; %MethodCode //takes argv | (a Python list of strings) | rAppName | (Python string) | allowStyles | (bool = 1) | GUIenabled | (bool = 1) @@ -122,8 +122,8 @@ public: bool requestShutDown (KApplication::ShutdownConfirm = ShutdownConfirmDefault , KApplication::ShutdownType = ShutdownTypeDefault , KApplication::ShutdownMode = ShutdownModeDefault ); void propagateSessionManager (); - void commitData (QSessionManager&); - void saveState (QSessionManager&); + void commitData (TQSessionManager&); + void saveState (TQSessionManager&); %If ( KDE_3_1_1 - ) bool sessionSaving () const; @@ -131,49 +131,49 @@ public: static DCOPClient* dcopClient (); static void disableAutoDcopRegistration (); - QPixmap icon () const; - QString iconName () const; - QPixmap miniIcon () const; - QString miniIconName () const; - void setTopWidget (QWidget*); + TQPixmap icon () const; + TQString iconName () const; + TQPixmap miniIcon () const; + TQString miniIconName () const; + void setTopWidget (TQWidget*); %If ( KDE_3_2_0 - ) - void invokeHelp (const QString&, const QString&, const QCString&) const; + void invokeHelp (const TQString&, const TQString&, const TQCString&) const; %End - void invokeHelp (const QString& = QString ::null , const QString& = QString ::null ) const; - void invokeHTMLHelp (const QString&, const QString& = QString ::null ) const; + void invokeHelp (const TQString& = TQString ::null , const TQString& = TQString ::null ) const; + void invokeHTMLHelp (const TQString&, const TQString& = TQString ::null ) const; %If ( KDE_3_2_0 - ) - void invokeMailer (const QString&, const QString&, const QCString&); + void invokeMailer (const TQString&, const TQString&, const TQCString&); %End - void invokeMailer (const QString&, const QString&); + void invokeMailer (const TQString&, const TQString&); %If ( KDE_3_3_0 - ) - void invokeMailer (const KURL&, const QCString&, bool); + void invokeMailer (const KURL&, const TQCString&, bool); %End %If ( KDE_3_2_0 - ) - void invokeMailer (const KURL&, const QCString&); + void invokeMailer (const KURL&, const TQCString&); %End void invokeMailer (const KURL&); %If ( KDE_3_2_0 - ) - void invokeMailer (const QString&, const QString&, const QString&, const QString&, const QString&, const QString&, const QStringList&, const QCString&); + void invokeMailer (const TQString&, const TQString&, const TQString&, const TQString&, const TQString&, const TQString&, const TQStringList&, const TQCString&); %End - void invokeMailer (const QString&, const QString&, const QString&, const QString&, const QString&, const QString& = QString ::null , const QStringList& = QStringList ()); + void invokeMailer (const TQString&, const TQString&, const TQString&, const TQString&, const TQString&, const TQString& = TQString ::null , const TQStringList& = TQStringList ()); public slots: %If ( KDE_3_2_0 - ) - void invokeBrowser (const QString&, const QCString&); + void invokeBrowser (const TQString&, const TQCString&); %End - void invokeBrowser (const QString&); + void invokeBrowser (const TQString&); %If ( KDE_3_2_0 - ) void cut (); @@ -185,45 +185,45 @@ public slots: public: - static QCString launcher (); - static int startServiceByName (const QString&, const QString&, QString* /Out/, QCString* /Out/, int*, const QCString& = QCString ("" ), bool = 0); - static int startServiceByName (const QString&, const QStringList&, QString* /Out/, QCString* /Out/, int*, const QCString& = QCString ("" ), bool = 0); - static int startServiceByDesktopPath (const QString&, const QString&, QString* /Out/, QCString* /Out/, int*, const QCString& = QCString ("" ), bool = 0); - static int startServiceByDesktopPath (const QString&, const QStringList&, QString* /Out/, QCString* /Out/, int*, const QCString& = QCString ("" ), bool = 0); - static int startServiceByDesktopName (const QString&, const QString&, QString* /Out/, QCString* /Out/, int*, const QCString& = QCString ("" ), bool = 0); - static int startServiceByDesktopName (const QString&, const QStringList&, QString* /Out/, QCString* /Out/, int*, const QCString& = QCString ("" ), bool = 0); + static TQCString launcher (); + static int startServiceByName (const TQString&, const TQString&, TQString* /Out/, TQCString* /Out/, int*, const TQCString& = TQCString ("" ), bool = 0); + static int startServiceByName (const TQString&, const TQStringList&, TQString* /Out/, TQCString* /Out/, int*, const TQCString& = TQCString ("" ), bool = 0); + static int startServiceByDesktopPath (const TQString&, const TQString&, TQString* /Out/, TQCString* /Out/, int*, const TQCString& = TQCString ("" ), bool = 0); + static int startServiceByDesktopPath (const TQString&, const TQStringList&, TQString* /Out/, TQCString* /Out/, int*, const TQCString& = TQCString ("" ), bool = 0); + static int startServiceByDesktopName (const TQString&, const TQString&, TQString* /Out/, TQCString* /Out/, int*, const TQCString& = TQCString ("" ), bool = 0); + static int startServiceByDesktopName (const TQString&, const TQStringList&, TQString* /Out/, TQCString* /Out/, int*, const TQCString& = TQCString ("" ), bool = 0); %If ( KDE_3_2_0 - ) - static int tdeinitExec (const QString&, const QStringList&, QString* /Out/, int*, QCString&); + static int tdeinitExec (const TQString&, const TQStringList&, TQString* /Out/, int*, TQCString&); %End - static int tdeinitExec (const QString&, const QStringList&, QString* /Out/, int*); + static int tdeinitExec (const TQString&, const TQStringList&, TQString* /Out/, int*); %If ( KDE_3_2_0 - ) - static int tdeinitExecWait (const QString&, const QStringList&, QString* /Out/, int*, QCString&); + static int tdeinitExecWait (const TQString&, const TQStringList&, TQString* /Out/, int*, TQCString&); %End - static int tdeinitExecWait (const QString&, const QStringList&, QString* /Out/, int*); - QString caption () const; + static int tdeinitExecWait (const TQString&, const TQStringList&, TQString* /Out/, int*); + TQString caption () const; //ig KStyle* kstyle () const; - QString makeStdCaption (const QString&, bool = 1, bool = 0) const; - QString tempSaveName (const QString&) const; - QString checkRecoverFile (const QString&, bool&) const; + TQString makeStdCaption (const TQString&, bool = 1, bool = 0) const; + TQString tempSaveName (const TQString&) const; + TQString checkRecoverFile (const TQString&, bool&) const; Display* getDisplay (); void enableStyles (); void disableStyles (); - void installX11EventFilter (QWidget*); + void installX11EventFilter (TQWidget*); %If ( KDE_3_2_0 - ) - void removeX11EventFilter (const QWidget*); + void removeX11EventFilter (const TQWidget*); %End static int random (); - static QString randomString (int); + static TQString randomString (int); void addKipcEventMask (int); void removeKipcEventMask (int); - QCString startupId () const; - void setStartupId (const QCString&); + TQCString startupId () const; + void setStartupId (const TQCString&); %If ( KDE_3_2_0 - ) void updateUserTimestamp (ulong = 0); @@ -232,25 +232,25 @@ public: ulong userTimestamp () const; %If ( KDE_3_3_0 - ) - void updateRemoteUserTimestamp (const QCString&, ulong = 0); + void updateRemoteUserTimestamp (const TQCString&, ulong = 0); %End %End %End - QString geometryArgument () const; + TQString geometryArgument () const; void installKDEPropertyMap (); - bool authorize (const QString&); + bool authorize (const TQString&); bool authorizeKAction (const char*); %If ( KDE_3_1_0 - ) - bool authorizeURLAction (const QString&, const KURL&, const KURL&); + bool authorizeURLAction (const TQString&, const KURL&, const KURL&); %If ( KDE_3_2_0 - ) - void allowURLAction (const QString&, const KURL&, const KURL&); - bool authorizeControlModule (const QString&); - QStringList authorizeControlModules (const QStringList&); + void allowURLAction (const TQString&, const KURL&, const KURL&); + bool authorizeControlModule (const TQString&); + TQStringList authorizeControlModules (const TQStringList&); %If ( KDE_3_4_0 - ) static ButtonState keyboardMouseState (); @@ -294,7 +294,7 @@ protected: KApplication (bool, bool, KInstance*); %If ( KDE_3_3_0 - ) -//ig KApplication (Display*, Qt::HANDLE, Qt::HANDLE, bool, KInstance*); +//ig KApplication (Display*, TQt::HANDLE, TQt::HANDLE, bool, KInstance*); %End //ig bool x11EventFilter (XEvent*); @@ -305,7 +305,7 @@ protected: public: - bool notify (QObject*, QEvent*); + bool notify (TQObject*, TQEvent*); %If ( KDE_3_2_0 - ) //ig int xErrhandler (Display*, void*); @@ -332,8 +332,8 @@ public: %If ( KDE_3_1_0 - ) - static QPalette createApplicationPalette (); - static QPalette createApplicationPalette (KConfig*, int); + static TQPalette createApplicationPalette (); + static TQPalette createApplicationPalette (KConfig*, int); %If ( KDE_3_2_0 - ) static void installSigpipeHandler (); @@ -381,8 +381,8 @@ class KSessionManaged public: KSessionManaged (); - virtual bool saveState (QSessionManager&); - virtual bool commitData (QSessionManager&); + virtual bool saveState (TQSessionManager&); + virtual bool commitData (TQSessionManager&); protected: //igx virtual void virtual_hook (int, void*); @@ -391,7 +391,7 @@ protected: typedef ulong Atom; //ig typedef void Display; -//ig bool checkAccess (const QString&, int); +//ig bool checkAccess (const TQString&, int); %ModuleCode |