diff options
Diffstat (limited to 'src/tag.h')
-rw-r--r-- | src/tag.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -113,7 +113,7 @@ class Tag typedef TQValueList<Tag*> List; static Tag::List all; static State* stateForId(const TQString &id); - static Tag* tagForKAction(KAction *action); + static Tag* tagForTDEAction(TDEAction *action); static Tag* tagSimilarTo(Tag *tagToTest); static TQMap<TQString, TQString> loadTags(const TQString &path = TQString()/*, bool merge = false*/); /// << Load the tags contained in the XML file @p path or those in the application settings if @p path isEmpty(). If @p merge is true and a tag with the id of a tag that should be loaded already exist, the tag will get a new id. Otherwise, the tag will be dismissed. static void saveTags(); @@ -129,13 +129,13 @@ class Tag ~Tag(); /// SET PROPERTIES: void setName(const TQString &name); - void setShortcut(const KShortcut &shortcut) { m_action->setShortcut(shortcut); } + void setShortcut(const TDEShortcut &shortcut) { m_action->setShortcut(shortcut); } void setInheritedBySiblings(bool inherited) { m_inheritedBySiblings = inherited; } void appendState(State *state) { m_states.append(state); state->setParentTag(this); } void removeState(State *state) { m_states.remove(state); state->setParentTag(0); } /// GET PROPERTIES: TQString name() const { return m_name; } - KShortcut shortcut() const { return m_action->shortcut(); } + TDEShortcut shortcut() const { return m_action->shortcut(); } bool inheritedBySiblings() const { return m_inheritedBySiblings; } State::List& states() const { return (State::List&)m_states; } int countStates() const { return m_states.count(); } @@ -143,7 +143,7 @@ class Tag private: /// PROPERTIES: TQString m_name; - KAction *m_action; + TDEAction *m_action; bool m_inheritedBySiblings; State::List m_states; }; |