From 8f12bba779b41d43243bed43a0878dcac85fff44 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 13 Sep 2019 20:15:16 +0900 Subject: konqueror & kdesktop: removed "open/open in new tab/..." items for encrypted media devices (either locked or unlocked) from popup menu. Signed-off-by: Michele Calgaro --- libkonq/konq_xmlguiclient.h | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'libkonq/konq_xmlguiclient.h') diff --git a/libkonq/konq_xmlguiclient.h b/libkonq/konq_xmlguiclient.h index 685b58a34..5696573da 100644 --- a/libkonq/konq_xmlguiclient.h +++ b/libkonq/konq_xmlguiclient.h @@ -34,24 +34,26 @@ class LIBKONQ_EXPORT KonqXMLGUIClient : public KXMLGUIClient { public: - KonqXMLGUIClient( ); - KonqXMLGUIClient( KXMLGUIClient *parent ); - virtual ~KonqXMLGUIClient( ); + KonqXMLGUIClient(); + KonqXMLGUIClient(KXMLGUIClient *parent); + virtual ~KonqXMLGUIClient(); /** * Reimplemented for internal purpose */ - TQDomDocument domDocument( ) const; + TQDomDocument domDocument() const; + TQDomElement DomElement() const; // KDE4: s/D/d/ - TQDomElement DomElement( ) const; // KDE4: s/D/d/ + // @return true if the group named "name" exists + bool hasGroup(const TQString &name) const; protected: - void addAction( TDEAction *action, const TQDomElement &menu = TQDomElement() ); - void addAction( const char *name, const TQDomElement &menu = TQDomElement() ); - void addSeparator( const TQDomElement &menu = TQDomElement() ); + void addAction(TDEAction *action, const TQDomElement &menu = TQDomElement()); + void addAction(const char *name, const TQDomElement &menu = TQDomElement()); + void addSeparator(const TQDomElement &menu = TQDomElement()); /// only add a separator if an action is added afterwards void addPendingSeparator(); - void addGroup( const TQString &grp ); - void addMerge( const TQString &name ); + void addGroup(const TQString &grp); + void addMerge(const TQString &name); // @return true if addAction was called at least once bool hasAction() const; -- cgit v1.2.1