diff options
| author | Robert Bieber <robby@bieberphoto.com> | 2010-07-03 06:08:59 +0000 |
|---|---|---|
| committer | Robert Bieber <robby@bieberphoto.com> | 2010-07-03 06:08:59 +0000 |
| commit | fb09d6354c0b6badb449f532f40af9a8037377a3 (patch) | |
| tree | efe8844d87a8dec2239a7f88ca161583ebd6c869 /utils/themeeditor/findreplace/findreplacedialog.cpp | |
| parent | 4b321649a8bf3879a33051e63f250985b97007e3 (diff) | |
| download | rockbox-fb09d6354c0b6badb449f532f40af9a8037377a3.zip rockbox-fb09d6354c0b6badb449f532f40af9a8037377a3.tar.gz rockbox-fb09d6354c0b6badb449f532f40af9a8037377a3.tar.bz2 rockbox-fb09d6354c0b6badb449f532f40af9a8037377a3.tar.xz | |
Theme Editor: Removed some old debug code in skindocument.cpp, began implementing a new find/replace dialog, due to licensing issues
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27252 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/findreplace/findreplacedialog.cpp')
| -rw-r--r-- | utils/themeeditor/findreplace/findreplacedialog.cpp | 64 |
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 547ad23..0000000 --- a/utils/themeeditor/findreplace/findreplacedialog.cpp +++ /dev/null @@ -1,64 +0,0 @@ -/*************************************************************************** - * __________ __ ___. - * Open \______ \ ____ ____ | | _\_ |__ _______ ___ - * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / - * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < - * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ - * \/ \/ \/ \/ \/ - * $Id$ - * - * This file has been copied from Lorenzo Bettini, with minor modifications - * made available under the LGPL version 3, as the original file was licensed - * - **************************************************************************** - * - * Copyright (C) 2009 Lorenzo Bettini <http://www.lorenzobettini.it> - * See COPYING file that comes with this distribution - */ - -#include "findreplacedialog.h" -#include "ui_findreplacedialog.h" - -FindReplaceDialog::FindReplaceDialog(QWidget *parent) : - QDialog(parent), - ui(new Ui::FindReplaceDialog) -{ - ui->setupUi(this); -} - -FindReplaceDialog::~FindReplaceDialog() -{ - delete ui; -} - -void FindReplaceDialog::changeEvent(QEvent *e) -{ - QDialog::changeEvent(e); - switch (e->type()) { - case QEvent::LanguageChange: - ui->retranslateUi(this); - break; - default: - break; - } -} - -void FindReplaceDialog::setTextEdit(QPlainTextEdit *textEdit) { - ui->findReplaceForm->setTextEdit(textEdit); -} - -void FindReplaceDialog::writeSettings(QSettings &settings, const QString &prefix) { - ui->findReplaceForm->writeSettings(settings, prefix); -} - -void FindReplaceDialog::readSettings(QSettings &settings, const QString &prefix) { - ui->findReplaceForm->readSettings(settings, prefix); -} - -void FindReplaceDialog::findNext() { - ui->findReplaceForm->findNext(); -} - -void FindReplaceDialog::findPrev() { - ui->findReplaceForm->findPrev(); -} |