tdeactioncollection.cpp
83 kdDebug(129) << "TDEActionCollection::TDEActionCollection( " << parent << ", " << name << " ): this = " << this << endl; // ellis
96 kdDebug(129) << "TDEActionCollection::TDEActionCollection( " << watch << ", " << parent << ", " << name << " ): this = " << this << endl; //ellis
110 kdWarning(129) << "TDEActionCollection::TDEActionCollection( TQObject *parent, const char *name, TDEInstance *instance )" << endl; //ellis
123 kdWarning(129) << "TDEActionCollection::TDEActionCollection( const TDEActionCollection & ): function is severely deprecated." << endl;
155 // kdError(129) << "TDEActionCollection::setWidget(): must be called before any actions are added to collection!" << endl;
164 kdWarning(129) << "TDEActionCollection::setWidget(): tried to change widget from " << d->m_widget << " to " << w << endl;
185 kdDebug(129) << "TDEActionCollection::beginXMLPlug( buildWidget = " << widget << " ): this = " << this << " d->m_builderTDEAccel = " << d->m_builderTDEAccel << endl;
263 kdWarning(129) << "TDEActionCollection::removeWidget( " << w << " ): widget not in list." << endl;
408 bool TDEActionCollection::readShortcutSettings( const TQString& sConfigGroup, TDEConfigBase* pConfig )
413 bool TDEActionCollection::writeShortcutSettings( const TQString& sConfigGroup, TDEConfigBase* pConfig ) const
415 return TDEActionShortcutList((TDEActionCollection*)this).writeSettings( sConfigGroup, pConfig );
609 d->m_dctHighlightContainers.remove( reinterpret_cast<void *>( const_cast<TQObject*>(TQT_TQOBJECT_CONST(sender())) ) );
614 TQPtrList<TDEAction> *actionList = d->m_dctHighlightContainers[ reinterpret_cast<void *>( container ) ];
664 kdWarning(129) << "TDEActionCollection::operator+=(): function is severely deprecated." << endl;
735 //kdDebug(129) << "name = " << sName << " shortcut = " << shortcut(i).toStringInternal() << " def = " << shortcutDefault(i).toStringInternal() << endl;
755 return KXMLGUIFactory::saveConfigFile( doc, guiClient ? guiClient->localXMLFile() : m_actions.xmlFile(), instance() );
virtual TDEAccel * accel() KDE_DEPRECATED
Returns the number of widgets which this collection is associated with.
Definition: tdeactioncollection.cpp:369
virtual void virtual_hook(int id, void *data)
void setHighlightingEnabled(bool enable)
Enable highlighting notification for specific TDEActions.
Definition: tdeactioncollection.cpp:483
TQString kdBacktrace(int levels=-1)
bool addDocCollection(TDEActionCollection *pDoc)
This sets the default shortcut scope for new actions created in this collection.
Definition: tdeactioncollection.cpp:177
bool writeShortcutSettings(const TQString &sConfigGroup=TQString::null, TDEConfigBase *pConfig=0) const
Used for writing shortcut configuration to a non-XML rc file.
Definition: tdeactioncollection.cpp:413
TQString name(StdAccel id)
bool highlightingEnabled() const
Return whether highlighting notifications are enabled.
Definition: tdeactioncollection.cpp:488
void remove(TDEAction *action)
Removes an action from the collection and deletes it.
Definition: tdeactioncollection.cpp:366
TDEInstance * instance()
kdbgstream kdWarning(int area=0)
virtual TQStringList groups() const
Returns a list of all the groups of all the TDEActions in this action collection.
Definition: tdeactioncollection.cpp:423
void clearStatusText()
Emitted when an action loses highlighting.
void setXMLFile(const TQString &)
Definition: tdeactioncollection.cpp:473
kndbgstream & endl(kndbgstream &s)
const TDEShortcut & shortcut(StdAccel id)
const KXMLGUIClient * parentGUIClient() const
The parent KXMLGUIClient, return 0L if not available.
Definition: tdeactioncollection.cpp:627
static TQDomElement findActionByName(TQDomElement &elem, const TQString &sName, bool create)
Definition: kxmlguifactory.cpp:589
A KXMLGUIClient can be used with KXMLGUIFactory to create a GUI from actions and an XML document,...
Definition: kxmlguiclient.h:44
virtual TQString xmlFile() const
This will return the name of the XML file as set by setXMLFile().
Definition: kxmlguiclient.cpp:133
virtual TDEActionPtrList actions(const TQString &group) const
Returns the list of actions in a particular group managed by this action collection.
Definition: tdeactioncollection.cpp:435
kdbgstream kdDebug(int area=0)
TDEShortcut shortcutDefault(StdAccel id)
void clear()
Clears the entire actionCollection, deleting all actions.
Definition: tdeactioncollection.cpp:368
void setAutoConnectShortcuts(bool)
This indicates whether new actions which are created in this collection should have their keyboard sh...
Definition: tdeactioncollection.cpp:167
void disconnectHighlight(TQWidget *container, TDEAction *action)
Disconnect highlight notifications for a particular pair of contianer and action.
Definition: tdeactioncollection.cpp:526
static TQDomElement actionPropertiesElement(TQDomDocument &doc)
Definition: kxmlguifactory.cpp:567
void insert(TDEAction *action)
Add an action to the collection.
Definition: tdeactioncollection.cpp:365
TDEAction * take(TDEAction *action)
Removes an action from the collection.
Definition: tdeactioncollection.cpp:367
TDEAccel * builderTDEAccel() const
Definition: tdeactioncollection.cpp:371
TDEInstance * instance() const
The instance with which this class is associated.
Definition: tdeactioncollection.cpp:468
virtual TDEActionPtrList actions() const
Returns the list of actions managed by this action collection.
Definition: tdeactioncollection.cpp:449
const TDEShortcut & copy()
virtual uint count() const
Returns the TDEAccel object associated with widget #.
Definition: tdeactioncollection.cpp:418
virtual TDEAction * action(int index) const
Return the TDEAction* at position "index" in the action collection.
Definition: tdeactioncollection.cpp:400
bool isAutoConnectShortcuts()
This indicates whether new actions which are created in this collection have their keyboard shortcuts...
Definition: tdeactioncollection.cpp:172
void actionHighlighted(TDEAction *action)
Emitted when action is highlighted.
static TDEInstance * instance()
bool readShortcutSettings(const TQString &sConfigGroup=TQString::null, TDEConfigBase *pConfig=0)
Used for reading shortcut configuration from a non-XML rc file.
Definition: tdeactioncollection.cpp:408
virtual void setWidget(TQWidget *widget)
This sets the widget to which the keyboard shortcuts should be attached.
Definition: tdeactioncollection.cpp:152
TDEAccel * tdeaccel()
Returns the TDEAccel object of the most recently set widget.
Definition: tdeactioncollection.cpp:282
void connectHighlight(TQWidget *container, TDEAction *action)
Call this function if you want to receive a signal whenever a TDEAction is highlighted in a menu or a...
Definition: tdeactioncollection.cpp:493
void actionStatusText(const TQString &text)
Emitted when an action is highlighted, with text being the tooltip for the action.