diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-09-13 20:15:16 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-10-17 10:48:30 +0800 |
commit | 8f12bba779b41d43243bed43a0878dcac85fff44 (patch) | |
tree | 720dc711259923c00b37bb0dfebd75f933c8ac3a /libkonq/konq_xmlguiclient.h | |
parent | 8ab67852cd4a98363e1a3f084697e74f595cba9c (diff) | |
download | tdebase-8f12bba779b41d43243bed43a0878dcac85fff44.tar.gz tdebase-8f12bba779b41d43243bed43a0878dcac85fff44.zip |
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 <michele.calgaro@yahoo.it>
Diffstat (limited to 'libkonq/konq_xmlguiclient.h')
-rw-r--r-- | libkonq/konq_xmlguiclient.h | 22 |
1 files changed, 12 insertions, 10 deletions
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; |