X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatviewsearchbar.h;h=d0068b92524a65d7a79ea61d2a6174e7028a01ff;hp=8caf3f80cba3ff974d8a416fb391ff6e2199747e;hb=3efffa2c3f687b21c8040e9a7ee3830e8f539abf;hpb=ba934ceb1bfe30d01d5fb5c072c3197f8080be04 diff --git a/src/qtui/chatviewsearchbar.h b/src/qtui/chatviewsearchbar.h index 8caf3f80..d0068b92 100644 --- a/src/qtui/chatviewsearchbar.h +++ b/src/qtui/chatviewsearchbar.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -24,6 +24,7 @@ #include "ui_chatviewsearchbar.h" #include +#include class QAction; @@ -38,12 +39,23 @@ public: inline QCheckBox *searchSendersBox() const { return ui.searchSendersBox; } inline QCheckBox *searchMsgsBox() const { return ui.searchMsgsBox; } inline QCheckBox *searchOnlyRegularMsgsBox() const { return ui.searchOnlyRegularMsgsBox; } + inline QToolButton *searchUpButton() const { return ui.searchUpButton; } + inline QToolButton *searchDownButton() const { return ui.searchDownButton; } public slots: void setVisible(bool); +signals: + void searchChanged(const QString &); + void hidden(); + +private slots: + void delaySearch(); + void search(); + private: Ui::ChatViewSearchBar ui; + QTimer _searchDelayTimer; }; #endif //CHATVIEWSEARCHBAR_H