NOISSUE tabs -> spaces
This commit is contained in:
.arcconfig.clang-format.gitmodulesCMakeLists.txtCOPYING.md
api
gui
logic
BaseInstaller.cppBaseInstaller.hBaseInstance.cppBaseInstance.hBaseInstanceProvider.hBaseVersion.hBaseVersionList.cppBaseVersionList.hCMakeLists.txtCommandline.cppCommandline.hDefaultVariable.hEnv.cppEnv.hException.hFileSystem.cppFileSystem.hFileSystem_test.cppFilter.cppFilter.hFolderInstanceProvider.cppFolderInstanceProvider.hGZip.cppGZip.hGZip_test.cppInstanceCopyTask.cppInstanceCopyTask.hInstanceCreationTask.cppInstanceCreationTask.hInstanceImportTask.cppInstanceImportTask.hInstanceList.cppInstanceList.hInstanceTask.hJson.cppJson.hLoggedProcess.cppLoggedProcess.hMMCStrings.cppMMCStrings.hMMCZip.cppMMCZip.hMessageLevel.cppMessageLevel.hNullInstance.hProblemProvider.hQObjectPtr.hRWStorage.hRecursiveFileSystemWatcher.cppRecursiveFileSystemWatcher.hSeparatorPrefixTree.hUsable.hVersion.cppVersion.hVersion_test.cpp
icons
java
JavaChecker.cppJavaChecker.hJavaCheckerJob.cppJavaCheckerJob.hJavaInstall.cppJavaInstall.hJavaInstallList.cppJavaInstallList.hJavaUtils.cppJavaUtils.hJavaVersion.cppJavaVersion.hJavaVersion_test.cpp
launch
launch
meta
BaseEntity.cppBaseEntity.hIndex.cppIndex.hIndex_test.cppJsonFormat.cppJsonFormat.hVersion.cppVersion.hVersionList.cppVersionList.h
minecraft
AssetsUtils.cppAssetsUtils.hComponent.cppComponent.hComponentList.cppComponentList.hComponentList_p.hComponentUpdateTask.cppComponentUpdateTask.hComponentUpdateTask_p.hGradleSpecifier.hGradleSpecifier_test.cppLaunchProfile.cppLaunchProfile.hLibrary.cppLibrary.hLibrary_test.cppMinecraftInstance.cppMinecraftInstance.hMinecraftLoadAndCheck.cppMinecraftLoadAndCheck.hMinecraftUpdate.cppMinecraftUpdate.hMod.cppMod.hModsModel.cppModsModel.hMojangDownloadInfo.hMojangVersionFormat.cppMojangVersionFormat.hMojangVersionFormat_test.cppOneSixVersionFormat.cppOneSixVersionFormat.hOpSys.cppOpSys.hParseUtils.cppParseUtils_test.cppProfileUtils.cppRule.cppRule.hSimpleModList.cppSimpleModList.hSimpleModList_test.cppSkinUpload.cppSkinUpload.hVersionFile.cppVersionFile.hVersionFilterData.cppVersionFilterData.hWorld.cppWorld.hWorldList.cppWorldList.h
auth
AuthSession.cppAuthSession.hMojangAccount.cppMojangAccount.hMojangAccountList.cppMojangAccountList.hYggdrasilTask.cppYggdrasilTask.h
flows
forge
launch
ClaimAccount.cppClaimAccount.hCreateServerResourcePacksFolder.cppCreateServerResourcePacksFolder.hDirectJavaLaunch.cppDirectJavaLaunch.hExtractNatives.cppExtractNatives.hLauncherPartLaunch.cppLauncherPartLaunch.hModMinecraftJar.cppModMinecraftJar.hPrintInstanceInfo.h
legacy
LegacyInstance.cppLegacyInstance.hLegacyModList.cppLegacyModList.hLegacyUpgradeTask.cppLegacyUpgradeTask.h
testdata
update
modplatform
flame
ftb
net
ByteArraySink.hChecksumValidator.hDownload.cppDownload.hFileSink.cppFileSink.hHttpMetaCache.cppHttpMetaCache.hMetaCacheSink.cppMetaCacheSink.hMode.hNetAction.hNetJob.cppNetJob.hPasteUpload.cppPasteUpload.hSink.hURLConstants.cppValidator.h
news
notifications
pathmatcher
screenshots
settings
INIFile.cppINIFile.hINIFile_test.cppINISettingsObject.cppINISettingsObject.hOverrideSetting.cppOverrideSetting.hPassthroughSetting.cppPassthroughSetting.hSetting.cppSetting.hSettingsObject.cppSettingsObject.h
status
tasks
tools
BaseExternalTool.cppBaseExternalTool.hBaseProfiler.cppBaseProfiler.hJProfiler.cppJProfiler.hJVisualVM.cppJVisualVM.hMCEditTool.cppMCEditTool.h
translations
updater
application
BuildConfig.cpp.inBuildConfig.hColorCache.cppColorCache.hColumnResizer.cppColumnResizer.hGuiUtil.cppHoeDown.hInstancePageProvider.hInstanceProxyModel.cppInstanceProxyModel.hInstanceWindow.cppInstanceWindow.hJavaCommon.cppJavaCommon.hKonamiCode.cppKonamiCode.hLaunchController.cppLaunchController.hMainWindow.cppMainWindow.hMultiMC.cppMultiMC.hSettingsUI.hUpdateController.cppUpdateController.hVersionProxyModel.cppVersionProxyModel.h
dialogs
AboutDialog.cppAboutDialog.hCopyInstanceDialog.cppCopyInstanceDialog.hCustomMessageBox.cppCustomMessageBox.hEditAccountDialog.cppEditAccountDialog.hExportInstanceDialog.cppExportInstanceDialog.hIconPickerDialog.cppIconPickerDialog.hLoginDialog.cppLoginDialog.hModEditDialogCommon.cppNewComponentDialog.cppNewComponentDialog.hNewInstanceDialog.cppNewInstanceDialog.hNotificationDialog.cppNotificationDialog.hProfileSelectDialog.cppProfileSelectDialog.hProgressDialog.cppProgressDialog.hSkinUploadDialog.cppSkinUploadDialog.hUpdateDialog.cppUpdateDialog.hVersionSelectDialog.cppVersionSelectDialog.h
groupview
GroupView.cppGroupView.hGroupedProxyModel.cppGroupedProxyModel.hInstanceDelegate.cppInstanceDelegate.hVisualGroup.cppVisualGroup.h
install_prereqs.cmake.inmain.cpppackage
linux
pagedialog
pages
BasePage.hBasePageContainer.hBasePageProvider.h
global
AccountListPage.cppAccountListPage.hCustomCommandsPage.cppCustomCommandsPage.hExternalToolsPage.cppExternalToolsPage.hJavaPage.cppJavaPage.hMinecraftPage.cppMinecraftPage.hMultiMCPage.cppMultiMCPage.hPackagesPage.cppPackagesPage.hPasteEEPage.cppPasteEEPage.hProxyPage.cppProxyPage.h
instance
InstanceSettingsPage.cppInstanceSettingsPage.hLegacyUpgradePage.cppLegacyUpgradePage.hLogPage.cppLogPage.hModFolderPage.cppModFolderPage.hNewModFolderPage.cppNewModFolderPage.hNotesPage.cppNotesPage.hOtherLogsPage.cppOtherLogsPage.hResourcePackPage.hScreenshotsPage.cppScreenshotsPage.hServersPage.cppServersPage.hTexturePackPage.hVersionPage.cppVersionPage.hWorldListPage.cppWorldListPage.h
modplatform
resources
OSX
assets
documents
flat
iOS
multimc
pe_blue
pe_colored
pe_dark
pe_light
setupwizard
AnalyticsWizardPage.cppAnalyticsWizardPage.hBaseWizardPage.hJavaWizardPage.cppJavaWizardPage.hLanguageWizardPage.cppLanguageWizardPage.hSetupWizard.cppSetupWizard.h
themes
BrightTheme.cppBrightTheme.hCustomTheme.cppCustomTheme.hDarkTheme.cppDarkTheme.hFusionTheme.cppFusionTheme.hITheme.cppITheme.hSystemTheme.cppSystemTheme.h
widgets
Common.cppCommon.hCustomCommands.cppCustomCommands.hFocusLineEdit.cppFocusLineEdit.hIconLabel.cppIconLabel.hJavaSettingsWidget.cppJavaSettingsWidget.hLabeledToolButton.cppLabeledToolButton.hLineSeparator.cppLineSeparator.hLogView.cppLogView.hMCModInfoFrame.cppMCModInfoFrame.hModListView.cppModListView.hPageContainer.cppPageContainer.hPageContainer_p.hProgressWidget.cppProgressWidget.hServerStatus.cppServerStatus.hVersionListView.cppVersionListView.hVersionSelectWidget.cppVersionSelectWidget.h
libraries
LocalPeer
classparser
ganalytics
hoedown
include
src
iconfix
javacheck
launcher
pack200
rainbow
systeminfo
xz-embedded
travis
@@ -25,37 +25,37 @@ typedef std::shared_ptr<JavaCheckerJob> JavaCheckerJobPtr;
|
||||
// FIXME: this just seems horribly redundant
|
||||
class JavaCheckerJob : public Task
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit JavaCheckerJob(QString job_name) : Task(), m_job_name(job_name) {};
|
||||
virtual ~JavaCheckerJob() {};
|
||||
explicit JavaCheckerJob(QString job_name) : Task(), m_job_name(job_name) {};
|
||||
virtual ~JavaCheckerJob() {};
|
||||
|
||||
bool addJavaCheckerAction(JavaCheckerPtr base)
|
||||
{
|
||||
javacheckers.append(base);
|
||||
// if this is already running, the action needs to be started right away!
|
||||
if (isRunning())
|
||||
{
|
||||
setProgress(num_finished, javacheckers.size());
|
||||
connect(base.get(), &JavaChecker::checkFinished, this, &JavaCheckerJob::partFinished);
|
||||
base->performCheck();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
QList<JavaCheckResult> getResults()
|
||||
{
|
||||
return javaresults;
|
||||
}
|
||||
bool addJavaCheckerAction(JavaCheckerPtr base)
|
||||
{
|
||||
javacheckers.append(base);
|
||||
// if this is already running, the action needs to be started right away!
|
||||
if (isRunning())
|
||||
{
|
||||
setProgress(num_finished, javacheckers.size());
|
||||
connect(base.get(), &JavaChecker::checkFinished, this, &JavaCheckerJob::partFinished);
|
||||
base->performCheck();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
QList<JavaCheckResult> getResults()
|
||||
{
|
||||
return javaresults;
|
||||
}
|
||||
|
||||
private slots:
|
||||
void partFinished(JavaCheckResult result);
|
||||
void partFinished(JavaCheckResult result);
|
||||
|
||||
protected:
|
||||
virtual void executeTask() override;
|
||||
virtual void executeTask() override;
|
||||
|
||||
private:
|
||||
QString m_job_name;
|
||||
QList<JavaCheckerPtr> javacheckers;
|
||||
QList<JavaCheckResult> javaresults;
|
||||
int num_finished = 0;
|
||||
QString m_job_name;
|
||||
QList<JavaCheckerPtr> javacheckers;
|
||||
QList<JavaCheckResult> javaresults;
|
||||
int num_finished = 0;
|
||||
};
|
||||
|
Reference in New Issue
Block a user