From e6fd3d0318d0f53c51cf4cc87ccdc8f9741957e7 Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Fri, 23 Jul 2010 07:31:53 +0000 Subject: 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 --- .../themeeditor/qtfindreplacedialog/finddialog.cpp | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 utils/themeeditor/qtfindreplacedialog/finddialog.cpp (limited to 'utils/themeeditor/qtfindreplacedialog/finddialog.cpp') diff --git a/utils/themeeditor/qtfindreplacedialog/finddialog.cpp b/utils/themeeditor/qtfindreplacedialog/finddialog.cpp new file mode 100644 index 0000000000..07243f01d4 --- /dev/null +++ b/utils/themeeditor/qtfindreplacedialog/finddialog.cpp @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2009 Lorenzo Bettini + * See COPYING file that comes with this distribution + */ + +#include "finddialog.h" +#include "ui_findreplacedialog.h" + +FindDialog::FindDialog(QWidget *parent) : + FindReplaceDialog(parent) +{ + ui->findReplaceForm->hideReplaceWidgets(); + setWindowTitle(tr("Find")); +} + +FindDialog::~FindDialog() +{ +} + +void FindDialog::writeSettings(QSettings &settings, const QString &prefix) { + FindReplaceDialog::writeSettings(settings, prefix); +} + +void FindDialog::readSettings(QSettings &settings, const QString &prefix) { + FindReplaceDialog::readSettings(settings, prefix); +} -- cgit v1.2.3