diff options
author | Kavindra Devi Palaraja <kavindra.palaraja@nokia.com> | 2009-04-02 10:30:45 +0200 |
---|---|---|
committer | Kavindra Devi Palaraja <kavindra.palaraja@nokia.com> | 2009-04-02 10:30:45 +0200 |
commit | 2383659de02023fcd05dad8143317a5f14acb038 (patch) | |
tree | 9856acae3ff6ca45af2fd19fb396a7531d107f26 /doc/examples/textfinder/textfinder.h | |
parent | d2e14e3e1f0b5a9b96bcb1ac3e68bffc2fd9ba8d (diff) |
Doc - Renamed the "example" folder to "examples" so there can be more than 1 example there.
Diffstat (limited to 'doc/examples/textfinder/textfinder.h')
-rw-r--r-- | doc/examples/textfinder/textfinder.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/doc/examples/textfinder/textfinder.h b/doc/examples/textfinder/textfinder.h new file mode 100644 index 0000000000..89dad69136 --- /dev/null +++ b/doc/examples/textfinder/textfinder.h @@ -0,0 +1,58 @@ +/************************************************************************** +** +** This file is part of Qt Creator +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** +** Contact: Qt Software Information (qt-info@nokia.com) +** +** Commercial Usage +** +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Commercial License Agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** If you are unsure which license is appropriate for your use, please +** contact the sales department at qt-sales@nokia.com. +** +**************************************************************************/ + +#ifndef TEXTFINDER_H +#define TEXTFINDER_H + +#include "ui_textfinder.h" + +#include <QtGui/QWidget> + +namespace Ui +{ + class TextFinder; +} + +class TextFinder : public QWidget +{ + Q_OBJECT + +public: + TextFinder(QWidget *parent = 0); + ~TextFinder(); + +private slots: + void on_findButton_clicked(); + +private: + Ui::TextFinder *ui; + void loadTextFile(); +}; + +#endif // TEXTFINDER_H |