diff options
Diffstat (limited to 'utils/themeeditor/qtfindreplacedialog/findform.cpp')
-rw-r--r-- | utils/themeeditor/qtfindreplacedialog/findform.cpp | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/utils/themeeditor/qtfindreplacedialog/findform.cpp b/utils/themeeditor/qtfindreplacedialog/findform.cpp new file mode 100644 index 0000000000..70e7e58529 --- /dev/null +++ b/utils/themeeditor/qtfindreplacedialog/findform.cpp | |||
@@ -0,0 +1,43 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2009 Lorenzo Bettini <http://www.lorenzobettini.it> | ||
3 | * See COPYING file that comes with this distribution | ||
4 | */ | ||
5 | |||
6 | #include <QtGui> | ||
7 | #include <QTextEdit> | ||
8 | #include <QRegExp> | ||
9 | |||
10 | #include "findform.h" | ||
11 | #include "ui_findreplaceform.h" | ||
12 | |||
13 | FindForm::FindForm(QWidget *parent) : | ||
14 | FindReplaceForm(parent) | ||
15 | { | ||
16 | hideReplaceWidgets(); | ||
17 | } | ||
18 | |||
19 | FindForm::~FindForm() | ||
20 | { | ||
21 | |||
22 | } | ||
23 | |||
24 | void FindForm::changeEvent(QEvent *e) | ||
25 | { | ||
26 | QWidget::changeEvent(e); | ||
27 | switch (e->type()) { | ||
28 | case QEvent::LanguageChange: | ||
29 | ui->retranslateUi(this); | ||
30 | break; | ||
31 | default: | ||
32 | break; | ||
33 | } | ||
34 | } | ||
35 | |||
36 | void FindForm::writeSettings(QSettings &settings, const QString &prefix) { | ||
37 | FindReplaceForm::writeSettings(settings, prefix); | ||
38 | } | ||
39 | |||
40 | void FindForm::readSettings(QSettings &settings, const QString &prefix) { | ||
41 | FindReplaceForm::readSettings(settings, prefix); | ||
42 | } | ||
43 | |||