summaryrefslogtreecommitdiff
path: root/doc/examples/addressbook-sdk/part7/finddialog.h
blob: 95bdaea50614a7b6cf9ff1422d24ecc4957397ff (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
#ifndef FINDDIALOG_H
#define FINDDIALOG_H

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

namespace Ui {
    class FindDialog;
}

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

public slots:
    void findClicked();

private:
    Ui::FindDialog *m_ui;
    QPushButton *findButton;
    QLineEdit *lineEdit;
    QString findText;
};

#endif // FINDDIALOG_H