summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeSetupDialog.h
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2007-11-09 20:18:49 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2007-11-09 20:18:49 (GMT)
commit57e46c74d427e7d0ad19fa8671110908cf325cd9 (patch)
tree7cf188fae4d424ac0c384c3a65795eafd374dfc3 /Source/QtDialog/CMakeSetupDialog.h
parente5bb99e01077a8ac084bbd6dbf8e2f81390b5cd9 (diff)
downloadCMake-57e46c74d427e7d0ad19fa8671110908cf325cd9.zip
CMake-57e46c74d427e7d0ad19fa8671110908cf325cd9.tar.gz
CMake-57e46c74d427e7d0ad19fa8671110908cf325cd9.tar.bz2
BUG: Don't prompt for unsaved changes if no changes were made.
ENH: Error messages go to output window instead of message boxes.
Diffstat (limited to 'Source/QtDialog/CMakeSetupDialog.h')
-rw-r--r--Source/QtDialog/CMakeSetupDialog.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.h b/Source/QtDialog/CMakeSetupDialog.h
index bd8b9c2..8f3c1b3 100644
--- a/Source/QtDialog/CMakeSetupDialog.h
+++ b/Source/QtDialog/CMakeSetupDialog.h
@@ -49,7 +49,7 @@ protected slots:
void doInterrupt();
void finishConfigure(int error);
void finishGenerate(int error);
- void error(const QString& title, const QString& message, bool* cancel);
+ void error(const QString& message);
void doSourceBrowse();
void doBinaryBrowse();
@@ -61,13 +61,13 @@ protected slots:
void promptForGenerator();
void updateGeneratorLabel(const QString& gen);
void setExitAfterGenerate(bool);
- void cacheModelDirty();
void setGenerateEnabled(bool);
void addBinaryPath(const QString&);
QStringList loadBuildPaths();
void saveBuildPaths(const QStringList&);
void onBinaryDirectoryChanged(const QString& dir);
void onSourceDirectoryChanged(const QString& dir);
+ void setCacheModified();
protected:
void closeEvent(QCloseEvent*);
@@ -76,6 +76,7 @@ protected:
QCMakeThread* CMakeThread;
bool ExitAfterGenerate;
+ bool CacheModified;
QAction* ReloadCacheAction;
QAction* DeleteCacheAction;
QAction* ExitAction;