Add "Find in directory" to project tree context menu

And also to the filesystem view.

Task-Nr: QTCREATORBUG-5879
Change-Id: I27bfe05808182f56deafd6ceab474894631f0a26
Reviewed-on: http://codereview.qt.nokia.com/4185
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
Daniel Teske
2011-09-05 10:19:49 +02:00
committed by Eike Ziller
parent b09f527f24
commit b8b8f167b1
9 changed files with 75 additions and 4 deletions

View File

@@ -43,7 +43,7 @@
#include <QtGui/QVBoxLayout>
using namespace Find;
using namespace TextEditor::Internal;
using namespace TextEditor;
FindInFiles::FindInFiles(SearchResultWindow *resultWindow)
: BaseFileFind(resultWindow),
@@ -145,3 +145,9 @@ void FindInFiles::readSettings(QSettings *settings)
settings->endGroup();
syncComboWithSettings(m_directory, m_directorySetting);
}
void FindInFiles::setDirectory(const QString &directory)
{
syncComboWithSettings(m_directory, directory);
}