diff options
Diffstat (limited to 'tdeui/kxmlguiclient.h')
-rw-r--r-- | tdeui/kxmlguiclient.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/tdeui/kxmlguiclient.h b/tdeui/kxmlguiclient.h index c05a1afd8..9fa3951a7 100644 --- a/tdeui/kxmlguiclient.h +++ b/tdeui/kxmlguiclient.h @@ -27,9 +27,9 @@ #include <tdelibs_export.h> class TQWidget; -class KAction; -class KActionCollection; -class KInstance; +class TDEAction; +class TDEActionCollection; +class TDEInstance; class KXMLGUIClientPrivate; class KXMLGUIFactory; class KXMLGUIBuilder; @@ -74,30 +74,30 @@ public: * This method is provided for convenience, as it uses actionCollection() * to get the action object. */ - KAction* action( const char* name ) const; + TDEAction* action( const char* name ) const; /** * Retrieves an action for a given TQDomElement. The default * implementation uses the "name" attribute to query the action * object via the other action() method. */ - virtual KAction *action( const TQDomElement &element ) const; + virtual TDEAction *action( const TQDomElement &element ) const; /** * Retrieves the entire action collection for the GUI client. If * you subclass KXMLGUIClient you should call - * KActionCollection::setWidget( TQWidget* ) with this object, or - * you will encounter subtle bugs with KAction keyboard shortcuts. - * This is not necessary if your KXMLGUIClient is a KMainWindow. + * TDEActionCollection::setWidget( TQWidget* ) with this object, or + * you will encounter subtle bugs with TDEAction keyboard shortcuts. + * This is not necessary if your KXMLGUIClient is a TDEMainWindow. * - * @see KActionCollection::setWidget( TQWidget* ) + * @see TDEActionCollection::setWidget( TQWidget* ) */ - virtual KActionCollection* actionCollection() const; + virtual TDEActionCollection* actionCollection() const; /** - * @return The instance ( KInstance ) for this GUI client. + * @return The instance ( TDEInstance ) for this GUI client. */ - virtual KInstance *instance() const; + virtual TDEInstance *instance() const; /** * @return The parsed XML in a TQDomDocument, set by @@ -218,7 +218,7 @@ public: * This tag will get expanded to a list of actions. In the example * above ( a file manager with a dynamic file menu ), you would call * \code - * TQPtrList<KAction> file_actions; + * TQPtrList<TDEAction> file_actions; * for( ... ) * if( ... ) * file_actions.append( cool_action ); @@ -234,7 +234,7 @@ public: * plugActionList() would leave the previous actions in the * menu too.. */ - void plugActionList( const TQString &name, const TQPtrList<KAction> &actionList ); + void plugActionList( const TQString &name, const TQPtrList<TDEAction> &actionList ); /** * The complement of plugActionList() ... @@ -271,12 +271,12 @@ protected: //bool addSuperClient( KXMLGUIClient * ); /** - * Sets the instance ( KInstance) for this part. + * Sets the instance ( TDEInstance) for this part. * * Call this first in the inherited class constructor. * (At least before setXMLFile().) */ - virtual void setInstance( KInstance *instance ); + virtual void setInstance( TDEInstance *instance ); /** * Sets the name of the rc file containing the XML for the part. @@ -342,7 +342,7 @@ private: }; bool mergeXML( TQDomElement &base, const TQDomElement &additive, - KActionCollection *actionCollection ); + TDEActionCollection *actionCollection ); TQDomElement findMatchingElement( const TQDomElement &base, const TQDomElement &additive ); |