summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircmisc.h
authorzecke <zecke>2004-09-06 23:51:20 (UTC)
committer zecke <zecke>2004-09-06 23:51:20 (UTC)
commite6798d7ec0a3b86e412bd67faad24a737a67aa5f (patch) (side-by-side diff)
treeff10e927aff440d8dca2e0fe8976aadb3ff011d2 /noncore/net/opieirc/ircmisc.h
parent8f18e8b46dfaaa7e03b9ed1f3faed12da5b30cd5 (diff)
downloadopie-e6798d7ec0a3b86e412bd67faad24a737a67aa5f.zip
opie-e6798d7ec0a3b86e412bd67faad24a737a67aa5f.tar.gz
opie-e6798d7ec0a3b86e412bd67faad24a737a67aa5f.tar.bz2
Use OKeyConfigWidget/Manager for managing next and prev tab
keyboard shortcuts
Diffstat (limited to 'noncore/net/opieirc/ircmisc.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircmisc.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircmisc.h b/noncore/net/opieirc/ircmisc.h
index c42dcbd..37eed28 100644
--- a/noncore/net/opieirc/ircmisc.h
+++ b/noncore/net/opieirc/ircmisc.h
@@ -28,6 +28,13 @@
#include <qcolor.h>
#include <qarray.h>
+namespace Opie {
+namespace Core {
+class OKeyConfigManager;
+}
+}
+
+
/* Custom colored QTabWidget */
class QExtTab : public QTab {
@@ -59,6 +66,13 @@ protected:
class IRCHistoryLineEdit : public QLineEdit {
Q_OBJECT
public:
+ enum KeyMode {
+ KeyNextTab,
+ KeyPrevTab
+ };
+
+ static Opie::Core::OKeyConfigManager* keyConfigInstance();
+
IRCHistoryLineEdit(QWidget *parent = 0, const char *name = 0);
virtual bool eventFilter(QObject *object, QEvent *event);
public slots: