summaryrefslogtreecommitdiff
path: root/doc/examples/addressbook-sdk/part5/finddialog.h
blob: 9df1df899885d98a1759945e085d213fb6561736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef FINDDIALOG_H
#define FINDDIALOG_H

#include <QtGui/QDialog>
#include <QLineEdit>
#include <QPushButton>

namespace Ui {
    class FindDialog;
}

class FindDialog : public QDialog {
    Q_OBJECT
public:
    FindDialog(QWidget *parent = 0);
    ~FindDialog();
    QString getFindText();

public slots:
    void findClicked();

//! [private members]
private:
    Ui::FindDialog *m_ui;
    QPushButton *findButton;
    QLineEdit *lineEdit;
    QString findText;
//! [private members]
};

#endif // FINDDIALOG_H