rockbox/utils/themeeditor/qtfindreplacedialog/findform.cpp
Robert Bieber e6fd3d0318 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
2010-07-23 07:31:53 +00:00

43 lines
844 B
C++

/*
* Copyright (C) 2009 Lorenzo Bettini <http://www.lorenzobettini.it>
* See COPYING file that comes with this distribution
*/
#include <QtGui>
#include <QTextEdit>
#include <QRegExp>
#include "findform.h"
#include "ui_findreplaceform.h"
FindForm::FindForm(QWidget *parent) :
FindReplaceForm(parent)
{
hideReplaceWidgets();
}
FindForm::~FindForm()
{
}
void FindForm::changeEvent(QEvent *e)
{
QWidget::changeEvent(e);
switch (e->type()) {
case QEvent::LanguageChange:
ui->retranslateUi(this);
break;
default:
break;
}
}
void FindForm::writeSettings(QSettings &settings, const QString &prefix) {
FindReplaceForm::writeSettings(settings, prefix);
}
void FindForm::readSettings(QSettings &settings, const QString &prefix) {
FindReplaceForm::readSettings(settings, prefix);
}