forked from qt-creator/qt-creator
Implement string based search & replace in multiple files.
This uses the same UI as "Rename Symbol". Moves the actual rename implementation to a static method in BaseFileFind and uses it for rename symbol and search & replace. Moves the signal notification for the code model from VCSManager to the more general FileManager. Note that as for rename symbol, there's no undo yet. Task-number: QTCREATORBUG-73
This commit is contained in:
@@ -106,8 +106,16 @@ public:
|
||||
QString projectsDirectory() const;
|
||||
void setProjectsDirectory(const QString &);
|
||||
|
||||
public slots:
|
||||
/* Used to notify e.g. the code model to update the given files. Does *not*
|
||||
lead to any editors to reload or any other editor manager actions. */
|
||||
void notifyFilesChangedInternally(const QStringList &files);
|
||||
|
||||
signals:
|
||||
void currentFileChanged(const QString &filePath);
|
||||
/* Used to notify e.g. the code model to update the given files. Does *not*
|
||||
lead to any editors to reload or any other editor manager actions. */
|
||||
void filesChangedInternally(const QStringList &files);
|
||||
|
||||
private slots:
|
||||
void fileDestroyed(QObject *obj);
|
||||
|
||||
Reference in New Issue
Block a user