diff --git a/RsyncUI.pro b/RsyncUI.pro index 9f0b3d7..4fbde2a 100644 --- a/RsyncUI.pro +++ b/RsyncUI.pro @@ -1,10 +1,10 @@ QT += core gui -QT += KItemViews -QT += KCompletion QT += widgets QT += network -LIBS += -lqt5keychain +LIBS += -lqt6keychain +LIBS += -lKF6ItemViews +LIBS += -lKF6Completion CONFIG += c++17 @@ -17,28 +17,28 @@ DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs depr SOURCES += \ downloadfile.cpp \ main.cpp \ - mainwindow.cpp \ - password.cpp \ - tools.cpp +mainwindow.cpp \ + password.cpp \ + tools.cpp HEADERS += \ version.h\ downloadfile.h \ - mainwindow.h \ - password.h \ - tools.h +mainwindow.h \ + password.h \ + tools.h FORMS += \ about.ui \ configuration.ui \ - mainwindow.ui +mainwindow.ui TRANSLATIONS += \ RsyncUI_fr_FR.ts INCLUDEPATH += \ -/usr/include/KF5 \ - /usr/include/qt5keychain \ +/usr/include/KF6 \ +/usr/include/qt6keychain \ # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin diff --git a/RsyncUI.pro.user b/RsyncUI.pro.user old mode 100644 new mode 100755 index c5e5ced..8e0ad4b --- a/RsyncUI.pro.user +++ b/RsyncUI.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -13,8 +13,8 @@ ProjectExplorer.Project.EditorSettings + true true - false true Cpp @@ -33,10 +33,12 @@ false 4 false + 0 80 true true 1 + 0 false true false @@ -68,7 +70,9 @@ true true + false + 0 true @@ -76,24 +80,105 @@ true Builtin.DefaultTidyAndClazy 1 + false true + + true + ProjectExplorer.Project.Target.0 Desktop - Qt 5.15.7 (Système) - Qt 5.15.7 (Système) - {5228be4d-4434-412e-a9f4-ec733d887ed1} + true + Qt 6.10 (Système) + Qt 6.10 (Système) + {162ab574-2a54-4c2d-8618-e1a907b81ecc} 0 0 0 + 1 + /home/daniel/develop/RsyncUI/build/Qt_6_10-Debug + /home/daniel/develop/RsyncUI/build/Qt_6_10-Debug + + + true + QtProjectManager.QMakeBuildStep + false + + + + true + Qt4ProjectManager.MakeStep + + 2 + Compiler + Compiler + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + clean + + 1 + Nettoyer + Nettoyer + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Debug + Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + + + 0 + Déploiement + Déploiement + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + true + true + 0 + true + + 2 + + false + -e cpu-cycles --call-graph dwarf,4096 -F 250 + + Qt4ProjectManager.Qt4RunConfiguration: + /home/daniel/develop/RsyncUI/RsyncUI.pro + false + true + true + true + /home/daniel/develop/RsyncUI/build/Qt_6_10-Debug + + 1 + 2 + 1 + + 0 /home/daniel/develop/RsyncUI/../build-RsyncUI-Qt_5_15_7_Syst_me_temporaire-Debug /home/daniel/develop/build-RsyncUI-Qt_5_15_7_Syst_me_temporaire-Debug @@ -109,8 +194,8 @@ Qt4ProjectManager.MakeStep 2 - Build - Build + Compiler + Compiler ProjectExplorer.BuildSteps.Build @@ -120,8 +205,8 @@ clean 1 - Clean - Clean + Nettoyer + Nettoyer ProjectExplorer.BuildSteps.Clean 2 @@ -129,11 +214,44 @@ false - Debug + Debug2 Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + + + 0 + Déploiement + Déploiement + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + true + true + true + + 2 + + false + -e cpu-cycles --call-graph dwarf,4096 -F 250 + + Qt4ProjectManager.Qt4RunConfiguration: + /home/daniel/develop/RsyncUI/RsyncUI.pro + false + true + true + true + + 1 2 - + /home/daniel/develop/RsyncUI/../build-RsyncUI-Qt_5_15_7_Syst_me_temporaire-Release /home/daniel/develop/build-RsyncUI-Qt_5_15_7_Syst_me_temporaire-Release @@ -148,8 +266,8 @@ Qt4ProjectManager.MakeStep 2 - Build - Build + Compiler + Compiler ProjectExplorer.BuildSteps.Build @@ -159,8 +277,8 @@ clean 1 - Clean - Clean + Nettoyer + Nettoyer ProjectExplorer.BuildSteps.Clean 2 @@ -170,10 +288,43 @@ Release Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + + + 0 + Déploiement + Déploiement + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + true + true + true + + 2 + + false + -e cpu-cycles --call-graph dwarf,4096 -F 250 + + Qt4ProjectManager.Qt4RunConfiguration: + /home/daniel/develop/RsyncUI/RsyncUI.pro + false + true + true + true + + 1 0 0 - + 0 /home/daniel/develop/RsyncUI/../build-RsyncUI-Qt_5_15_7_Syst_me_temporaire-Profile /home/daniel/develop/build-RsyncUI-Qt_5_15_7_Syst_me_temporaire-Profile @@ -189,8 +340,8 @@ Qt4ProjectManager.MakeStep 2 - Build - Build + Compiler + Compiler ProjectExplorer.BuildSteps.Build @@ -200,8 +351,8 @@ clean 1 - Clean - Clean + Nettoyer + Nettoyer ProjectExplorer.BuildSteps.Clean 2 @@ -211,54 +362,115 @@ Profile Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + + + 0 + Déploiement + Déploiement + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + true + true + true + + 2 + + false + -e cpu-cycles --call-graph dwarf,4096 -F 250 + + Qt4ProjectManager.Qt4RunConfiguration: + /home/daniel/develop/RsyncUI/RsyncUI.pro + false + true + true + true + + 1 0 0 0 - 3 - + + /home/daniel/develop/RsyncUI + /home/daniel/develop/RsyncUI - 0 - Deploy - Deploy - ProjectExplorer.BuildSteps.Deploy + + true + QtProjectManager.QMakeBuildStep + true + + + + true + Qt4ProjectManager.MakeStep + + 2 + Compiler + Compiler + ProjectExplorer.BuildSteps.Build - 1 - - false - ProjectExplorer.DefaultDeployConfiguration + + + true + Qt4ProjectManager.MakeStep + clean + + 1 + Nettoyer + Nettoyer + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Release2 + Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + + + 0 + Déploiement + Déploiement + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + true + true + true + + 2 + + false + -e cpu-cycles --call-graph dwarf,4096 -F 250 + + ProjectExplorer.CustomExecutableRunConfiguration + + false + true + true + + 1 + 0 - 1 - - true - true - true - - 2 - - Qt4ProjectManager.Qt4RunConfiguration:/home/daniel/develop/RsyncUI/RsyncUI.pro - /home/daniel/develop/RsyncUI/RsyncUI.pro - false - true - true - false - true - /home/daniel/develop/build-RsyncUI-Qt_5_15_7_Syst_me_temporaire-Debug - - 1 - - - - ProjectExplorer.Project.Target.1 - - Desktop - Desktop - Desktop - {96ba01cf-98b6-46f1-b1a8-6cf5d7804e77} - 0 - 0 - 0 - + 0 /home/daniel/develop/RsyncUI/../build-RsyncUI-Desktop-Debug /home/daniel/develop/build-RsyncUI-Desktop-Debug @@ -274,8 +486,8 @@ Qt4ProjectManager.MakeStep 2 - Build - Build + Compiler + Compiler ProjectExplorer.BuildSteps.Build @@ -285,8 +497,8 @@ clean 1 - Clean - Clean + Nettoyer + Nettoyer ProjectExplorer.BuildSteps.Clean 2 @@ -294,11 +506,43 @@ false - Debug + Debug3 Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + + + 0 + Déploiement + Déploiement + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + true + true + true + + 2 + + false + -e cpu-cycles --call-graph dwarf,4096 -F 250 + + ProjectExplorer.CustomExecutableRunConfiguration + + false + true + true + + 1 2 - + /home/daniel/develop/RsyncUI/../build-RsyncUI-Desktop-Release /home/daniel/develop/build-RsyncUI-Desktop-Release @@ -313,8 +557,8 @@ Qt4ProjectManager.MakeStep 2 - Build - Build + Compiler + Compiler ProjectExplorer.BuildSteps.Build @@ -324,8 +568,8 @@ clean 1 - Clean - Clean + Nettoyer + Nettoyer ProjectExplorer.BuildSteps.Clean 2 @@ -333,12 +577,44 @@ false - Release + Release3 Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + + + 0 + Déploiement + Déploiement + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + true + true + true + + 2 + + false + -e cpu-cycles --call-graph dwarf,4096 -F 250 + + ProjectExplorer.CustomExecutableRunConfiguration + + false + true + true + + 1 0 0 - + 0 /home/daniel/develop/RsyncUI/../build-RsyncUI-Desktop-Profile /home/daniel/develop/build-RsyncUI-Desktop-Profile @@ -354,8 +630,8 @@ Qt4ProjectManager.MakeStep 2 - Build - Build + Compiler + Compiler ProjectExplorer.BuildSteps.Build @@ -365,8 +641,8 @@ clean 1 - Clean - Clean + Nettoyer + Nettoyer ProjectExplorer.BuildSteps.Clean 2 @@ -374,18 +650,50 @@ false - Profile + Profile2 Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + + + 0 + Déploiement + Déploiement + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + true + true + true + + 2 + + false + -e cpu-cycles --call-graph dwarf,4096 -F 250 + + ProjectExplorer.CustomExecutableRunConfiguration + + false + true + true + + 1 0 0 0 - 3 + 8 0 - Deploy - Deploy + Déploiement + Déploiement ProjectExplorer.BuildSteps.Deploy 1 @@ -397,103 +705,28 @@ true true + 0 true 2 - ProjectExplorer.CustomExecutableRunConfiguration - - false + false + -e cpu-cycles --call-graph dwarf,4096 -F 250 + + Qt4ProjectManager.Qt4RunConfiguration: + /home/daniel/develop/RsyncUI/RsyncUI.pro + false true - false - true - - 1 - - - - ProjectExplorer.Project.Target.2 - - Desktop - Qt 5.15.7 in PATH (qt5) - Qt 5.15.7 in PATH (qt5) - {7fe200c1-f5ad-4deb-a8be-7d9bd4e961d5} - 0 - 0 - 0 - - /home/daniel/develop/RsyncUI - /home/daniel/develop/RsyncUI - - - true - QtProjectManager.QMakeBuildStep - true - - - - true - Qt4ProjectManager.MakeStep - - 2 - Build - Build - ProjectExplorer.BuildSteps.Build - - - - true - Qt4ProjectManager.MakeStep - clean - - 1 - Clean - Clean - ProjectExplorer.BuildSteps.Clean - - 2 - false - - false - - Release - Qt4ProjectManager.Qt4BuildConfiguration - 0 - - 1 - - - 0 - Deploy - Deploy - ProjectExplorer.BuildSteps.Deploy - - 1 - - false - ProjectExplorer.DefaultDeployConfiguration - - 1 - - true - true - true - - 2 - - ProjectExplorer.CustomExecutableRunConfiguration - - false - true - false + true true + /home/daniel/develop/RsyncUI/build/Qt_6_10-Debug 1 ProjectExplorer.Project.TargetCount - 3 + 1 ProjectExplorer.Project.Updater.FileVersion diff --git a/RsyncUI.pro.user.0d91c0c b/RsyncUI.pro.user.0d91c0c new file mode 100755 index 0000000..b148e38 --- /dev/null +++ b/RsyncUI.pro.user.0d91c0c @@ -0,0 +1,261 @@ + + + + + + EnvironmentId + {0d91c0c6-2fe7-49c9-ab0d-5119cc89cf55} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + UTF-8 + false + 4 + false + 80 + true + true + 1 + false + true + false + 0 + true + true + 0 + 8 + true + false + 1 + true + true + true + *.md, *.MD, Makefile + false + true + true + + + + ProjectExplorer.Project.PluginSettings + + + true + false + true + true + true + true + + + 0 + true + + true + true + Builtin.DefaultTidyAndClazy + 4 + + + + true + + + + + ProjectExplorer.Project.Target.0 + + Desktop + Desktop + Desktop + {e0def2b4-0ea1-4570-845e-89d3cdeb72be} + 0 + 0 + 0 + + 0 + /media/sf_develop/RsyncUI/../build-RsyncUI-Desktop-Debug + /media/sf_develop/build-RsyncUI-Desktop-Debug + + + true + QtProjectManager.QMakeBuildStep + false + + + + true + Qt4ProjectManager.MakeStep + + 2 + Build + Build + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + clean + + 1 + Clean + Clean + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Debug + Qt4ProjectManager.Qt4BuildConfiguration + 2 + + + /media/sf_develop/RsyncUI/../build-RsyncUI-Desktop-Release + /media/sf_develop/build-RsyncUI-Desktop-Release + + + true + QtProjectManager.QMakeBuildStep + false + + + + true + Qt4ProjectManager.MakeStep + + 2 + Build + Build + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + clean + + 1 + Clean + Clean + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Release + Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + + + 0 + /media/sf_develop/RsyncUI/../build-RsyncUI-Desktop-Profile + /media/sf_develop/build-RsyncUI-Desktop-Profile + + + true + QtProjectManager.QMakeBuildStep + false + + + + true + Qt4ProjectManager.MakeStep + + 2 + Build + Build + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + clean + + 1 + Clean + Clean + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Profile + Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + 0 + + 3 + + + 0 + Deploy + Deploy + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + true + true + true + + 2 + + ProjectExplorer.CustomExecutableRunConfiguration + + false + true + false + true + + 1 + + + + ProjectExplorer.Project.TargetCount + 1 + + + ProjectExplorer.Project.Updater.FileVersion + 22 + + + Version + 22 + + diff --git a/RsyncUI.pro.user.db2284a b/RsyncUI.pro.user.db2284a new file mode 100755 index 0000000..4561913 --- /dev/null +++ b/RsyncUI.pro.user.db2284a @@ -0,0 +1,509 @@ + + + + + + EnvironmentId + {db2284ae-177e-4753-8e1e-1e0e73c52ae1} + + + ProjectExplorer.Project.ActiveTarget + 0 + + + ProjectExplorer.Project.EditorSettings + + true + false + true + + Cpp + + CppGlobal + + + + QmlJS + + QmlJSGlobal + + + 2 + UTF-8 + false + 4 + false + 80 + true + true + 1 + false + true + false + 0 + true + true + 0 + 8 + true + false + 1 + true + true + true + *.md, *.MD, Makefile + false + true + true + + + + ProjectExplorer.Project.PluginSettings + + + true + false + true + true + true + true + + + 0 + true + + true + true + Builtin.DefaultTidyAndClazy + 1 + + + + true + + + true + + + + + ProjectExplorer.Project.Target.0 + + Desktop + Qt 5.15.7 (Système) + Qt 5.15.7 (Système) + {5228be4d-4434-412e-a9f4-ec733d887ed1} + 0 + 0 + 0 + + 0 + /home/daniel/develop/RsyncUI/../build-RsyncUI-Qt_5_15_7_Syst_me_temporaire-Debug + /home/daniel/develop/build-RsyncUI-Qt_5_15_7_Syst_me_temporaire-Debug + + + true + QtProjectManager.QMakeBuildStep + false + + + + true + Qt4ProjectManager.MakeStep + + 2 + Build + Build + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + clean + + 1 + Clean + Clean + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Debug + Qt4ProjectManager.Qt4BuildConfiguration + 2 + + + /home/daniel/develop/RsyncUI/../build-RsyncUI-Qt_5_15_7_Syst_me_temporaire-Release + /home/daniel/develop/build-RsyncUI-Qt_5_15_7_Syst_me_temporaire-Release + + + true + QtProjectManager.QMakeBuildStep + true + + + + true + Qt4ProjectManager.MakeStep + + 2 + Build + Build + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + clean + + 1 + Clean + Clean + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Release + Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + + + 0 + /home/daniel/develop/RsyncUI/../build-RsyncUI-Qt_5_15_7_Syst_me_temporaire-Profile + /home/daniel/develop/build-RsyncUI-Qt_5_15_7_Syst_me_temporaire-Profile + + + true + QtProjectManager.QMakeBuildStep + true + + + + true + Qt4ProjectManager.MakeStep + + 2 + Build + Build + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + clean + + 1 + Clean + Clean + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Profile + Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + 0 + + 3 + + + 0 + Deploy + Deploy + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + true + true + true + + 2 + + Qt4ProjectManager.Qt4RunConfiguration:/home/daniel/develop/RsyncUI/RsyncUI.pro + /home/daniel/develop/RsyncUI/RsyncUI.pro + false + true + true + false + true + /home/daniel/develop/build-RsyncUI-Qt_5_15_7_Syst_me_temporaire-Debug + + 1 + + + + ProjectExplorer.Project.Target.1 + + Desktop + Desktop + Desktop + {96ba01cf-98b6-46f1-b1a8-6cf5d7804e77} + 0 + 0 + 0 + + 0 + /home/daniel/develop/RsyncUI/../build-RsyncUI-Desktop-Debug + /home/daniel/develop/build-RsyncUI-Desktop-Debug + + + true + QtProjectManager.QMakeBuildStep + true + + + + true + Qt4ProjectManager.MakeStep + + 2 + Build + Build + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + clean + + 1 + Clean + Clean + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Debug + Qt4ProjectManager.Qt4BuildConfiguration + 2 + + + /home/daniel/develop/RsyncUI/../build-RsyncUI-Desktop-Release + /home/daniel/develop/build-RsyncUI-Desktop-Release + + + true + QtProjectManager.QMakeBuildStep + true + + + + true + Qt4ProjectManager.MakeStep + + 2 + Build + Build + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + clean + + 1 + Clean + Clean + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Release + Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + + + 0 + /home/daniel/develop/RsyncUI/../build-RsyncUI-Desktop-Profile + /home/daniel/develop/build-RsyncUI-Desktop-Profile + + + true + QtProjectManager.QMakeBuildStep + true + + + + true + Qt4ProjectManager.MakeStep + + 2 + Build + Build + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + clean + + 1 + Clean + Clean + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Profile + Qt4ProjectManager.Qt4BuildConfiguration + 0 + 0 + 0 + + 3 + + + 0 + Deploy + Deploy + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + true + true + true + + 2 + + ProjectExplorer.CustomExecutableRunConfiguration + + false + true + false + true + + 1 + + + + ProjectExplorer.Project.Target.2 + + Desktop + Qt 5.15.7 in PATH (qt5) + Qt 5.15.7 in PATH (qt5) + {7fe200c1-f5ad-4deb-a8be-7d9bd4e961d5} + 0 + 0 + 0 + + /home/daniel/develop/RsyncUI + /home/daniel/develop/RsyncUI + + + true + QtProjectManager.QMakeBuildStep + true + + + + true + Qt4ProjectManager.MakeStep + + 2 + Build + Build + ProjectExplorer.BuildSteps.Build + + + + true + Qt4ProjectManager.MakeStep + clean + + 1 + Clean + Clean + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Release + Qt4ProjectManager.Qt4BuildConfiguration + 0 + + 1 + + + 0 + Deploy + Deploy + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + 1 + + true + true + true + + 2 + + ProjectExplorer.CustomExecutableRunConfiguration + + false + true + false + true + + 1 + + + + ProjectExplorer.Project.TargetCount + 3 + + + ProjectExplorer.Project.Updater.FileVersion + 22 + + + Version + 22 + + diff --git a/password.h b/password.h index de19d4a..735051f 100644 --- a/password.h +++ b/password.h @@ -3,8 +3,8 @@ //#include "mainwindow.h" #include "qapplication.h" -#include -#include +#include +#include extern QApplication a;