summaryrefslogtreecommitdiff
path: root/utils/themeeditor/findreplace/findreplacedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/findreplace/findreplacedialog.cpp')
-rw-r--r--utils/themeeditor/findreplace/findreplacedialog.cpp64
1 files changed, 0 insertions, 64 deletions
diff --git a/utils/themeeditor/findreplace/findreplacedialog.cpp b/utils/themeeditor/findreplace/findreplacedialog.cpp
deleted file mode 100644
index 547ad236e5..0000000000
--- a/utils/themeeditor/findreplace/findreplacedialog.cpp
+++ /dev/null
@@ -1,64 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * This file has been copied from Lorenzo Bettini, with minor modifications
11 * made available under the LGPL version 3, as the original file was licensed
12 *
13 ****************************************************************************
14 *
15 * Copyright (C) 2009 Lorenzo Bettini <http://www.lorenzobettini.it>
16 * See COPYING file that comes with this distribution
17 */
18
19#include "findreplacedialog.h"
20#include "ui_findreplacedialog.h"
21
22FindReplaceDialog::FindReplaceDialog(QWidget *parent) :
23 QDialog(parent),
24 ui(new Ui::FindReplaceDialog)
25{
26 ui->setupUi(this);
27}
28
29FindReplaceDialog::~FindReplaceDialog()
30{
31 delete ui;
32}
33
34void FindReplaceDialog::changeEvent(QEvent *e)
35{
36 QDialog::changeEvent(e);
37 switch (e->type()) {
38 case QEvent::LanguageChange:
39 ui->retranslateUi(this);
40 break;
41 default:
42 break;
43 }
44}
45
46void FindReplaceDialog::setTextEdit(QPlainTextEdit *textEdit) {
47 ui->findReplaceForm->setTextEdit(textEdit);
48}
49
50void FindReplaceDialog::writeSettings(QSettings &settings, const QString &prefix) {
51 ui->findReplaceForm->writeSettings(settings, prefix);
52}
53
54void FindReplaceDialog::readSettings(QSettings &settings, const QString &prefix) {
55 ui->findReplaceForm->readSettings(settings, prefix);
56}
57
58void FindReplaceDialog::findNext() {
59 ui->findReplaceForm->findNext();
60}
61
62void FindReplaceDialog::findPrev() {
63 ui->findReplaceForm->findPrev();
64}