X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=pirselectdeviceform.h;fp=pirselectdeviceform.h;h=8c3bebb2e300671a832d05244a990aba500e4c86;hb=04d45dab5c6b32e9214fa21b7ade432da95c8a98;hp=63b05fe86038f7f45ddf84e46fb520a1747221f2;hpb=7176298055beaf1a9ad8f9fd1099f93df3461265;p=pierogi diff --git a/pirselectdeviceform.h b/pirselectdeviceform.h index 63b05fe..8c3bebb 100644 --- a/pirselectdeviceform.h +++ b/pirselectdeviceform.h @@ -9,6 +9,7 @@ class PIRKeysetWidgetItem; class QListWidget; +class QKeyEvent; namespace Ui { class PIRSelectDeviceForm; @@ -37,13 +38,23 @@ public: // This is a bit of a hack, but not sure how to create a connection otherwise. QListWidget *getDeviceListWidget(); +protected: + void keyPressEvent( + QKeyEvent *event); + private slots: void filterListByMake( int make); void filterListByDeviceType( int deviceType); - + + void filterListByString( + QString string); + + void on_searchStringLineEdit_textChanged(const QString &arg1); + void on_ssClosePushButton_clicked(); + private: void refilterList(); @@ -51,6 +62,7 @@ private: PIRMakeName currentMake; PIRDeviceTypeName currentDevice; + QString searchString; }; #endif // PIRSELECTDEVICEFORM_H