summaryrefslogtreecommitdiffstats
path: root/libkonq/konq_xmlguiclient.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2019-09-13 20:15:16 +0900
committerMichele Calgaro <[email protected]>2020-10-17 10:48:30 +0800
commit8f12bba779b41d43243bed43a0878dcac85fff44 (patch)
tree720dc711259923c00b37bb0dfebd75f933c8ac3a /libkonq/konq_xmlguiclient.h
parent8ab67852cd4a98363e1a3f084697e74f595cba9c (diff)
downloadtdebase-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 <[email protected]>
Diffstat (limited to 'libkonq/konq_xmlguiclient.h')
-rw-r--r--libkonq/konq_xmlguiclient.h22
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;