Utils: Use FileName in reloadPrompt

Change-Id: I170208e1c49bcab9c78b1651669252ed0d162bb3
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-01-31 20:59:40 +02:00
committed by Orgad Shaneh
parent d9f31aa635
commit a9014e074d
3 changed files with 6 additions and 5 deletions

View File

@@ -39,6 +39,7 @@ class QWidget;
QT_END_NAMESPACE
namespace Utils {
class FileName;
enum ReloadPromptAnswer {
ReloadCurrent,
@@ -48,7 +49,7 @@ enum ReloadPromptAnswer {
CloseCurrent
};
QTCREATOR_UTILS_EXPORT ReloadPromptAnswer reloadPrompt(const QString &fileName,
QTCREATOR_UTILS_EXPORT ReloadPromptAnswer reloadPrompt(const FileName &fileName,
bool modified,
QWidget *parent);
QTCREATOR_UTILS_EXPORT ReloadPromptAnswer reloadPrompt(const QString &title,