X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Finputline.h;h=3294be19227fbc854023902ac713033ea243e635;hb=9ced25191b84390d1867cf3ee19f5aec741795a8;hp=1595125157df9c8df303657a5205ad20e9d28647;hpb=d6b056e936ec441258d291b7a8af7b83f9f53016;p=quassel.git diff --git a/src/uisupport/inputline.h b/src/uisupport/inputline.h index 15951251..3294be19 100644 --- a/src/uisupport/inputline.h +++ b/src/uisupport/inputline.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-07 by the Quassel IRC Team * + * Copyright (C) 2005-08 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -28,29 +28,28 @@ class TabCompleter; class InputLine : public QLineEdit { Q_OBJECT - public: - InputLine(QWidget *parent = 0); - ~InputLine(); +public: + InputLine(QWidget *parent = 0); + ~InputLine(); - protected: - virtual bool event(QEvent *); - virtual void keyPressEvent(QKeyEvent * event); - - private slots: - void enter(); - - public slots: - void updateNickList(QStringList); - - signals: - void nickListUpdated(QStringList); - - private: - qint32 idx; - QStringList history; - QStringList nickList; - - TabCompleter *tabComplete; +protected: + // virtual bool event(QEvent *); + virtual void keyPressEvent(QKeyEvent * event); + +private slots: + void on_returnPressed(); + void on_textChanged(QString newText); + +signals: + void sendText(QString text); + +private: + QStringList history; + qint32 idx; + TabCompleter *tabCompleter; + + int bindModifier; + int jumpModifier; }; #endif