#
# Machekku Bonus global hotkeys
#
# Date: 2007-01-16
#
# options/default.xml |    2 ++
# src/psicon.cpp      |    2 ++
# 2 files changed, 4 insertions(+)
#
diff -rN -u old-psi-3/options/default.xml new-psi-3/options/default.xml
--- old-psi-3/options/default.xml	2007-01-16 02:45:34.750000000 +0100
+++ new-psi-3/options/default.xml	2007-01-16 02:46:10.156250000 +0100
@@ -165,6 +165,8 @@
 			<global comment="Shortcuts available from outside of the application">
 				<event type="QKeySequence" comment="Receive incoming event" />
 				<toggle-visibility type="QKeySequence" comment="Show/hide the application" />
+				<bring-to-front type="QKeySequence" comment="Bring the application to front" />
+				<new-blank-message type="QKeySequence" comment="Send new message" />
 			</global>
 			<message comment="Shortcuts in the message dialog">
 				<send type="QVariantList" comment="Send the message">
diff -rN -u old-psi-3/src/psicon.cpp new-psi-3/src/psicon.cpp
--- old-psi-3/src/psicon.cpp	2007-01-16 02:45:40.625000000 +0100
+++ new-psi-3/src/psicon.cpp	2007-01-16 02:46:30.156250000 +0100
@@ -452,6 +452,8 @@
 	// Global shortcuts
 	ShortcutManager::connect("global.event", this, SLOT(recvNextEvent()));
 	ShortcutManager::connect("global.toggle-visibility", d->mainwin, SLOT(toggleVisible()));
+	ShortcutManager::connect("global.bring-to-front", d->mainwin, SLOT(trayShow()));
+	ShortcutManager::connect("global.new-blank-message", this, SLOT(doNewBlankMessage()));
 
 	// Entity capabilities
 	CapsRegistry::instance()->setFile(ApplicationInfo::homeDir() + "/caps.xml");

