diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:09:42 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:09:42 -0600 |
commit | 2df6bde18ab40472f2df8637cf6456cb80dc2329 (patch) | |
tree | 5a4362124ff46786fce835d2f1e7d583c92a5670 /sip/tdeui/kactioncollection.sip | |
parent | be6cfa4b990910e65e8d2f4f212eba3f7da6ee72 (diff) | |
download | pytde-2df6bde18ab40472f2df8637cf6456cb80dc2329.tar.gz pytde-2df6bde18ab40472f2df8637cf6456cb80dc2329.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'sip/tdeui/kactioncollection.sip')
-rw-r--r-- | sip/tdeui/kactioncollection.sip | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/sip/tdeui/kactioncollection.sip b/sip/tdeui/kactioncollection.sip index a7c5e0e..c696bdd 100644 --- a/sip/tdeui/kactioncollection.sip +++ b/sip/tdeui/kactioncollection.sip @@ -26,7 +26,7 @@ %If ( KDE_3_2_0 - ) -class KActionCollection : TQObject +class TDEActionCollection : TQObject { %TypeHeaderCode #include <kactioncollection.h> @@ -34,23 +34,23 @@ class KActionCollection : TQObject public: - KActionCollection (TQWidget* /TransferThis/, const char* = 0, TDEInstance* = 0); - KActionCollection (TQWidget*, TQObject* /TransferThis/, const char* = 0, TDEInstance* = 0); - KActionCollection (const KActionCollection&); + TDEActionCollection (TQWidget* /TransferThis/, const char* = 0, TDEInstance* = 0); + TDEActionCollection (TQWidget*, TQObject* /TransferThis/, const char* = 0, TDEInstance* = 0); + TDEActionCollection (const TDEActionCollection&); virtual void setWidget (TQWidget*); void setAutoConnectShortcuts (bool); bool isAutoConnectShortcuts (); - bool addDocCollection (KActionCollection*); - virtual KAccel* accel (); - KAccel* kaccel (); - KAccel* builderKAccel () const; + bool addDocCollection (TDEActionCollection*); + virtual TDEAccel* accel (); + TDEAccel* kaccel (); + TDEAccel* builderTDEAccel () const; virtual uint count () const; bool isEmpty () const; - virtual KAction* action (int) const; - virtual KAction* action (const char*, const char* = 0) const; + virtual TDEAction* action (int) const; + virtual TDEAction* action (const char*, const char* = 0) const; virtual TQStringList groups () const; - virtual KActionPtrList actions (const TQString&) const; - virtual KActionPtrList actions () const; + virtual TDEActionPtrList actions (const TQString&) const; + virtual TDEActionPtrList actions () const; bool readShortcutSettings (const TQString& = TQString ::null , TDEConfigBase* = 0); bool writeShortcutSettings (const TQString& = TQString ::null , TDEConfigBase* = 0) const; void setInstance (TDEInstance*); @@ -59,8 +59,8 @@ public: const TQString& xmlFile () const; void setHighlightingEnabled (bool); bool highlightingEnabled () const; - void connectHighlight (TQWidget*, KAction*); - void disconnectHighlight (TQWidget*, KAction*); + void connectHighlight (TQWidget*, TDEAction*); + void disconnectHighlight (TQWidget*, TDEAction*); %If ( KDE_3_3_0 - ) const KXMLGUIClient* parentGUIClient () const; @@ -68,22 +68,22 @@ public: signals: - void inserted (KAction*); - void removed (KAction*); - void actionHighlighted (KAction*); - void actionHighlighted (KAction*, bool); + void inserted (TDEAction*); + void removed (TDEAction*); + void actionHighlighted (TDEAction*); + void actionHighlighted (TDEAction*, bool); void actionStatusText (const TQString&); void clearStatusText (); public: - KActionCollection (TQObject* /TransferThis/, const char* = 0, TDEInstance* = 0); + TDEActionCollection (TQObject* /TransferThis/, const char* = 0, TDEInstance* = 0); public: - void insert (KAction*); - void remove (KAction*); - KAction* take (KAction*); - KActionCollection operator + (const KActionCollection&) const; - KActionCollection& operator += (const KActionCollection&); + void insert (TDEAction*); + void remove (TDEAction*); + TDEAction* take (TDEAction*); + TDEActionCollection operator + (const TDEActionCollection&) const; + TDEActionCollection& operator += (const TDEActionCollection&); public slots: void clear (); @@ -94,7 +94,7 @@ protected: %If ( KDE_3_3_0 - ) private: - KActionCollection (const char*, const KXMLGUIClient* /TransferThis/); + TDEActionCollection (const char*, const KXMLGUIClient* /TransferThis/); %End @@ -103,23 +103,23 @@ public: %If ( - KDE_3_2_2 ) %If ( D_MANDRAKE ) - virtual TQValueList<KAction*> actions (const TQString&) const; - virtual TQValueList<KAction*> actions () const; + virtual TQValueList<TDEAction*> actions (const TQString&) const; + virtual TQValueList<TDEAction*> actions () const; %End %End -}; // class KActionCollection +}; // class TDEActionCollection %End %If ( KDE_3_2_0 - ) -typedef TQValueList<KAction*> KActionPtrList; +typedef TQValueList<TDEAction*> TDEActionPtrList; %End %If ( - KDE_3_2_2 ) -//ig typedef TQValueList<KAction*> KActionPtrList; +//ig typedef TQValueList<TDEAction*> TDEActionPtrList; %End |