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