summaryrefslogtreecommitdiff
path: root/src/common/fqterm_shortcuthelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/fqterm_shortcuthelper.cpp')
-rw-r--r--src/common/fqterm_shortcuthelper.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/common/fqterm_shortcuthelper.cpp b/src/common/fqterm_shortcuthelper.cpp
index 8c18643..f4395c4 100644
--- a/src/common/fqterm_shortcuthelper.cpp
+++ b/src/common/fqterm_shortcuthelper.cpp
@@ -92,8 +92,12 @@ void FQTermShortcutHelper::initShortcutDescriptionTable()
initShortcutDescriptionTableEntry(EDITSCHEMA, "schema", tr(""), tr("Edit Schema"));
initShortcutDescriptionTableEntry(SHORTCUTSETTING, "shortcut", tr(""), tr("Shorcut Setting"));
initShortcutDescriptionTableEntry(COPYARTICLE, "copyarticle", tr("F9"), tr("Copy Article"), "get_article_fulltext");
- initShortcutDescriptionTableEntry(ANTIIDLE, "antiidle", tr(""), tr("Toggle Anti Idle"), "anti_idle");
+ initShortcutDescriptionTableEntry(LOGRAW, "lograw", tr(""), tr("Toggle Raw Data Logging"), "log_raw");
+ getAction(LOGRAW)->setCheckable(true);
+
+ initShortcutDescriptionTableEntry(ANTIIDLE, "antiidle", tr(""), tr("Toggle Anti Idle"), "anti_idle");
getAction(ANTIIDLE)->setCheckable(true);
+
initShortcutDescriptionTableEntry(AUTOREPLY, "autoreply", tr(""), tr("Toggle Auto Reply"), "auto_reply");
getAction(AUTOREPLY)->setCheckable(true);
initShortcutDescriptionTableEntry(VIEWMESSAGE, "viewmessage", tr("F10"), tr("View Messages"), "view_messages");
@@ -194,6 +198,7 @@ void FQTermShortcutHelper::retranslateActions() {
retranslateAction(SHORTCUTSETTING, tr("Short&cut Setting"));
retranslateAction(EDITSCHEMA, tr("&Edit Schema"));
retranslateAction(COPYARTICLE, tr("&Copy article"));
+ retranslateAction(LOGRAW, tr("Log Raw"));
retranslateAction(ANTIIDLE, tr("Anti &idle"));
retranslateAction(AUTOREPLY, tr("Auto &reply"));
retranslateAction(VIEWMESSAGE, tr("&View messages"));
@@ -295,4 +300,4 @@ FQTermShortcutHelper::ShortcutDescriptionEntry::~ShortcutDescriptionEntry() {
}
}//namespace FQTerm
-#include "fqterm_shortcuthelper.moc" \ No newline at end of file
+#include "fqterm_shortcuthelper.moc"