Added a check to warn user that unsaved files will be searched
authorJulien Desgats <julien.desgats@gmail.com>
Tue, 16 Nov 2010 20:48:38 +0000 (21:48 +0100)
committerJulien Desgats <julien.desgats@gmail.com>
Tue, 16 Nov 2010 20:48:38 +0000 (21:48 +0100)
commit54e505808bdef22fb0f3fe164ebaad6f0032af3a
treeaba434401624b08be101d462ec49f946eca116ab
parent9185d78ce6f6d16e7786373410d7f487e058716b
Added a check to warn user that unsaved files will be searched

The check is done directly on fils, so unsaved modifications are not "seen"
by GrepJob. In addition, replacement can be odne in memory (if document is
opened) and will fail if text has changed.

Modifications to shell are necessary to expose KSaveSelectDialog.
plugins/grepview/CMakeLists.txt
plugins/grepview/grepdialog.cpp
plugins/grepview/grepfindthread.cpp
plugins/grepview/grepfindthread.h
shell/CMakeLists.txt
shell/savedialog.h