summaryrefslogtreecommitdiffstats
path: root/src/tag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tag.cpp')
-rw-r--r--src/tag.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tag.cpp b/src/tag.cpp
index b7e9ea7..27327d1 100644
--- a/src/tag.cpp
+++ b/src/tag.cpp
@@ -223,7 +223,7 @@ Tag::Tag()
static int tagNumber = 0;
++tagNumber;
TQString sAction = "tag_shortcut_number_" + TQString::number(tagNumber);
- m_action = new KAction("FAKE TEXT", "FAKE ICON", KShortcut(), TQT_TQOBJECT(Global::bnpView), TQT_SLOT(activatedTagShortcut()), Global::bnpView->actionCollection(), sAction);
+ m_action = new TDEAction("FAKE TEXT", "FAKE ICON", TDEShortcut(), TQT_TQOBJECT(Global::bnpView), TQT_SLOT(activatedTagShortcut()), Global::bnpView->actionCollection(), sAction);
m_action->setShortcutConfigurable(false); // We do it in the tag properties dialog
m_inheritedBySiblings = false;
@@ -249,7 +249,7 @@ State* Tag::stateForId(const TQString &id)
return 0;
}
-Tag* Tag::tagForKAction(KAction *action)
+Tag* Tag::tagForTDEAction(TDEAction *action)
{
for (List::iterator it = all.begin(); it != all.end(); ++it)
if ((*it)->m_action == action)
@@ -293,7 +293,7 @@ TQMap<TQString, TQString> Tag::loadTags(const TQString &path/* = TQString()*//*,
TQString shortcut = XMLWork::getElementText(element, "shortcut");
TQString inherited = XMLWork::getElementText(element, "inherited", "false");
tag->setName(name);
- tag->setShortcut(KShortcut(shortcut));
+ tag->setShortcut(TDEShortcut(shortcut));
tag->setInheritedBySiblings(XMLWork::trueOrFalse(inherited));
// Load states:
TQDomNode subNode = element.firstChild();