diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-07-23 07:31:53 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-07-23 07:31:53 +0000 |
commit | e6fd3d0318d0f53c51cf4cc87ccdc8f9741957e7 (patch) | |
tree | da29255f5c33ae915c28a1dbff5525fdf912fbe6 /utils/themeeditor/qtfindreplacedialog/finddialog.h | |
parent | b21b7714209230cbadab1e709c6778c4cc214437 (diff) | |
download | rockbox-e6fd3d0318d0f53c51cf4cc87ccdc8f9741957e7.tar.gz rockbox-e6fd3d0318d0f53c51cf4cc87ccdc8f9741957e7.zip |
Theme Editor: Switched back to Lorenzo Bettini's find/replace dialog (with some modifications) as he changed the license to LGPL v2.1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27528 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/qtfindreplacedialog/finddialog.h')
-rw-r--r-- | utils/themeeditor/qtfindreplacedialog/finddialog.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/utils/themeeditor/qtfindreplacedialog/finddialog.h b/utils/themeeditor/qtfindreplacedialog/finddialog.h new file mode 100644 index 0000000000..2dfa4c7b59 --- /dev/null +++ b/utils/themeeditor/qtfindreplacedialog/finddialog.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2009 Lorenzo Bettini <http://www.lorenzobettini.it> | ||
3 | * See COPYING file that comes with this distribution | ||
4 | */ | ||
5 | |||
6 | #ifndef FINDDIALOG_H | ||
7 | #define FINDDIALOG_H | ||
8 | |||
9 | #include <QDialog> | ||
10 | |||
11 | #include "findreplace_global.h" | ||
12 | |||
13 | #include "findreplacedialog.h" | ||
14 | |||
15 | /** | ||
16 | * A find dialog (it is basically the same | ||
17 | * as FindReplaceDialog without the replace related widgets). | ||
18 | */ | ||
19 | class FINDREPLACESHARED_EXPORT FindDialog : public FindReplaceDialog { | ||
20 | Q_OBJECT | ||
21 | public: | ||
22 | FindDialog(QWidget *parent = 0); | ||
23 | ~FindDialog(); | ||
24 | |||
25 | /** | ||
26 | * Writes the state of the form to the passed settings. | ||
27 | * @param settings | ||
28 | * @param prefix the prefix to insert in the settings | ||
29 | */ | ||
30 | virtual void writeSettings(QSettings &settings, const QString &prefix = "FindDialog"); | ||
31 | |||
32 | /** | ||
33 | * Reads the state of the form from the passed settings. | ||
34 | * @param settings | ||
35 | * @param prefix the prefix to look for in the settings | ||
36 | */ | ||
37 | virtual void readSettings(QSettings &settings, const QString &prefix = "FindDialog"); | ||
38 | }; | ||
39 | |||
40 | #endif // FINDDIALOG_H | ||