rockbox/utils/themeeditor/qtfindreplacedialog/finddialog.h
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

40 lines
1 KiB
C++

/*
* Copyright (C) 2009 Lorenzo Bettini <http://www.lorenzobettini.it>
* See COPYING file that comes with this distribution
*/
#ifndef FINDDIALOG_H
#define FINDDIALOG_H
#include <QDialog>
#include "findreplace_global.h"
#include "findreplacedialog.h"
/**
* A find dialog (it is basically the same
* as FindReplaceDialog without the replace related widgets).
*/
class FINDREPLACESHARED_EXPORT FindDialog : public FindReplaceDialog {
Q_OBJECT
public:
FindDialog(QWidget *parent = 0);
~FindDialog();
/**
* 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 = "FindDialog");
/**
* 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 = "FindDialog");
};
#endif // FINDDIALOG_H