From fb09d6354c0b6badb449f532f40af9a8037377a3 Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Sat, 3 Jul 2010 06:08:59 +0000 Subject: 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 --- utils/themeeditor/findreplace/findreplacedialog.h | 80 ----------------------- 1 file changed, 80 deletions(-) delete mode 100644 utils/themeeditor/findreplace/findreplacedialog.h (limited to 'utils/themeeditor/findreplace/findreplacedialog.h') diff --git a/utils/themeeditor/findreplace/findreplacedialog.h b/utils/themeeditor/findreplace/findreplacedialog.h deleted file mode 100644 index c3f2539113..0000000000 --- a/utils/themeeditor/findreplace/findreplacedialog.h +++ /dev/null @@ -1,80 +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 - * See COPYING file that comes with this distribution - */ - -#ifndef FINDREPLACEDIALOG_H -#define FINDREPLACEDIALOG_H - -#include -#include - -namespace Ui { - class FindReplaceDialog; -} - -class QTextEdit; -class QSettings; - -/** - * A find/replace dialog. - * - * It relies on a FindReplaceForm object (see that class for the functionalities provided). - */ -class FindReplaceDialog : public QDialog { - Q_OBJECT -public: - FindReplaceDialog(QWidget *parent = 0); - virtual ~FindReplaceDialog(); - - /** - * Associates the text editor where to perform the search - * @param textEdit - */ - void setTextEdit(QPlainTextEdit *textEdit); - - /** - * Writes the state of the form to the passed settings. - * @param settings - * @param prefix the prefix to insert in the settings - */ - virtual void writeSettings(QSettings &settings, const QString &prefix = "FindReplaceDialog"); - - /** - * Reads the state of the form from the passed settings. - * @param settings - * @param prefix the prefix to look for in the settings - */ - virtual void readSettings(QSettings &settings, const QString &prefix = "FindReplaceDialog"); - -public slots: - /** - * Finds the next occurrence - */ - void findNext(); - - /** - * Finds the previous occurrence - */ - void findPrev(); - -protected: - void changeEvent(QEvent *e); - - Ui::FindReplaceDialog *ui; -}; - -#endif // FINDREPLACEDIALOG_H -- cgit v1.2.3