diff options
Diffstat (limited to 'sip/tdeui/kaction.sip')
-rw-r--r-- | sip/tdeui/kaction.sip | 286 |
1 files changed, 143 insertions, 143 deletions
diff --git a/sip/tdeui/kaction.sip b/sip/tdeui/kaction.sip index 14e8390..ff1d452 100644 --- a/sip/tdeui/kaction.sip +++ b/sip/tdeui/kaction.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KAction : TQObject +class TDEAction : TQObject { %TypeHeaderCode #include <kaction.h> @@ -32,19 +32,19 @@ class KAction : TQObject public: - KAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - KAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - KAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - KAction (const KGuiItem&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - KAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDEAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /TransferThis/, const char*); + TDEAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /TransferThis/, const char*); + TDEAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /TransferThis/, const char*); + TDEAction (const KGuiItem&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /TransferThis/, const char*); + TDEAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEAction (TQObject* /TransferThis/ = 0, const char* = 0); virtual int plug (TQWidget*, int = -1); - virtual void plugAccel (KAccel*, bool = 1); + virtual void plugAccel (TDEAccel*, bool = 1); virtual void unplug (TQWidget*); virtual void unplugAccel (); virtual bool isPlugged () const; @@ -68,8 +68,8 @@ public: bool hasIconSet () const; virtual TQString plainText () const; virtual TQString text () const; - virtual const KShortcut& shortcut () const; - virtual const KShortcut& shortcutDefault () const; + virtual const TDEShortcut& shortcut () const; + virtual const TDEShortcut& shortcutDefault () const; TQString shortcutText () const; void setShortcutText (const TQString&); virtual bool isEnabled () const; @@ -80,7 +80,7 @@ public: virtual TQIconSet iconSet (KIcon::Group, int = 0) const; TQIconSet iconSet () const; virtual TQString icon () const; - KActionCollection* parentCollection () const; + TDEActionCollection* parentCollection () const; static int getToolButtonID (); void unplugAll (); @@ -100,7 +100,7 @@ public: public slots: virtual void setText (const TQString&); - virtual bool setShortcut (const KShortcut&); + virtual bool setShortcut (const TDEShortcut&); virtual void setGroup (const TQString&); virtual void setWhatsThis (const TQString&); virtual void setToolTip (const TQString&); @@ -127,7 +127,7 @@ protected slots: protected: - KToolBar* toolBar (int) const; + TDEToolBar* toolBar (int) const; TQPopupMenu* popupMenu (int) const; void removeContainer (int); int findContainer (const TQWidget*) const; @@ -163,7 +163,7 @@ signals: void activated (); %If ( KDE_3_4_0 - ) - void activated (KAction::ActivationReason, TQt::ButtonState); + void activated (TDEAction::ActivationReason, TQt::ButtonState); %End void enabled (bool); @@ -178,12 +178,12 @@ public: protected: //igx virtual void virtual_hook (int, void*); -}; // class KAction +}; // class TDEAction %If ( - KDE_3_2_0 ) -class KToggleAction : KAction +class TDEToggleAction : TDEAction { %TypeHeaderCode #include <kaction.h> @@ -191,13 +191,13 @@ class KToggleAction : KAction public: - KToggleAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KToggleAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KToggleAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KToggleAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDEToggleAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEToggleAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEToggleAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEToggleAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEToggleAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEToggleAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEToggleAction (TQObject* /TransferThis/ = 0, const char* = 0); virtual int plug (TQWidget*, int = -1); bool isChecked () const; TQString exclusiveGroup () const; @@ -218,14 +218,14 @@ signals: protected: //igx virtual void virtual_hook (int, void*); -}; // class KToggleAction +}; // class TDEToggleAction %End %If ( - KDE_3_2_0 ) -class KRadioAction : KToggleAction +class TDERadioAction : TDEToggleAction { %TypeHeaderCode #include <kaction.h> @@ -233,13 +233,13 @@ class KRadioAction : KToggleAction public: - KRadioAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KRadioAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KRadioAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KRadioAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDERadioAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDERadioAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDERadioAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDERadioAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDERadioAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDERadioAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDERadioAction (TQObject* /TransferThis/ = 0, const char* = 0); protected: virtual void slotActivated (); @@ -247,14 +247,14 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KRadioAction +}; // class TDERadioAction %End %If ( - KDE_3_2_0 ) -class KSelectAction : KAction +class TDESelectAction : TDEAction { %TypeHeaderCode #include <kaction.h> @@ -262,13 +262,13 @@ class KSelectAction : KAction public: - KSelectAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KSelectAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KSelectAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KSelectAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDESelectAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDESelectAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDESelectAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDESelectAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDESelectAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDESelectAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDESelectAction (TQObject* /TransferThis/ = 0, const char* = 0); virtual int plug (TQWidget*, int = -1); virtual bool isEditable () const; virtual TQStringList items () const; @@ -319,14 +319,14 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KSelectAction +}; // class TDESelectAction %End %If ( - KDE_3_2_0 ) -class KListAction : KSelectAction +class TDEListAction : TDESelectAction { %TypeHeaderCode #include <kaction.h> @@ -334,13 +334,13 @@ class KListAction : KSelectAction public: - KListAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KListAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KListAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KListAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KListAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KListAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KListAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDEListAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEListAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEListAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEListAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEListAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEListAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEListAction (TQObject* /TransferThis/ = 0, const char* = 0); virtual TQString currentText () const; virtual int currentItem () const; @@ -350,14 +350,14 @@ public slots: protected: //igx virtual void virtual_hook (int, void*); -}; // class KListAction +}; // class TDEListAction %End %If ( - KDE_3_2_0 ) -class KRecentFilesAction : KListAction +class TDERecentFilesAction : TDEListAction { %TypeHeaderCode #include <kaction.h> @@ -365,13 +365,13 @@ class KRecentFilesAction : KListAction public: - KRecentFilesAction (const TQString&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const TQString&, const TQIconSet&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const TQString&, const TQString&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (TQObject* /TransferThis/ = 0, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TDEShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TQIconSet&, const TDEShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TQString&, const TDEShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (TQObject* /TransferThis/ = 0, const char* = 0, uint = 10); uint maxItems () const; public slots: @@ -393,14 +393,14 @@ protected slots: protected: //igx virtual void virtual_hook (int, void*); -}; // class KRecentFilesAction +}; // class TDERecentFilesAction %End %If ( - KDE_3_2_0 ) -class KFontAction : KSelectAction +class TDEFontAction : TDESelectAction { %TypeHeaderCode #include <kaction.h> @@ -408,13 +408,13 @@ class KFontAction : KSelectAction public: - KFontAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KFontAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KFontAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KFontAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontAction (TQObject* /TransferThis/ = 0, const char* = 0); TQString font () const; int plug (TQWidget*, int = -1); @@ -424,14 +424,14 @@ public slots: protected: //igx virtual void virtual_hook (int, void*); -}; // class KFontAction +}; // class TDEFontAction %End %If ( - KDE_3_2_0 ) -class KFontSizeAction : KSelectAction +class TDEFontSizeAction : TDESelectAction { %TypeHeaderCode #include <kaction.h> @@ -439,13 +439,13 @@ class KFontSizeAction : KSelectAction public: - KFontSizeAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KFontSizeAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KFontSizeAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KFontSizeAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontSizeAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontSizeAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontSizeAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontSizeAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontSizeAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontSizeAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontSizeAction (TQObject* /TransferThis/ = 0, const char* = 0); virtual int fontSize () const; public slots: @@ -462,14 +462,14 @@ signals: protected: //igx virtual void virtual_hook (int, void*); -}; // class KFontSizeAction +}; // class TDEFontSizeAction %End %If ( - KDE_3_2_0 ) -class KActionMenu : KAction +class TDEActionMenu : TDEAction { %TypeHeaderCode #include <kaction.h> @@ -477,13 +477,13 @@ class KActionMenu : KAction public: - KActionMenu (const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (const TQString&, const TQIconSet&, TQObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (const TQString&, const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (TQObject* /TransferThis/ = 0, const char* = 0); - virtual void insert (KAction*, int = -1); - virtual void remove (KAction*); - KPopupMenu* popupMenu (); + TDEActionMenu (const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); + TDEActionMenu (const TQString&, const TQIconSet&, TQObject* /TransferThis/ = 0, const char* = 0); + TDEActionMenu (const TQString&, const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); + TDEActionMenu (TQObject* /TransferThis/ = 0, const char* = 0); + virtual void insert (TDEAction*, int = -1); + virtual void remove (TDEAction*); + TDEPopupMenu* popupMenu (); void popup (const TQPoint&); bool delayed () const; void setDelayed (bool); @@ -494,14 +494,14 @@ public: protected: //igx virtual void virtual_hook (int, void*); -}; // class KActionMenu +}; // class TDEActionMenu %End %If ( - KDE_3_2_0 ) -class KToolBarPopupAction : KAction +class TDEToolBarPopupAction : TDEAction { %TypeHeaderCode #include <kaction.h> @@ -509,11 +509,11 @@ class KToolBarPopupAction : KAction public: - KToolBarPopupAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KToolBarPopupAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/ = 0, const char* = 0); - KToolBarPopupAction (const KGuiItem&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); + TDEToolBarPopupAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEToolBarPopupAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEToolBarPopupAction (const KGuiItem&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /TransferThis/, const char*); virtual int plug (TQWidget*, int = -1); - KPopupMenu* popupMenu (); + TDEPopupMenu* popupMenu (); bool delayed () const; void setDelayed (bool); bool stickyMenu () const; @@ -522,14 +522,14 @@ public: protected: //igx virtual void virtual_hook (int, void*); -}; // class KToolBarPopupAction +}; // class TDEToolBarPopupAction %End %If ( KDE_3_1_0 - KDE_3_2_0 ) -class KToggleToolBarAction : KToggleAction +class TDEToggleToolBarAction : TDEToggleAction { %TypeHeaderCode #include <kaction.h> @@ -537,10 +537,10 @@ class KToggleToolBarAction : KToggleAction public: - KToggleToolBarAction (const char*, const TQString&, KActionCollection* /TransferThis/, const char*); - KToggleToolBarAction (KToolBar*, const TQString&, KActionCollection* /TransferThis/, const char*); + TDEToggleToolBarAction (const char*, const TQString&, TDEActionCollection* /TransferThis/, const char*); + TDEToggleToolBarAction (TDEToolBar*, const TQString&, TDEActionCollection* /TransferThis/, const char*); virtual int plug (TQWidget*, int = -1); - KToolBar* toolBar (); + TDEToolBar* toolBar (); public slots: virtual void setChecked (bool); @@ -548,14 +548,14 @@ public slots: protected: virtual void virtual_hook (int, void*); -}; // class KToggleToolBarAction +}; // class TDEToggleToolBarAction %End %If ( KDE_3_1_0 - KDE_3_2_0 ) -class KWidgetAction : KAction +class KWidgetAction : TDEAction { %TypeHeaderCode #include <kaction.h> @@ -563,7 +563,7 @@ class KWidgetAction : KAction public: - KWidgetAction (TQWidget*, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); + KWidgetAction (TQWidget*, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /TransferThis/, const char*); TQWidget* widget (); void setAutoSized (bool); virtual int plug (TQWidget*, int = -1); @@ -582,7 +582,7 @@ protected: %If ( - KDE_3_2_0 ) -class KActionSeparator : KAction +class TDEActionSeparator : TDEAction { %TypeHeaderCode #include <kaction.h> @@ -590,20 +590,20 @@ class KActionSeparator : KAction public: - KActionSeparator (TQObject* /TransferThis/ = 0, const char* = 0); + TDEActionSeparator (TQObject* /TransferThis/ = 0, const char* = 0); virtual int plug (TQWidget*, int = -1); protected: //igx virtual void virtual_hook (int, void*); -}; // class KActionSeparator +}; // class TDEActionSeparator %End %If ( - KDE_3_2_0 ) -class KActionCollection : TQObject +class TDEActionCollection : TQObject { %TypeHeaderCode #include <kaction.h> @@ -611,33 +611,33 @@ 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*); %If ( KDE_3_1_0 - ) void setAutoConnectShortcuts (bool); bool isAutoConnectShortcuts (); - bool addDocCollection (KActionCollection*); + bool addDocCollection (TDEActionCollection*); %End - virtual KAccel* accel (); + virtual TDEAccel* accel (); %If ( KDE_3_1_0 - ) - KAccel* kaccel (); - KAccel* builderKAccel () const; + TDEAccel* kaccel (); + TDEAccel* builderTDEAccel () const; %End 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; %If ( KDE_3_1_5 - ) - 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 bool readShortcutSettings (const TQString& = TQString ::null , TDEConfigBase* = 0); @@ -648,26 +648,26 @@ 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*); 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/ = 0, const char* = 0, TDEInstance* = 0); - void insert (KAction*); - void remove (KAction*); - KAction* take (KAction*); + TDEActionCollection (TQObject* /TransferThis/ = 0, const char* = 0, TDEInstance* = 0); + void insert (TDEAction*); + void remove (TDEAction*); + TDEAction* take (TDEAction*); %If ( KDE_3_1_4 - ) - KActionCollection operator + (const KActionCollection&) const; - KActionCollection& operator += (const KActionCollection&); + TDEActionCollection operator + (const TDEActionCollection&) const; + TDEActionCollection& operator += (const TDEActionCollection&); %End @@ -677,23 +677,23 @@ public slots: protected: //igx virtual void virtual_hook (int, void*); -}; // class KActionCollection +}; // class TDEActionCollection %End %If ( - KDE_3_2_0 ) -//ig typedef TQValueList<KAction*> KActionPtrList; +//ig typedef TQValueList<TDEAction*> TDEActionPtrList; %End -%MappedType TQValueList<KAction*> -//converts a Python list of KAction +%MappedType TQValueList<TDEAction*> +//converts a Python list of TDEAction { %TypeHeaderCode #include <tqvaluelist.h> #include <kaction.h> -//typedef TQValueList<KAction*> KActionPtrList; +//typedef TQValueList<TDEAction*> TDEActionPtrList; %End %ConvertFromTypeCode @@ -705,14 +705,14 @@ protected: if ((pylist = PyList_New(0)) == NULL) return NULL; - TQValueList<KAction*> *cpplist = (TQValueList<KAction*> *)sipCpp; + TQValueList<TDEAction*> *cpplist = (TQValueList<TDEAction*> *)sipCpp; PyObject *inst; // Get it. - TQValueList<KAction*>::Iterator it; + TQValueList<TDEAction*>::Iterator it; for( it = cpplist->begin(); it != cpplist->end(); ++it ) { - if (((inst = sipConvertFromInstance (*it, sipClass_KAction, sipTransferObj)) == NULL) + if (((inst = sipConvertFromInstance (*it, sipClass_TDEAction, sipTransferObj)) == NULL) || PyList_Append (pylist, inst) < 0) { Py_DECREF (pylist); @@ -728,16 +728,16 @@ protected: if (sipIsErr == NULL) return PyList_Check(sipPy); - TQValueList<KAction*> *cpplist = new TQValueList<KAction*>; + TQValueList<TDEAction*> *cpplist = new TQValueList<TDEAction*>; PyObject *elem; - KAction* cpp; + TDEAction* cpp; int iserr = 0; for (int i = 0; i < PyList_Size (sipPy); i++) { elem = PyList_GET_ITEM (sipPy, i); - cpp = (KAction *)sipForceConvertToType(elem, sipType_KAction, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); + cpp = (TDEAction *)sipForceConvertToType(elem, sipType_TDEAction, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); if (iserr) { |