X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=pirselectkeysetform.h;fp=pirselectkeysetform.h;h=bb0ed2b6c0b8f54b7f8999e20c206f49cc882b57;hb=04d45dab5c6b32e9214fa21b7ade432da95c8a98;hp=45706aa6ad7d00cab824085ed2aa818bf00ac7c5;hpb=7176298055beaf1a9ad8f9fd1099f93df3461265;p=pierogi diff --git a/pirselectkeysetform.h b/pirselectkeysetform.h index 45706aa..bb0ed2b 100644 --- a/pirselectkeysetform.h +++ b/pirselectkeysetform.h @@ -8,6 +8,8 @@ class QListWidget; class PIRKeysetWidgetItem; +class QKeyEvent; +//class PIRSearchStringDialog; namespace Ui { class PIRSelectKeysetForm; @@ -34,21 +36,27 @@ public: // This is a bit of a hack, but not sure how to create a connection otherwise. QListWidget *getKeysetListWidget(); +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(); Ui::PIRSelectKeysetForm *ui; PIRMakeName currentMake; + QString searchString; }; #endif // PIRSELECTKEYSETFORM_H