summaryrefslogtreecommitdiffstats
path: root/knights/accel.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 01:24:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 01:24:36 +0000
commita8c9924456e5335c964e4e55b2dde1963c88726f (patch)
treef5bf107ba079ae460536da778ce2da5e6c68aa69 /knights/accel.h
downloadknights-a8c9924456e5335c964e4e55b2dde1963c88726f.tar.gz
knights-a8c9924456e5335c964e4e55b2dde1963c88726f.zip
Added KDE3 version of Knights
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knights@1091568 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knights/accel.h')
-rw-r--r--knights/accel.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/knights/accel.h b/knights/accel.h
new file mode 100644
index 0000000..6767a3e
--- /dev/null
+++ b/knights/accel.h
@@ -0,0 +1,59 @@
+/***************************************************************************
+ accel.h - description
+ -------------------
+ begin : Wed Nov 6 2002
+ copyright : (C) 2003 by Troy Corbin Jr.
+ email : tcorbin@users.sf.net
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#ifndef ACCEL_H
+#define ACCEL_H
+
+#include <kaccel.h>
+
+/**
+ *@author Troy Corbin Jr.
+ */
+
+class Accel : public KAccel
+{
+ Q_OBJECT
+
+ public:
+ Accel( QWidget *parent=0, QObject *target=0 );
+ ~Accel();
+ void setTarget( QObject* );
+
+ signals:
+ void focus( void );
+ void focus( const QChar& );
+
+ void board_up( void );
+ void board_down( void );
+
+ void move_prev( void );
+ void move_next( void );
+
+ void page_up( void );
+ void page_down( void );
+
+ void history_prev( void );
+ void history_next( void );
+
+ void reply_tell( void );
+ void reply_channel( void );
+
+ void kibitz( void );
+ void whisper( void );
+};
+
+#endif