mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-27 00:36:53 -06:00
Rename RiaApplication::handleEvents -> invokeProcessEvents
This commit is contained in:
parent
57b33b0d4c
commit
274dee70fa
@ -1163,7 +1163,7 @@ void RiaApplication::waitUntilCommandObjectsHasBeenProcessed()
|
||||
|
||||
while (!mutexLockedSuccessfully)
|
||||
{
|
||||
handleEvents();
|
||||
invokeProcessEvents();
|
||||
|
||||
mutexLockedSuccessfully = m_commandQueueLock.tryLock();
|
||||
}
|
||||
|
@ -182,7 +182,7 @@ public:
|
||||
|
||||
protected:
|
||||
// Protected implementation specific overrides
|
||||
virtual void handleEvents(QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents) = 0;
|
||||
virtual void invokeProcessEvents(QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents) = 0;
|
||||
virtual void onChangedActiveReservoirView() {}
|
||||
virtual void onFileSuccessfullyLoaded(const QString& fileName, RiaDefines::ImportFileType fileType) {}
|
||||
virtual void onProjectBeingOpened() {}
|
||||
|
@ -335,7 +335,7 @@ void RiaConsoleApplication::showErrorMessage(const QString& errMsg)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiaConsoleApplication::handleEvents(QEventLoop::ProcessEventsFlags flags /*= QEventLoop::AllEvents*/)
|
||||
void RiaConsoleApplication::invokeProcessEvents(QEventLoop::ProcessEventsFlags flags /*= QEventLoop::AllEvents*/)
|
||||
{
|
||||
processEvents(flags);
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ public:
|
||||
|
||||
protected:
|
||||
// Protected implementation specific overrides
|
||||
void handleEvents(QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents) override;
|
||||
void invokeProcessEvents(QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents) override;
|
||||
void onProjectOpeningError(const QString& errMsg) override;
|
||||
void onProjectOpened();
|
||||
void onProjectClosed();
|
||||
|
@ -1230,7 +1230,7 @@ void RiaGuiApplication::showErrorMessage(const QString& errMsg)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiaGuiApplication::handleEvents(QEventLoop::ProcessEventsFlags flags)
|
||||
void RiaGuiApplication::invokeProcessEvents(QEventLoop::ProcessEventsFlags flags)
|
||||
{
|
||||
processEvents(flags);
|
||||
}
|
||||
@ -1374,7 +1374,7 @@ void RiaGuiApplication::onProjectClosed()
|
||||
void RiaGuiApplication::cleanupBeforeProgramExit()
|
||||
{
|
||||
closeAllWindows();
|
||||
handleEvents();
|
||||
invokeProcessEvents();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -135,7 +135,7 @@ public:
|
||||
void cleanupBeforeProgramExit() override;
|
||||
protected:
|
||||
// Protected RiaApplication overrides
|
||||
void handleEvents(QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents) override;
|
||||
void invokeProcessEvents(QEventLoop::ProcessEventsFlags flags = QEventLoop::AllEvents) override;
|
||||
void onChangedActiveReservoirView() override;
|
||||
void onFileSuccessfullyLoaded(const QString& fileName, RiaDefines::ImportFileType fileType) override;
|
||||
void onProjectBeingOpened() override;
|
||||
|
Loading…
Reference in New Issue
Block a user