From d51e37eb2da4dd260de98725a8e2bd45c9b999b7 Mon Sep 17 00:00:00 2001 From: Dmytro Bogovych Date: Sun, 28 Jul 2019 20:49:34 +0300 Subject: [PATCH] - migrate build process to CMake --- client/CMakeLists.txt | 202 ++++++ client/aboutdlg.cpp | 3 +- client/build-number/build_number.h | 2 + client/build-number/build_number.ps1 | 30 + client/build-number/build_number.sh | 6 + client/chooka.pro | 5 +- client/config.h | 8 +- client/encryption.h | 68 +- client/helper.cpp | 19 +- client/helper.h | 3 + client/mainwindow.cpp | 16 +- client/moc_aboutdlg.cpp | 118 ---- client/moc_attachmentsdialog.cpp | 94 --- client/moc_attachmentslist.cpp | 206 ------ client/moc_finddialog.cpp | 147 ----- client/moc_findsupport.cpp | 271 -------- client/moc_fvavailableupdate.cpp | 94 --- client/moc_fvignoredversions.cpp | 94 --- client/moc_fvplatform.cpp | 94 --- client/moc_fvupdateconfirmdialog.cpp | 94 --- client/moc_fvupdater.cpp | 174 ----- client/moc_fvupdatewindow.cpp | 120 ---- client/moc_helper.cpp | 135 ---- client/moc_hidtracker.cpp | 159 ----- client/moc_logger.cpp | 94 --- client/moc_mainwindow.cpp | 463 ------------- client/moc_newpassworddlg.cpp | 118 ---- client/moc_passworddlg.cpp | 94 --- client/moc_preferencesdlg.cpp | 141 ---- client/moc_sleeptracker_osx.cpp | 150 ----- client/moc_startworkdialog.cpp | 168 ----- client/moc_stopworkdialog.cpp | 169 ----- client/moc_task.cpp | 94 --- client/moc_tasktreemodel.cpp | 205 ------ client/moc_timeintervaldlg.cpp | 118 ---- client/moc_timereportwizard.cpp | 451 ------------- client/moc_timetreedlg.cpp | 131 ---- client/platforms/hidtracker.cpp | 156 ++--- client/platforms/hidtracker.h | 61 +- client/qtkeychain/CMakeLists.txt | 200 +++--- .../qtkeychain/translations/qtkeychain_de.ts | 172 +++-- .../qtkeychain/translations/qtkeychain_ro.ts | 172 +++-- client/sqlitecpp/CMakeLists.txt | 90 ++- client/sqlitecpp/include/SQLiteCpp/Column.h | 1 - client/sqlitecpp/include/SQLiteCpp/Database.h | 5 +- .../sqlitecpp/include/SQLiteCpp/Exception.h | 8 - client/sqlitecpp/sqlite3/CMakeLists.txt | 2 + client/storage.cpp | 2 +- client/task.cpp | 2 +- client/ui_aboutdlg.h | 82 --- client/ui_attachmentsdialog.h | 81 --- client/ui_attachmentslist.h | 91 --- client/ui_finddialog.h | 96 --- client/ui_fvupdateconfirmdialog.h | 90 --- client/ui_fvupdatewindow.h | 133 ---- client/ui_mainwindow.h | 623 ------------------ client/ui_newpassworddlg.h | 108 --- client/ui_passworddlg.h | 89 --- client/ui_preferencesdlg.h | 237 ------- client/ui_startworkdialog.h | 86 --- client/ui_stopworkdialog.h | 73 -- client/ui_timeintervaldlg.h | 101 --- client/ui_timetreedlg.h | 106 --- lib/uuid/include/uuid/uuid.h | 104 +++ lib/uuid/lib/lin64/libuuid.a | Bin 0 -> 29556 bytes lib/uuid/lib/osx/libuuid.a | Bin 0 -> 55216 bytes lib/uuid/lib/osx/libuuid.dylib | Bin 0 -> 18600 bytes 67 files changed, 935 insertions(+), 6594 deletions(-) create mode 100644 client/CMakeLists.txt create mode 100644 client/build-number/build_number.h create mode 100644 client/build-number/build_number.ps1 create mode 100644 client/build-number/build_number.sh delete mode 100644 client/moc_aboutdlg.cpp delete mode 100644 client/moc_attachmentsdialog.cpp delete mode 100644 client/moc_attachmentslist.cpp delete mode 100644 client/moc_finddialog.cpp delete mode 100644 client/moc_findsupport.cpp delete mode 100644 client/moc_fvavailableupdate.cpp delete mode 100644 client/moc_fvignoredversions.cpp delete mode 100644 client/moc_fvplatform.cpp delete mode 100644 client/moc_fvupdateconfirmdialog.cpp delete mode 100644 client/moc_fvupdater.cpp delete mode 100644 client/moc_fvupdatewindow.cpp delete mode 100644 client/moc_helper.cpp delete mode 100644 client/moc_hidtracker.cpp delete mode 100644 client/moc_logger.cpp delete mode 100644 client/moc_mainwindow.cpp delete mode 100644 client/moc_newpassworddlg.cpp delete mode 100644 client/moc_passworddlg.cpp delete mode 100644 client/moc_preferencesdlg.cpp delete mode 100644 client/moc_sleeptracker_osx.cpp delete mode 100644 client/moc_startworkdialog.cpp delete mode 100644 client/moc_stopworkdialog.cpp delete mode 100644 client/moc_task.cpp delete mode 100644 client/moc_tasktreemodel.cpp delete mode 100644 client/moc_timeintervaldlg.cpp delete mode 100644 client/moc_timereportwizard.cpp delete mode 100644 client/moc_timetreedlg.cpp delete mode 100644 client/ui_aboutdlg.h delete mode 100644 client/ui_attachmentsdialog.h delete mode 100644 client/ui_attachmentslist.h delete mode 100644 client/ui_finddialog.h delete mode 100644 client/ui_fvupdateconfirmdialog.h delete mode 100644 client/ui_fvupdatewindow.h delete mode 100644 client/ui_mainwindow.h delete mode 100644 client/ui_newpassworddlg.h delete mode 100644 client/ui_passworddlg.h delete mode 100644 client/ui_preferencesdlg.h delete mode 100644 client/ui_startworkdialog.h delete mode 100644 client/ui_stopworkdialog.h delete mode 100644 client/ui_timeintervaldlg.h delete mode 100644 client/ui_timetreedlg.h create mode 100644 lib/uuid/include/uuid/uuid.h create mode 100644 lib/uuid/lib/lin64/libuuid.a create mode 100644 lib/uuid/lib/osx/libuuid.a create mode 100755 lib/uuid/lib/osx/libuuid.dylib diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt new file mode 100644 index 0000000..b4f0677 --- /dev/null +++ b/client/CMakeLists.txt @@ -0,0 +1,202 @@ +cmake_minimum_required(VERSION 3.5) + +# This directive is ignored for non OSX environments +set(CMAKE_OSX_DEPLOYMENT_TARGET "10.11" CACHE STRING "Minimum OS X deployment version") + +project (outliner C CXX) # Your project name + +if (NOT LIB_PLATFORM) + message(FATAL_ERROR "No LIB_PLATFORM is set.") +endif() + +include (${LIB_PLATFORM}/platform_libs.cmake) + +# C++ 11 standard +set (CMAKE_CXX_STANDARD 11) +set (CMAKE_CXX_STANDARD_REQUIRED ON) + +# Find includes in corresponding build directories +set (CMAKE_INCLUDE_CURRENT_DIR ON) + +# Instruct CMake to run moc automatically when needed. +set (CMAKE_AUTOMOC ON) +set (CMAKE_INCLUDE_CURRENT_DIR ON) + +# Instruct CMake to run uic automatically when needed. +set (CMAKE_AUTOUIC ON) + +set (APP_SKIP_BUILD_NUMBER OFF CACHE BOOL "Skip Sevana HASQ build number increase.") + +# Use pvqa2 library also +set (USE_PVQA2_LIBRARY OFF CACHE BOOL "Integrate PVQA2.") + +# Avoid increasing PVQA/AQuA library build numbers +set (SKIP_BUILD_NUMBER ON) + +# Special build for audiologists +set (AUDIOLOGY_EDITION OFF CACHE BOOL "Make special build for audiologists") + +# Special build with live capture +set (LIVE_PVQA_EDITION OFF CACHE BOOL "Make special build with live capture") + +# This will find the Qt5 files. You will need a QT5_DIR env variable +find_package (Qt5Core REQUIRED) +find_package (Qt5Widgets REQUIRED) # Equivalent of QT += widgets +find_package (Qt5PrintSupport REQUIRED) +find_package (Qt5OpenGL REQUIRED) + +if (Qt5OpenGL_FOUND) + message("Qt5 OpenGL found") +else (Qt5OpenGL_FOUND) + message("Qt5 OpenGL not found") +endif(Qt5OpenGL_FOUND) + +# List all source files in project directory +file (GLOB SOURCES "*.cpp") +file (GLOB C_SOURCES "*.c") +file (GLOB HEADERS "*.h") +file (GLOB UI "*.ui") + +if (CMAKE_SYSTEM MATCHES "Windows*") + add_definitions(-DTARGET_WIN) + set (TARGET_WIN ON) +endif() + +if (CMAKE_SYSTEM MATCHES "Darwin*") + add_definitions(-DTARGET_OSX) + set (TARGET_OSX ON) +endif() + +if (CMAKE_SYSTEM MATCHES "Linux*") + add_definitions (-DTARGET_LINUX) + set (TARGET_LINUX ON) +endif() + +# sevana pvqa +if (TARGET_LINUX) + set (PLATFORM_LIBS pthread m z dl) + set (SCRIPT_PROCESSOR "/bin/bash") + set (BUILD_NUMBER_SCRIPT build_number.sh) +endif() + +if(TARGET_OSX) + # OS X Specific flags + add_definitions(-DTARGET_OSX) + + set (SCRIPT_PROCESSOR "/bin/bash") + set (BUILD_NUMBER_SCRIPT build_number.sh) + set (ADDITIONAL_EXE_OPTIONS MACOSX_BUNDLE) + + set (MACOS_ICON_FILE ${CMAKE_CURRENT_SOURCE_DIR}/../icons/sound_ruler.icns) +endif() + +if (TARGET_WIN) + # Windows Specific flags - MSVC expected + add_definitions( + -D_CRT_SECURE_NO_WARNINGS -DHAVE_WINSOCK2_H + -D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS -DUNICODE -D_UNICODE ) + set (PLATFORM_LIBS Qt5::WinMain Ws2_32 crashrpt) + set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP") + set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP") + link_directories( + ${CMAKE_CURRENT_SOURCE_DIR}/../libs/crashrpt/lib/dll + ) + set (SCRIPT_PROCESSOR "Powershell.exe" ) + set (BUILD_NUMBER_SCRIPT build_number.ps1) + + # Application icon + set (WINDOWS_RESOURCE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/icon_soundruler.rc) + #qt5_add_resources(UI_RESOURCES ${WINDOWS_RESOURCE_PATH}) +endif() + +# List resources +qt5_add_resources(UI_RESOURCES resources/qdarkstyle/style.qrc) + +# Global defines +add_definitions(-DQTKEYCHAIN_NO_EXPORT -DSQLITE_HAS_CODEC -DSQLITE_OMIT_LOAD_EXTENSION) + +# Add sqlitecpp & qtkeychain +add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/sqlitecpp) +add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/qtkeychain) +if (TARGET_OSX) + add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/fervor) +endif() + +# This will create you executable +set (EXE_NAME litt_outliner) + +add_executable(${EXE_NAME} + ${ADDITIONAL_EXE_OPTIONS} + ${SOURCES} ${C_SOURCES} ${HEADERS} ${UI} + ${CMAKE_CURRENT_SOURCE_DIR}/qmarkdowntextedit/qmarkdowntextedit.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/qmarkdowntextedit/markdownhighlighter.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/qmarkdowntextedit/qplaintexteditsearchwidget.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/platforms/hidtracker.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/platforms/hidtrackerimpl.cpp + ${UI_RESOURCES} + ${MACOS_ICON_FILE} + ${RESOURCE_FILES} + ${WINDOWS_RESOURCE_PATH}) + +target_include_directories(${EXE_NAME} SYSTEM BEFORE + #PUBLIC ${UUID_INCLUDE} + PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/sqlitecpp/include + PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/sqlitecpp/sqlite3/include + PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../lib/openssl/include + PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../lib/uuid/include + ) + + +if (TARGET_OSX) + set_source_files_properties( ${MACOS_ICON_FILE} PROPERTIES MACOSX_PACKAGE_LOCATION Resources ) + set_target_properties( ${EXE_NAME} PROPERTIES MACOSX_BUNDLE_ICON_FILE ${MACOS_ICON_FILE} ) + set_target_properties( ${EXE_NAME} PROPERTIES OUTPUT_NAME ${PRODUCT_NAME}) + set_target_properties( ${EXE_NAME} PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME ${PRODUCT_NAME} ) + set_target_properties( ${EXE_NAME} PROPERTIES MACOSX_BUNDLE_SHORT_VERSION_STRING "0.7.8") + set_target_properties( ${EXE_NAME} PROPERTIES MACOSX_BUNDLE_LONG_VERSION_STRING "0.7.8") + + set_target_properties( ${EXE_NAME} PROPERTIES MACOSX_BUNDLE TRUE + MACOSX_BUNDLE_GUI_IDENTIFIER "biz.sevana.hasq" + RESOURCE "${RESOURCE_FILES}") +endif() + +# This will link necessary Qt5 libraries to your project +target_link_libraries(${EXE_NAME} + SQLiteCpp + qtkeychain + #${UUID_LIB} + uuid + ${OPENSSL_CRYPTO} + Qt5::Core Qt5::Widgets Qt5::PrintSupport Qt5::OpenGL # Qt + ${PLATFORM_LIBS} # System specific libraries + ) + +if (TARGET_WIN) + set_target_properties(${EXE_NAME} PROPERTIES LINK_FLAGS_DEBUG "/SUBSYSTEM:WINDOWS") + set_target_properties(${EXE_NAME} PROPERTIES LINK_FLAGS_RELWITHDEBINFO "/SUBSYSTEM:WINDOWS") + set_target_properties(${EXE_NAME} PROPERTIES LINK_FLAGS_RELEASE "/SUBSYSTEM:WINDOWS") + set_target_properties(${EXE_NAME} PROPERTIES LINK_FLAGS_MINSIZEREL "/SUBSYSTEM:WINDOWS") + + if (CMAKE_BUILD_TYPE MATCHES "Debug") + # It happens from Qt Creator usually - so use raw output dir + set (OUTPUT_DIR "${CMAKE_BINARY_DIR}") + else(CMAKE_BUILD_TYPE MATCHES "Debug") + # It happens from build script - add configuration name + set (OUTPUT_DIR "${CMAKE_BINARY_DIR}/${CMAKE_BUILD_TYPE}") + endif(CMAKE_BUILD_TYPE MATCHES "Debug") + + add_custom_command(TARGET ${EXE_NAME} POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy_if_different + "${PROJECT_SOURCE_DIR}/../libs/crashrpt/lib/dll/crashrpt.dll" + "${PROJECT_SOURCE_DIR}/../libs/crashrpt/bin/dbghelp.dll" + "${PROJECT_SOURCE_DIR}/../libs/crashrpt/bin/crashrpt_lang.ini" + "${PROJECT_SOURCE_DIR}/../libs/crashrpt/bin/CrashSender1403.exe" + "${OUTPUT_DIR}") +endif() + +if (NOT APP_SKIP_BUILD_NUMBER) + add_custom_command( TARGET ${EXE_NAME} + POST_BUILD + COMMAND ${SCRIPT_PROCESSOR} ${CMAKE_CURRENT_SOURCE_DIR}/build-number/${BUILD_NUMBER_SCRIPT} + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/build-number/ ) +endif(NOT APP_SKIP_BUILD_NUMBER) diff --git a/client/aboutdlg.cpp b/client/aboutdlg.cpp index 3ece9fd..5ca7ecf 100644 --- a/client/aboutdlg.cpp +++ b/client/aboutdlg.cpp @@ -1,4 +1,5 @@ #include "config.h" +#include "helper.h" #include "aboutdlg.h" #include "ui_aboutdlg.h" #include @@ -16,7 +17,7 @@ AboutDlg::AboutDlg(QWidget *parent) : QString text(ABOUTTEXT); text += ".\r\n"; - text += QString("Version %1.").arg(VER); + text += QString("Version %1.").arg(QString::fromStdString(helper::app_version())); ui->mTextLabel->setText(text); QString appPath = QCoreApplication::applicationDirPath(); diff --git a/client/build-number/build_number.h b/client/build-number/build_number.h new file mode 100644 index 0000000..53a3d79 --- /dev/null +++ b/client/build-number/build_number.h @@ -0,0 +1,2 @@ +// Auto generated file ! Please do not edit ! +#define APP_BUILD_NUMBER 8 \ No newline at end of file diff --git a/client/build-number/build_number.ps1 b/client/build-number/build_number.ps1 new file mode 100644 index 0000000..045c8b7 --- /dev/null +++ b/client/build-number/build_number.ps1 @@ -0,0 +1,30 @@ +#$scriptpath = $MyInvocation.MyCommand.Path +#$dir = Split-Path $scriptpath +#Write-host "My directory is $dir" + +Write-Host Calculate new build number + +$curverfilename= "build_number.h" + +$curver = Get-Content $curverfilename | Out-String +# Write-Host Read content $curver + +$header0 = "// Automatically generated file ! Please do not edit !`r`n" +$header1 = "#define APP_BUILD_NUMBER " +$testresult = $curver -match "(?s)$header1(?.*)" +$number = $matches['content'] + +# Delete header from found template +# $number = $number.Replace($header1, "") + +$build_number = [int]( $number ) +Write-Host Current build number $build_number +$new_build_number = $build_number + 1 +$Version = [string] $new_build_number + +# Write header in UTF8 without BOM +$Utf8NoBomEncoding = New-Object System.Text.UTF8Encoding $False +Write-Host Next build number is $Version +[System.IO.File]::WriteAllLines($curverfilename, "// Automatically generated file !`r`n#define HASQ_BUILD_NUMBER " + $Version) + +# $Version | Out-File $curverfilename \ No newline at end of file diff --git a/client/build-number/build_number.sh b/client/build-number/build_number.sh new file mode 100644 index 0000000..db9a89e --- /dev/null +++ b/client/build-number/build_number.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +#number=`cat build_number.h` +number=`sed -n -e 's/#define APP_BUILD_NUMBER *//p' build_number.h | tr -d '\r'` +let number++ +printf "// Auto generated file ! Please do not edit !\r\n#define APP_BUILD_NUMBER $number" > build_number.h diff --git a/client/chooka.pro b/client/chooka.pro index 95d0db5..cb859d7 100644 --- a/client/chooka.pro +++ b/client/chooka.pro @@ -6,8 +6,9 @@ QT += core gui -greaterThan(QT_MAJOR_VERSION, 4): QT += widgets -greaterThan(QT_MAJOR_VERSION, 4): QT += printsupport +greaterThan(QT_MAJOR_VERSION, 5): QT += widgets printsupport +#greaterThan(QT_MAJOR_VERSION, 5): QT += printsupport + CONFIG += c++11 TARGET = Litt TEMPLATE = app diff --git a/client/config.h b/client/config.h index 6949af4..6ca3634 100644 --- a/client/config.h +++ b/client/config.h @@ -37,7 +37,11 @@ // Text flushing interval #define TEXT_FLUSH_INTERVAL (10) -#ifdef TARGET_OSX +#define APP_VERSION_MAJOR 0 +#define APP_VERSION_MINOR 9 +#define APP_VERSION_SUFFIX 3 + +//#ifdef TARGET_OSX #define TRAY_START_ICON_NAME ":/icons/icons/starttracking-osx.png" #define TRAY_STOP_ICON_NAME ":/icons/icons/stoptracking-osx.png" @@ -46,6 +50,6 @@ #define ACTION_START_ICON_NAME ":/icons/icons/clock-32x32.png" #define ACTION_STOP_ICON_NAME ":/icons/icons/process-stop.png" -#endif +//#endif #endif diff --git a/client/encryption.h b/client/encryption.h index 31db543..09083b6 100644 --- a/client/encryption.h +++ b/client/encryption.h @@ -9,66 +9,66 @@ class BlowfishCipher { protected: - QByteArray mKey; - QByteArray mIV; - BF_KEY mContext; + QByteArray mKey; + QByteArray mIV; + BF_KEY mContext; public: - BlowfishCipher(); - ~BlowfishCipher(); - void setKey(const QByteArray& ba); - const QByteArray& key() const; - void setIV(const QByteArray& ba); - QByteArray& IV() const; + BlowfishCipher(); + ~BlowfishCipher(); + void setKey(const QByteArray& ba); + const QByteArray& key() const; + void setIV(const QByteArray& ba); + QByteArray& IV() const; - void encrypt(const QByteArray& plain, QByteArray& encrypted); - void decrypt(const QByteArray& encrypted, QByteArray& plain); + void encrypt(const QByteArray& plain, QByteArray& encrypted); + void decrypt(const QByteArray& encrypted, QByteArray& plain); }; class TwofishCipher { protected: - QByteArray mKey; - QByteArray mIV; - TwofishKey mKeyStruct; - Twofish* mContext; + QByteArray mKey; + QByteArray mIV; + TwofishKey mKeyStruct; + Twofish* mContext; public: - TwofishCipher(); - ~TwofishCipher(); + TwofishCipher(); + ~TwofishCipher(); - int blocksize() const { return 16; } - void setKey(const QByteArray& ba); - const QByteArray& key() const; + int blocksize() const { return 16; } + void setKey(const QByteArray& ba); + const QByteArray& key() const; - // IV vector must be 16 bytes - void setIV(const QByteArray& ba); - const QByteArray& IV() const; + // IV vector must be 16 bytes + void setIV(const QByteArray& ba); + const QByteArray& IV() const; - // Plain and encrypted must be padded to 16 bytes boundary before call - void encrypt(const QByteArray& plain, int plainOffset, QByteArray& encrypted, int encryptedOffset); - void decrypt(const QByteArray& encrypted, int encryptedOffset, QByteArray& plain, int plainOffset); + // Plain and encrypted must be padded to 16 bytes boundary before call + void encrypt(const QByteArray& plain, int plainOffset, QByteArray& encrypted, int encryptedOffset); + void decrypt(const QByteArray& encrypted, int encryptedOffset, QByteArray& plain, int plainOffset); }; class SHA256 { protected: - SHA256_CTX mContext; - QByteArray mDigest; + SHA256_CTX mContext; + QByteArray mDigest; public: - SHA256(); - ~SHA256(); + SHA256(); + ~SHA256(); - QByteArray& digest(); - void update(const void* data, int length); - void final(); + QByteArray& digest(); + void update(const void* data, int length); + void final(); }; class IV { public: - static void Generate(QByteArray& buffer); + static void Generate(QByteArray& buffer); }; #endif // ENCRYPTION_H diff --git a/client/helper.cpp b/client/helper.cpp index e333ceb..0b3789b 100644 --- a/client/helper.cpp +++ b/client/helper.cpp @@ -1,6 +1,7 @@ #include "config.h" #include "helper.h" #include "platforms/hidtracker.h" +#include "build-number/build_number.h" #include #include @@ -8,6 +9,10 @@ #include #include #include +#include + + +#include "qtkeychain/keychain.h" #ifdef TARGET_OSX @@ -25,7 +30,7 @@ char* __strlcat_chk (char* dest, const char* src, int len, int destcapacity) #include "settings.h" -using namespace helper; +namespace helper { void theme::applyCurrent(Settings& settings) { @@ -301,8 +306,6 @@ bool EscapeKeyEventFilter::eventFilter(QObject *obj, QEvent * event) return false; } -#include "qtkeychain/keychain.h" - QString password::load() { QKeychain::ReadPasswordJob job(APPNAME); @@ -332,3 +335,13 @@ bool password::save(const QString& password) return false; return true; } + +std::string app_version() +{ + std::ostringstream oss; + oss << APP_VERSION_MAJOR << "." << APP_VERSION_MINOR << "." << APP_VERSION_SUFFIX << "." << APP_BUILD_NUMBER; + + return oss.str(); +} + +} // end of namespace helper diff --git a/client/helper.h b/client/helper.h index cfb70ca..a4439f2 100644 --- a/client/helper.h +++ b/client/helper.h @@ -3,6 +3,7 @@ #include #include +#include "config.h" class Settings; namespace helper @@ -99,6 +100,8 @@ namespace helper static QString load(); static bool save(const QString& password); }; + + extern std::string app_version(); } #endif diff --git a/client/mainwindow.cpp b/client/mainwindow.cpp index 9db0cae..16f4cdc 100644 --- a/client/mainwindow.cpp +++ b/client/mainwindow.cpp @@ -21,7 +21,9 @@ #include "aboutdlg.h" #include "attachmentslist.h" #include "attachmentsdialog.h" -#include "fvupdater.h" +#if defined(TARGET_OSX) +# include "fvupdater.h" +#endif #include "taskaction.h" #include "finddialog.h" #include "startworkdialog.h" @@ -791,7 +793,7 @@ void MainWindow::prepareRecentTasksMenu(QMenu* submenu) for (PTask t: mRecentTrackingTasks) { QAction* action = submenu->addAction(t->title(), this, SLOT(startTrackingRecent())); - action->setProperty("taskid", QVariant(t->id())); + action->setProperty("taskid", QVariant(static_cast(t->id()))); } } @@ -824,8 +826,9 @@ void MainWindow::setupMainUi() //QCoreApplication::setOrganizationName(COMPANY); // Set this to your own appcast URL, of course +#if defined(TARGET_OSX) FvUpdater::sharedUpdater()->SetFeedURL("http://satorilight.com/LittAppCast.xml"); - +#endif initClient(); QApplication::postEvent(this, new AttachDatabaseEvent()); } @@ -1233,6 +1236,9 @@ int MainWindow::showTrayWindow(QDialog* dlg) #ifdef TARGET_OSX QRect windowRect(desktopWidth - w - 10, iconRect.bottom() + 10, w, h); #endif +#ifdef TARGET_LINUX + QRect windowRect(desktopWidth - w - 10, iconRect.bottom() + 10, w, h); +#endif #ifdef TARGET_WIN #endif @@ -1257,6 +1263,7 @@ int MainWindow::showTrayWindow(QDialog* dlg) void MainWindow::installDockMenu() { +#if defined(TARGET_OSX) QMenu* menu = new QMenu(); menu->addAction(ui->mStartOrStopTrackingAction); mDockRecentMenu = menu->addMenu(ui->mStartRecentTaskMenu->title()); @@ -1264,6 +1271,7 @@ void MainWindow::installDockMenu() prepareRecentTasksMenu(mDockRecentMenu); qt_mac_set_dock_menu(menu); +#endif } void MainWindow::timeFormatChanged() @@ -1443,7 +1451,9 @@ void MainWindow::showAttachments() void MainWindow::checkForUpdates() { +#if defined(TARGET_OSX) FvUpdater::sharedUpdater()->CheckForUpdatesNotSilent(); +#endif } void MainWindow::systemSleep() diff --git a/client/moc_aboutdlg.cpp b/client/moc_aboutdlg.cpp deleted file mode 100644 index 1494acc..0000000 --- a/client/moc_aboutdlg.cpp +++ /dev/null @@ -1,118 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'aboutdlg.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "aboutdlg.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'aboutdlg.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_AboutDlg_t { - QByteArrayData data[3]; - char stringdata0[22]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_AboutDlg_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_AboutDlg_t qt_meta_stringdata_AboutDlg = { - { -QT_MOC_LITERAL(0, 0, 8), // "AboutDlg" -QT_MOC_LITERAL(1, 9, 11), // "showLicense" -QT_MOC_LITERAL(2, 21, 0) // "" - - }, - "AboutDlg\0showLicense\0" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_AboutDlg[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 0, 19, 2, 0x0a /* Public */, - - // slots: parameters - QMetaType::Void, - - 0 // eod -}; - -void AboutDlg::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->showLicense(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject AboutDlg::staticMetaObject = { { - &QDialog::staticMetaObject, - qt_meta_stringdata_AboutDlg.data, - qt_meta_data_AboutDlg, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *AboutDlg::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *AboutDlg::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_AboutDlg.stringdata0)) - return static_cast(this); - return QDialog::qt_metacast(_clname); -} - -int AboutDlg::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 1) - *reinterpret_cast(_a[0]) = -1; - _id -= 1; - } - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_attachmentsdialog.cpp b/client/moc_attachmentsdialog.cpp deleted file mode 100644 index 0f9bdda..0000000 --- a/client/moc_attachmentsdialog.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'attachmentsdialog.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "attachmentsdialog.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'attachmentsdialog.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_AttachmentsDialog_t { - QByteArrayData data[1]; - char stringdata0[18]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_AttachmentsDialog_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_AttachmentsDialog_t qt_meta_stringdata_AttachmentsDialog = { - { -QT_MOC_LITERAL(0, 0, 17) // "AttachmentsDialog" - - }, - "AttachmentsDialog" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_AttachmentsDialog[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void AttachmentsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject AttachmentsDialog::staticMetaObject = { { - &QDialog::staticMetaObject, - qt_meta_stringdata_AttachmentsDialog.data, - qt_meta_data_AttachmentsDialog, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *AttachmentsDialog::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *AttachmentsDialog::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_AttachmentsDialog.stringdata0)) - return static_cast(this); - return QDialog::qt_metacast(_clname); -} - -int AttachmentsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_attachmentslist.cpp b/client/moc_attachmentslist.cpp deleted file mode 100644 index 362b52a..0000000 --- a/client/moc_attachmentslist.cpp +++ /dev/null @@ -1,206 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'attachmentslist.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "attachmentslist.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'attachmentslist.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_AttachmentsListModel_t { - QByteArrayData data[1]; - char stringdata0[21]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_AttachmentsListModel_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_AttachmentsListModel_t qt_meta_stringdata_AttachmentsListModel = { - { -QT_MOC_LITERAL(0, 0, 20) // "AttachmentsListModel" - - }, - "AttachmentsListModel" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_AttachmentsListModel[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void AttachmentsListModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject AttachmentsListModel::staticMetaObject = { { - &QAbstractListModel::staticMetaObject, - qt_meta_stringdata_AttachmentsListModel.data, - qt_meta_data_AttachmentsListModel, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *AttachmentsListModel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *AttachmentsListModel::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_AttachmentsListModel.stringdata0)) - return static_cast(this); - return QAbstractListModel::qt_metacast(_clname); -} - -int AttachmentsListModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QAbstractListModel::qt_metacall(_c, _id, _a); - return _id; -} -struct qt_meta_stringdata_AttachmentsList_t { - QByteArrayData data[8]; - char stringdata0[82]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_AttachmentsList_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_AttachmentsList_t qt_meta_stringdata_AttachmentsList = { - { -QT_MOC_LITERAL(0, 0, 15), // "AttachmentsList" -QT_MOC_LITERAL(1, 16, 14), // "contextualMenu" -QT_MOC_LITERAL(2, 31, 0), // "" -QT_MOC_LITERAL(3, 32, 5), // "point" -QT_MOC_LITERAL(4, 38, 10), // "importFile" -QT_MOC_LITERAL(5, 49, 10), // "exportFile" -QT_MOC_LITERAL(6, 60, 10), // "deleteFile" -QT_MOC_LITERAL(7, 71, 10) // "renameFile" - - }, - "AttachmentsList\0contextualMenu\0\0point\0" - "importFile\0exportFile\0deleteFile\0" - "renameFile" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_AttachmentsList[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 5, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 1, 39, 2, 0x0a /* Public */, - 4, 0, 42, 2, 0x0a /* Public */, - 5, 0, 43, 2, 0x0a /* Public */, - 6, 0, 44, 2, 0x0a /* Public */, - 7, 0, 45, 2, 0x0a /* Public */, - - // slots: parameters - QMetaType::Void, QMetaType::QPoint, 3, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - - 0 // eod -}; - -void AttachmentsList::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->contextualMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break; - case 1: _t->importFile(); break; - case 2: _t->exportFile(); break; - case 3: _t->deleteFile(); break; - case 4: _t->renameFile(); break; - default: ; - } - } -} - -QT_INIT_METAOBJECT const QMetaObject AttachmentsList::staticMetaObject = { { - &QWidget::staticMetaObject, - qt_meta_stringdata_AttachmentsList.data, - qt_meta_data_AttachmentsList, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *AttachmentsList::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *AttachmentsList::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_AttachmentsList.stringdata0)) - return static_cast(this); - return QWidget::qt_metacast(_clname); -} - -int AttachmentsList::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWidget::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 5) - qt_static_metacall(this, _c, _id, _a); - _id -= 5; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 5) - *reinterpret_cast(_a[0]) = -1; - _id -= 5; - } - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_finddialog.cpp b/client/moc_finddialog.cpp deleted file mode 100644 index a9d855c..0000000 --- a/client/moc_finddialog.cpp +++ /dev/null @@ -1,147 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'finddialog.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "finddialog.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'finddialog.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_FindInTasksDialog_t { - QByteArrayData data[10]; - char stringdata0[111]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_FindInTasksDialog_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_FindInTasksDialog_t qt_meta_stringdata_FindInTasksDialog = { - { -QT_MOC_LITERAL(0, 0, 17), // "FindInTasksDialog" -QT_MOC_LITERAL(1, 18, 11), // "startSearch" -QT_MOC_LITERAL(2, 30, 0), // "" -QT_MOC_LITERAL(3, 31, 14), // "resultSelected" -QT_MOC_LITERAL(4, 46, 11), // "QModelIndex" -QT_MOC_LITERAL(5, 58, 5), // "index" -QT_MOC_LITERAL(6, 64, 14), // "searchComplete" -QT_MOC_LITERAL(7, 79, 11), // "onNewResult" -QT_MOC_LITERAL(8, 91, 14), // "FindResultItem" -QT_MOC_LITERAL(9, 106, 4) // "item" - - }, - "FindInTasksDialog\0startSearch\0\0" - "resultSelected\0QModelIndex\0index\0" - "searchComplete\0onNewResult\0FindResultItem\0" - "item" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_FindInTasksDialog[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 4, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 0, 34, 2, 0x0a /* Public */, - 3, 1, 35, 2, 0x0a /* Public */, - 6, 0, 38, 2, 0x0a /* Public */, - 7, 1, 39, 2, 0x0a /* Public */, - - // slots: parameters - QMetaType::Void, - QMetaType::Void, 0x80000000 | 4, 5, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 8, 9, - - 0 // eod -}; - -void FindInTasksDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->startSearch(); break; - case 1: _t->resultSelected((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; - case 2: _t->searchComplete(); break; - case 3: _t->onNewResult((*reinterpret_cast< const FindResultItem(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 3: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< FindResultItem >(); break; - } - break; - } - } -} - -QT_INIT_METAOBJECT const QMetaObject FindInTasksDialog::staticMetaObject = { { - &QDialog::staticMetaObject, - qt_meta_stringdata_FindInTasksDialog.data, - qt_meta_data_FindInTasksDialog, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *FindInTasksDialog::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *FindInTasksDialog::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_FindInTasksDialog.stringdata0)) - return static_cast(this); - return QDialog::qt_metacast(_clname); -} - -int FindInTasksDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 4) - qt_static_metacall(this, _c, _id, _a); - _id -= 4; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 4) - qt_static_metacall(this, _c, _id, _a); - _id -= 4; - } - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_findsupport.cpp b/client/moc_findsupport.cpp deleted file mode 100644 index 877f16d..0000000 --- a/client/moc_findsupport.cpp +++ /dev/null @@ -1,271 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'findsupport.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "findsupport.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'findsupport.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_FindResultsModel_t { - QByteArrayData data[5]; - char stringdata0[46]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_FindResultsModel_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_FindResultsModel_t qt_meta_stringdata_FindResultsModel = { - { -QT_MOC_LITERAL(0, 0, 16), // "FindResultsModel" -QT_MOC_LITERAL(1, 17, 7), // "addItem" -QT_MOC_LITERAL(2, 25, 0), // "" -QT_MOC_LITERAL(3, 26, 14), // "FindResultItem" -QT_MOC_LITERAL(4, 41, 4) // "item" - - }, - "FindResultsModel\0addItem\0\0FindResultItem\0" - "item" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_FindResultsModel[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 1, 19, 2, 0x0a /* Public */, - - // slots: parameters - QMetaType::Void, 0x80000000 | 3, 4, - - 0 // eod -}; - -void FindResultsModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->addItem((*reinterpret_cast< const FindResultItem(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< FindResultItem >(); break; - } - break; - } - } -} - -QT_INIT_METAOBJECT const QMetaObject FindResultsModel::staticMetaObject = { { - &QAbstractTableModel::staticMetaObject, - qt_meta_stringdata_FindResultsModel.data, - qt_meta_data_FindResultsModel, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *FindResultsModel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *FindResultsModel::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_FindResultsModel.stringdata0)) - return static_cast(this); - return QAbstractTableModel::qt_metacast(_clname); -} - -int FindResultsModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QAbstractTableModel::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } - return _id; -} -struct qt_meta_stringdata_TaskSearch_t { - QByteArrayData data[6]; - char stringdata0[66]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_TaskSearch_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_TaskSearch_t qt_meta_stringdata_TaskSearch = { - { -QT_MOC_LITERAL(0, 0, 10), // "TaskSearch" -QT_MOC_LITERAL(1, 11, 18), // "newResultAvailable" -QT_MOC_LITERAL(2, 30, 0), // "" -QT_MOC_LITERAL(3, 31, 14), // "FindResultItem" -QT_MOC_LITERAL(4, 46, 4), // "item" -QT_MOC_LITERAL(5, 51, 14) // "searchComplete" - - }, - "TaskSearch\0newResultAvailable\0\0" - "FindResultItem\0item\0searchComplete" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_TaskSearch[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 1, 24, 2, 0x06 /* Public */, - 5, 0, 27, 2, 0x06 /* Public */, - - // signals: parameters - QMetaType::Void, 0x80000000 | 3, 4, - QMetaType::Void, - - 0 // eod -}; - -void TaskSearch::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->newResultAvailable((*reinterpret_cast< const FindResultItem(*)>(_a[1]))); break; - case 1: _t->searchComplete(); break; - default: ; - } - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - switch (_id) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - switch (*reinterpret_cast(_a[1])) { - default: *reinterpret_cast(_a[0]) = -1; break; - case 0: - *reinterpret_cast(_a[0]) = qRegisterMetaType< FindResultItem >(); break; - } - break; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (TaskSearch::*)(const FindResultItem & ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskSearch::newResultAvailable)) { - *result = 0; - return; - } - } - { - using _t = void (TaskSearch::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskSearch::searchComplete)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject TaskSearch::staticMetaObject = { { - &QThread::staticMetaObject, - qt_meta_stringdata_TaskSearch.data, - qt_meta_data_TaskSearch, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *TaskSearch::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *TaskSearch::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_TaskSearch.stringdata0)) - return static_cast(this); - return QThread::qt_metacast(_clname); -} - -int TaskSearch::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QThread::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } - return _id; -} - -// SIGNAL 0 -void TaskSearch::newResultAvailable(const FindResultItem & _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void TaskSearch::searchComplete() -{ - QMetaObject::activate(this, &staticMetaObject, 1, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_fvavailableupdate.cpp b/client/moc_fvavailableupdate.cpp deleted file mode 100644 index 084091d..0000000 --- a/client/moc_fvavailableupdate.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'fvavailableupdate.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "fervor/fvavailableupdate.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'fvavailableupdate.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_FvAvailableUpdate_t { - QByteArrayData data[1]; - char stringdata0[18]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_FvAvailableUpdate_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_FvAvailableUpdate_t qt_meta_stringdata_FvAvailableUpdate = { - { -QT_MOC_LITERAL(0, 0, 17) // "FvAvailableUpdate" - - }, - "FvAvailableUpdate" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_FvAvailableUpdate[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void FvAvailableUpdate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject FvAvailableUpdate::staticMetaObject = { { - &QObject::staticMetaObject, - qt_meta_stringdata_FvAvailableUpdate.data, - qt_meta_data_FvAvailableUpdate, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *FvAvailableUpdate::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *FvAvailableUpdate::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_FvAvailableUpdate.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int FvAvailableUpdate::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_fvignoredversions.cpp b/client/moc_fvignoredversions.cpp deleted file mode 100644 index 107f7ea..0000000 --- a/client/moc_fvignoredversions.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'fvignoredversions.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "fervor/fvignoredversions.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'fvignoredversions.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_FVIgnoredVersions_t { - QByteArrayData data[1]; - char stringdata0[18]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_FVIgnoredVersions_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_FVIgnoredVersions_t qt_meta_stringdata_FVIgnoredVersions = { - { -QT_MOC_LITERAL(0, 0, 17) // "FVIgnoredVersions" - - }, - "FVIgnoredVersions" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_FVIgnoredVersions[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void FVIgnoredVersions::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject FVIgnoredVersions::staticMetaObject = { { - &QObject::staticMetaObject, - qt_meta_stringdata_FVIgnoredVersions.data, - qt_meta_data_FVIgnoredVersions, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *FVIgnoredVersions::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *FVIgnoredVersions::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_FVIgnoredVersions.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int FVIgnoredVersions::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_fvplatform.cpp b/client/moc_fvplatform.cpp deleted file mode 100644 index ba2b5c3..0000000 --- a/client/moc_fvplatform.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'fvplatform.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "fervor/fvplatform.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'fvplatform.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_FvPlatform_t { - QByteArrayData data[1]; - char stringdata0[11]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_FvPlatform_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_FvPlatform_t qt_meta_stringdata_FvPlatform = { - { -QT_MOC_LITERAL(0, 0, 10) // "FvPlatform" - - }, - "FvPlatform" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_FvPlatform[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void FvPlatform::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject FvPlatform::staticMetaObject = { { - &QObject::staticMetaObject, - qt_meta_stringdata_FvPlatform.data, - qt_meta_data_FvPlatform, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *FvPlatform::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *FvPlatform::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_FvPlatform.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int FvPlatform::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_fvupdateconfirmdialog.cpp b/client/moc_fvupdateconfirmdialog.cpp deleted file mode 100644 index a2dc81c..0000000 --- a/client/moc_fvupdateconfirmdialog.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'fvupdateconfirmdialog.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "fervor/fvupdateconfirmdialog.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'fvupdateconfirmdialog.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_FvUpdateConfirmDialog_t { - QByteArrayData data[1]; - char stringdata0[22]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_FvUpdateConfirmDialog_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_FvUpdateConfirmDialog_t qt_meta_stringdata_FvUpdateConfirmDialog = { - { -QT_MOC_LITERAL(0, 0, 21) // "FvUpdateConfirmDialog" - - }, - "FvUpdateConfirmDialog" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_FvUpdateConfirmDialog[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void FvUpdateConfirmDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject FvUpdateConfirmDialog::staticMetaObject = { { - &QDialog::staticMetaObject, - qt_meta_stringdata_FvUpdateConfirmDialog.data, - qt_meta_data_FvUpdateConfirmDialog, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *FvUpdateConfirmDialog::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *FvUpdateConfirmDialog::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_FvUpdateConfirmDialog.stringdata0)) - return static_cast(this); - return QDialog::qt_metacast(_clname); -} - -int FvUpdateConfirmDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_fvupdater.cpp b/client/moc_fvupdater.cpp deleted file mode 100644 index be21d67..0000000 --- a/client/moc_fvupdater.cpp +++ /dev/null @@ -1,174 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'fvupdater.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "fervor/fvupdater.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'fvupdater.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_FvUpdater_t { - QByteArrayData data[16]; - char stringdata0[292]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_FvUpdater_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_FvUpdater_t qt_meta_stringdata_FvUpdater = { - { -QT_MOC_LITERAL(0, 0, 9), // "FvUpdater" -QT_MOC_LITERAL(1, 10, 15), // "CheckForUpdates" -QT_MOC_LITERAL(2, 26, 0), // "" -QT_MOC_LITERAL(3, 27, 24), // "silentAsMuchAsItCouldGet" -QT_MOC_LITERAL(4, 52, 21), // "CheckForUpdatesSilent" -QT_MOC_LITERAL(5, 74, 24), // "CheckForUpdatesNotSilent" -QT_MOC_LITERAL(6, 99, 13), // "InstallUpdate" -QT_MOC_LITERAL(7, 113, 10), // "SkipUpdate" -QT_MOC_LITERAL(8, 124, 13), // "RemindMeLater" -QT_MOC_LITERAL(9, 138, 27), // "UpdateInstallationConfirmed" -QT_MOC_LITERAL(10, 166, 30), // "UpdateInstallationNotConfirmed" -QT_MOC_LITERAL(11, 197, 17), // "httpFeedReadyRead" -QT_MOC_LITERAL(12, 215, 30), // "httpFeedUpdateDataReadProgress" -QT_MOC_LITERAL(13, 246, 9), // "bytesRead" -QT_MOC_LITERAL(14, 256, 10), // "totalBytes" -QT_MOC_LITERAL(15, 267, 24) // "httpFeedDownloadFinished" - - }, - "FvUpdater\0CheckForUpdates\0\0" - "silentAsMuchAsItCouldGet\0CheckForUpdatesSilent\0" - "CheckForUpdatesNotSilent\0InstallUpdate\0" - "SkipUpdate\0RemindMeLater\0" - "UpdateInstallationConfirmed\0" - "UpdateInstallationNotConfirmed\0" - "httpFeedReadyRead\0httpFeedUpdateDataReadProgress\0" - "bytesRead\0totalBytes\0httpFeedDownloadFinished" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_FvUpdater[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 12, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 1, 74, 2, 0x0a /* Public */, - 1, 0, 77, 2, 0x2a /* Public | MethodCloned */, - 4, 0, 78, 2, 0x0a /* Public */, - 5, 0, 79, 2, 0x0a /* Public */, - 6, 0, 80, 2, 0x09 /* Protected */, - 7, 0, 81, 2, 0x09 /* Protected */, - 8, 0, 82, 2, 0x09 /* Protected */, - 9, 0, 83, 2, 0x09 /* Protected */, - 10, 0, 84, 2, 0x09 /* Protected */, - 11, 0, 85, 2, 0x08 /* Private */, - 12, 2, 86, 2, 0x08 /* Private */, - 15, 0, 91, 2, 0x08 /* Private */, - - // slots: parameters - QMetaType::Bool, QMetaType::Bool, 3, - QMetaType::Bool, - QMetaType::Bool, - QMetaType::Bool, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong, 13, 14, - QMetaType::Void, - - 0 // eod -}; - -void FvUpdater::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: { bool _r = _t->CheckForUpdates((*reinterpret_cast< bool(*)>(_a[1]))); - if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break; - case 1: { bool _r = _t->CheckForUpdates(); - if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break; - case 2: { bool _r = _t->CheckForUpdatesSilent(); - if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break; - case 3: { bool _r = _t->CheckForUpdatesNotSilent(); - if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break; - case 4: _t->InstallUpdate(); break; - case 5: _t->SkipUpdate(); break; - case 6: _t->RemindMeLater(); break; - case 7: _t->UpdateInstallationConfirmed(); break; - case 8: _t->UpdateInstallationNotConfirmed(); break; - case 9: _t->httpFeedReadyRead(); break; - case 10: _t->httpFeedUpdateDataReadProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break; - case 11: _t->httpFeedDownloadFinished(); break; - default: ; - } - } -} - -QT_INIT_METAOBJECT const QMetaObject FvUpdater::staticMetaObject = { { - &QObject::staticMetaObject, - qt_meta_stringdata_FvUpdater.data, - qt_meta_data_FvUpdater, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *FvUpdater::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *FvUpdater::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_FvUpdater.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int FvUpdater::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 12) - qt_static_metacall(this, _c, _id, _a); - _id -= 12; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 12) - *reinterpret_cast(_a[0]) = -1; - _id -= 12; - } - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_fvupdatewindow.cpp b/client/moc_fvupdatewindow.cpp deleted file mode 100644 index cd92bac..0000000 --- a/client/moc_fvupdatewindow.cpp +++ /dev/null @@ -1,120 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'fvupdatewindow.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "fervor/fvupdatewindow.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'fvupdatewindow.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_FvUpdateWindow_t { - QByteArrayData data[5]; - char stringdata0[54]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_FvUpdateWindow_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_FvUpdateWindow_t qt_meta_stringdata_FvUpdateWindow = { - { -QT_MOC_LITERAL(0, 0, 14), // "FvUpdateWindow" -QT_MOC_LITERAL(1, 15, 16), // "downloadFinished" -QT_MOC_LITERAL(2, 32, 0), // "" -QT_MOC_LITERAL(3, 33, 14), // "QNetworkReply*" -QT_MOC_LITERAL(4, 48, 5) // "reply" - - }, - "FvUpdateWindow\0downloadFinished\0\0" - "QNetworkReply*\0reply" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_FvUpdateWindow[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 1, 19, 2, 0x0a /* Public */, - - // slots: parameters - QMetaType::Void, 0x80000000 | 3, 4, - - 0 // eod -}; - -void FvUpdateWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->downloadFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; - default: ; - } - } -} - -QT_INIT_METAOBJECT const QMetaObject FvUpdateWindow::staticMetaObject = { { - &QWidget::staticMetaObject, - qt_meta_stringdata_FvUpdateWindow.data, - qt_meta_data_FvUpdateWindow, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *FvUpdateWindow::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *FvUpdateWindow::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_FvUpdateWindow.stringdata0)) - return static_cast(this); - return QWidget::qt_metacast(_clname); -} - -int FvUpdateWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWidget::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 1) - *reinterpret_cast(_a[0]) = -1; - _id -= 1; - } - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_helper.cpp b/client/moc_helper.cpp deleted file mode 100644 index f3d0ac9..0000000 --- a/client/moc_helper.cpp +++ /dev/null @@ -1,135 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'helper.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "helper.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'helper.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_helper__EscapeKeyEventFilter_t { - QByteArrayData data[4]; - char stringdata0[48]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_helper__EscapeKeyEventFilter_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_helper__EscapeKeyEventFilter_t qt_meta_stringdata_helper__EscapeKeyEventFilter = { - { -QT_MOC_LITERAL(0, 0, 28), // "helper::EscapeKeyEventFilter" -QT_MOC_LITERAL(1, 29, 13), // "escapePressed" -QT_MOC_LITERAL(2, 43, 0), // "" -QT_MOC_LITERAL(3, 44, 3) // "obj" - - }, - "helper::EscapeKeyEventFilter\0escapePressed\0" - "\0obj" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_helper__EscapeKeyEventFilter[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 1, 19, 2, 0x06 /* Public */, - - // signals: parameters - QMetaType::Void, QMetaType::QObjectStar, 3, - - 0 // eod -}; - -void helper::EscapeKeyEventFilter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->escapePressed((*reinterpret_cast< QObject*(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (EscapeKeyEventFilter::*)(QObject * ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EscapeKeyEventFilter::escapePressed)) { - *result = 0; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject helper::EscapeKeyEventFilter::staticMetaObject = { { - &QObject::staticMetaObject, - qt_meta_stringdata_helper__EscapeKeyEventFilter.data, - qt_meta_data_helper__EscapeKeyEventFilter, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *helper::EscapeKeyEventFilter::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *helper::EscapeKeyEventFilter::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_helper__EscapeKeyEventFilter.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int helper::EscapeKeyEventFilter::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 1) - *reinterpret_cast(_a[0]) = -1; - _id -= 1; - } - return _id; -} - -// SIGNAL 0 -void helper::EscapeKeyEventFilter::escapePressed(QObject * _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_hidtracker.cpp b/client/moc_hidtracker.cpp deleted file mode 100644 index 5bf1088..0000000 --- a/client/moc_hidtracker.cpp +++ /dev/null @@ -1,159 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'hidtracker.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "platforms/hidtracker.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'hidtracker.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_HIDActivityTracker_t { - QByteArrayData data[5]; - char stringdata0[61]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_HIDActivityTracker_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_HIDActivityTracker_t qt_meta_stringdata_HIDActivityTracker = { - { -QT_MOC_LITERAL(0, 0, 18), // "HIDActivityTracker" -QT_MOC_LITERAL(1, 19, 12), // "idleDetected" -QT_MOC_LITERAL(2, 32, 0), // "" -QT_MOC_LITERAL(3, 33, 16), // "activityDetected" -QT_MOC_LITERAL(4, 50, 10) // "checkState" - - }, - "HIDActivityTracker\0idleDetected\0\0" - "activityDetected\0checkState" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_HIDActivityTracker[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 3, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 29, 2, 0x06 /* Public */, - 3, 0, 30, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 4, 0, 31, 2, 0x09 /* Protected */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, - - 0 // eod -}; - -void HIDActivityTracker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->idleDetected(); break; - case 1: _t->activityDetected(); break; - case 2: _t->checkState(); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (HIDActivityTracker::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HIDActivityTracker::idleDetected)) { - *result = 0; - return; - } - } - { - using _t = void (HIDActivityTracker::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HIDActivityTracker::activityDetected)) { - *result = 1; - return; - } - } - } - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject HIDActivityTracker::staticMetaObject = { { - &QObject::staticMetaObject, - qt_meta_stringdata_HIDActivityTracker.data, - qt_meta_data_HIDActivityTracker, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *HIDActivityTracker::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *HIDActivityTracker::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_HIDActivityTracker.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int HIDActivityTracker::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 3) - qt_static_metacall(this, _c, _id, _a); - _id -= 3; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 3) - *reinterpret_cast(_a[0]) = -1; - _id -= 3; - } - return _id; -} - -// SIGNAL 0 -void HIDActivityTracker::idleDetected() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void HIDActivityTracker::activityDetected() -{ - QMetaObject::activate(this, &staticMetaObject, 1, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_logger.cpp b/client/moc_logger.cpp deleted file mode 100644 index a65cf11..0000000 --- a/client/moc_logger.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'logger.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "logger.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'logger.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_Logger_t { - QByteArrayData data[1]; - char stringdata0[7]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_Logger_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_Logger_t qt_meta_stringdata_Logger = { - { -QT_MOC_LITERAL(0, 0, 6) // "Logger" - - }, - "Logger" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_Logger[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void Logger::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject Logger::staticMetaObject = { { - &QObject::staticMetaObject, - qt_meta_stringdata_Logger.data, - qt_meta_data_Logger, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *Logger::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *Logger::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_Logger.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int Logger::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_mainwindow.cpp b/client/moc_mainwindow.cpp deleted file mode 100644 index 2e07608..0000000 --- a/client/moc_mainwindow.cpp +++ /dev/null @@ -1,463 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'mainwindow.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "mainwindow.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'mainwindow.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_MainWindow_t { - QByteArrayData data[87]; - char stringdata0[1127]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = { - { -QT_MOC_LITERAL(0, 0, 10), // "MainWindow" -QT_MOC_LITERAL(1, 11, 19), // "onTimeFormatChanged" -QT_MOC_LITERAL(2, 31, 0), // "" -QT_MOC_LITERAL(3, 32, 13), // "onTimeChanged" -QT_MOC_LITERAL(4, 46, 4), // "save" -QT_MOC_LITERAL(5, 51, 4), // "sync" -QT_MOC_LITERAL(6, 56, 5), // "about" -QT_MOC_LITERAL(7, 62, 11), // "preferences" -QT_MOC_LITERAL(8, 74, 5), // "print" -QT_MOC_LITERAL(9, 80, 4), // "quit" -QT_MOC_LITERAL(10, 85, 11), // "newRootTask" -QT_MOC_LITERAL(11, 97, 7), // "newTask" -QT_MOC_LITERAL(12, 105, 10), // "newSibling" -QT_MOC_LITERAL(13, 116, 6), // "moveUp" -QT_MOC_LITERAL(14, 123, 8), // "moveDown" -QT_MOC_LITERAL(15, 132, 10), // "renameTask" -QT_MOC_LITERAL(16, 143, 10), // "deleteTask" -QT_MOC_LITERAL(17, 154, 22), // "taskTreeContextualMenu" -QT_MOC_LITERAL(18, 177, 5), // "point" -QT_MOC_LITERAL(19, 183, 16), // "taskIndexChanged" -QT_MOC_LITERAL(20, 200, 11), // "QModelIndex" -QT_MOC_LITERAL(21, 212, 12), // "idleDetected" -QT_MOC_LITERAL(22, 225, 16), // "activityDetected" -QT_MOC_LITERAL(23, 242, 19), // "startOrStopTracking" -QT_MOC_LITERAL(24, 262, 13), // "startTracking" -QT_MOC_LITERAL(25, 276, 19), // "startTrackingRecent" -QT_MOC_LITERAL(26, 296, 12), // "stopTracking" -QT_MOC_LITERAL(27, 309, 18), // "TrackingStopReason" -QT_MOC_LITERAL(28, 328, 6), // "reason" -QT_MOC_LITERAL(29, 335, 6), // "time_t" -QT_MOC_LITERAL(30, 342, 11), // "current_utc" -QT_MOC_LITERAL(31, 354, 10), // "updateData" -QT_MOC_LITERAL(32, 365, 9), // "add10Mins" -QT_MOC_LITERAL(33, 375, 20), // "editSelectionChanged" -QT_MOC_LITERAL(34, 396, 19), // "editPositionChanged" -QT_MOC_LITERAL(35, 416, 17), // "editFormatChanged" -QT_MOC_LITERAL(36, 434, 15), // "QTextCharFormat" -QT_MOC_LITERAL(37, 450, 3), // "fmt" -QT_MOC_LITERAL(38, 454, 8), // "editUndo" -QT_MOC_LITERAL(39, 463, 8), // "editRedo" -QT_MOC_LITERAL(40, 472, 7), // "editCut" -QT_MOC_LITERAL(41, 480, 8), // "editCopy" -QT_MOC_LITERAL(42, 489, 9), // "editPaste" -QT_MOC_LITERAL(43, 499, 10), // "editDelete" -QT_MOC_LITERAL(44, 510, 13), // "editSelectAll" -QT_MOC_LITERAL(45, 524, 13), // "iconActivated" -QT_MOC_LITERAL(46, 538, 33), // "QSystemTrayIcon::ActivationRe..." -QT_MOC_LITERAL(47, 572, 17), // "timeFormatChanged" -QT_MOC_LITERAL(48, 590, 12), // "showTimeline" -QT_MOC_LITERAL(49, 603, 14), // "showTimeReport" -QT_MOC_LITERAL(50, 618, 21), // "criticalAlertFinished" -QT_MOC_LITERAL(51, 640, 6), // "status" -QT_MOC_LITERAL(52, 647, 20), // "warningAlertFinished" -QT_MOC_LITERAL(53, 668, 24), // "toolbarVisibilityChanged" -QT_MOC_LITERAL(54, 693, 7), // "visible" -QT_MOC_LITERAL(55, 701, 15), // "showHideToolbar" -QT_MOC_LITERAL(56, 717, 15), // "showAttachments" -QT_MOC_LITERAL(57, 733, 15), // "checkForUpdates" -QT_MOC_LITERAL(58, 749, 11), // "systemSleep" -QT_MOC_LITERAL(59, 761, 12), // "systemResume" -QT_MOC_LITERAL(60, 774, 23), // "changeTimeTrackableFlag" -QT_MOC_LITERAL(61, 798, 9), // "trackable" -QT_MOC_LITERAL(62, 808, 4), // "find" -QT_MOC_LITERAL(63, 813, 11), // "findInTasks" -QT_MOC_LITERAL(64, 825, 13), // "findRequested" -QT_MOC_LITERAL(65, 839, 12), // "findRejected" -QT_MOC_LITERAL(66, 852, 3), // "obj" -QT_MOC_LITERAL(67, 856, 15), // "taskTextChanged" -QT_MOC_LITERAL(68, 872, 9), // "taskMoved" -QT_MOC_LITERAL(69, 882, 5), // "PTask" -QT_MOC_LITERAL(70, 888, 4), // "task" -QT_MOC_LITERAL(71, 893, 13), // "focusTaskTree" -QT_MOC_LITERAL(72, 907, 13), // "focusTaskText" -QT_MOC_LITERAL(73, 921, 14), // "showMainWindow" -QT_MOC_LITERAL(74, 936, 14), // "continueOnIdle" -QT_MOC_LITERAL(75, 951, 11), // "breakOnIdle" -QT_MOC_LITERAL(76, 963, 8), // "stopTime" -QT_MOC_LITERAL(77, 972, 15), // "startOnActivity" -QT_MOC_LITERAL(78, 988, 14), // "stopOnActivity" -QT_MOC_LITERAL(79, 1003, 19), // "trayWindowDestroyed" -QT_MOC_LITERAL(80, 1023, 6), // "object" -QT_MOC_LITERAL(81, 1030, 19), // "onDbPasswordEntered" -QT_MOC_LITERAL(82, 1050, 8), // "password" -QT_MOC_LITERAL(83, 1059, 21), // "onDbPasswordCancelled" -QT_MOC_LITERAL(84, 1081, 22), // "onNewDbPasswordEntered" -QT_MOC_LITERAL(85, 1104, 17), // "onDatabaseChanged" -QT_MOC_LITERAL(86, 1122, 4) // "path" - - }, - "MainWindow\0onTimeFormatChanged\0\0" - "onTimeChanged\0save\0sync\0about\0preferences\0" - "print\0quit\0newRootTask\0newTask\0" - "newSibling\0moveUp\0moveDown\0renameTask\0" - "deleteTask\0taskTreeContextualMenu\0" - "point\0taskIndexChanged\0QModelIndex\0" - "idleDetected\0activityDetected\0" - "startOrStopTracking\0startTracking\0" - "startTrackingRecent\0stopTracking\0" - "TrackingStopReason\0reason\0time_t\0" - "current_utc\0updateData\0add10Mins\0" - "editSelectionChanged\0editPositionChanged\0" - "editFormatChanged\0QTextCharFormat\0fmt\0" - "editUndo\0editRedo\0editCut\0editCopy\0" - "editPaste\0editDelete\0editSelectAll\0" - "iconActivated\0QSystemTrayIcon::ActivationReason\0" - "timeFormatChanged\0showTimeline\0" - "showTimeReport\0criticalAlertFinished\0" - "status\0warningAlertFinished\0" - "toolbarVisibilityChanged\0visible\0" - "showHideToolbar\0showAttachments\0" - "checkForUpdates\0systemSleep\0systemResume\0" - "changeTimeTrackableFlag\0trackable\0" - "find\0findInTasks\0findRequested\0" - "findRejected\0obj\0taskTextChanged\0" - "taskMoved\0PTask\0task\0focusTaskTree\0" - "focusTaskText\0showMainWindow\0" - "continueOnIdle\0breakOnIdle\0stopTime\0" - "startOnActivity\0stopOnActivity\0" - "trayWindowDestroyed\0object\0" - "onDbPasswordEntered\0password\0" - "onDbPasswordCancelled\0onNewDbPasswordEntered\0" - "onDatabaseChanged\0path" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_MainWindow[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 67, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 349, 2, 0x06 /* Public */, - 3, 0, 350, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 4, 0, 351, 2, 0x0a /* Public */, - 5, 0, 352, 2, 0x0a /* Public */, - 6, 0, 353, 2, 0x0a /* Public */, - 7, 0, 354, 2, 0x0a /* Public */, - 8, 0, 355, 2, 0x0a /* Public */, - 9, 0, 356, 2, 0x0a /* Public */, - 10, 0, 357, 2, 0x0a /* Public */, - 11, 0, 358, 2, 0x0a /* Public */, - 12, 0, 359, 2, 0x0a /* Public */, - 13, 0, 360, 2, 0x0a /* Public */, - 14, 0, 361, 2, 0x0a /* Public */, - 15, 0, 362, 2, 0x0a /* Public */, - 16, 0, 363, 2, 0x0a /* Public */, - 17, 1, 364, 2, 0x0a /* Public */, - 19, 2, 367, 2, 0x0a /* Public */, - 21, 0, 372, 2, 0x0a /* Public */, - 22, 0, 373, 2, 0x0a /* Public */, - 23, 0, 374, 2, 0x0a /* Public */, - 24, 0, 375, 2, 0x0a /* Public */, - 25, 0, 376, 2, 0x0a /* Public */, - 26, 2, 377, 2, 0x0a /* Public */, - 26, 1, 382, 2, 0x2a /* Public | MethodCloned */, - 31, 0, 385, 2, 0x0a /* Public */, - 32, 0, 386, 2, 0x0a /* Public */, - 33, 0, 387, 2, 0x0a /* Public */, - 34, 0, 388, 2, 0x0a /* Public */, - 35, 1, 389, 2, 0x0a /* Public */, - 38, 0, 392, 2, 0x0a /* Public */, - 39, 0, 393, 2, 0x0a /* Public */, - 40, 0, 394, 2, 0x0a /* Public */, - 41, 0, 395, 2, 0x0a /* Public */, - 42, 0, 396, 2, 0x0a /* Public */, - 43, 0, 397, 2, 0x0a /* Public */, - 44, 0, 398, 2, 0x0a /* Public */, - 45, 1, 399, 2, 0x0a /* Public */, - 47, 0, 402, 2, 0x0a /* Public */, - 48, 0, 403, 2, 0x0a /* Public */, - 49, 0, 404, 2, 0x0a /* Public */, - 50, 1, 405, 2, 0x0a /* Public */, - 52, 1, 408, 2, 0x0a /* Public */, - 53, 1, 411, 2, 0x0a /* Public */, - 55, 0, 414, 2, 0x0a /* Public */, - 56, 0, 415, 2, 0x0a /* Public */, - 57, 0, 416, 2, 0x0a /* Public */, - 58, 0, 417, 2, 0x0a /* Public */, - 59, 0, 418, 2, 0x0a /* Public */, - 60, 1, 419, 2, 0x0a /* Public */, - 62, 0, 422, 2, 0x0a /* Public */, - 63, 0, 423, 2, 0x0a /* Public */, - 64, 0, 424, 2, 0x0a /* Public */, - 65, 1, 425, 2, 0x0a /* Public */, - 67, 0, 428, 2, 0x0a /* Public */, - 68, 1, 429, 2, 0x0a /* Public */, - 71, 0, 432, 2, 0x0a /* Public */, - 72, 0, 433, 2, 0x0a /* Public */, - 73, 0, 434, 2, 0x0a /* Public */, - 74, 0, 435, 2, 0x0a /* Public */, - 75, 1, 436, 2, 0x0a /* Public */, - 77, 0, 439, 2, 0x0a /* Public */, - 78, 0, 440, 2, 0x0a /* Public */, - 79, 1, 441, 2, 0x0a /* Public */, - 81, 1, 444, 2, 0x0a /* Public */, - 83, 0, 447, 2, 0x0a /* Public */, - 84, 1, 448, 2, 0x0a /* Public */, - 85, 1, 451, 2, 0x0a /* Public */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, QMetaType::QPoint, 18, - QMetaType::Void, 0x80000000 | 20, 0x80000000 | 20, 2, 2, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 27, 0x80000000 | 29, 28, 30, - QMetaType::Void, 0x80000000 | 27, 28, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 36, 37, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 46, 28, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, QMetaType::Int, 51, - QMetaType::Void, QMetaType::Int, 51, - QMetaType::Void, QMetaType::Bool, 54, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, QMetaType::Bool, 61, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, QMetaType::QObjectStar, 66, - QMetaType::Void, - QMetaType::Void, 0x80000000 | 69, 70, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, QMetaType::QDateTime, 76, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, QMetaType::QObjectStar, 80, - QMetaType::Void, QMetaType::QString, 82, - QMetaType::Void, - QMetaType::Void, QMetaType::QString, 82, - QMetaType::Void, QMetaType::QString, 86, - - 0 // eod -}; - -void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->onTimeFormatChanged(); break; - case 1: _t->onTimeChanged(); break; - case 2: _t->save(); break; - case 3: _t->sync(); break; - case 4: _t->about(); break; - case 5: _t->preferences(); break; - case 6: _t->print(); break; - case 7: _t->quit(); break; - case 8: _t->newRootTask(); break; - case 9: _t->newTask(); break; - case 10: _t->newSibling(); break; - case 11: _t->moveUp(); break; - case 12: _t->moveDown(); break; - case 13: _t->renameTask(); break; - case 14: _t->deleteTask(); break; - case 15: _t->taskTreeContextualMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break; - case 16: _t->taskIndexChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break; - case 17: _t->idleDetected(); break; - case 18: _t->activityDetected(); break; - case 19: _t->startOrStopTracking(); break; - case 20: _t->startTracking(); break; - case 21: _t->startTrackingRecent(); break; - case 22: _t->stopTracking((*reinterpret_cast< TrackingStopReason(*)>(_a[1])),(*reinterpret_cast< time_t(*)>(_a[2]))); break; - case 23: _t->stopTracking((*reinterpret_cast< TrackingStopReason(*)>(_a[1]))); break; - case 24: _t->updateData(); break; - case 25: _t->add10Mins(); break; - case 26: _t->editSelectionChanged(); break; - case 27: _t->editPositionChanged(); break; - case 28: _t->editFormatChanged((*reinterpret_cast< const QTextCharFormat(*)>(_a[1]))); break; - case 29: _t->editUndo(); break; - case 30: _t->editRedo(); break; - case 31: _t->editCut(); break; - case 32: _t->editCopy(); break; - case 33: _t->editPaste(); break; - case 34: _t->editDelete(); break; - case 35: _t->editSelectAll(); break; - case 36: _t->iconActivated((*reinterpret_cast< QSystemTrayIcon::ActivationReason(*)>(_a[1]))); break; - case 37: _t->timeFormatChanged(); break; - case 38: _t->showTimeline(); break; - case 39: _t->showTimeReport(); break; - case 40: _t->criticalAlertFinished((*reinterpret_cast< int(*)>(_a[1]))); break; - case 41: _t->warningAlertFinished((*reinterpret_cast< int(*)>(_a[1]))); break; - case 42: _t->toolbarVisibilityChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 43: _t->showHideToolbar(); break; - case 44: _t->showAttachments(); break; - case 45: _t->checkForUpdates(); break; - case 46: _t->systemSleep(); break; - case 47: _t->systemResume(); break; - case 48: _t->changeTimeTrackableFlag((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 49: _t->find(); break; - case 50: _t->findInTasks(); break; - case 51: _t->findRequested(); break; - case 52: _t->findRejected((*reinterpret_cast< QObject*(*)>(_a[1]))); break; - case 53: _t->taskTextChanged(); break; - case 54: _t->taskMoved((*reinterpret_cast< PTask(*)>(_a[1]))); break; - case 55: _t->focusTaskTree(); break; - case 56: _t->focusTaskText(); break; - case 57: _t->showMainWindow(); break; - case 58: _t->continueOnIdle(); break; - case 59: _t->breakOnIdle((*reinterpret_cast< const QDateTime(*)>(_a[1]))); break; - case 60: _t->startOnActivity(); break; - case 61: _t->stopOnActivity(); break; - case 62: _t->trayWindowDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break; - case 63: _t->onDbPasswordEntered((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 64: _t->onDbPasswordCancelled(); break; - case 65: _t->onNewDbPasswordEntered((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 66: _t->onDatabaseChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (MainWindow::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::onTimeFormatChanged)) { - *result = 0; - return; - } - } - { - using _t = void (MainWindow::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::onTimeChanged)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { { - &QMainWindow::staticMetaObject, - qt_meta_stringdata_MainWindow.data, - qt_meta_data_MainWindow, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *MainWindow::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *MainWindow::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0)) - return static_cast(this); - return QMainWindow::qt_metacast(_clname); -} - -int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QMainWindow::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 67) - qt_static_metacall(this, _c, _id, _a); - _id -= 67; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 67) - *reinterpret_cast(_a[0]) = -1; - _id -= 67; - } - return _id; -} - -// SIGNAL 0 -void MainWindow::onTimeFormatChanged() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void MainWindow::onTimeChanged() -{ - QMetaObject::activate(this, &staticMetaObject, 1, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_newpassworddlg.cpp b/client/moc_newpassworddlg.cpp deleted file mode 100644 index 146f5df..0000000 --- a/client/moc_newpassworddlg.cpp +++ /dev/null @@ -1,118 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'newpassworddlg.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "newpassworddlg.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'newpassworddlg.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_NewPasswordDlg_t { - QByteArrayData data[3]; - char stringdata0[26]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_NewPasswordDlg_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_NewPasswordDlg_t qt_meta_stringdata_NewPasswordDlg = { - { -QT_MOC_LITERAL(0, 0, 14), // "NewPasswordDlg" -QT_MOC_LITERAL(1, 15, 9), // "tryAccept" -QT_MOC_LITERAL(2, 25, 0) // "" - - }, - "NewPasswordDlg\0tryAccept\0" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_NewPasswordDlg[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 0, 19, 2, 0x0a /* Public */, - - // slots: parameters - QMetaType::Void, - - 0 // eod -}; - -void NewPasswordDlg::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->tryAccept(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject NewPasswordDlg::staticMetaObject = { { - &QDialog::staticMetaObject, - qt_meta_stringdata_NewPasswordDlg.data, - qt_meta_data_NewPasswordDlg, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *NewPasswordDlg::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *NewPasswordDlg::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_NewPasswordDlg.stringdata0)) - return static_cast(this); - return QDialog::qt_metacast(_clname); -} - -int NewPasswordDlg::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 1) - *reinterpret_cast(_a[0]) = -1; - _id -= 1; - } - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_passworddlg.cpp b/client/moc_passworddlg.cpp deleted file mode 100644 index 16c57d0..0000000 --- a/client/moc_passworddlg.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'passworddlg.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "passworddlg.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'passworddlg.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_PasswordDlg_t { - QByteArrayData data[1]; - char stringdata0[12]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_PasswordDlg_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_PasswordDlg_t qt_meta_stringdata_PasswordDlg = { - { -QT_MOC_LITERAL(0, 0, 11) // "PasswordDlg" - - }, - "PasswordDlg" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_PasswordDlg[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void PasswordDlg::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject PasswordDlg::staticMetaObject = { { - &QDialog::staticMetaObject, - qt_meta_stringdata_PasswordDlg.data, - qt_meta_data_PasswordDlg, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *PasswordDlg::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *PasswordDlg::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_PasswordDlg.stringdata0)) - return static_cast(this); - return QDialog::qt_metacast(_clname); -} - -int PasswordDlg::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_preferencesdlg.cpp b/client/moc_preferencesdlg.cpp deleted file mode 100644 index 521c249..0000000 --- a/client/moc_preferencesdlg.cpp +++ /dev/null @@ -1,141 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'preferencesdlg.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "preferencesdlg.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'preferencesdlg.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_PreferencesDlg_t { - QByteArrayData data[9]; - char stringdata0[139]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_PreferencesDlg_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_PreferencesDlg_t qt_meta_stringdata_PreferencesDlg = { - { -QT_MOC_LITERAL(0, 0, 14), // "PreferencesDlg" -QT_MOC_LITERAL(1, 15, 14), // "selectDatabase" -QT_MOC_LITERAL(2, 30, 0), // "" -QT_MOC_LITERAL(3, 31, 8), // "accepted" -QT_MOC_LITERAL(4, 40, 23), // "smartStopSettingChanged" -QT_MOC_LITERAL(5, 64, 1), // "v" -QT_MOC_LITERAL(6, 66, 24), // "smartStartSettingChanged" -QT_MOC_LITERAL(7, 91, 19), // "smartStopWayChanged" -QT_MOC_LITERAL(8, 111, 27) // "allowStartAfterIdleControls" - - }, - "PreferencesDlg\0selectDatabase\0\0accepted\0" - "smartStopSettingChanged\0v\0" - "smartStartSettingChanged\0smartStopWayChanged\0" - "allowStartAfterIdleControls" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_PreferencesDlg[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 6, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 0, 44, 2, 0x08 /* Private */, - 3, 0, 45, 2, 0x08 /* Private */, - 4, 1, 46, 2, 0x08 /* Private */, - 6, 1, 49, 2, 0x08 /* Private */, - 7, 0, 52, 2, 0x08 /* Private */, - 8, 0, 53, 2, 0x08 /* Private */, - - // slots: parameters - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, QMetaType::Bool, 5, - QMetaType::Void, QMetaType::Bool, 2, - QMetaType::Void, - QMetaType::Void, - - 0 // eod -}; - -void PreferencesDlg::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->selectDatabase(); break; - case 1: _t->accepted(); break; - case 2: _t->smartStopSettingChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 3: _t->smartStartSettingChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 4: _t->smartStopWayChanged(); break; - case 5: _t->allowStartAfterIdleControls(); break; - default: ; - } - } -} - -QT_INIT_METAOBJECT const QMetaObject PreferencesDlg::staticMetaObject = { { - &QDialog::staticMetaObject, - qt_meta_stringdata_PreferencesDlg.data, - qt_meta_data_PreferencesDlg, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *PreferencesDlg::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *PreferencesDlg::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_PreferencesDlg.stringdata0)) - return static_cast(this); - return QDialog::qt_metacast(_clname); -} - -int PreferencesDlg::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 6) - qt_static_metacall(this, _c, _id, _a); - _id -= 6; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 6) - *reinterpret_cast(_a[0]) = -1; - _id -= 6; - } - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_sleeptracker_osx.cpp b/client/moc_sleeptracker_osx.cpp deleted file mode 100644 index 9ee9ea3..0000000 --- a/client/moc_sleeptracker_osx.cpp +++ /dev/null @@ -1,150 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'sleeptracker_osx.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "platforms/osx/sleeptracker_osx.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'sleeptracker_osx.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_SleepTracker_t { - QByteArrayData data[4]; - char stringdata0[43]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_SleepTracker_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_SleepTracker_t qt_meta_stringdata_SleepTracker = { - { -QT_MOC_LITERAL(0, 0, 12), // "SleepTracker" -QT_MOC_LITERAL(1, 13, 13), // "onSystemSleep" -QT_MOC_LITERAL(2, 27, 0), // "" -QT_MOC_LITERAL(3, 28, 14) // "onSystemResume" - - }, - "SleepTracker\0onSystemSleep\0\0onSystemResume" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_SleepTracker[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 24, 2, 0x06 /* Public */, - 3, 0, 25, 2, 0x06 /* Public */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, - - 0 // eod -}; - -void SleepTracker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->onSystemSleep(); break; - case 1: _t->onSystemResume(); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (SleepTracker::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SleepTracker::onSystemSleep)) { - *result = 0; - return; - } - } - { - using _t = void (SleepTracker::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SleepTracker::onSystemResume)) { - *result = 1; - return; - } - } - } - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject SleepTracker::staticMetaObject = { { - &QObject::staticMetaObject, - qt_meta_stringdata_SleepTracker.data, - qt_meta_data_SleepTracker, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *SleepTracker::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *SleepTracker::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_SleepTracker.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int SleepTracker::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 2) - *reinterpret_cast(_a[0]) = -1; - _id -= 2; - } - return _id; -} - -// SIGNAL 0 -void SleepTracker::onSystemSleep() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void SleepTracker::onSystemResume() -{ - QMetaObject::activate(this, &staticMetaObject, 1, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_startworkdialog.cpp b/client/moc_startworkdialog.cpp deleted file mode 100644 index b391d10..0000000 --- a/client/moc_startworkdialog.cpp +++ /dev/null @@ -1,168 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'startworkdialog.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "startworkdialog.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'startworkdialog.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_StartWorkDialog_t { - QByteArrayData data[7]; - char stringdata0[112]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_StartWorkDialog_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_StartWorkDialog_t qt_meta_stringdata_StartWorkDialog = { - { -QT_MOC_LITERAL(0, 0, 15), // "StartWorkDialog" -QT_MOC_LITERAL(1, 16, 16), // "continueTracking" -QT_MOC_LITERAL(2, 33, 0), // "" -QT_MOC_LITERAL(3, 34, 13), // "breakTracking" -QT_MOC_LITERAL(4, 48, 20), // "onYesButtonTriggered" -QT_MOC_LITERAL(5, 69, 19), // "onNoButtonTriggered" -QT_MOC_LITERAL(6, 89, 22) // "onFinishTimerTriggered" - - }, - "StartWorkDialog\0continueTracking\0\0" - "breakTracking\0onYesButtonTriggered\0" - "onNoButtonTriggered\0onFinishTimerTriggered" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_StartWorkDialog[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 5, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 39, 2, 0x06 /* Public */, - 3, 0, 40, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 4, 0, 41, 2, 0x08 /* Private */, - 5, 0, 42, 2, 0x08 /* Private */, - 6, 0, 43, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, - - // slots: parameters - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - - 0 // eod -}; - -void StartWorkDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->continueTracking(); break; - case 1: _t->breakTracking(); break; - case 2: _t->onYesButtonTriggered(); break; - case 3: _t->onNoButtonTriggered(); break; - case 4: _t->onFinishTimerTriggered(); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (StartWorkDialog::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StartWorkDialog::continueTracking)) { - *result = 0; - return; - } - } - { - using _t = void (StartWorkDialog::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StartWorkDialog::breakTracking)) { - *result = 1; - return; - } - } - } - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject StartWorkDialog::staticMetaObject = { { - &QDialog::staticMetaObject, - qt_meta_stringdata_StartWorkDialog.data, - qt_meta_data_StartWorkDialog, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *StartWorkDialog::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *StartWorkDialog::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_StartWorkDialog.stringdata0)) - return static_cast(this); - return QDialog::qt_metacast(_clname); -} - -int StartWorkDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 5) - qt_static_metacall(this, _c, _id, _a); - _id -= 5; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 5) - *reinterpret_cast(_a[0]) = -1; - _id -= 5; - } - return _id; -} - -// SIGNAL 0 -void StartWorkDialog::continueTracking() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void StartWorkDialog::breakTracking() -{ - QMetaObject::activate(this, &staticMetaObject, 1, nullptr); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_stopworkdialog.cpp b/client/moc_stopworkdialog.cpp deleted file mode 100644 index 35ae9cf..0000000 --- a/client/moc_stopworkdialog.cpp +++ /dev/null @@ -1,169 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'stopworkdialog.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "stopworkdialog.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'stopworkdialog.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_StopWorkDialog_t { - QByteArrayData data[8]; - char stringdata0[120]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_StopWorkDialog_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_StopWorkDialog_t qt_meta_stringdata_StopWorkDialog = { - { -QT_MOC_LITERAL(0, 0, 14), // "StopWorkDialog" -QT_MOC_LITERAL(1, 15, 16), // "continueTracking" -QT_MOC_LITERAL(2, 32, 0), // "" -QT_MOC_LITERAL(3, 33, 13), // "breakTracking" -QT_MOC_LITERAL(4, 47, 8), // "stopTime" -QT_MOC_LITERAL(5, 56, 20), // "onYesButtonTriggered" -QT_MOC_LITERAL(6, 77, 19), // "onNoButtonTriggered" -QT_MOC_LITERAL(7, 97, 22) // "onFinishTimerTriggered" - - }, - "StopWorkDialog\0continueTracking\0\0" - "breakTracking\0stopTime\0onYesButtonTriggered\0" - "onNoButtonTriggered\0onFinishTimerTriggered" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_StopWorkDialog[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 5, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 0, 39, 2, 0x06 /* Public */, - 3, 1, 40, 2, 0x06 /* Public */, - - // slots: name, argc, parameters, tag, flags - 5, 0, 43, 2, 0x08 /* Private */, - 6, 0, 44, 2, 0x08 /* Private */, - 7, 0, 45, 2, 0x08 /* Private */, - - // signals: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::QDateTime, 4, - - // slots: parameters - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - - 0 // eod -}; - -void StopWorkDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->continueTracking(); break; - case 1: _t->breakTracking((*reinterpret_cast< const QDateTime(*)>(_a[1]))); break; - case 2: _t->onYesButtonTriggered(); break; - case 3: _t->onNoButtonTriggered(); break; - case 4: _t->onFinishTimerTriggered(); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (StopWorkDialog::*)(); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StopWorkDialog::continueTracking)) { - *result = 0; - return; - } - } - { - using _t = void (StopWorkDialog::*)(const QDateTime & ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StopWorkDialog::breakTracking)) { - *result = 1; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject StopWorkDialog::staticMetaObject = { { - &QDialog::staticMetaObject, - qt_meta_stringdata_StopWorkDialog.data, - qt_meta_data_StopWorkDialog, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *StopWorkDialog::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *StopWorkDialog::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_StopWorkDialog.stringdata0)) - return static_cast(this); - return QDialog::qt_metacast(_clname); -} - -int StopWorkDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 5) - qt_static_metacall(this, _c, _id, _a); - _id -= 5; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 5) - *reinterpret_cast(_a[0]) = -1; - _id -= 5; - } - return _id; -} - -// SIGNAL 0 -void StopWorkDialog::continueTracking() -{ - QMetaObject::activate(this, &staticMetaObject, 0, nullptr); -} - -// SIGNAL 1 -void StopWorkDialog::breakTracking(const QDateTime & _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_task.cpp b/client/moc_task.cpp deleted file mode 100644 index 3a4a405..0000000 --- a/client/moc_task.cpp +++ /dev/null @@ -1,94 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'task.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "task.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'task.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_Task_t { - QByteArrayData data[1]; - char stringdata0[5]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_Task_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_Task_t qt_meta_stringdata_Task = { - { -QT_MOC_LITERAL(0, 0, 4) // "Task" - - }, - "Task" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_Task[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void Task::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject Task::staticMetaObject = { { - &QObject::staticMetaObject, - qt_meta_stringdata_Task.data, - qt_meta_data_Task, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *Task::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *Task::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_Task.stringdata0)) - return static_cast(this); - return QObject::qt_metacast(_clname); -} - -int Task::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_tasktreemodel.cpp b/client/moc_tasktreemodel.cpp deleted file mode 100644 index 2401861..0000000 --- a/client/moc_tasktreemodel.cpp +++ /dev/null @@ -1,205 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'tasktreemodel.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "tasktreemodel.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'tasktreemodel.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_TaskTreeModel_t { - QByteArrayData data[5]; - char stringdata0[35]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_TaskTreeModel_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_TaskTreeModel_t qt_meta_stringdata_TaskTreeModel = { - { -QT_MOC_LITERAL(0, 0, 13), // "TaskTreeModel" -QT_MOC_LITERAL(1, 14, 11), // "onTaskMoved" -QT_MOC_LITERAL(2, 26, 0), // "" -QT_MOC_LITERAL(3, 27, 5), // "PTask" -QT_MOC_LITERAL(4, 33, 1) // "t" - - }, - "TaskTreeModel\0onTaskMoved\0\0PTask\0t" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_TaskTreeModel[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: name, argc, parameters, tag, flags - 1, 1, 19, 2, 0x06 /* Public */, - - // signals: parameters - QMetaType::Void, 0x80000000 | 3, 4, - - 0 // eod -}; - -void TaskTreeModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->onTaskMoved((*reinterpret_cast< PTask(*)>(_a[1]))); break; - default: ; - } - } else if (_c == QMetaObject::IndexOfMethod) { - int *result = reinterpret_cast(_a[0]); - { - using _t = void (TaskTreeModel::*)(PTask ); - if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskTreeModel::onTaskMoved)) { - *result = 0; - return; - } - } - } -} - -QT_INIT_METAOBJECT const QMetaObject TaskTreeModel::staticMetaObject = { { - &QAbstractItemModel::staticMetaObject, - qt_meta_stringdata_TaskTreeModel.data, - qt_meta_data_TaskTreeModel, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *TaskTreeModel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *TaskTreeModel::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_TaskTreeModel.stringdata0)) - return static_cast(this); - return QAbstractItemModel::qt_metacast(_clname); -} - -int TaskTreeModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QAbstractItemModel::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 1) - *reinterpret_cast(_a[0]) = -1; - _id -= 1; - } - return _id; -} - -// SIGNAL 0 -void TaskTreeModel::onTaskMoved(PTask _t1) -{ - void *_a[] = { nullptr, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -struct qt_meta_stringdata_TaskItemDelegate_t { - QByteArrayData data[1]; - char stringdata0[17]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_TaskItemDelegate_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_TaskItemDelegate_t qt_meta_stringdata_TaskItemDelegate = { - { -QT_MOC_LITERAL(0, 0, 16) // "TaskItemDelegate" - - }, - "TaskItemDelegate" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_TaskItemDelegate[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void TaskItemDelegate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject TaskItemDelegate::staticMetaObject = { { - &QItemDelegate::staticMetaObject, - qt_meta_stringdata_TaskItemDelegate.data, - qt_meta_data_TaskItemDelegate, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *TaskItemDelegate::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *TaskItemDelegate::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_TaskItemDelegate.stringdata0)) - return static_cast(this); - return QItemDelegate::qt_metacast(_clname); -} - -int TaskItemDelegate::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QItemDelegate::qt_metacall(_c, _id, _a); - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_timeintervaldlg.cpp b/client/moc_timeintervaldlg.cpp deleted file mode 100644 index e518d8d..0000000 --- a/client/moc_timeintervaldlg.cpp +++ /dev/null @@ -1,118 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'timeintervaldlg.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "timeintervaldlg.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'timeintervaldlg.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_TimeIntervalDlg_t { - QByteArrayData data[4]; - char stringdata0[37]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_TimeIntervalDlg_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_TimeIntervalDlg_t qt_meta_stringdata_TimeIntervalDlg = { - { -QT_MOC_LITERAL(0, 0, 15), // "TimeIntervalDlg" -QT_MOC_LITERAL(1, 16, 11), // "dataChanged" -QT_MOC_LITERAL(2, 28, 0), // "" -QT_MOC_LITERAL(3, 29, 7) // "changed" - - }, - "TimeIntervalDlg\0dataChanged\0\0changed" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_TimeIntervalDlg[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 1, 19, 2, 0x0a /* Public */, - - // slots: parameters - QMetaType::Void, QMetaType::QDateTime, 3, - - 0 // eod -}; - -void TimeIntervalDlg::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->dataChanged((*reinterpret_cast< const QDateTime(*)>(_a[1]))); break; - default: ; - } - } -} - -QT_INIT_METAOBJECT const QMetaObject TimeIntervalDlg::staticMetaObject = { { - &QDialog::staticMetaObject, - qt_meta_stringdata_TimeIntervalDlg.data, - qt_meta_data_TimeIntervalDlg, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *TimeIntervalDlg::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *TimeIntervalDlg::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_TimeIntervalDlg.stringdata0)) - return static_cast(this); - return QDialog::qt_metacast(_clname); -} - -int TimeIntervalDlg::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 1) - *reinterpret_cast(_a[0]) = -1; - _id -= 1; - } - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_timereportwizard.cpp b/client/moc_timereportwizard.cpp deleted file mode 100644 index 1f4ffab..0000000 --- a/client/moc_timereportwizard.cpp +++ /dev/null @@ -1,451 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'timereportwizard.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "timereportwizard.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'timereportwizard.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_TaskTreePage_t { - QByteArrayData data[3]; - char stringdata0[23]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_TaskTreePage_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_TaskTreePage_t qt_meta_stringdata_TaskTreePage = { - { -QT_MOC_LITERAL(0, 0, 12), // "TaskTreePage" -QT_MOC_LITERAL(1, 13, 8), // "accepted" -QT_MOC_LITERAL(2, 22, 0) // "" - - }, - "TaskTreePage\0accepted\0" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_TaskTreePage[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 0, 19, 2, 0x0a /* Public */, - - // slots: parameters - QMetaType::Void, - - 0 // eod -}; - -void TaskTreePage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->accepted(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject TaskTreePage::staticMetaObject = { { - &QWizardPage::staticMetaObject, - qt_meta_stringdata_TaskTreePage.data, - qt_meta_data_TaskTreePage, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *TaskTreePage::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *TaskTreePage::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_TaskTreePage.stringdata0)) - return static_cast(this); - return QWizardPage::qt_metacast(_clname); -} - -int TaskTreePage::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWizardPage::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 1) - *reinterpret_cast(_a[0]) = -1; - _id -= 1; - } - return _id; -} -struct qt_meta_stringdata_CumulativeOptionPage_t { - QByteArrayData data[4]; - char stringdata0[38]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_CumulativeOptionPage_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_CumulativeOptionPage_t qt_meta_stringdata_CumulativeOptionPage = { - { -QT_MOC_LITERAL(0, 0, 20), // "CumulativeOptionPage" -QT_MOC_LITERAL(1, 21, 9), // "onChanged" -QT_MOC_LITERAL(2, 31, 0), // "" -QT_MOC_LITERAL(3, 32, 5) // "value" - - }, - "CumulativeOptionPage\0onChanged\0\0value" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_CumulativeOptionPage[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 1, 19, 2, 0x0a /* Public */, - - // slots: parameters - QMetaType::Void, QMetaType::Bool, 3, - - 0 // eod -}; - -void CumulativeOptionPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->onChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - default: ; - } - } -} - -QT_INIT_METAOBJECT const QMetaObject CumulativeOptionPage::staticMetaObject = { { - &QWizardPage::staticMetaObject, - qt_meta_stringdata_CumulativeOptionPage.data, - qt_meta_data_CumulativeOptionPage, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *CumulativeOptionPage::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *CumulativeOptionPage::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_CumulativeOptionPage.stringdata0)) - return static_cast(this); - return QWizardPage::qt_metacast(_clname); -} - -int CumulativeOptionPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWizardPage::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 1) - *reinterpret_cast(_a[0]) = -1; - _id -= 1; - } - return _id; -} -struct qt_meta_stringdata_DateIntervalPage_t { - QByteArrayData data[1]; - char stringdata0[17]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_DateIntervalPage_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_DateIntervalPage_t qt_meta_stringdata_DateIntervalPage = { - { -QT_MOC_LITERAL(0, 0, 16) // "DateIntervalPage" - - }, - "DateIntervalPage" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_DateIntervalPage[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void DateIntervalPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject DateIntervalPage::staticMetaObject = { { - &QWizardPage::staticMetaObject, - qt_meta_stringdata_DateIntervalPage.data, - qt_meta_data_DateIntervalPage, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *DateIntervalPage::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *DateIntervalPage::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_DateIntervalPage.stringdata0)) - return static_cast(this); - return QWizardPage::qt_metacast(_clname); -} - -int DateIntervalPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWizardPage::qt_metacall(_c, _id, _a); - return _id; -} -struct qt_meta_stringdata_ReportViewPage_t { - QByteArrayData data[1]; - char stringdata0[15]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_ReportViewPage_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_ReportViewPage_t qt_meta_stringdata_ReportViewPage = { - { -QT_MOC_LITERAL(0, 0, 14) // "ReportViewPage" - - }, - "ReportViewPage" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_ReportViewPage[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -void ReportViewPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject ReportViewPage::staticMetaObject = { { - &QWizardPage::staticMetaObject, - qt_meta_stringdata_ReportViewPage.data, - qt_meta_data_ReportViewPage, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *ReportViewPage::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *ReportViewPage::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_ReportViewPage.stringdata0)) - return static_cast(this); - return QWizardPage::qt_metacast(_clname); -} - -int ReportViewPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWizardPage::qt_metacall(_c, _id, _a); - return _id; -} -struct qt_meta_stringdata_TimeReportWizard_t { - QByteArrayData data[5]; - char stringdata0[58]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_TimeReportWizard_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_TimeReportWizard_t qt_meta_stringdata_TimeReportWizard = { - { -QT_MOC_LITERAL(0, 0, 16), // "TimeReportWizard" -QT_MOC_LITERAL(1, 17, 14), // "wizardFinished" -QT_MOC_LITERAL(2, 32, 0), // "" -QT_MOC_LITERAL(3, 33, 17), // "wizardPageChanged" -QT_MOC_LITERAL(4, 51, 6) // "pageId" - - }, - "TimeReportWizard\0wizardFinished\0\0" - "wizardPageChanged\0pageId" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_TimeReportWizard[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 0, 24, 2, 0x0a /* Public */, - 3, 1, 25, 2, 0x0a /* Public */, - - // slots: parameters - QMetaType::Void, - QMetaType::Void, QMetaType::Int, 4, - - 0 // eod -}; - -void TimeReportWizard::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->wizardFinished(); break; - case 1: _t->wizardPageChanged((*reinterpret_cast< int(*)>(_a[1]))); break; - default: ; - } - } -} - -QT_INIT_METAOBJECT const QMetaObject TimeReportWizard::staticMetaObject = { { - &QWizard::staticMetaObject, - qt_meta_stringdata_TimeReportWizard.data, - qt_meta_data_TimeReportWizard, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *TimeReportWizard::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *TimeReportWizard::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_TimeReportWizard.stringdata0)) - return static_cast(this); - return QWizard::qt_metacast(_clname); -} - -int TimeReportWizard::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWizard::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 2) - *reinterpret_cast(_a[0]) = -1; - _id -= 2; - } - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/moc_timetreedlg.cpp b/client/moc_timetreedlg.cpp deleted file mode 100644 index b43a64d..0000000 --- a/client/moc_timetreedlg.cpp +++ /dev/null @@ -1,131 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'timetreedlg.h' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "timetreedlg.h" -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'timetreedlg.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.12.2. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -QT_WARNING_PUSH -QT_WARNING_DISABLE_DEPRECATED -struct qt_meta_stringdata_TimeTreeDlg_t { - QByteArrayData data[6]; - char stringdata0[77]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_TimeTreeDlg_t, stringdata0) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_TimeTreeDlg_t qt_meta_stringdata_TimeTreeDlg = { - { -QT_MOC_LITERAL(0, 0, 11), // "TimeTreeDlg" -QT_MOC_LITERAL(1, 12, 11), // "addInterval" -QT_MOC_LITERAL(2, 24, 0), // "" -QT_MOC_LITERAL(3, 25, 14), // "removeInterval" -QT_MOC_LITERAL(4, 40, 14), // "changeInterval" -QT_MOC_LITERAL(5, 55, 21) // "onNewIntervalAccepted" - - }, - "TimeTreeDlg\0addInterval\0\0removeInterval\0" - "changeInterval\0onNewIntervalAccepted" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_TimeTreeDlg[] = { - - // content: - 8, // revision - 0, // classname - 0, 0, // classinfo - 4, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 0, 34, 2, 0x0a /* Public */, - 3, 0, 35, 2, 0x0a /* Public */, - 4, 0, 36, 2, 0x0a /* Public */, - 5, 0, 37, 2, 0x0a /* Public */, - - // slots: parameters - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - QMetaType::Void, - - 0 // eod -}; - -void TimeTreeDlg::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - auto *_t = static_cast(_o); - Q_UNUSED(_t) - switch (_id) { - case 0: _t->addInterval(); break; - case 1: _t->removeInterval(); break; - case 2: _t->changeInterval(); break; - case 3: _t->onNewIntervalAccepted(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -QT_INIT_METAOBJECT const QMetaObject TimeTreeDlg::staticMetaObject = { { - &QDialog::staticMetaObject, - qt_meta_stringdata_TimeTreeDlg.data, - qt_meta_data_TimeTreeDlg, - qt_static_metacall, - nullptr, - nullptr -} }; - - -const QMetaObject *TimeTreeDlg::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *TimeTreeDlg::qt_metacast(const char *_clname) -{ - if (!_clname) return nullptr; - if (!strcmp(_clname, qt_meta_stringdata_TimeTreeDlg.stringdata0)) - return static_cast(this); - return QDialog::qt_metacast(_clname); -} - -int TimeTreeDlg::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 4) - qt_static_metacall(this, _c, _id, _a); - _id -= 4; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 4) - *reinterpret_cast(_a[0]) = -1; - _id -= 4; - } - return _id; -} -QT_WARNING_POP -QT_END_MOC_NAMESPACE diff --git a/client/platforms/hidtracker.cpp b/client/platforms/hidtracker.cpp index d48040e..b712a3e 100644 --- a/client/platforms/hidtracker.cpp +++ b/client/platforms/hidtracker.cpp @@ -7,17 +7,17 @@ #endif HIDActivityTracker::HIDActivityTracker() - :mInterval(600), mTrackerActive(false), mState(None) + :mInterval(600), mTrackerActive(false), mState(None) { #ifdef TARGET_OSX - mImpl = new HIDTrackerImplOSX(); - mImpl->setInterval(mInterval); + mImpl = new HIDTrackerImplOSX(); + mImpl->setInterval(mInterval); #endif - // Check timer belongs to this object - mCheckTimer = new QTimer(this); - mCheckTimer->setSingleShot(false); - connect(mCheckTimer, SIGNAL(timeout()), this, SLOT(checkState())); + // Check timer belongs to this object + mCheckTimer = new QTimer(this); + mCheckTimer->setSingleShot(false); + connect(mCheckTimer, SIGNAL(timeout()), this, SLOT(checkState())); } HIDActivityTracker::~HIDActivityTracker() @@ -26,131 +26,131 @@ HIDActivityTracker::~HIDActivityTracker() bool HIDActivityTracker::isPossible() { - if (!mImpl) - return false; - return mImpl->isPossible(); + if (!mImpl) + return false; + return mImpl->isPossible(); } void HIDActivityTracker::setInterval(int seconds) { - if (mImpl) - mImpl->setInterval(seconds); + if (mImpl) + mImpl->setInterval(seconds); - mInterval = seconds; + mInterval = seconds; } int HIDActivityTracker::interval() const { - return mInterval; + return mInterval; } bool HIDActivityTracker::isTrackerActive() { - return mTrackerActive; + return mTrackerActive; } bool HIDActivityTracker::start() { - if (mTrackerActive) - return true; + if (mTrackerActive) + return true; - if (mImpl) - mTrackerActive = mImpl->start(); + if (mImpl) + mTrackerActive = mImpl->start(); - mState = None; - mIdleSignalSent = false; - mActivitySignalSent = false; - if (mTrackerActive) - mCheckTimer->start(1000); + mState = None; + mIdleSignalSent = false; + mActivitySignalSent = false; + if (mTrackerActive) + mCheckTimer->start(1000); - return mTrackerActive; + return mTrackerActive; } void HIDActivityTracker::stop() { - if (!mTrackerActive) - return; + if (!mTrackerActive) + return; - if (mImpl) - mImpl->stop(); + if (mImpl) + mImpl->stop(); - mState = None; - mCheckTimer->stop(); - mTrackerActive = false; + mState = None; + mCheckTimer->stop(); + mTrackerActive = false; } bool HIDActivityTracker::isUserActive() { - if (!mImpl) - return true; + if (!mImpl) + return true; - return mImpl->isUserActive(); + return mImpl->isUserActive(); } void HIDActivityTracker::resetUserActive() { - if (!mImpl) - return; - mState = None; - mImpl->resetUserActive(); + if (!mImpl) + return; + mState = None; + mImpl->resetUserActive(); } void HIDActivityTracker::acceptIdleState() { - mState = Idle; + mState = Idle; } void HIDActivityTracker::acceptUserActiveState() { - mState = UserActive; + mState = UserActive; } void HIDActivityTracker::checkState() { - if (!mTrackerActive) - return; + if (!mTrackerActive) + return; - // Now activity tracker is started, check if there was user activity during interval - if (!mImpl->isUserActive()) - { - switch (mState) + // Now activity tracker is started, check if there was user activity during interval + if (!mImpl->isUserActive()) { - case None: - mState = Idle; - break; + switch (mState) + { + case None: + mState = Idle; + break; - case Idle: - break; + case Idle: + break; - case UserActive: - if (!mIdleSignalSent) - { - mIdleSignalSent = true; - mActivitySignalSent = false; - emit idleDetected(); - } - break; + case UserActive: + if (!mIdleSignalSent) + { + mIdleSignalSent = true; + mActivitySignalSent = false; + emit idleDetected(); + } + break; + } } - } - else - { - switch (mState) + else { - case None: - mState = UserActive; - break; + switch (mState) + { + case None: + mState = UserActive; + break; - case UserActive: - break; + case UserActive: + break; - case Idle: - if (!mActivitySignalSent) - { - mActivitySignalSent = true; - mIdleSignalSent = false; - emit activityDetected(); - } - break; + case Idle: + if (!mActivitySignalSent) + { + mActivitySignalSent = true; + mIdleSignalSent = false; + emit activityDetected(); + } + break; + } } - } } diff --git a/client/platforms/hidtracker.h b/client/platforms/hidtracker.h index 5c06ccd..5939f20 100644 --- a/client/platforms/hidtracker.h +++ b/client/platforms/hidtracker.h @@ -3,52 +3,53 @@ class HIDActivityTrackerImpl; class QTimer; + #include class HIDActivityTracker: public QObject { - Q_OBJECT + Q_OBJECT public: - HIDActivityTracker(); - virtual ~HIDActivityTracker(); + HIDActivityTracker(); + virtual ~HIDActivityTracker(); - bool isPossible(); + bool isPossible(); - void setInterval(int seconds); - int interval() const; + void setInterval(int seconds); + int interval() const; - bool isTrackerActive(); - bool start(); - void stop(); - bool isUserActive(); - void resetUserActive(); + bool isTrackerActive(); + bool start(); + void stop(); + bool isUserActive(); + void resetUserActive(); - // These methods must be called in response to idleDetected() / activityDetected() signals - void acceptIdleState(); - void acceptUserActiveState(); + // These methods must be called in response to idleDetected() / activityDetected() signals + void acceptIdleState(); + void acceptUserActiveState(); signals: - void idleDetected(); - void activityDetected(); + void idleDetected(); + void activityDetected(); protected: - int mInterval; - HIDActivityTrackerImpl* mImpl; - bool mTrackerActive; - QTimer* mCheckTimer; - enum State - { - None, - Idle, - UserActive - }; - State mState; - bool mIdleSignalSent = false; - bool mActivitySignalSent = false; + int mInterval; + HIDActivityTrackerImpl* mImpl; + bool mTrackerActive; + QTimer* mCheckTimer; + enum State + { + None, + Idle, + UserActive + }; + State mState; + bool mIdleSignalSent = false; + bool mActivitySignalSent = false; protected slots: - void checkState(); + void checkState(); }; #endif diff --git a/client/qtkeychain/CMakeLists.txt b/client/qtkeychain/CMakeLists.txt index 4449bc2..160d002 100644 --- a/client/qtkeychain/CMakeLists.txt +++ b/client/qtkeychain/CMakeLists.txt @@ -18,9 +18,9 @@ include(ECMSetupVersion) include(ECMGeneratePriFile) option(BUILD_WITH_QT4 "Build qtkeychain with Qt4 no matter if Qt5 was found" OFF) -option(BUILD_TEST_APPLICATION "Build test application" ON) +option(BUILD_TEST_APPLICATION "Build test application" OFF) option(BUILD_TRANSLATIONS "Build translations" ON) -option(QTKEYCHAIN_STATIC "Build static library" OFF) +option(QTKEYCHAIN_STATIC "Build static library" ON) if(CMAKE_SYSTEM_NAME STREQUAL Android) set(ANDROID 1) @@ -40,73 +40,73 @@ if( NOT BUILD_WITH_QT4 ) endif() if (Qt5Core_FOUND AND NOT BUILD_WITH_QT4) - set(QTKEYCHAIN_VERSION_INFIX 5) + set(QTKEYCHAIN_VERSION_INFIX 5) - if(UNIX AND NOT APPLE AND NOT ANDROID) - find_package(Qt5DBus REQUIRED) - include_directories(${Qt5DBus_INCLUDE_DIRS}) - set(QTDBUS_LIBRARIES ${Qt5DBus_LIBRARIES}) - macro(qt_add_dbus_interface) - qt5_add_dbus_interface(${ARGN}) + if(UNIX AND NOT APPLE AND NOT ANDROID) + find_package(Qt5DBus REQUIRED) + include_directories(${Qt5DBus_INCLUDE_DIRS}) + set(QTDBUS_LIBRARIES ${Qt5DBus_LIBRARIES}) + macro(qt_add_dbus_interface) + qt5_add_dbus_interface(${ARGN}) + endmacro() + endif() + + if(BUILD_TRANSLATIONS) + find_package(Qt5LinguistTools REQUIRED) + macro(qt_add_translation) + qt5_add_translation(${ARGN}) + endmacro(qt_add_translation) + macro(qt_create_translation) + qt5_create_translation(${ARGN}) + endmacro(qt_create_translation) + endif() + + macro(qt_wrap_cpp) + qt5_wrap_cpp(${ARGN}) endmacro() - endif() - if(BUILD_TRANSLATIONS) - find_package(Qt5LinguistTools REQUIRED) + set(QTCORE_LIBRARIES ${Qt5Core_LIBRARIES}) + include_directories(${Qt5Core_INCLUDE_DIRS}) + + if (NOT Qt5Core_VERSION VERSION_LESS "5.7.0") + if (CMAKE_COMPILER_IS_GNUCXX) + if ((NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.7.0") AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "6.1.0")) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + elseif(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.7.0") + message(FATAL_ERROR "Can't build QtKeychain using g++-${CMAKE_CXX_COMPILER_VERSION} and Qt ${Qt5Core_VERSION}: compiler supporting C++11 is required") + endif() + elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") + if (NOT ${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS 3.3) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + else() + message(FATAL_ERROR "Can't build QtKeychain using clang++-${CMAKE_CXX_COMPILER_VERSION} and Qt ${Qt5Core_VERSION}: compiler supporting C++11 is required") + endif() + elseif ((CMAKE_CXX_COMPILER_ID MATCHES "MSVC") AND (MSVC_VERSION LESS 1700)) + message(FATAL_ERROR "Can't build QtKeychain using VC++-${MSVC_VERSION} and Qt ${Qt5Core_VERSION}: compiler supporting C++11 is required") + endif() + endif() +else() + set(QTKEYCHAIN_VERSION_INFIX "") + if(UNIX AND NOT APPLE) + find_package(Qt4 COMPONENTS QtCore QtDBus REQUIRED) + set(QTDBUS_LIBRARIES ${QT_QTDBUS_LIBRARY}) + macro(qt_add_dbus_interface) + qt4_add_dbus_interface(${ARGN}) + endmacro() + else() + find_package(Qt4 COMPONENTS QtCore REQUIRED) + endif() + include_directories(${QT_INCLUDES}) + set(QTCORE_LIBRARIES ${QT_QTCORE_LIBRARY}) macro(qt_add_translation) - qt5_add_translation(${ARGN}) + qt4_add_translation(${ARGN}) endmacro(qt_add_translation) macro(qt_create_translation) - qt5_create_translation(${ARGN}) + qt4_create_translation(${ARGN}) endmacro(qt_create_translation) - endif() - - macro(qt_wrap_cpp) - qt5_wrap_cpp(${ARGN}) - endmacro() - - set(QTCORE_LIBRARIES ${Qt5Core_LIBRARIES}) - include_directories(${Qt5Core_INCLUDE_DIRS}) - - if (NOT Qt5Core_VERSION VERSION_LESS "5.7.0") - if (CMAKE_COMPILER_IS_GNUCXX) - if ((NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.7.0") AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "6.1.0")) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") - elseif(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.7.0") - message(FATAL_ERROR "Can't build QtKeychain using g++-${CMAKE_CXX_COMPILER_VERSION} and Qt ${Qt5Core_VERSION}: compiler supporting C++11 is required") - endif() - elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") - if (NOT ${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS 3.3) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") - else() - message(FATAL_ERROR "Can't build QtKeychain using clang++-${CMAKE_CXX_COMPILER_VERSION} and Qt ${Qt5Core_VERSION}: compiler supporting C++11 is required") - endif() - elseif ((CMAKE_CXX_COMPILER_ID MATCHES "MSVC") AND (MSVC_VERSION LESS 1700)) - message(FATAL_ERROR "Can't build QtKeychain using VC++-${MSVC_VERSION} and Qt ${Qt5Core_VERSION}: compiler supporting C++11 is required") - endif() - endif() -else() - set(QTKEYCHAIN_VERSION_INFIX "") - if(UNIX AND NOT APPLE) - find_package(Qt4 COMPONENTS QtCore QtDBus REQUIRED) - set(QTDBUS_LIBRARIES ${QT_QTDBUS_LIBRARY}) - macro(qt_add_dbus_interface) - qt4_add_dbus_interface(${ARGN}) + macro(qt_wrap_cpp) + qt4_wrap_cpp(${ARGN}) endmacro() - else() - find_package(Qt4 COMPONENTS QtCore REQUIRED) - endif() - include_directories(${QT_INCLUDES}) - set(QTCORE_LIBRARIES ${QT_QTCORE_LIBRARY}) - macro(qt_add_translation) - qt4_add_translation(${ARGN}) - endmacro(qt_add_translation) - macro(qt_create_translation) - qt4_create_translation(${ARGN}) - endmacro(qt_create_translation) - macro(qt_wrap_cpp) - qt4_wrap_cpp(${ARGN}) - endmacro() endif() @@ -117,7 +117,7 @@ set(qtkeychain_SOURCES keychain.cpp qkeychain_export.h keychain.h -) + ) add_definitions( -Wall ) @@ -168,9 +168,9 @@ endif() QT_WRAP_CPP(qtkeychain_MOC_OUTFILES keychain.h keychain_p.h gnomekeyring_p.h) set(qtkeychain_TR_FILES - translations/qtkeychain_de.ts - translations/qtkeychain_ro.ts -) + translations/qtkeychain_de.ts + translations/qtkeychain_ro.ts + ) file(GLOB qtkeychain_TR_SOURCES *.cpp *.h *.ui) if ( BUILD_TRANSLATIONS ) @@ -180,23 +180,23 @@ if ( BUILD_TRANSLATIONS ) add_custom_target(translations DEPENDS ${qtkeychain_QM_FILES}) if(NOT QT_TRANSLATIONS_DIR) - # If this directory is missing, we are in a Qt5 environment. - # Extract the qmake executable location - get_target_property(QT5_QMAKE_EXECUTABLE Qt5::qmake IMPORTED_LOCATION) - # Ask Qt5 where to put the translations - execute_process( COMMAND ${QT5_QMAKE_EXECUTABLE} -query QT_INSTALL_TRANSLATIONS - OUTPUT_VARIABLE qt_translations_dir OUTPUT_STRIP_TRAILING_WHITESPACE ) - # make sure we have / and not \ as qmake gives on windows - file( TO_CMAKE_PATH "${qt_translations_dir}" qt_translations_dir) - set( QT_TRANSLATIONS_DIR ${qt_translations_dir} CACHE PATH - "The location of the Qt translations" FORCE) + # If this directory is missing, we are in a Qt5 environment. + # Extract the qmake executable location + get_target_property(QT5_QMAKE_EXECUTABLE Qt5::qmake IMPORTED_LOCATION) + # Ask Qt5 where to put the translations + execute_process( COMMAND ${QT5_QMAKE_EXECUTABLE} -query QT_INSTALL_TRANSLATIONS + OUTPUT_VARIABLE qt_translations_dir OUTPUT_STRIP_TRAILING_WHITESPACE ) + # make sure we have / and not \ as qmake gives on windows + file( TO_CMAKE_PATH "${qt_translations_dir}" qt_translations_dir) + set( QT_TRANSLATIONS_DIR ${qt_translations_dir} CACHE PATH + "The location of the Qt translations" FORCE) endif() install(FILES ${qtkeychain_QM_FILES} - DESTINATION ${QT_TRANSLATIONS_DIR}) + DESTINATION ${QT_TRANSLATIONS_DIR}) endif( BUILD_TRANSLATIONS ) -set(QTKEYCHAIN_TARGET_NAME qt${QTKEYCHAIN_VERSION_INFIX}keychain) +set(QTKEYCHAIN_TARGET_NAME qtkeychain) if(NOT QTKEYCHAIN_STATIC) add_library(${QTKEYCHAIN_TARGET_NAME} SHARED ${qtkeychain_SOURCES} ${qtkeychain_MOC_OUTFILES} ${qtkeychain_QM_FILES}) else() @@ -207,9 +207,9 @@ target_link_libraries(${QTKEYCHAIN_TARGET_NAME} PUBLIC ${qtkeychain_LIBRARIES}) target_include_directories(${QTKEYCHAIN_TARGET_NAME} PUBLIC $) generate_export_header(${QTKEYCHAIN_TARGET_NAME} - EXPORT_FILE_NAME qkeychain_export.h - EXPORT_MACRO_NAME QKEYCHAIN_EXPORT -) + EXPORT_FILE_NAME qkeychain_export.h + EXPORT_MACRO_NAME QKEYCHAIN_EXPORT + ) set_target_properties(${QTKEYCHAIN_TARGET_NAME} PROPERTIES VERSION ${QTKEYCHAIN_VERSION} @@ -217,18 +217,18 @@ set_target_properties(${QTKEYCHAIN_TARGET_NAME} PROPERTIES MACOSX_RPATH 1 INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}" INSTALL_RPATH_USE_LINK_PATH TRUE -) + ) install(FILES keychain.h ${CMAKE_CURRENT_BINARY_DIR}/qkeychain_export.h - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/qt${QTKEYCHAIN_VERSION_INFIX}keychain/ -) + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/qt${QTKEYCHAIN_VERSION_INFIX}keychain/ + ) install(TARGETS ${QTKEYCHAIN_TARGET_NAME} - EXPORT Qt${QTKEYCHAIN_VERSION_INFIX}KeychainLibraryDepends - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} -) + EXPORT Qt${QTKEYCHAIN_VERSION_INFIX}KeychainLibraryDepends + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + ) if(BUILD_TEST_APPLICATION) add_executable( testclient testclient.cpp ) @@ -241,31 +241,31 @@ endif() ### ecm_configure_package_config_file("${CMAKE_CURRENT_SOURCE_DIR}/QtKeychainConfig.cmake.in" - "${CMAKE_CURRENT_BINARY_DIR}/Qt${QTKEYCHAIN_VERSION_INFIX}KeychainConfig.cmake" - INSTALL_DESTINATION Qt${QTKEYCHAIN_VERSION_INFIX}Keychain) + "${CMAKE_CURRENT_BINARY_DIR}/Qt${QTKEYCHAIN_VERSION_INFIX}KeychainConfig.cmake" + INSTALL_DESTINATION Qt${QTKEYCHAIN_VERSION_INFIX}Keychain) ecm_setup_version("${QTKEYCHAIN_VERSION}" VARIABLE_PREFIX SNORE - PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/Qt${QTKEYCHAIN_VERSION_INFIX}KeychainConfigVersion.cmake" - SOVERSION ${QTKEYCHAIN_VERSION}) + PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/Qt${QTKEYCHAIN_VERSION_INFIX}KeychainConfigVersion.cmake" + SOVERSION ${QTKEYCHAIN_VERSION}) if(UNIX AND NOT APPLE AND NOT ANDROID) set(PRI_EXTRA_DEPS "dbus") endif() ecm_generate_pri_file(BASE_NAME Qt${QTKEYCHAIN_VERSION_INFIX}Keychain - LIB_NAME ${QTKEYCHAIN_TARGET_NAME} - DEPS "core ${PRI_EXTRA_DEPS}" - INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_INCLUDEDIR} - FILENAME_VAR pri_filename) + LIB_NAME ${QTKEYCHAIN_TARGET_NAME} + DEPS "core ${PRI_EXTRA_DEPS}" + INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_INCLUDEDIR} + FILENAME_VAR pri_filename) install(FILES ${pri_filename} DESTINATION ${ECM_MKSPECS_INSTALL_DIR}) install(EXPORT Qt${QTKEYCHAIN_VERSION_INFIX}KeychainLibraryDepends DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/Qt${QTKEYCHAIN_VERSION_INFIX}Keychain" -) + ) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/Qt${QTKEYCHAIN_VERSION_INFIX}KeychainConfig.cmake - ${CMAKE_CURRENT_BINARY_DIR}/Qt${QTKEYCHAIN_VERSION_INFIX}KeychainConfigVersion.cmake - DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/Qt${QTKEYCHAIN_VERSION_INFIX}Keychain -) + ${CMAKE_CURRENT_BINARY_DIR}/Qt${QTKEYCHAIN_VERSION_INFIX}KeychainConfigVersion.cmake + DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/Qt${QTKEYCHAIN_VERSION_INFIX}Keychain + ) diff --git a/client/qtkeychain/translations/qtkeychain_de.ts b/client/qtkeychain/translations/qtkeychain_de.ts index 6610c0a..18eeba0 100644 --- a/client/qtkeychain/translations/qtkeychain_de.ts +++ b/client/qtkeychain/translations/qtkeychain_de.ts @@ -1,66 +1,136 @@ - + + + QKeychain::DeletePasswordJobPrivate + + + Password entry not found + + + + + Could not decrypt data + Kann Daten nicht entschlüsseln + + + + + Unknown error + Unbekannter Fehler + + + + Could not open wallet: %1; %2 + Konnte Brieftasche nicht öffnen: %1; %2 + + + + QKeychain::JobPrivate + + + Unknown error + Unbekannter Fehler + + + + Access to keychain denied + Zugriff auf Schlüsselbund verweigert + + + + QKeychain::PlainTextStore + + + Could not store data in settings: access error + + + + + Could not store data in settings: format error + + + + + Could not delete data from settings: access error + + + + + Could not delete data from settings: format error + + + + + Entry not found + Eintrag nicht gefunden + + QKeychain::ReadPasswordJobPrivate - + + Unknown error Unbekannter Fehler - + D-Bus is not running - + No keychain service available Kein Schlüsselbund-Dienst verfügbar - + Could not open wallet: %1; %2 Konnte Brieftasche nicht öffnen: %1; %2 - + Access to keychain denied Zugriff auf Schlüsselbund verweigert - + Could not determine data type: %1; %2 Datentyp kann nicht ermittelt werden: %1: %2 - + Unsupported entry type 'Map' - + Unknown kwallet entry type '%1' - Could not read password: %1; %2 - Passwort konnte nicht ausgelesen werden: %1; %2 + Passwort konnte nicht ausgelesen werden: %1; %2 - + Password not found Passwort nicht gefunden - - + Entry not found Eintrag nicht gefunden - + + Password entry not found + + + + + Could not decrypt data Kann Daten nicht entschlüsseln @@ -68,110 +138,128 @@ QKeychain::WritePasswordJobPrivate - - + + Unknown error Unbekannter Fehler - + D-Bus is not running - - + Could not open wallet: %1; %2 Konnte Brieftasche nicht öffnen: %1; %2 - Access to keychain denied - Zugriff auf Schlüsselbund verweigert + Zugriff auf Schlüsselbund verweigert - Could not delete encrypted data from settings: access error - Kann verschlüsselte Daten nicht aus den Einstellungen entfernen: Zugriffsfehler + Kann verschlüsselte Daten nicht aus den Einstellungen entfernen: Zugriffsfehler - Could not delete encrypted data from settings: format error - Kann verschlüsselte Daten nicht aus den Einstellungen entfernen: Formatfehler + Kann verschlüsselte Daten nicht aus den Einstellungen entfernen: Formatfehler - + + Credential size exceeds maximum size of %1 + + + + + Credential key exceeds maximum size of %1 + + + + + Writing credentials failed: Win32 error code %1 + + + + Encryption failed Verschlüsselung fehlgeschlagen - Could not store encrypted data in settings: access error - Kann verschlüsselte Daten nicht in den Einstellungen speichern: Zugriffsfehler + Kann verschlüsselte Daten nicht in den Einstellungen speichern: Zugriffsfehler - Could not store encrypted data in settings: format error - Kann verschlüsselte Daten nicht in den Einstellungen speichern: Formatfehler + Kann verschlüsselte Daten nicht in den Einstellungen speichern: Formatfehler QObject - + Access to keychain denied Zugriff auf Schlüsselbund verweigert - + No keyring daemon Kein Schlüsselbund-Dienst - + Already unlocked Bereits entsperrt - + No such keyring Kein solcher Schlüsselbund - + Bad arguments Ungültige Argumente - + I/O error Ein-/Ausgabe-Fehler - + Cancelled Abgebrochen - + Keyring already exists Schlüsselbund existiert bereits - + No match Kein Treffer - + Unknown error Unbekannter Fehler - + OS X Keychain error (OSStatus %1) + + + + %1 (OSStatus %2) + + + Entry not found + Eintrag nicht gefunden + diff --git a/client/qtkeychain/translations/qtkeychain_ro.ts b/client/qtkeychain/translations/qtkeychain_ro.ts index 337f1aa..7a2b43e 100644 --- a/client/qtkeychain/translations/qtkeychain_ro.ts +++ b/client/qtkeychain/translations/qtkeychain_ro.ts @@ -1,67 +1,137 @@ - + + + QKeychain::DeletePasswordJobPrivate + + + Password entry not found + + + + + Could not decrypt data + Nu se poate decripta data + + + + + Unknown error + Eroare necunoscută + + + + Could not open wallet: %1; %2 + Nu se poate deschide portofelul: %1; %2 + + + + QKeychain::JobPrivate + + + Unknown error + Eroare necunoscută + + + + Access to keychain denied + Acces interzis la serviciul de chei + + + + QKeychain::PlainTextStore + + + Could not store data in settings: access error + + + + + Could not store data in settings: format error + + + + + Could not delete data from settings: access error + + + + + Could not delete data from settings: format error + + + + + Entry not found + Înregistrarea nu a fost găsită + + QKeychain::ReadPasswordJobPrivate - + + Unknown error Eroare necunoscută - + D-Bus is not running D-Bus nu rulează - + No keychain service available Nu există niciun serviciu de chei disponibil Kein Schlüsselbund-Dienst verfügbar - + Could not open wallet: %1; %2 Nu se poate deschide portofelul: %1; %2 - + Access to keychain denied Acces interzis la serviciul de chei - + Could not determine data type: %1; %2 Nu se poate stabili tipul de date: %1: %2 - + Unsupported entry type 'Map' Tip de înregistrare nesuportat 'Map' - + Unknown kwallet entry type '%1' Tip de înregistrare kwallet necunoscut '%1' - Could not read password: %1; %2 - Nu se poate citi parola: %1; %2 + Nu se poate citi parola: %1; %2 - + Password not found Parola nu a fost găsită - - + Entry not found Înregistrarea nu a fost găsită - + + Password entry not found + + + + + Could not decrypt data Nu se poate decripta data @@ -69,110 +139,128 @@ QKeychain::WritePasswordJobPrivate - - + + Unknown error Eroare necunoscută - + D-Bus is not running D-Bus nu rulează - - + Could not open wallet: %1; %2 Nu se poate deschide portofelul: %1; %2 - Access to keychain denied - Acces interzis la serviciul de chei + Acces interzis la serviciul de chei - Could not delete encrypted data from settings: access error - Nu se pot șterge datele criptate din setări: eroare de acces + Nu se pot șterge datele criptate din setări: eroare de acces - Could not delete encrypted data from settings: format error - Nu se pot șterge datele criptate din setări: eroare de format + Nu se pot șterge datele criptate din setări: eroare de format - + + Credential size exceeds maximum size of %1 + + + + + Credential key exceeds maximum size of %1 + + + + + Writing credentials failed: Win32 error code %1 + + + + Encryption failed Criptarea a eșuat - Could not store encrypted data in settings: access error - Nu se pot stoca datele criptate în setări: eroare de acces + Nu se pot stoca datele criptate în setări: eroare de acces - Could not store encrypted data in settings: format error - Nu se pot stoca datele criptate în setări: eroare de format + Nu se pot stoca datele criptate în setări: eroare de format QObject - + Access to keychain denied Acces interzis la serviciul de chei - + No keyring daemon Niciun demon pentru inelul de chei - + Already unlocked Deja deblocat - + No such keyring Nu există astfel de inel de chei - + Bad arguments Argumente greșite - + I/O error Eroare de I/E - + Cancelled Anulat - + Keyring already exists Inelul de chei deja există - + No match Nicio potrivire - + Unknown error Eroare necunoscută - + OS X Keychain error (OSStatus %1) + + + + %1 (OSStatus %2) %1 (OSStatus %2) + + + Entry not found + Înregistrarea nu a fost găsită + diff --git a/client/sqlitecpp/CMakeLists.txt b/client/sqlitecpp/CMakeLists.txt index 9e50c9b..d8aa8aa 100644 --- a/client/sqlitecpp/CMakeLists.txt +++ b/client/sqlitecpp/CMakeLists.txt @@ -61,79 +61,69 @@ set(CPPLINT_ARG_LINELENGTH "--linelength=120") # list of sources files of the library set(SQLITECPP_SRC - ${PROJECT_SOURCE_DIR}/src/Column.cpp - ${PROJECT_SOURCE_DIR}/src/Database.cpp - ${PROJECT_SOURCE_DIR}/src/Statement.cpp - ${PROJECT_SOURCE_DIR}/src/Transaction.cpp -) + ${PROJECT_SOURCE_DIR}/src/Column.cpp + ${PROJECT_SOURCE_DIR}/src/Database.cpp + ${PROJECT_SOURCE_DIR}/src/Statement.cpp + ${PROJECT_SOURCE_DIR}/src/Transaction.cpp + ) source_group(src FILES ${SQLITECPP_SRC}) # list of header files of the library set(SQLITECPP_INC - ${PROJECT_SOURCE_DIR}/include/SQLiteCpp/SQLiteCpp.h - ${PROJECT_SOURCE_DIR}/include/SQLiteCpp/Assertion.h - ${PROJECT_SOURCE_DIR}/include/SQLiteCpp/Column.h - ${PROJECT_SOURCE_DIR}/include/SQLiteCpp/Database.h - ${PROJECT_SOURCE_DIR}/include/SQLiteCpp/Exception.h - ${PROJECT_SOURCE_DIR}/include/SQLiteCpp/Statement.h - ${PROJECT_SOURCE_DIR}/include/SQLiteCpp/Transaction.h -) + ${PROJECT_SOURCE_DIR}/include/SQLiteCpp/SQLiteCpp.h + ${PROJECT_SOURCE_DIR}/include/SQLiteCpp/Assertion.h + ${PROJECT_SOURCE_DIR}/include/SQLiteCpp/Column.h + ${PROJECT_SOURCE_DIR}/include/SQLiteCpp/Database.h + ${PROJECT_SOURCE_DIR}/include/SQLiteCpp/Exception.h + ${PROJECT_SOURCE_DIR}/include/SQLiteCpp/Statement.h + ${PROJECT_SOURCE_DIR}/include/SQLiteCpp/Transaction.h + ) source_group(inc FILES ${SQLITECPP_INC}) # list of test files of the library set(SQLITECPP_TESTS - tests/Database_test.cpp - tests/Statement_test.cpp -) + tests/Database_test.cpp + tests/Statement_test.cpp + ) source_group(tests FILES ${SQLITECPP_TESTS}) # list of example files of the library set(SQLITECPP_EXAMPLES - examples/example1/main.cpp -) + examples/example1/main.cpp + ) source_group(example1 FILES ${SQLITECPP_EXAMPLES}) # list of doc files of the library set(SQLITECPP_DOC - README.md - WRAPPERS.md - LICENSE.txt - TODO.txt -) + README.md + WRAPPERS.md + LICENSE.txt + TODO.txt + ) source_group(doc FILES ${SQLITECPP_DOC}) # All includes are relative to the "include" directory -include_directories("${PROJECT_SOURCE_DIR}/include") # add sources of the wrapper as a "SQLiteCpp" static library add_library(SQLiteCpp ${SQLITECPP_SRC} ${SQLITECPP_INC} ${SQLITECPP_DOC}) +target_include_directories(SQLiteCpp PUBLIC + ${CMAKE_CURRENT_SOURCE_DIR}/sqlite3 + ${CMAKE_CURRENT_SOURCE_DIR}/include ) + if (UNIX AND (CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")) set_target_properties(SQLiteCpp PROPERTIES COMPILE_FLAGS "-fPIC") endif (UNIX AND (CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")) - -# SQLite3 library (Windows only) - -option (SQLITECPP_INTERNAL_SQLITE "Add the internal SQLite3 source to the project." ON) -if (WIN32) - if (SQLITECPP_INTERNAL_SQLITE) - # build the SQLite3 C library for Windows (for ease of use) versus Linux sqlite3-dev package - add_subdirectory(sqlite3) - include_directories("${PROJECT_SOURCE_DIR}/sqlite3") - endif (SQLITECPP_INTERNAL_SQLITE) -endif (WIN32) - - # Optional additional targets: option(SQLITECPP_RUN_CPPLINT "Run cpplint.py tool for Google C++ StyleGuide." OFF) if (SQLITECPP_RUN_CPPLINT) # add a cpplint target to the "all" target add_custom_target(SQLiteCpp_cpplint - ALL - COMMAND python ${PROJECT_SOURCE_DIR}/cpplint.py ${CPPLINT_ARG_OUTPUT} ${CPPLINT_ARG_VERBOSE} ${CPPLINT_ARG_LINELENGTH} ${SQLITECPP_SRC} ${SQLITECPP_INC} - ) + ALL + COMMAND python ${PROJECT_SOURCE_DIR}/cpplint.py ${CPPLINT_ARG_OUTPUT} ${CPPLINT_ARG_VERBOSE} ${CPPLINT_ARG_LINELENGTH} ${SQLITECPP_SRC} ${SQLITECPP_INC} + ) else (SQLITECPP_RUN_CPPLINT) message(STATUS "SQLITECPP_RUN_CPPLINT OFF") endif (SQLITECPP_RUN_CPPLINT) @@ -142,11 +132,11 @@ option(SQLITECPP_RUN_CPPCHECK "Run cppcheck C++ static analysis tool." OFF) if (SQLITECPP_RUN_CPPCHECK) find_program(CPPCHECK_EXECUTABLE NAMES cppcheck) if (CPPCHECK_EXECUTABLE) - # add a cppcheck target to the "all" target - add_custom_target(SQLiteCpp_cppcheck - ALL - COMMAND cppcheck -j 4 cppcheck --enable=style --quiet ${CPPCHECK_ARG_TEMPLATE} ${PROJECT_SOURCE_DIR}/src - ) + # add a cppcheck target to the "all" target + add_custom_target(SQLiteCpp_cppcheck + ALL + COMMAND cppcheck -j 4 cppcheck --enable=style --quiet ${CPPCHECK_ARG_TEMPLATE} ${PROJECT_SOURCE_DIR}/src + ) else (CPPCHECK_EXECUTABLE) message(STATUS "cppcheck not found") endif (CPPCHECK_EXECUTABLE) @@ -160,10 +150,10 @@ if (SQLITECPP_RUN_DOXYGEN) if (DOXYGEN_FOUND) # add a Doxygen target to the "all" target add_custom_target(SQLiteCpp_doxygen - ALL - COMMAND doxygen Doxyfile > ${DEV_NULL} - WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} - ) + ALL + COMMAND doxygen Doxyfile > ${DEV_NULL} + WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} + ) else (DOXYGEN_FOUND) message(STATUS "Doxygen not found") endif (DOXYGEN_FOUND) @@ -187,7 +177,7 @@ if (SQLITECPP_BUILD_TESTS) add_definitions(-Wno-variadic-macros -Wno-long-long -Wno-conversion -Wno-switch-enum) endif (NOT MSVC) - add_subdirectory(googletest) + add_subdirectory(googletest) include_directories("${PROJECT_SOURCE_DIR}/googletest/include") # add the unit test executable diff --git a/client/sqlitecpp/include/SQLiteCpp/Column.h b/client/sqlitecpp/include/SQLiteCpp/Column.h index fd971b0..2123d31 100644 --- a/client/sqlitecpp/include/SQLiteCpp/Column.h +++ b/client/sqlitecpp/include/SQLiteCpp/Column.h @@ -11,7 +11,6 @@ #pragma once #include - #include #include diff --git a/client/sqlitecpp/include/SQLiteCpp/Database.h b/client/sqlitecpp/include/SQLiteCpp/Database.h index ebddd9a..5b24957 100644 --- a/client/sqlitecpp/include/SQLiteCpp/Database.h +++ b/client/sqlitecpp/include/SQLiteCpp/Database.h @@ -10,13 +10,10 @@ */ #pragma once -#include - +#include "sqlite3.h" #include - #include - namespace SQLite { diff --git a/client/sqlitecpp/include/SQLiteCpp/Exception.h b/client/sqlitecpp/include/SQLiteCpp/Exception.h index 4bf3ede..5722ebb 100644 --- a/client/sqlitecpp/include/SQLiteCpp/Exception.h +++ b/client/sqlitecpp/include/SQLiteCpp/Exception.h @@ -44,11 +44,3 @@ public: #define __has_feature(x) 0 #endif -// Detect whether the compiler supports C++11 noexcept exception specifications. -#if (defined(__GNUC__) && (__GNUC__ >= 4 && __GNUC_MINOR__ >= 7 ) && defined(__GXX_EXPERIMENTAL_CXX0X__)) -// GCC 4.7 and following have noexcept -#elif defined(__clang__) && __has_feature(cxx_noexcept) -// Clang 3.0 and above have noexcept -#else - #define noexcept throw() -#endif diff --git a/client/sqlitecpp/sqlite3/CMakeLists.txt b/client/sqlitecpp/sqlite3/CMakeLists.txt index d163f50..1fcfab1 100644 --- a/client/sqlitecpp/sqlite3/CMakeLists.txt +++ b/client/sqlitecpp/sqlite3/CMakeLists.txt @@ -10,3 +10,5 @@ add_library(sqlite3 sqlite3.c sqlite3.h ) + +add_definitions(-DSQLITE_OMIT_LOAD_EXTENSION) diff --git a/client/storage.cpp b/client/storage.cpp index 9e2cec9..52c8b41 100644 --- a/client/storage.cpp +++ b/client/storage.cpp @@ -200,10 +200,10 @@ bool Storage::open() } catch(std::exception& e) { + std::cerr << e.what() << std::endl; return false; } - loadTaskTree(); return true; } diff --git a/client/task.cpp b/client/task.cpp index 2177a39..a5ff009 100644 --- a/client/task.cpp +++ b/client/task.cpp @@ -487,7 +487,7 @@ void TimeLine::flush(bool saveToDb, time_t currentUtc) void TimeLine::load() { SQLite::Statement q(Storage::instance().database(), "select id, starttime, endtime from timeline where (taskid = :taskid) and ((removed is null) or (removed != 1)) order by id asc"); - q.bind(":taskid", mTaskId); + q.bind(":taskid", static_cast(mTaskId)); while (q.executeStep()) { time_t start = helper::chrono::strToTime(q.getColumn(1).getText()); diff --git a/client/ui_aboutdlg.h b/client/ui_aboutdlg.h deleted file mode 100644 index f4699bc..0000000 --- a/client/ui_aboutdlg.h +++ /dev/null @@ -1,82 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'aboutdlg.ui' -** -** Created by: Qt User Interface Compiler version 5.12.2 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_ABOUTDLG_H -#define UI_ABOUTDLG_H - -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_AboutDlg -{ -public: - QVBoxLayout *verticalLayout; - QLabel *mTextLabel; - QLabel *mLicenseLabel; - QDialogButtonBox *mButtonBox; - - void setupUi(QDialog *AboutDlg) - { - if (AboutDlg->objectName().isEmpty()) - AboutDlg->setObjectName(QString::fromUtf8("AboutDlg")); - AboutDlg->resize(323, 170); - verticalLayout = new QVBoxLayout(AboutDlg); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - mTextLabel = new QLabel(AboutDlg); - mTextLabel->setObjectName(QString::fromUtf8("mTextLabel")); - mTextLabel->setAlignment(Qt::AlignCenter); - - verticalLayout->addWidget(mTextLabel); - - mLicenseLabel = new QLabel(AboutDlg); - mLicenseLabel->setObjectName(QString::fromUtf8("mLicenseLabel")); - mLicenseLabel->setMaximumSize(QSize(16777215, 40)); - mLicenseLabel->setAlignment(Qt::AlignCenter); - - verticalLayout->addWidget(mLicenseLabel); - - mButtonBox = new QDialogButtonBox(AboutDlg); - mButtonBox->setObjectName(QString::fromUtf8("mButtonBox")); - mButtonBox->setOrientation(Qt::Horizontal); - mButtonBox->setStandardButtons(QDialogButtonBox::Ok); - mButtonBox->setCenterButtons(true); - - verticalLayout->addWidget(mButtonBox); - - - retranslateUi(AboutDlg); - QObject::connect(mButtonBox, SIGNAL(accepted()), AboutDlg, SLOT(accept())); - QObject::connect(mButtonBox, SIGNAL(rejected()), AboutDlg, SLOT(reject())); - - QMetaObject::connectSlotsByName(AboutDlg); - } // setupUi - - void retranslateUi(QDialog *AboutDlg) - { - AboutDlg->setWindowTitle(QApplication::translate("AboutDlg", "Dialog", nullptr)); - mTextLabel->setText(QApplication::translate("AboutDlg", "werwre\n" -"werwer\n" -"", nullptr)); - mLicenseLabel->setText(QApplication::translate("AboutDlg", "TextLabel", nullptr)); - } // retranslateUi - -}; - -namespace Ui { - class AboutDlg: public Ui_AboutDlg {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_ABOUTDLG_H diff --git a/client/ui_attachmentsdialog.h b/client/ui_attachmentsdialog.h deleted file mode 100644 index 73bd338..0000000 --- a/client/ui_attachmentsdialog.h +++ /dev/null @@ -1,81 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'attachmentsdialog.ui' -** -** Created by: Qt User Interface Compiler version 5.12.2 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_ATTACHMENTSDIALOG_H -#define UI_ATTACHMENTSDIALOG_H - -#include -#include -#include -#include -#include -#include -#include "attachmentslist.h" - -QT_BEGIN_NAMESPACE - -class Ui_AttachmentsDialog -{ -public: - QVBoxLayout *verticalLayout; - AttachmentsList *widget; - QLabel *label; - QDialogButtonBox *buttonBox; - - void setupUi(QDialog *AttachmentsDialog) - { - if (AttachmentsDialog->objectName().isEmpty()) - AttachmentsDialog->setObjectName(QString::fromUtf8("AttachmentsDialog")); - AttachmentsDialog->resize(600, 300); - AttachmentsDialog->setSizeGripEnabled(true); - verticalLayout = new QVBoxLayout(AttachmentsDialog); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - widget = new AttachmentsList(AttachmentsDialog); - widget->setObjectName(QString::fromUtf8("widget")); - - verticalLayout->addWidget(widget); - - label = new QLabel(AttachmentsDialog); - label->setObjectName(QString::fromUtf8("label")); - label->setMaximumSize(QSize(16777215, 30)); - label->setAlignment(Qt::AlignCenter); - label->setWordWrap(true); - - verticalLayout->addWidget(label); - - buttonBox = new QDialogButtonBox(AttachmentsDialog); - buttonBox->setObjectName(QString::fromUtf8("buttonBox")); - buttonBox->setOrientation(Qt::Horizontal); - buttonBox->setStandardButtons(QDialogButtonBox::Ok); - buttonBox->setCenterButtons(true); - - verticalLayout->addWidget(buttonBox); - - - retranslateUi(AttachmentsDialog); - QObject::connect(buttonBox, SIGNAL(accepted()), AttachmentsDialog, SLOT(accept())); - QObject::connect(buttonBox, SIGNAL(rejected()), AttachmentsDialog, SLOT(reject())); - - QMetaObject::connectSlotsByName(AttachmentsDialog); - } // setupUi - - void retranslateUi(QDialog *AttachmentsDialog) - { - AttachmentsDialog->setWindowTitle(QApplication::translate("AttachmentsDialog", "Dialog", nullptr)); - label->setText(QApplication::translate("AttachmentsDialog", "There is list of attachments in document. Use context menu or drag-and-drop to manage it.", nullptr)); - } // retranslateUi - -}; - -namespace Ui { - class AttachmentsDialog: public Ui_AttachmentsDialog {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_ATTACHMENTSDIALOG_H diff --git a/client/ui_attachmentslist.h b/client/ui_attachmentslist.h deleted file mode 100644 index a8be5db..0000000 --- a/client/ui_attachmentslist.h +++ /dev/null @@ -1,91 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'attachmentslist.ui' -** -** Created by: Qt User Interface Compiler version 5.12.2 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_ATTACHMENTSLIST_H -#define UI_ATTACHMENTSLIST_H - -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_AttachmentsList -{ -public: - QAction *mRenameAction; - QAction *mDeleteAction; - QAction *mExportAction; - QAction *mImportAction; - QHBoxLayout *horizontalLayout; - QListView *mListView; - - void setupUi(QWidget *AttachmentsList) - { - if (AttachmentsList->objectName().isEmpty()) - AttachmentsList->setObjectName(QString::fromUtf8("AttachmentsList")); - AttachmentsList->resize(425, 300); - mRenameAction = new QAction(AttachmentsList); - mRenameAction->setObjectName(QString::fromUtf8("mRenameAction")); - mDeleteAction = new QAction(AttachmentsList); - mDeleteAction->setObjectName(QString::fromUtf8("mDeleteAction")); - mExportAction = new QAction(AttachmentsList); - mExportAction->setObjectName(QString::fromUtf8("mExportAction")); - mImportAction = new QAction(AttachmentsList); - mImportAction->setObjectName(QString::fromUtf8("mImportAction")); - horizontalLayout = new QHBoxLayout(AttachmentsList); - horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); - horizontalLayout->setContentsMargins(4, 4, 4, 4); - mListView = new QListView(AttachmentsList); - mListView->setObjectName(QString::fromUtf8("mListView")); - mListView->setContextMenuPolicy(Qt::CustomContextMenu); - mListView->setViewMode(QListView::IconMode); - - horizontalLayout->addWidget(mListView); - - - retranslateUi(AttachmentsList); - QObject::connect(mListView, SIGNAL(customContextMenuRequested(QPoint)), AttachmentsList, SLOT(contextualMenu(QPoint))); - QObject::connect(mImportAction, SIGNAL(triggered()), AttachmentsList, SLOT(importFile())); - QObject::connect(mExportAction, SIGNAL(triggered()), AttachmentsList, SLOT(exportFile())); - QObject::connect(mDeleteAction, SIGNAL(triggered()), AttachmentsList, SLOT(deleteFile())); - QObject::connect(mRenameAction, SIGNAL(triggered()), AttachmentsList, SLOT(renameFile())); - - QMetaObject::connectSlotsByName(AttachmentsList); - } // setupUi - - void retranslateUi(QWidget *AttachmentsList) - { - AttachmentsList->setWindowTitle(QApplication::translate("AttachmentsList", "Form", nullptr)); - mRenameAction->setText(QApplication::translate("AttachmentsList", "Rename", nullptr)); -#ifndef QT_NO_TOOLTIP - mRenameAction->setToolTip(QApplication::translate("AttachmentsList", "Rename", nullptr)); -#endif // QT_NO_TOOLTIP - mDeleteAction->setText(QApplication::translate("AttachmentsList", "Delete", nullptr)); - mExportAction->setText(QApplication::translate("AttachmentsList", "Export...", nullptr)); -#ifndef QT_NO_TOOLTIP - mExportAction->setToolTip(QApplication::translate("AttachmentsList", "Export", nullptr)); -#endif // QT_NO_TOOLTIP - mImportAction->setText(QApplication::translate("AttachmentsList", "Import new...", nullptr)); -#ifndef QT_NO_TOOLTIP - mImportAction->setToolTip(QApplication::translate("AttachmentsList", "Import", nullptr)); -#endif // QT_NO_TOOLTIP - } // retranslateUi - -}; - -namespace Ui { - class AttachmentsList: public Ui_AttachmentsList {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_ATTACHMENTSLIST_H diff --git a/client/ui_finddialog.h b/client/ui_finddialog.h deleted file mode 100644 index f3bc3e5..0000000 --- a/client/ui_finddialog.h +++ /dev/null @@ -1,96 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'finddialog.ui' -** -** Created by: Qt User Interface Compiler version 5.12.2 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_FINDDIALOG_H -#define UI_FINDDIALOG_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_FindDialog -{ -public: - QVBoxLayout *verticalLayout; - QHBoxLayout *horizontalLayout; - QLabel *label; - QLineEdit *mQueryText; - QPushButton *mSearchButton; - QTableView *mResultList; - - void setupUi(QDialog *FindDialog) - { - if (FindDialog->objectName().isEmpty()) - FindDialog->setObjectName(QString::fromUtf8("FindDialog")); - FindDialog->resize(611, 392); - verticalLayout = new QVBoxLayout(FindDialog); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - horizontalLayout = new QHBoxLayout(); - horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); - label = new QLabel(FindDialog); - label->setObjectName(QString::fromUtf8("label")); - - horizontalLayout->addWidget(label); - - mQueryText = new QLineEdit(FindDialog); - mQueryText->setObjectName(QString::fromUtf8("mQueryText")); - - horizontalLayout->addWidget(mQueryText); - - mSearchButton = new QPushButton(FindDialog); - mSearchButton->setObjectName(QString::fromUtf8("mSearchButton")); - mSearchButton->setAutoDefault(false); - - horizontalLayout->addWidget(mSearchButton); - - - verticalLayout->addLayout(horizontalLayout); - - mResultList = new QTableView(FindDialog); - mResultList->setObjectName(QString::fromUtf8("mResultList")); - mResultList->setSelectionBehavior(QAbstractItemView::SelectRows); - mResultList->setShowGrid(false); - mResultList->horizontalHeader()->setDefaultSectionSize(293); - mResultList->verticalHeader()->setVisible(false); - - verticalLayout->addWidget(mResultList); - - - retranslateUi(FindDialog); - - mSearchButton->setDefault(false); - - - QMetaObject::connectSlotsByName(FindDialog); - } // setupUi - - void retranslateUi(QDialog *FindDialog) - { - FindDialog->setWindowTitle(QApplication::translate("FindDialog", "Dialog", nullptr)); - label->setText(QApplication::translate("FindDialog", "Text to search:", nullptr)); - mSearchButton->setText(QApplication::translate("FindDialog", "Search", nullptr)); - } // retranslateUi - -}; - -namespace Ui { - class FindDialog: public Ui_FindDialog {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_FINDDIALOG_H diff --git a/client/ui_fvupdateconfirmdialog.h b/client/ui_fvupdateconfirmdialog.h deleted file mode 100644 index 14b2b14..0000000 --- a/client/ui_fvupdateconfirmdialog.h +++ /dev/null @@ -1,90 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'fvupdateconfirmdialog.ui' -** -** Created by: Qt User Interface Compiler version 5.12.2 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_FVUPDATECONFIRMDIALOG_H -#define UI_FVUPDATECONFIRMDIALOG_H - -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_FvUpdateConfirmDialog -{ -public: - QVBoxLayout *verticalLayout; - QLabel *updateFileIsLocatedLabel; - QLabel *updateFileLinkLabel; - QLabel *downloadThisUpdateLabel; - QLabel *whenYouClickOkLabel; - QDialogButtonBox *confirmButtonBox; - - void setupUi(QDialog *FvUpdateConfirmDialog) - { - if (FvUpdateConfirmDialog->objectName().isEmpty()) - FvUpdateConfirmDialog->setObjectName(QString::fromUtf8("FvUpdateConfirmDialog")); - FvUpdateConfirmDialog->resize(480, 160); - verticalLayout = new QVBoxLayout(FvUpdateConfirmDialog); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - updateFileIsLocatedLabel = new QLabel(FvUpdateConfirmDialog); - updateFileIsLocatedLabel->setObjectName(QString::fromUtf8("updateFileIsLocatedLabel")); - - verticalLayout->addWidget(updateFileIsLocatedLabel); - - updateFileLinkLabel = new QLabel(FvUpdateConfirmDialog); - updateFileLinkLabel->setObjectName(QString::fromUtf8("updateFileLinkLabel")); - updateFileLinkLabel->setOpenExternalLinks(true); - updateFileLinkLabel->setTextInteractionFlags(Qt::TextBrowserInteraction); - - verticalLayout->addWidget(updateFileLinkLabel); - - downloadThisUpdateLabel = new QLabel(FvUpdateConfirmDialog); - downloadThisUpdateLabel->setObjectName(QString::fromUtf8("downloadThisUpdateLabel")); - - verticalLayout->addWidget(downloadThisUpdateLabel); - - whenYouClickOkLabel = new QLabel(FvUpdateConfirmDialog); - whenYouClickOkLabel->setObjectName(QString::fromUtf8("whenYouClickOkLabel")); - - verticalLayout->addWidget(whenYouClickOkLabel); - - confirmButtonBox = new QDialogButtonBox(FvUpdateConfirmDialog); - confirmButtonBox->setObjectName(QString::fromUtf8("confirmButtonBox")); - confirmButtonBox->setOrientation(Qt::Horizontal); - confirmButtonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); - - verticalLayout->addWidget(confirmButtonBox); - - - retranslateUi(FvUpdateConfirmDialog); - - QMetaObject::connectSlotsByName(FvUpdateConfirmDialog); - } // setupUi - - void retranslateUi(QDialog *FvUpdateConfirmDialog) - { - FvUpdateConfirmDialog->setWindowTitle(QApplication::translate("FvUpdateConfirmDialog", "Software Update", nullptr)); - updateFileIsLocatedLabel->setText(QApplication::translate("FvUpdateConfirmDialog", "The update file is located at:", nullptr)); - updateFileLinkLabel->setText(QApplication::translate("FvUpdateConfirmDialog", "%1", nullptr)); - downloadThisUpdateLabel->setText(QApplication::translate("FvUpdateConfirmDialog", "Download this update, close \"%1\", install it, and then reopen \"%1\".", nullptr)); - whenYouClickOkLabel->setText(QApplication::translate("FvUpdateConfirmDialog", "When you click \"OK\", this link will be opened in your browser.", nullptr)); - } // retranslateUi - -}; - -namespace Ui { - class FvUpdateConfirmDialog: public Ui_FvUpdateConfirmDialog {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_FVUPDATECONFIRMDIALOG_H diff --git a/client/ui_fvupdatewindow.h b/client/ui_fvupdatewindow.h deleted file mode 100644 index 3d04e97..0000000 --- a/client/ui_fvupdatewindow.h +++ /dev/null @@ -1,133 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'fvupdatewindow.ui' -** -** Created by: Qt User Interface Compiler version 5.12.2 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_FVUPDATEWINDOW_H -#define UI_FVUPDATEWINDOW_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_FvUpdateWindow -{ -public: - QHBoxLayout *horizontalLayout_6; - QVBoxLayout *verticalLayout; - QLabel *newVersionIsAvailableLabel; - QLabel *wouldYouLikeToDownloadLabel; - QGroupBox *groupBox; - QHBoxLayout *horizontalLayout_7; - QTextBrowser *releaseNotes; - QHBoxLayout *horizontalLayout_3; - QPushButton *skipThisVersionButton; - QSpacerItem *horizontalSpacer; - QPushButton *remindMeLaterButton; - QPushButton *installUpdateButton; - - void setupUi(QWidget *FvUpdateWindow) - { - if (FvUpdateWindow->objectName().isEmpty()) - FvUpdateWindow->setObjectName(QString::fromUtf8("FvUpdateWindow")); - FvUpdateWindow->resize(640, 480); - horizontalLayout_6 = new QHBoxLayout(FvUpdateWindow); - horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6")); - verticalLayout = new QVBoxLayout(); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - newVersionIsAvailableLabel = new QLabel(FvUpdateWindow); - newVersionIsAvailableLabel->setObjectName(QString::fromUtf8("newVersionIsAvailableLabel")); - QFont font; - font.setBold(true); - font.setWeight(75); - newVersionIsAvailableLabel->setFont(font); - - verticalLayout->addWidget(newVersionIsAvailableLabel); - - wouldYouLikeToDownloadLabel = new QLabel(FvUpdateWindow); - wouldYouLikeToDownloadLabel->setObjectName(QString::fromUtf8("wouldYouLikeToDownloadLabel")); - - verticalLayout->addWidget(wouldYouLikeToDownloadLabel); - - groupBox = new QGroupBox(FvUpdateWindow); - groupBox->setObjectName(QString::fromUtf8("groupBox")); - groupBox->setFont(font); - horizontalLayout_7 = new QHBoxLayout(groupBox); - horizontalLayout_7->setObjectName(QString::fromUtf8("horizontalLayout_7")); - releaseNotes = new QTextBrowser(groupBox); - releaseNotes->setObjectName(QString::fromUtf8("releaseNotes")); - - horizontalLayout_7->addWidget(releaseNotes); - - - verticalLayout->addWidget(groupBox); - - horizontalLayout_3 = new QHBoxLayout(); - horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3")); - skipThisVersionButton = new QPushButton(FvUpdateWindow); - skipThisVersionButton->setObjectName(QString::fromUtf8("skipThisVersionButton")); - - horizontalLayout_3->addWidget(skipThisVersionButton); - - horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); - - horizontalLayout_3->addItem(horizontalSpacer); - - remindMeLaterButton = new QPushButton(FvUpdateWindow); - remindMeLaterButton->setObjectName(QString::fromUtf8("remindMeLaterButton")); - - horizontalLayout_3->addWidget(remindMeLaterButton); - - installUpdateButton = new QPushButton(FvUpdateWindow); - installUpdateButton->setObjectName(QString::fromUtf8("installUpdateButton")); - installUpdateButton->setAutoDefault(true); - - horizontalLayout_3->addWidget(installUpdateButton); - - - verticalLayout->addLayout(horizontalLayout_3); - - - horizontalLayout_6->addLayout(verticalLayout); - - - retranslateUi(FvUpdateWindow); - - installUpdateButton->setDefault(true); - - - QMetaObject::connectSlotsByName(FvUpdateWindow); - } // setupUi - - void retranslateUi(QWidget *FvUpdateWindow) - { - FvUpdateWindow->setWindowTitle(QApplication::translate("FvUpdateWindow", "Software Update", nullptr)); - newVersionIsAvailableLabel->setText(QApplication::translate("FvUpdateWindow", "A new version of %1 is available!", nullptr)); - wouldYouLikeToDownloadLabel->setText(QApplication::translate("FvUpdateWindow", "%1 %2 is now available - you have %3. Would you like to download it now?", nullptr)); - groupBox->setTitle(QApplication::translate("FvUpdateWindow", "Release Notes:", nullptr)); - skipThisVersionButton->setText(QApplication::translate("FvUpdateWindow", "Skip This Version", nullptr)); - remindMeLaterButton->setText(QApplication::translate("FvUpdateWindow", "Remind Me Later", nullptr)); - installUpdateButton->setText(QApplication::translate("FvUpdateWindow", "Install Update", nullptr)); - } // retranslateUi - -}; - -namespace Ui { - class FvUpdateWindow: public Ui_FvUpdateWindow {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_FVUPDATEWINDOW_H diff --git a/client/ui_mainwindow.h b/client/ui_mainwindow.h deleted file mode 100644 index ea59355..0000000 --- a/client/ui_mainwindow.h +++ /dev/null @@ -1,623 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'mainwindow.ui' -** -** Created by: Qt User Interface Compiler version 5.12.2 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_MAINWINDOW_H -#define UI_MAINWINDOW_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include "qmarkdowntextedit/qmarkdowntextedit.h" -#include "tasktreemodel.h" - -QT_BEGIN_NAMESPACE - -class Ui_MainWindow -{ -public: - QAction *mSyncAction; - QAction *mPrintAction; - QAction *mExitAction; - QAction *mPreferencesAction; - QAction *mSaveAction; - QAction *mDeleteTaskAction; - QAction *mRenameTaskAction; - QAction *mNewTaskAction; - QAction *mNewRootTaskAction; - QAction *mStartOrStopTrackingAction; - QAction *mUndoEditAction; - QAction *mRedoEditAction; - QAction *mCutEditAction; - QAction *mCopyEditAction; - QAction *mPasteEditAction; - QAction *mDeleteEditAction; - QAction *mSelectAllEditAction; - QAction *mAboutAction; - QAction *mTimelineAction; - QAction *mTimeReportAction; - QAction *mShowToolbarAction; - QAction *mAttachmentsAction; - QAction *mCheckForUpdatesAction; - QAction *mTimeTrackableAction; - QAction *mActionSearchInTasks; - QAction *mActionSearch; - QAction *mShowLittAction; - QAction *mFocusTaskTreeAction; - QAction *mFocusTaskTextAction; - QAction *mAddSiblingAction; - QAction *mDecreaseLevelAction; - QAction *mIncreaseLevelAction; - QAction *mMoveUpAction; - QAction *mMoveDownAction; - QWidget *centralWidget; - QHBoxLayout *horizontalLayout; - QSplitter *mSplitter; - TaskTreeView *mTaskTree; - QFrame *frame; - QGridLayout *gridLayout; - QSplitter *mTimeSplitter; - QFrame *mEditFrame; - QVBoxLayout *verticalLayout; - QMarkdownTextEdit *mNoteEdit; - QFrame *mFindFrame; - QHBoxLayout *mFindFrameLayout; - QLabel *label; - QLineEdit *mFindEdit; - QFrame *mTimeFrame; - QFormLayout *formLayout; - QLabel *mTodayTextLabel; - QLabel *mTodaySpentTimeLabel; - QLabel *mThisMonthTextLabel; - QLabel *mThisMonthSpentTimeLabel; - QMenuBar *mMainMenu; - QMenu *mFileMenu; - QMenu *mEditMenu; - QMenu *mToolsMenu; - QMenu *mStartRecentTaskMenu; - QMenu *mViewMenu; - QToolBar *mMainToolbar; - QStatusBar *mStatusBar; - - void setupUi(QMainWindow *MainWindow) - { - if (MainWindow->objectName().isEmpty()) - MainWindow->setObjectName(QString::fromUtf8("MainWindow")); - MainWindow->resize(647, 508); - QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(MainWindow->sizePolicy().hasHeightForWidth()); - MainWindow->setSizePolicy(sizePolicy); - MainWindow->setWindowTitle(QString::fromUtf8("Litt")); - mSyncAction = new QAction(MainWindow); - mSyncAction->setObjectName(QString::fromUtf8("mSyncAction")); - mSyncAction->setEnabled(false); - QIcon icon; - icon.addFile(QString::fromUtf8(":/icons/icons/network-receive.png"), QSize(), QIcon::Normal, QIcon::Off); - mSyncAction->setIcon(icon); - mSyncAction->setVisible(false); - mPrintAction = new QAction(MainWindow); - mPrintAction->setObjectName(QString::fromUtf8("mPrintAction")); - QIcon icon1; - icon1.addFile(QString::fromUtf8(":/icons/icons/document-print.png"), QSize(), QIcon::Normal, QIcon::Off); - mPrintAction->setIcon(icon1); - mExitAction = new QAction(MainWindow); - mExitAction->setObjectName(QString::fromUtf8("mExitAction")); - mPreferencesAction = new QAction(MainWindow); - mPreferencesAction->setObjectName(QString::fromUtf8("mPreferencesAction")); - mSaveAction = new QAction(MainWindow); - mSaveAction->setObjectName(QString::fromUtf8("mSaveAction")); - QIcon icon2; - icon2.addFile(QString::fromUtf8(":/icons/icons/document-save.png"), QSize(), QIcon::Normal, QIcon::Off); - mSaveAction->setIcon(icon2); - mDeleteTaskAction = new QAction(MainWindow); - mDeleteTaskAction->setObjectName(QString::fromUtf8("mDeleteTaskAction")); - QIcon icon3; - icon3.addFile(QString::fromUtf8(":/icons/icons/list-remove.png"), QSize(), QIcon::Normal, QIcon::Off); - mDeleteTaskAction->setIcon(icon3); - mRenameTaskAction = new QAction(MainWindow); - mRenameTaskAction->setObjectName(QString::fromUtf8("mRenameTaskAction")); - QIcon icon4; - icon4.addFile(QString::fromUtf8(":/icons/icons/empty.png"), QSize(), QIcon::Normal, QIcon::Off); - mRenameTaskAction->setIcon(icon4); - mNewTaskAction = new QAction(MainWindow); - mNewTaskAction->setObjectName(QString::fromUtf8("mNewTaskAction")); - QIcon icon5; - icon5.addFile(QString::fromUtf8(":/icons/icons/tree-add-child-small.png"), QSize(), QIcon::Normal, QIcon::Off); - mNewTaskAction->setIcon(icon5); - mNewRootTaskAction = new QAction(MainWindow); - mNewRootTaskAction->setObjectName(QString::fromUtf8("mNewRootTaskAction")); - QIcon icon6; - icon6.addFile(QString::fromUtf8(":/icons/icons/tree-add-root-small.png"), QSize(), QIcon::Normal, QIcon::Off); - mNewRootTaskAction->setIcon(icon6); - mStartOrStopTrackingAction = new QAction(MainWindow); - mStartOrStopTrackingAction->setObjectName(QString::fromUtf8("mStartOrStopTrackingAction")); - QIcon icon7; - icon7.addFile(QString::fromUtf8(":/icons/icons/clock-32x32.png"), QSize(), QIcon::Normal, QIcon::Off); - mStartOrStopTrackingAction->setIcon(icon7); - mUndoEditAction = new QAction(MainWindow); - mUndoEditAction->setObjectName(QString::fromUtf8("mUndoEditAction")); - QIcon icon8; - icon8.addFile(QString::fromUtf8(":/icons/icons/edit-undo.png"), QSize(), QIcon::Normal, QIcon::Off); - mUndoEditAction->setIcon(icon8); - mRedoEditAction = new QAction(MainWindow); - mRedoEditAction->setObjectName(QString::fromUtf8("mRedoEditAction")); - QIcon icon9; - icon9.addFile(QString::fromUtf8(":/icons/icons/edit-redo.png"), QSize(), QIcon::Normal, QIcon::Off); - mRedoEditAction->setIcon(icon9); - mCutEditAction = new QAction(MainWindow); - mCutEditAction->setObjectName(QString::fromUtf8("mCutEditAction")); - QIcon icon10; - icon10.addFile(QString::fromUtf8(":/icons/icons/edit-cut.png"), QSize(), QIcon::Normal, QIcon::Off); - mCutEditAction->setIcon(icon10); - mCopyEditAction = new QAction(MainWindow); - mCopyEditAction->setObjectName(QString::fromUtf8("mCopyEditAction")); - QIcon icon11; - icon11.addFile(QString::fromUtf8(":/icons/icons/edit-copy.png"), QSize(), QIcon::Normal, QIcon::Off); - mCopyEditAction->setIcon(icon11); - mPasteEditAction = new QAction(MainWindow); - mPasteEditAction->setObjectName(QString::fromUtf8("mPasteEditAction")); - QIcon icon12; - icon12.addFile(QString::fromUtf8(":/icons/icons/edit-paste.png"), QSize(), QIcon::Normal, QIcon::Off); - mPasteEditAction->setIcon(icon12); - mDeleteEditAction = new QAction(MainWindow); - mDeleteEditAction->setObjectName(QString::fromUtf8("mDeleteEditAction")); - QIcon icon13; - icon13.addFile(QString::fromUtf8(":/icons/icons/edit-clear.png"), QSize(), QIcon::Normal, QIcon::Off); - mDeleteEditAction->setIcon(icon13); - mSelectAllEditAction = new QAction(MainWindow); - mSelectAllEditAction->setObjectName(QString::fromUtf8("mSelectAllEditAction")); - QIcon icon14; - icon14.addFile(QString::fromUtf8(":/icons/icons/edit-select-all.png"), QSize(), QIcon::Normal, QIcon::Off); - mSelectAllEditAction->setIcon(icon14); - mAboutAction = new QAction(MainWindow); - mAboutAction->setObjectName(QString::fromUtf8("mAboutAction")); - mTimelineAction = new QAction(MainWindow); - mTimelineAction->setObjectName(QString::fromUtf8("mTimelineAction")); - QIcon icon15; - icon15.addFile(QString::fromUtf8(":/icons/icons/office-calendar.png"), QSize(), QIcon::Normal, QIcon::Off); - mTimelineAction->setIcon(icon15); - mTimeReportAction = new QAction(MainWindow); - mTimeReportAction->setObjectName(QString::fromUtf8("mTimeReportAction")); - QIcon icon16; - icon16.addFile(QString::fromUtf8(":/icons/icons/appointment-new.png"), QSize(), QIcon::Normal, QIcon::Off); - mTimeReportAction->setIcon(icon16); - mShowToolbarAction = new QAction(MainWindow); - mShowToolbarAction->setObjectName(QString::fromUtf8("mShowToolbarAction")); - mShowToolbarAction->setCheckable(true); - mShowToolbarAction->setChecked(true); - mShowToolbarAction->setIcon(icon4); - mAttachmentsAction = new QAction(MainWindow); - mAttachmentsAction->setObjectName(QString::fromUtf8("mAttachmentsAction")); - mAttachmentsAction->setIcon(icon4); - mCheckForUpdatesAction = new QAction(MainWindow); - mCheckForUpdatesAction->setObjectName(QString::fromUtf8("mCheckForUpdatesAction")); - mTimeTrackableAction = new QAction(MainWindow); - mTimeTrackableAction->setObjectName(QString::fromUtf8("mTimeTrackableAction")); - mTimeTrackableAction->setCheckable(true); - QIcon icon17; - icon17.addFile(QString::fromUtf8(":/icons/icons/accessories-calculator.png"), QSize(), QIcon::Normal, QIcon::Off); - mTimeTrackableAction->setIcon(icon17); - mActionSearchInTasks = new QAction(MainWindow); - mActionSearchInTasks->setObjectName(QString::fromUtf8("mActionSearchInTasks")); - QIcon icon18; - icon18.addFile(QString::fromUtf8(":/icons/icons/folder-saved-search.png"), QSize(), QIcon::Normal, QIcon::Off); - mActionSearchInTasks->setIcon(icon18); - mActionSearch = new QAction(MainWindow); - mActionSearch->setObjectName(QString::fromUtf8("mActionSearch")); - QIcon icon19; - icon19.addFile(QString::fromUtf8(":/icons/icons/edit-find.png"), QSize(), QIcon::Normal, QIcon::Off); - mActionSearch->setIcon(icon19); - mShowLittAction = new QAction(MainWindow); - mShowLittAction->setObjectName(QString::fromUtf8("mShowLittAction")); - QIcon icon20; - icon20.addFile(QString::fromUtf8(":/icons/icons/format-justify-fill.png"), QSize(), QIcon::Normal, QIcon::Off); - mShowLittAction->setIcon(icon20); - mFocusTaskTreeAction = new QAction(MainWindow); - mFocusTaskTreeAction->setObjectName(QString::fromUtf8("mFocusTaskTreeAction")); - mFocusTaskTreeAction->setIcon(icon4); - mFocusTaskTextAction = new QAction(MainWindow); - mFocusTaskTextAction->setObjectName(QString::fromUtf8("mFocusTaskTextAction")); - mFocusTaskTextAction->setIcon(icon4); - mAddSiblingAction = new QAction(MainWindow); - mAddSiblingAction->setObjectName(QString::fromUtf8("mAddSiblingAction")); - QIcon icon21; - icon21.addFile(QString::fromUtf8(":/icons/icons/tree-add-sibling-small.png"), QSize(), QIcon::Normal, QIcon::Off); - mAddSiblingAction->setIcon(icon21); - mDecreaseLevelAction = new QAction(MainWindow); - mDecreaseLevelAction->setObjectName(QString::fromUtf8("mDecreaseLevelAction")); - mDecreaseLevelAction->setIcon(icon4); - mIncreaseLevelAction = new QAction(MainWindow); - mIncreaseLevelAction->setObjectName(QString::fromUtf8("mIncreaseLevelAction")); - mIncreaseLevelAction->setIcon(icon4); - mMoveUpAction = new QAction(MainWindow); - mMoveUpAction->setObjectName(QString::fromUtf8("mMoveUpAction")); - mMoveUpAction->setIcon(icon4); - mMoveDownAction = new QAction(MainWindow); - mMoveDownAction->setObjectName(QString::fromUtf8("mMoveDownAction")); - mMoveDownAction->setIcon(icon4); - centralWidget = new QWidget(MainWindow); - centralWidget->setObjectName(QString::fromUtf8("centralWidget")); - QSizePolicy sizePolicy1(QSizePolicy::Maximum, QSizePolicy::Maximum); - sizePolicy1.setHorizontalStretch(0); - sizePolicy1.setVerticalStretch(0); - sizePolicy1.setHeightForWidth(centralWidget->sizePolicy().hasHeightForWidth()); - centralWidget->setSizePolicy(sizePolicy1); - horizontalLayout = new QHBoxLayout(centralWidget); - horizontalLayout->setSpacing(6); - horizontalLayout->setContentsMargins(11, 11, 11, 11); - horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); - horizontalLayout->setSizeConstraint(QLayout::SetMaximumSize); - horizontalLayout->setContentsMargins(2, 2, 2, 2); - mSplitter = new QSplitter(centralWidget); - mSplitter->setObjectName(QString::fromUtf8("mSplitter")); - sizePolicy.setHeightForWidth(mSplitter->sizePolicy().hasHeightForWidth()); - mSplitter->setSizePolicy(sizePolicy); - mSplitter->setMinimumSize(QSize(600, 200)); - mSplitter->setOrientation(Qt::Horizontal); - mTaskTree = new TaskTreeView(mSplitter); - mTaskTree->setObjectName(QString::fromUtf8("mTaskTree")); - mTaskTree->setContextMenuPolicy(Qt::CustomContextMenu); - mTaskTree->setDragEnabled(true); - mTaskTree->setDragDropMode(QAbstractItemView::InternalMove); - mTaskTree->setDefaultDropAction(Qt::MoveAction); - mSplitter->addWidget(mTaskTree); - frame = new QFrame(mSplitter); - frame->setObjectName(QString::fromUtf8("frame")); - frame->setFrameShape(QFrame::NoFrame); - frame->setFrameShadow(QFrame::Raised); - gridLayout = new QGridLayout(frame); - gridLayout->setSpacing(6); - gridLayout->setContentsMargins(11, 11, 11, 11); - gridLayout->setObjectName(QString::fromUtf8("gridLayout")); - gridLayout->setContentsMargins(0, 0, 0, 0); - mTimeSplitter = new QSplitter(frame); - mTimeSplitter->setObjectName(QString::fromUtf8("mTimeSplitter")); - mTimeSplitter->setMinimumSize(QSize(0, 0)); - mTimeSplitter->setLineWidth(0); - mTimeSplitter->setOrientation(Qt::Vertical); - mEditFrame = new QFrame(mTimeSplitter); - mEditFrame->setObjectName(QString::fromUtf8("mEditFrame")); - mEditFrame->setFrameShape(QFrame::StyledPanel); - mEditFrame->setFrameShadow(QFrame::Plain); - mEditFrame->setLineWidth(0); - verticalLayout = new QVBoxLayout(mEditFrame); - verticalLayout->setSpacing(0); - verticalLayout->setContentsMargins(11, 11, 11, 11); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - verticalLayout->setContentsMargins(0, 0, 0, 0); - mNoteEdit = new QMarkdownTextEdit(mEditFrame); - mNoteEdit->setObjectName(QString::fromUtf8("mNoteEdit")); - sizePolicy.setHeightForWidth(mNoteEdit->sizePolicy().hasHeightForWidth()); - mNoteEdit->setSizePolicy(sizePolicy); - mNoteEdit->setFrameShape(QFrame::NoFrame); - mNoteEdit->setFrameShadow(QFrame::Plain); - - verticalLayout->addWidget(mNoteEdit); - - mFindFrame = new QFrame(mEditFrame); - mFindFrame->setObjectName(QString::fromUtf8("mFindFrame")); - mFindFrame->setAutoFillBackground(false); - mFindFrame->setStyleSheet(QString::fromUtf8("background-color:white;")); - mFindFrame->setFrameShape(QFrame::NoFrame); - mFindFrame->setFrameShadow(QFrame::Raised); - mFindFrame->setLineWidth(0); - mFindFrameLayout = new QHBoxLayout(mFindFrame); - mFindFrameLayout->setSpacing(5); - mFindFrameLayout->setContentsMargins(11, 11, 11, 11); - mFindFrameLayout->setObjectName(QString::fromUtf8("mFindFrameLayout")); - mFindFrameLayout->setContentsMargins(0, 0, 0, 0); - label = new QLabel(mFindFrame); - label->setObjectName(QString::fromUtf8("label")); - - mFindFrameLayout->addWidget(label); - - mFindEdit = new QLineEdit(mFindFrame); - mFindEdit->setObjectName(QString::fromUtf8("mFindEdit")); - - mFindFrameLayout->addWidget(mFindEdit); - - - verticalLayout->addWidget(mFindFrame); - - mTimeSplitter->addWidget(mEditFrame); - mTimeFrame = new QFrame(mTimeSplitter); - mTimeFrame->setObjectName(QString::fromUtf8("mTimeFrame")); - mTimeFrame->setMaximumSize(QSize(16777215, 70)); - mTimeFrame->setFrameShape(QFrame::StyledPanel); - formLayout = new QFormLayout(mTimeFrame); - formLayout->setSpacing(6); - formLayout->setContentsMargins(11, 11, 11, 11); - formLayout->setObjectName(QString::fromUtf8("formLayout")); - mTodayTextLabel = new QLabel(mTimeFrame); - mTodayTextLabel->setObjectName(QString::fromUtf8("mTodayTextLabel")); - - formLayout->setWidget(0, QFormLayout::LabelRole, mTodayTextLabel); - - mTodaySpentTimeLabel = new QLabel(mTimeFrame); - mTodaySpentTimeLabel->setObjectName(QString::fromUtf8("mTodaySpentTimeLabel")); - - formLayout->setWidget(0, QFormLayout::FieldRole, mTodaySpentTimeLabel); - - mThisMonthTextLabel = new QLabel(mTimeFrame); - mThisMonthTextLabel->setObjectName(QString::fromUtf8("mThisMonthTextLabel")); - - formLayout->setWidget(1, QFormLayout::LabelRole, mThisMonthTextLabel); - - mThisMonthSpentTimeLabel = new QLabel(mTimeFrame); - mThisMonthSpentTimeLabel->setObjectName(QString::fromUtf8("mThisMonthSpentTimeLabel")); - - formLayout->setWidget(1, QFormLayout::FieldRole, mThisMonthSpentTimeLabel); - - mTimeSplitter->addWidget(mTimeFrame); - - gridLayout->addWidget(mTimeSplitter, 0, 0, 1, 1); - - mSplitter->addWidget(frame); - - horizontalLayout->addWidget(mSplitter); - - MainWindow->setCentralWidget(centralWidget); - mMainMenu = new QMenuBar(MainWindow); - mMainMenu->setObjectName(QString::fromUtf8("mMainMenu")); - mMainMenu->setGeometry(QRect(0, 0, 647, 22)); - mFileMenu = new QMenu(mMainMenu); - mFileMenu->setObjectName(QString::fromUtf8("mFileMenu")); - mEditMenu = new QMenu(mMainMenu); - mEditMenu->setObjectName(QString::fromUtf8("mEditMenu")); - mToolsMenu = new QMenu(mMainMenu); - mToolsMenu->setObjectName(QString::fromUtf8("mToolsMenu")); - mStartRecentTaskMenu = new QMenu(mToolsMenu); - mStartRecentTaskMenu->setObjectName(QString::fromUtf8("mStartRecentTaskMenu")); - mStartRecentTaskMenu->setIcon(icon4); - mViewMenu = new QMenu(mMainMenu); - mViewMenu->setObjectName(QString::fromUtf8("mViewMenu")); - MainWindow->setMenuBar(mMainMenu); - mMainToolbar = new QToolBar(MainWindow); - mMainToolbar->setObjectName(QString::fromUtf8("mMainToolbar")); - mMainToolbar->setContextMenuPolicy(Qt::NoContextMenu); - mMainToolbar->setMovable(false); - mMainToolbar->setFloatable(false); - MainWindow->addToolBar(Qt::TopToolBarArea, mMainToolbar); - mStatusBar = new QStatusBar(MainWindow); - mStatusBar->setObjectName(QString::fromUtf8("mStatusBar")); - MainWindow->setStatusBar(mStatusBar); - - mMainMenu->addAction(mFileMenu->menuAction()); - mMainMenu->addAction(mEditMenu->menuAction()); - mMainMenu->addAction(mToolsMenu->menuAction()); - mMainMenu->addAction(mViewMenu->menuAction()); - mFileMenu->addAction(mAboutAction); - mFileMenu->addAction(mCheckForUpdatesAction); - mFileMenu->addAction(mSaveAction); - mFileMenu->addAction(mSyncAction); - mFileMenu->addSeparator(); - mFileMenu->addAction(mPreferencesAction); - mFileMenu->addAction(mPrintAction); - mFileMenu->addAction(mExitAction); - mEditMenu->addAction(mNewRootTaskAction); - mEditMenu->addAction(mNewTaskAction); - mEditMenu->addAction(mAddSiblingAction); - mEditMenu->addAction(mDeleteTaskAction); - mEditMenu->addAction(mRenameTaskAction); - mEditMenu->addAction(mMoveUpAction); - mEditMenu->addAction(mMoveDownAction); - mEditMenu->addSeparator(); - mEditMenu->addAction(mUndoEditAction); - mEditMenu->addAction(mRedoEditAction); - mEditMenu->addAction(mCutEditAction); - mEditMenu->addAction(mCopyEditAction); - mEditMenu->addAction(mPasteEditAction); - mEditMenu->addAction(mDeleteEditAction); - mEditMenu->addAction(mSelectAllEditAction); - mEditMenu->addSeparator(); - mEditMenu->addAction(mActionSearch); - mEditMenu->addAction(mActionSearchInTasks); - mToolsMenu->addAction(mActionSearchInTasks); - mToolsMenu->addAction(mTimeReportAction); - mToolsMenu->addAction(mStartOrStopTrackingAction); - mToolsMenu->addAction(mStartRecentTaskMenu->menuAction()); - mToolsMenu->addSeparator(); - mToolsMenu->addAction(mFocusTaskTreeAction); - mToolsMenu->addAction(mFocusTaskTextAction); - mViewMenu->addAction(mShowToolbarAction); - mMainToolbar->addAction(mNewRootTaskAction); - mMainToolbar->addAction(mNewTaskAction); - mMainToolbar->addAction(mAddSiblingAction); - mMainToolbar->addAction(mDeleteTaskAction); - mMainToolbar->addAction(mStartOrStopTrackingAction); - - retranslateUi(MainWindow); - QObject::connect(mExitAction, SIGNAL(triggered()), MainWindow, SLOT(quit())); - QObject::connect(mSaveAction, SIGNAL(triggered()), MainWindow, SLOT(save())); - QObject::connect(mSyncAction, SIGNAL(triggered()), MainWindow, SLOT(sync())); - QObject::connect(mTaskTree, SIGNAL(customContextMenuRequested(QPoint)), MainWindow, SLOT(taskTreeContextualMenu(QPoint))); - QObject::connect(mNewTaskAction, SIGNAL(triggered()), MainWindow, SLOT(newTask())); - QObject::connect(mRenameTaskAction, SIGNAL(triggered()), MainWindow, SLOT(renameTask())); - QObject::connect(mDeleteTaskAction, SIGNAL(triggered()), MainWindow, SLOT(deleteTask())); - QObject::connect(mNewRootTaskAction, SIGNAL(triggered()), MainWindow, SLOT(newRootTask())); - QObject::connect(mStartOrStopTrackingAction, SIGNAL(triggered()), MainWindow, SLOT(startOrStopTracking())); - QObject::connect(mPrintAction, SIGNAL(triggered()), MainWindow, SLOT(print())); - QObject::connect(mCopyEditAction, SIGNAL(triggered()), MainWindow, SLOT(editCopy())); - QObject::connect(mCutEditAction, SIGNAL(triggered()), MainWindow, SLOT(editCut())); - QObject::connect(mDeleteEditAction, SIGNAL(triggered()), MainWindow, SLOT(editDelete())); - QObject::connect(mPasteEditAction, SIGNAL(triggered()), MainWindow, SLOT(editPaste())); - QObject::connect(mRedoEditAction, SIGNAL(triggered()), MainWindow, SLOT(editRedo())); - QObject::connect(mUndoEditAction, SIGNAL(triggered()), MainWindow, SLOT(editUndo())); - QObject::connect(mSelectAllEditAction, SIGNAL(triggered()), MainWindow, SLOT(editSelectAll())); - QObject::connect(mTimelineAction, SIGNAL(triggered()), MainWindow, SLOT(showTimeline())); - QObject::connect(mTimeReportAction, SIGNAL(triggered()), MainWindow, SLOT(showTimeReport())); - QObject::connect(mShowToolbarAction, SIGNAL(changed()), MainWindow, SLOT(showHideToolbar())); - QObject::connect(mAttachmentsAction, SIGNAL(triggered()), MainWindow, SLOT(showAttachments())); - QObject::connect(mCheckForUpdatesAction, SIGNAL(triggered()), MainWindow, SLOT(checkForUpdates())); - QObject::connect(mTimeTrackableAction, SIGNAL(toggled(bool)), MainWindow, SLOT(changeTimeTrackableFlag(bool))); - QObject::connect(mActionSearch, SIGNAL(triggered()), MainWindow, SLOT(find())); - QObject::connect(mActionSearchInTasks, SIGNAL(triggered()), MainWindow, SLOT(findInTasks())); - QObject::connect(mFindEdit, SIGNAL(returnPressed()), MainWindow, SLOT(findRequested())); - QObject::connect(mShowLittAction, SIGNAL(triggered()), MainWindow, SLOT(showMainWindow())); - QObject::connect(mFocusTaskTreeAction, SIGNAL(triggered()), MainWindow, SLOT(focusTaskTree())); - QObject::connect(mFocusTaskTextAction, SIGNAL(triggered()), MainWindow, SLOT(focusTaskText())); - QObject::connect(mNoteEdit, SIGNAL(textChanged()), MainWindow, SLOT(taskTextChanged())); - QObject::connect(mAddSiblingAction, SIGNAL(triggered()), MainWindow, SLOT(newSibling())); - QObject::connect(mMoveDownAction, SIGNAL(triggered()), MainWindow, SLOT(moveDown())); - QObject::connect(mMoveUpAction, SIGNAL(triggered()), MainWindow, SLOT(moveUp())); - - QMetaObject::connectSlotsByName(MainWindow); - } // setupUi - - void retranslateUi(QMainWindow *MainWindow) - { - mSyncAction->setText(QApplication::translate("MainWindow", "S&ync...", nullptr)); - mPrintAction->setText(QApplication::translate("MainWindow", "&Print...", nullptr)); - mExitAction->setText(QApplication::translate("MainWindow", "E&xit", nullptr)); - mPreferencesAction->setText(QApplication::translate("MainWindow", "Pre&ferences...", nullptr)); - mSaveAction->setText(QApplication::translate("MainWindow", "&Save", nullptr)); -#ifndef QT_NO_SHORTCUT - mSaveAction->setShortcut(QApplication::translate("MainWindow", "Ctrl+S", nullptr)); -#endif // QT_NO_SHORTCUT - mDeleteTaskAction->setText(QApplication::translate("MainWindow", "Delete task", nullptr)); -#ifndef QT_NO_TOOLTIP - mDeleteTaskAction->setToolTip(QApplication::translate("MainWindow", "Delete task", nullptr)); -#endif // QT_NO_TOOLTIP - mRenameTaskAction->setText(QApplication::translate("MainWindow", "Rename task", nullptr)); - mNewTaskAction->setText(QApplication::translate("MainWindow", "New child task", nullptr)); - mNewTaskAction->setIconText(QApplication::translate("MainWindow", "New child task", nullptr)); -#ifndef QT_NO_TOOLTIP - mNewTaskAction->setToolTip(QApplication::translate("MainWindow", "New child task", nullptr)); -#endif // QT_NO_TOOLTIP -#ifndef QT_NO_SHORTCUT - mNewTaskAction->setShortcut(QApplication::translate("MainWindow", "Ctrl+Shift+N", nullptr)); -#endif // QT_NO_SHORTCUT - mNewRootTaskAction->setText(QApplication::translate("MainWindow", "New root task", nullptr)); -#ifndef QT_NO_SHORTCUT - mNewRootTaskAction->setShortcut(QApplication::translate("MainWindow", "Ctrl+N", nullptr)); -#endif // QT_NO_SHORTCUT - mStartOrStopTrackingAction->setText(QApplication::translate("MainWindow", "Start tracking", nullptr)); -#ifndef QT_NO_SHORTCUT - mStartOrStopTrackingAction->setShortcut(QApplication::translate("MainWindow", "Ctrl+T", nullptr)); -#endif // QT_NO_SHORTCUT - mUndoEditAction->setText(QApplication::translate("MainWindow", "Undo", nullptr)); -#ifndef QT_NO_SHORTCUT - mUndoEditAction->setShortcut(QApplication::translate("MainWindow", "Ctrl+Z", nullptr)); -#endif // QT_NO_SHORTCUT - mRedoEditAction->setText(QApplication::translate("MainWindow", "Redo", nullptr)); -#ifndef QT_NO_SHORTCUT - mRedoEditAction->setShortcut(QApplication::translate("MainWindow", "Ctrl+Shift+Z", nullptr)); -#endif // QT_NO_SHORTCUT - mCutEditAction->setText(QApplication::translate("MainWindow", "Cut", nullptr)); -#ifndef QT_NO_SHORTCUT - mCutEditAction->setShortcut(QApplication::translate("MainWindow", "Ctrl+X", nullptr)); -#endif // QT_NO_SHORTCUT - mCopyEditAction->setText(QApplication::translate("MainWindow", "Copy", nullptr)); -#ifndef QT_NO_SHORTCUT - mCopyEditAction->setShortcut(QApplication::translate("MainWindow", "Ctrl+C", nullptr)); -#endif // QT_NO_SHORTCUT - mPasteEditAction->setText(QApplication::translate("MainWindow", "Paste", nullptr)); -#ifndef QT_NO_SHORTCUT - mPasteEditAction->setShortcut(QApplication::translate("MainWindow", "Ctrl+V", nullptr)); -#endif // QT_NO_SHORTCUT - mDeleteEditAction->setText(QApplication::translate("MainWindow", "Delete", nullptr)); - mSelectAllEditAction->setText(QApplication::translate("MainWindow", "Select all note", nullptr)); -#ifndef QT_NO_SHORTCUT - mSelectAllEditAction->setShortcut(QApplication::translate("MainWindow", "Ctrl+A", nullptr)); -#endif // QT_NO_SHORTCUT - mAboutAction->setText(QApplication::translate("MainWindow", "About...", nullptr)); - mTimelineAction->setText(QApplication::translate("MainWindow", "Timeline...", nullptr)); - mTimeReportAction->setText(QApplication::translate("MainWindow", "Time report...", nullptr)); - mShowToolbarAction->setText(QApplication::translate("MainWindow", "Show toolbar", nullptr)); - mAttachmentsAction->setText(QApplication::translate("MainWindow", "Attachments", nullptr)); -#ifndef QT_NO_TOOLTIP - mAttachmentsAction->setToolTip(QApplication::translate("MainWindow", "View&edit attachments", nullptr)); -#endif // QT_NO_TOOLTIP - mCheckForUpdatesAction->setText(QApplication::translate("MainWindow", "Check for updates...", nullptr)); - mTimeTrackableAction->setText(QApplication::translate("MainWindow", "Time trackable", nullptr)); - mActionSearchInTasks->setText(QApplication::translate("MainWindow", "Find in tasks...", nullptr)); -#ifndef QT_NO_SHORTCUT - mActionSearchInTasks->setShortcut(QApplication::translate("MainWindow", "Ctrl+Shift+F", nullptr)); -#endif // QT_NO_SHORTCUT - mActionSearch->setText(QApplication::translate("MainWindow", "Find...", nullptr)); -#ifndef QT_NO_SHORTCUT - mActionSearch->setShortcut(QApplication::translate("MainWindow", "Ctrl+F", nullptr)); -#endif // QT_NO_SHORTCUT - mShowLittAction->setText(QApplication::translate("MainWindow", "Show Litt window", nullptr)); -#ifndef QT_NO_TOOLTIP - mShowLittAction->setToolTip(QApplication::translate("MainWindow", "Bring Litt window to foreground", nullptr)); -#endif // QT_NO_TOOLTIP - mFocusTaskTreeAction->setText(QApplication::translate("MainWindow", "Switch to task tree", nullptr)); -#ifndef QT_NO_SHORTCUT - mFocusTaskTreeAction->setShortcut(QApplication::translate("MainWindow", "Ctrl+1", nullptr)); -#endif // QT_NO_SHORTCUT - mFocusTaskTextAction->setText(QApplication::translate("MainWindow", "Switch to task text", nullptr)); -#ifndef QT_NO_SHORTCUT - mFocusTaskTextAction->setShortcut(QApplication::translate("MainWindow", "Ctrl+2", nullptr)); -#endif // QT_NO_SHORTCUT - mAddSiblingAction->setText(QApplication::translate("MainWindow", "Add sibling", nullptr)); -#ifndef QT_NO_TOOLTIP - mAddSiblingAction->setToolTip(QApplication::translate("MainWindow", "Add sibling document", nullptr)); -#endif // QT_NO_TOOLTIP - mDecreaseLevelAction->setText(QApplication::translate("MainWindow", "Decrease level", nullptr)); -#ifndef QT_NO_TOOLTIP - mDecreaseLevelAction->setToolTip(QApplication::translate("MainWindow", "Decrease document level", nullptr)); -#endif // QT_NO_TOOLTIP - mIncreaseLevelAction->setText(QApplication::translate("MainWindow", "Increase level", nullptr)); -#ifndef QT_NO_TOOLTIP - mIncreaseLevelAction->setToolTip(QApplication::translate("MainWindow", "Increase document level", nullptr)); -#endif // QT_NO_TOOLTIP - mMoveUpAction->setText(QApplication::translate("MainWindow", "Move up", nullptr)); -#ifndef QT_NO_TOOLTIP - mMoveUpAction->setToolTip(QApplication::translate("MainWindow", "Move document up", nullptr)); -#endif // QT_NO_TOOLTIP -#ifndef QT_NO_SHORTCUT - mMoveUpAction->setShortcut(QApplication::translate("MainWindow", "Ctrl+Shift+Up", nullptr)); -#endif // QT_NO_SHORTCUT - mMoveDownAction->setText(QApplication::translate("MainWindow", "Move down", nullptr)); -#ifndef QT_NO_TOOLTIP - mMoveDownAction->setToolTip(QApplication::translate("MainWindow", "Move document down", nullptr)); -#endif // QT_NO_TOOLTIP -#ifndef QT_NO_SHORTCUT - mMoveDownAction->setShortcut(QApplication::translate("MainWindow", "Ctrl+Shift+Down", nullptr)); -#endif // QT_NO_SHORTCUT - label->setText(QApplication::translate("MainWindow", "Find:", nullptr)); - mTodayTextLabel->setText(QApplication::translate("MainWindow", "Today:", nullptr)); - mTodaySpentTimeLabel->setText(QApplication::translate("MainWindow", "0 hours 0 minutes", nullptr)); - mThisMonthTextLabel->setText(QApplication::translate("MainWindow", "This month:", nullptr)); - mThisMonthSpentTimeLabel->setText(QApplication::translate("MainWindow", "0 hours 0 minutes", nullptr)); - mFileMenu->setTitle(QApplication::translate("MainWindow", "&File", nullptr)); - mEditMenu->setTitle(QApplication::translate("MainWindow", "Edit", nullptr)); - mToolsMenu->setTitle(QApplication::translate("MainWindow", "&Tools", nullptr)); - mStartRecentTaskMenu->setTitle(QApplication::translate("MainWindow", "Track recent task", nullptr)); - mViewMenu->setTitle(QApplication::translate("MainWindow", "View", nullptr)); - mMainToolbar->setWindowTitle(QApplication::translate("MainWindow", "Toolbar", nullptr)); - Q_UNUSED(MainWindow); - } // retranslateUi - -}; - -namespace Ui { - class MainWindow: public Ui_MainWindow {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_MAINWINDOW_H diff --git a/client/ui_newpassworddlg.h b/client/ui_newpassworddlg.h deleted file mode 100644 index e9bdf78..0000000 --- a/client/ui_newpassworddlg.h +++ /dev/null @@ -1,108 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'newpassworddlg.ui' -** -** Created by: Qt User Interface Compiler version 5.12.2 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_NEWPASSWORDDLG_H -#define UI_NEWPASSWORDDLG_H - -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_NewPasswordDlg -{ -public: - QVBoxLayout *verticalLayout; - QFormLayout *formLayout; - QLabel *mNewPasswordLabel1; - QLineEdit *mNewPasswordEdit1; - QLabel *mNewPasswordLabel2; - QLineEdit *mNewPasswordEdit2; - QLabel *mPasswordHintLabel; - QDialogButtonBox *mDialogButtonBox; - - void setupUi(QDialog *NewPasswordDlg) - { - if (NewPasswordDlg->objectName().isEmpty()) - NewPasswordDlg->setObjectName(QString::fromUtf8("NewPasswordDlg")); - NewPasswordDlg->resize(416, 200); - NewPasswordDlg->setMinimumSize(QSize(400, 188)); - verticalLayout = new QVBoxLayout(NewPasswordDlg); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - formLayout = new QFormLayout(); - formLayout->setObjectName(QString::fromUtf8("formLayout")); - mNewPasswordLabel1 = new QLabel(NewPasswordDlg); - mNewPasswordLabel1->setObjectName(QString::fromUtf8("mNewPasswordLabel1")); - - formLayout->setWidget(0, QFormLayout::LabelRole, mNewPasswordLabel1); - - mNewPasswordEdit1 = new QLineEdit(NewPasswordDlg); - mNewPasswordEdit1->setObjectName(QString::fromUtf8("mNewPasswordEdit1")); - mNewPasswordEdit1->setInputMethodHints(Qt::ImhHiddenText|Qt::ImhNoAutoUppercase|Qt::ImhNoPredictiveText|Qt::ImhSensitiveData); - mNewPasswordEdit1->setEchoMode(QLineEdit::Password); - - formLayout->setWidget(0, QFormLayout::FieldRole, mNewPasswordEdit1); - - mNewPasswordLabel2 = new QLabel(NewPasswordDlg); - mNewPasswordLabel2->setObjectName(QString::fromUtf8("mNewPasswordLabel2")); - - formLayout->setWidget(1, QFormLayout::LabelRole, mNewPasswordLabel2); - - mNewPasswordEdit2 = new QLineEdit(NewPasswordDlg); - mNewPasswordEdit2->setObjectName(QString::fromUtf8("mNewPasswordEdit2")); - mNewPasswordEdit2->setEchoMode(QLineEdit::Password); - - formLayout->setWidget(1, QFormLayout::FieldRole, mNewPasswordEdit2); - - - verticalLayout->addLayout(formLayout); - - mPasswordHintLabel = new QLabel(NewPasswordDlg); - mPasswordHintLabel->setObjectName(QString::fromUtf8("mPasswordHintLabel")); - mPasswordHintLabel->setWordWrap(true); - - verticalLayout->addWidget(mPasswordHintLabel); - - mDialogButtonBox = new QDialogButtonBox(NewPasswordDlg); - mDialogButtonBox->setObjectName(QString::fromUtf8("mDialogButtonBox")); - mDialogButtonBox->setOrientation(Qt::Horizontal); - mDialogButtonBox->setStandardButtons(QDialogButtonBox::Ok); - mDialogButtonBox->setCenterButtons(true); - - verticalLayout->addWidget(mDialogButtonBox); - - - retranslateUi(NewPasswordDlg); - QObject::connect(mDialogButtonBox, SIGNAL(accepted()), NewPasswordDlg, SLOT(tryAccept())); - - QMetaObject::connectSlotsByName(NewPasswordDlg); - } // setupUi - - void retranslateUi(QDialog *NewPasswordDlg) - { - NewPasswordDlg->setWindowTitle(QApplication::translate("NewPasswordDlg", "Password for new database", nullptr)); - mNewPasswordLabel1->setText(QApplication::translate("NewPasswordDlg", "Password:", nullptr)); - mNewPasswordLabel2->setText(QApplication::translate("NewPasswordDlg", "Repeat password:", nullptr)); - mPasswordHintLabel->setText(QApplication::translate("NewPasswordDlg", "

Please enter new password twice to complete database creation.

Please be aware - there is no way to recover lost password.

", nullptr)); - } // retranslateUi - -}; - -namespace Ui { - class NewPasswordDlg: public Ui_NewPasswordDlg {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_NEWPASSWORDDLG_H diff --git a/client/ui_passworddlg.h b/client/ui_passworddlg.h deleted file mode 100644 index a3e6e5a..0000000 --- a/client/ui_passworddlg.h +++ /dev/null @@ -1,89 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'passworddlg.ui' -** -** Created by: Qt User Interface Compiler version 5.12.2 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_PASSWORDDLG_H -#define UI_PASSWORDDLG_H - -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_PasswordDlg -{ -public: - QVBoxLayout *verticalLayout; - QFormLayout *mPasswordFormLayout; - QLabel *mPasswordLabel; - QLineEdit *mPasswordEdit; - QDialogButtonBox *mButtonBox; - - void setupUi(QDialog *PasswordDlg) - { - if (PasswordDlg->objectName().isEmpty()) - PasswordDlg->setObjectName(QString::fromUtf8("PasswordDlg")); - PasswordDlg->resize(285, 113); - PasswordDlg->setMinimumSize(QSize(285, 113)); - verticalLayout = new QVBoxLayout(PasswordDlg); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - verticalLayout->setContentsMargins(-1, 24, -1, 12); - mPasswordFormLayout = new QFormLayout(); - mPasswordFormLayout->setObjectName(QString::fromUtf8("mPasswordFormLayout")); - mPasswordFormLayout->setFieldGrowthPolicy(QFormLayout::FieldsStayAtSizeHint); - mPasswordLabel = new QLabel(PasswordDlg); - mPasswordLabel->setObjectName(QString::fromUtf8("mPasswordLabel")); - - mPasswordFormLayout->setWidget(0, QFormLayout::LabelRole, mPasswordLabel); - - mPasswordEdit = new QLineEdit(PasswordDlg); - mPasswordEdit->setObjectName(QString::fromUtf8("mPasswordEdit")); - mPasswordEdit->setInputMethodHints(Qt::ImhHiddenText|Qt::ImhNoAutoUppercase|Qt::ImhNoPredictiveText|Qt::ImhSensitiveData); - mPasswordEdit->setEchoMode(QLineEdit::Password); - - mPasswordFormLayout->setWidget(0, QFormLayout::FieldRole, mPasswordEdit); - - - verticalLayout->addLayout(mPasswordFormLayout); - - mButtonBox = new QDialogButtonBox(PasswordDlg); - mButtonBox->setObjectName(QString::fromUtf8("mButtonBox")); - mButtonBox->setMaximumSize(QSize(16777215, 50)); - mButtonBox->setOrientation(Qt::Horizontal); - mButtonBox->setStandardButtons(QDialogButtonBox::Ok); - mButtonBox->setCenterButtons(true); - - verticalLayout->addWidget(mButtonBox); - - - retranslateUi(PasswordDlg); - QObject::connect(mButtonBox, SIGNAL(accepted()), PasswordDlg, SLOT(accept())); - - QMetaObject::connectSlotsByName(PasswordDlg); - } // setupUi - - void retranslateUi(QDialog *PasswordDlg) - { - PasswordDlg->setWindowTitle(QApplication::translate("PasswordDlg", "Password required", nullptr)); - mPasswordLabel->setText(QApplication::translate("PasswordDlg", "Password:", nullptr)); - } // retranslateUi - -}; - -namespace Ui { - class PasswordDlg: public Ui_PasswordDlg {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_PASSWORDDLG_H diff --git a/client/ui_preferencesdlg.h b/client/ui_preferencesdlg.h deleted file mode 100644 index 4337bde..0000000 --- a/client/ui_preferencesdlg.h +++ /dev/null @@ -1,237 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'preferencesdlg.ui' -** -** Created by: Qt User Interface Compiler version 5.12.2 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_PREFERENCESDLG_H -#define UI_PREFERENCESDLG_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_PreferencesDlg -{ -public: - QVBoxLayout *verticalLayout_3; - QCheckBox *mShowSecondsCheckbox; - QCheckBox *mAutosavePasswordCheckbox; - QCheckBox *mShowTrayIconCheckbox; - QCheckBox *mDarkThemeCheckbox; - QCheckBox *mCustomDatabaseFileCheckbox; - QPushButton *mSelectDatabaseButton; - QLabel *mDatabaseLocation; - QVBoxLayout *stopTrackingRuleLayout; - QHBoxLayout *horizontalLayout; - QCheckBox *mSmartStopTracking; - QLineEdit *mSmartStopIntervalInMinutes; - QLabel *label; - QHBoxLayout *horizontalLayout_3; - QSpacerItem *horizontalSpacer_2; - QVBoxLayout *verticalLayout_2; - QRadioButton *mAskQuestionOnStopRadiobutton; - QRadioButton *mAutomaticallyOnStopRadiobutton; - QVBoxLayout *startTrackingRuleLayout; - QHBoxLayout *horizontalLayout_4; - QCheckBox *mSmartStartTracking; - QLabel *label_2; - QDialogButtonBox *buttonBox; - QButtonGroup *buttonGroup; - - void setupUi(QDialog *PreferencesDlg) - { - if (PreferencesDlg->objectName().isEmpty()) - PreferencesDlg->setObjectName(QString::fromUtf8("PreferencesDlg")); - PreferencesDlg->resize(444, 374); - QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(PreferencesDlg->sizePolicy().hasHeightForWidth()); - PreferencesDlg->setSizePolicy(sizePolicy); - verticalLayout_3 = new QVBoxLayout(PreferencesDlg); - verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3")); - mShowSecondsCheckbox = new QCheckBox(PreferencesDlg); - mShowSecondsCheckbox->setObjectName(QString::fromUtf8("mShowSecondsCheckbox")); - - verticalLayout_3->addWidget(mShowSecondsCheckbox); - - mAutosavePasswordCheckbox = new QCheckBox(PreferencesDlg); - mAutosavePasswordCheckbox->setObjectName(QString::fromUtf8("mAutosavePasswordCheckbox")); - - verticalLayout_3->addWidget(mAutosavePasswordCheckbox); - - mShowTrayIconCheckbox = new QCheckBox(PreferencesDlg); - mShowTrayIconCheckbox->setObjectName(QString::fromUtf8("mShowTrayIconCheckbox")); - - verticalLayout_3->addWidget(mShowTrayIconCheckbox); - - mDarkThemeCheckbox = new QCheckBox(PreferencesDlg); - mDarkThemeCheckbox->setObjectName(QString::fromUtf8("mDarkThemeCheckbox")); - - verticalLayout_3->addWidget(mDarkThemeCheckbox); - - mCustomDatabaseFileCheckbox = new QCheckBox(PreferencesDlg); - mCustomDatabaseFileCheckbox->setObjectName(QString::fromUtf8("mCustomDatabaseFileCheckbox")); - - verticalLayout_3->addWidget(mCustomDatabaseFileCheckbox); - - mSelectDatabaseButton = new QPushButton(PreferencesDlg); - mSelectDatabaseButton->setObjectName(QString::fromUtf8("mSelectDatabaseButton")); - - verticalLayout_3->addWidget(mSelectDatabaseButton); - - mDatabaseLocation = new QLabel(PreferencesDlg); - mDatabaseLocation->setObjectName(QString::fromUtf8("mDatabaseLocation")); - QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed); - sizePolicy1.setHorizontalStretch(0); - sizePolicy1.setVerticalStretch(0); - sizePolicy1.setHeightForWidth(mDatabaseLocation->sizePolicy().hasHeightForWidth()); - mDatabaseLocation->setSizePolicy(sizePolicy1); - - verticalLayout_3->addWidget(mDatabaseLocation); - - stopTrackingRuleLayout = new QVBoxLayout(); - stopTrackingRuleLayout->setSpacing(0); - stopTrackingRuleLayout->setObjectName(QString::fromUtf8("stopTrackingRuleLayout")); - horizontalLayout = new QHBoxLayout(); - horizontalLayout->setSpacing(0); - horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); - mSmartStopTracking = new QCheckBox(PreferencesDlg); - mSmartStopTracking->setObjectName(QString::fromUtf8("mSmartStopTracking")); - QSizePolicy sizePolicy2(QSizePolicy::Fixed, QSizePolicy::Fixed); - sizePolicy2.setHorizontalStretch(20); - sizePolicy2.setVerticalStretch(0); - sizePolicy2.setHeightForWidth(mSmartStopTracking->sizePolicy().hasHeightForWidth()); - mSmartStopTracking->setSizePolicy(sizePolicy2); - mSmartStopTracking->setMinimumSize(QSize(240, 0)); - - horizontalLayout->addWidget(mSmartStopTracking); - - mSmartStopIntervalInMinutes = new QLineEdit(PreferencesDlg); - mSmartStopIntervalInMinutes->setObjectName(QString::fromUtf8("mSmartStopIntervalInMinutes")); - mSmartStopIntervalInMinutes->setMaximumSize(QSize(50, 16777215)); - - horizontalLayout->addWidget(mSmartStopIntervalInMinutes); - - label = new QLabel(PreferencesDlg); - label->setObjectName(QString::fromUtf8("label")); - label->setMargin(3); - - horizontalLayout->addWidget(label); - - - stopTrackingRuleLayout->addLayout(horizontalLayout); - - horizontalLayout_3 = new QHBoxLayout(); - horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3")); - horizontalSpacer_2 = new QSpacerItem(20, 20, QSizePolicy::Fixed, QSizePolicy::Minimum); - - horizontalLayout_3->addItem(horizontalSpacer_2); - - verticalLayout_2 = new QVBoxLayout(); - verticalLayout_2->setSpacing(10); - verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); - mAskQuestionOnStopRadiobutton = new QRadioButton(PreferencesDlg); - buttonGroup = new QButtonGroup(PreferencesDlg); - buttonGroup->setObjectName(QString::fromUtf8("buttonGroup")); - buttonGroup->addButton(mAskQuestionOnStopRadiobutton); - mAskQuestionOnStopRadiobutton->setObjectName(QString::fromUtf8("mAskQuestionOnStopRadiobutton")); - - verticalLayout_2->addWidget(mAskQuestionOnStopRadiobutton); - - mAutomaticallyOnStopRadiobutton = new QRadioButton(PreferencesDlg); - buttonGroup->addButton(mAutomaticallyOnStopRadiobutton); - mAutomaticallyOnStopRadiobutton->setObjectName(QString::fromUtf8("mAutomaticallyOnStopRadiobutton")); - - verticalLayout_2->addWidget(mAutomaticallyOnStopRadiobutton); - - - horizontalLayout_3->addLayout(verticalLayout_2); - - - stopTrackingRuleLayout->addLayout(horizontalLayout_3); - - - verticalLayout_3->addLayout(stopTrackingRuleLayout); - - startTrackingRuleLayout = new QVBoxLayout(); - startTrackingRuleLayout->setSpacing(0); - startTrackingRuleLayout->setObjectName(QString::fromUtf8("startTrackingRuleLayout")); - horizontalLayout_4 = new QHBoxLayout(); - horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4")); - mSmartStartTracking = new QCheckBox(PreferencesDlg); - mSmartStartTracking->setObjectName(QString::fromUtf8("mSmartStartTracking")); - - horizontalLayout_4->addWidget(mSmartStartTracking); - - label_2 = new QLabel(PreferencesDlg); - label_2->setObjectName(QString::fromUtf8("label_2")); - - horizontalLayout_4->addWidget(label_2); - - - startTrackingRuleLayout->addLayout(horizontalLayout_4); - - - verticalLayout_3->addLayout(startTrackingRuleLayout); - - buttonBox = new QDialogButtonBox(PreferencesDlg); - buttonBox->setObjectName(QString::fromUtf8("buttonBox")); - buttonBox->setOrientation(Qt::Horizontal); - buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); - buttonBox->setCenterButtons(true); - - verticalLayout_3->addWidget(buttonBox); - - - retranslateUi(PreferencesDlg); - QObject::connect(buttonBox, SIGNAL(accepted()), PreferencesDlg, SLOT(accept())); - QObject::connect(buttonBox, SIGNAL(rejected()), PreferencesDlg, SLOT(reject())); - QObject::connect(buttonGroup, SIGNAL(buttonClicked(int)), PreferencesDlg, SLOT(smartStopWayChanged())); - - QMetaObject::connectSlotsByName(PreferencesDlg); - } // setupUi - - void retranslateUi(QDialog *PreferencesDlg) - { - PreferencesDlg->setWindowTitle(QApplication::translate("PreferencesDlg", "Dialog", nullptr)); - mShowSecondsCheckbox->setText(QApplication::translate("PreferencesDlg", "Show seconds", nullptr)); - mAutosavePasswordCheckbox->setText(QApplication::translate("PreferencesDlg", "Save password in keychain", nullptr)); - mShowTrayIconCheckbox->setText(QApplication::translate("PreferencesDlg", "Show tray icon", nullptr)); - mDarkThemeCheckbox->setText(QApplication::translate("PreferencesDlg", "Use dark theme", nullptr)); - mCustomDatabaseFileCheckbox->setText(QApplication::translate("PreferencesDlg", "Use database at custom location (requires app restart)", nullptr)); - mSelectDatabaseButton->setText(QApplication::translate("PreferencesDlg", "Select file...", nullptr)); - mDatabaseLocation->setText(QApplication::translate("PreferencesDlg", "Location of used database", nullptr)); - mSmartStopTracking->setText(QApplication::translate("PreferencesDlg", "Stop tracking if idle detected for", nullptr)); - label->setText(QApplication::translate("PreferencesDlg", "minutes", nullptr)); - mAskQuestionOnStopRadiobutton->setText(QApplication::translate("PreferencesDlg", "Ask question", nullptr)); - mAutomaticallyOnStopRadiobutton->setText(QApplication::translate("PreferencesDlg", "Automatically", nullptr)); - mSmartStartTracking->setText(QApplication::translate("PreferencesDlg", "Start tracking after stop on idle when user activity detected. \n" -"This option requires enabled automatic stop tracking on idle.", nullptr)); - label_2->setText(QString()); - } // retranslateUi - -}; - -namespace Ui { - class PreferencesDlg: public Ui_PreferencesDlg {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_PREFERENCESDLG_H diff --git a/client/ui_startworkdialog.h b/client/ui_startworkdialog.h deleted file mode 100644 index d2653c6..0000000 --- a/client/ui_startworkdialog.h +++ /dev/null @@ -1,86 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'startworkdialog.ui' -** -** Created by: Qt User Interface Compiler version 5.12.2 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_STARTWORKDIALOG_H -#define UI_STARTWORKDIALOG_H - -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_StartWorkDialog -{ -public: - QLabel *mInfoLabel; - QToolButton *mYesButton; - QToolButton *mNoButton; - - void setupUi(QDialog *StartWorkDialog) - { - if (StartWorkDialog->objectName().isEmpty()) - StartWorkDialog->setObjectName(QString::fromUtf8("StartWorkDialog")); - StartWorkDialog->resize(394, 61); - StartWorkDialog->setSizeGripEnabled(false); - mInfoLabel = new QLabel(StartWorkDialog); - mInfoLabel->setObjectName(QString::fromUtf8("mInfoLabel")); - mInfoLabel->setGeometry(QRect(2, 2, 276, 51)); - QFont font; - font.setPointSize(12); - mInfoLabel->setFont(font); - mInfoLabel->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop); - mInfoLabel->setWordWrap(true); - mInfoLabel->setMargin(4); - mYesButton = new QToolButton(StartWorkDialog); - mYesButton->setObjectName(QString::fromUtf8("mYesButton")); - mYesButton->setGeometry(QRect(280, 4, 111, 25)); - QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); - sizePolicy.setHorizontalStretch(0); - sizePolicy.setVerticalStretch(0); - sizePolicy.setHeightForWidth(mYesButton->sizePolicy().hasHeightForWidth()); - mYesButton->setSizePolicy(sizePolicy); - mYesButton->setFont(font); - mYesButton->setPopupMode(QToolButton::DelayedPopup); - mYesButton->setToolButtonStyle(Qt::ToolButtonTextOnly); - mYesButton->setAutoRaise(true); - mNoButton = new QToolButton(StartWorkDialog); - mNoButton->setObjectName(QString::fromUtf8("mNoButton")); - mNoButton->setGeometry(QRect(280, 34, 111, 25)); - sizePolicy.setHeightForWidth(mNoButton->sizePolicy().hasHeightForWidth()); - mNoButton->setSizePolicy(sizePolicy); - mNoButton->setFont(font); - mNoButton->setToolButtonStyle(Qt::ToolButtonTextOnly); - - retranslateUi(StartWorkDialog); - QObject::connect(mYesButton, SIGNAL(clicked()), StartWorkDialog, SLOT(onYesButtonTriggered())); - QObject::connect(mNoButton, SIGNAL(clicked()), StartWorkDialog, SLOT(onNoButtonTriggered())); - - QMetaObject::connectSlotsByName(StartWorkDialog); - } // setupUi - - void retranslateUi(QDialog *StartWorkDialog) - { - StartWorkDialog->setWindowTitle(QApplication::translate("StartWorkDialog", "Dialog", nullptr)); - mInfoLabel->setText(QApplication::translate("StartWorkDialog", "Litt discovered user activity after idle interval. \n" -"Should Litt start tracking on %TASK%?", nullptr)); - mYesButton->setText(QApplication::translate("StartWorkDialog", "Yes", nullptr)); - mNoButton->setText(QApplication::translate("StartWorkDialog", "No", nullptr)); - } // retranslateUi - -}; - -namespace Ui { - class StartWorkDialog: public Ui_StartWorkDialog {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_STARTWORKDIALOG_H diff --git a/client/ui_stopworkdialog.h b/client/ui_stopworkdialog.h deleted file mode 100644 index abe65c7..0000000 --- a/client/ui_stopworkdialog.h +++ /dev/null @@ -1,73 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'stopworkdialog.ui' -** -** Created by: Qt User Interface Compiler version 5.12.2 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_STOPWORKDIALOG_H -#define UI_STOPWORKDIALOG_H - -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_StopWorkDialog -{ -public: - QLabel *mInfoLabel; - QToolButton *mYesButton; - QToolButton *mNoButton; - - void setupUi(QDialog *StopWorkDialog) - { - if (StopWorkDialog->objectName().isEmpty()) - StopWorkDialog->setObjectName(QString::fromUtf8("StopWorkDialog")); - StopWorkDialog->resize(386, 59); - mInfoLabel = new QLabel(StopWorkDialog); - mInfoLabel->setObjectName(QString::fromUtf8("mInfoLabel")); - mInfoLabel->setGeometry(QRect(7, 3, 241, 41)); - QFont font; - font.setPointSize(12); - mInfoLabel->setFont(font); - mInfoLabel->setScaledContents(false); - mInfoLabel->setWordWrap(true); - mYesButton = new QToolButton(StopWorkDialog); - mYesButton->setObjectName(QString::fromUtf8("mYesButton")); - mYesButton->setGeometry(QRect(270, 3, 111, 25)); - mYesButton->setFont(font); - mNoButton = new QToolButton(StopWorkDialog); - mNoButton->setObjectName(QString::fromUtf8("mNoButton")); - mNoButton->setGeometry(QRect(270, 32, 111, 25)); - mNoButton->setFont(font); - - retranslateUi(StopWorkDialog); - QObject::connect(mYesButton, SIGNAL(clicked()), StopWorkDialog, SLOT(onYesButtonTriggered())); - QObject::connect(mNoButton, SIGNAL(clicked()), StopWorkDialog, SLOT(onNoButtonTriggered())); - - QMetaObject::connectSlotsByName(StopWorkDialog); - } // setupUi - - void retranslateUi(QDialog *StopWorkDialog) - { - StopWorkDialog->setWindowTitle(QApplication::translate("StopWorkDialog", "Dialog", nullptr)); - mInfoLabel->setText(QApplication::translate("StopWorkDialog", "Litt discovered idle interval at %TIME%.\n" -"Should app to continue work tracking?", nullptr)); - mYesButton->setText(QApplication::translate("StopWorkDialog", "Yes", nullptr)); - mNoButton->setText(QApplication::translate("StopWorkDialog", "No", nullptr)); - } // retranslateUi - -}; - -namespace Ui { - class StopWorkDialog: public Ui_StopWorkDialog {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_STOPWORKDIALOG_H diff --git a/client/ui_timeintervaldlg.h b/client/ui_timeintervaldlg.h deleted file mode 100644 index 208ed8f..0000000 --- a/client/ui_timeintervaldlg.h +++ /dev/null @@ -1,101 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'timeintervaldlg.ui' -** -** Created by: Qt User Interface Compiler version 5.12.2 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_TIMEINTERVALDLG_H -#define UI_TIMEINTERVALDLG_H - -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_TimeIntervalDlg -{ -public: - QVBoxLayout *verticalLayout; - QFormLayout *formLayout; - QLabel *mStartTimeLabel; - QDateTimeEdit *mStartTimeEdit; - QLabel *mFinishTimeLabel; - QDateTimeEdit *mFinishTimeEdit; - QDialogButtonBox *buttonBox; - - void setupUi(QDialog *TimeIntervalDlg) - { - if (TimeIntervalDlg->objectName().isEmpty()) - TimeIntervalDlg->setObjectName(QString::fromUtf8("TimeIntervalDlg")); - TimeIntervalDlg->resize(400, 134); - TimeIntervalDlg->setModal(false); - verticalLayout = new QVBoxLayout(TimeIntervalDlg); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - formLayout = new QFormLayout(); - formLayout->setObjectName(QString::fromUtf8("formLayout")); - mStartTimeLabel = new QLabel(TimeIntervalDlg); - mStartTimeLabel->setObjectName(QString::fromUtf8("mStartTimeLabel")); - - formLayout->setWidget(0, QFormLayout::LabelRole, mStartTimeLabel); - - mStartTimeEdit = new QDateTimeEdit(TimeIntervalDlg); - mStartTimeEdit->setObjectName(QString::fromUtf8("mStartTimeEdit")); - mStartTimeEdit->setTime(QTime(1, 0, 0)); - mStartTimeEdit->setCalendarPopup(true); - - formLayout->setWidget(0, QFormLayout::FieldRole, mStartTimeEdit); - - mFinishTimeLabel = new QLabel(TimeIntervalDlg); - mFinishTimeLabel->setObjectName(QString::fromUtf8("mFinishTimeLabel")); - - formLayout->setWidget(1, QFormLayout::LabelRole, mFinishTimeLabel); - - mFinishTimeEdit = new QDateTimeEdit(TimeIntervalDlg); - mFinishTimeEdit->setObjectName(QString::fromUtf8("mFinishTimeEdit")); - mFinishTimeEdit->setCalendarPopup(true); - - formLayout->setWidget(1, QFormLayout::FieldRole, mFinishTimeEdit); - - - verticalLayout->addLayout(formLayout); - - buttonBox = new QDialogButtonBox(TimeIntervalDlg); - buttonBox->setObjectName(QString::fromUtf8("buttonBox")); - buttonBox->setOrientation(Qt::Horizontal); - buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); - buttonBox->setCenterButtons(true); - - verticalLayout->addWidget(buttonBox); - - - retranslateUi(TimeIntervalDlg); - QObject::connect(buttonBox, SIGNAL(accepted()), TimeIntervalDlg, SLOT(accept())); - QObject::connect(buttonBox, SIGNAL(rejected()), TimeIntervalDlg, SLOT(reject())); - - QMetaObject::connectSlotsByName(TimeIntervalDlg); - } // setupUi - - void retranslateUi(QDialog *TimeIntervalDlg) - { - TimeIntervalDlg->setWindowTitle(QApplication::translate("TimeIntervalDlg", "Time interval", nullptr)); - mStartTimeLabel->setText(QApplication::translate("TimeIntervalDlg", "Start time:", nullptr)); - mFinishTimeLabel->setText(QApplication::translate("TimeIntervalDlg", "Finish time:", nullptr)); - } // retranslateUi - -}; - -namespace Ui { - class TimeIntervalDlg: public Ui_TimeIntervalDlg {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_TIMEINTERVALDLG_H diff --git a/client/ui_timetreedlg.h b/client/ui_timetreedlg.h deleted file mode 100644 index e033145..0000000 --- a/client/ui_timetreedlg.h +++ /dev/null @@ -1,106 +0,0 @@ -/******************************************************************************** -** Form generated from reading UI file 'timetreedlg.ui' -** -** Created by: Qt User Interface Compiler version 5.12.2 -** -** WARNING! All changes made in this file will be lost when recompiling UI file! -********************************************************************************/ - -#ifndef UI_TIMETREEDLG_H -#define UI_TIMETREEDLG_H - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -QT_BEGIN_NAMESPACE - -class Ui_TimeTreeDlg -{ -public: - QAction *mAddIntervalAction; - QAction *mRemoveIntervalAction; - QAction *mChangeIntervalAction; - QGridLayout *gridLayout; - QTreeView *mTimeTree; - QVBoxLayout *verticalLayout; - QPushButton *mAddIntervalButton; - QPushButton *mRemoveIntervalButton; - QDialogButtonBox *mButtonBox; - - void setupUi(QDialog *TimeTreeDlg) - { - if (TimeTreeDlg->objectName().isEmpty()) - TimeTreeDlg->setObjectName(QString::fromUtf8("TimeTreeDlg")); - TimeTreeDlg->resize(400, 300); - TimeTreeDlg->setModal(true); - mAddIntervalAction = new QAction(TimeTreeDlg); - mAddIntervalAction->setObjectName(QString::fromUtf8("mAddIntervalAction")); - mRemoveIntervalAction = new QAction(TimeTreeDlg); - mRemoveIntervalAction->setObjectName(QString::fromUtf8("mRemoveIntervalAction")); - mChangeIntervalAction = new QAction(TimeTreeDlg); - mChangeIntervalAction->setObjectName(QString::fromUtf8("mChangeIntervalAction")); - gridLayout = new QGridLayout(TimeTreeDlg); - gridLayout->setObjectName(QString::fromUtf8("gridLayout")); - mTimeTree = new QTreeView(TimeTreeDlg); - mTimeTree->setObjectName(QString::fromUtf8("mTimeTree")); - - gridLayout->addWidget(mTimeTree, 0, 0, 1, 1); - - verticalLayout = new QVBoxLayout(); - verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); - mAddIntervalButton = new QPushButton(TimeTreeDlg); - mAddIntervalButton->setObjectName(QString::fromUtf8("mAddIntervalButton")); - - verticalLayout->addWidget(mAddIntervalButton); - - mRemoveIntervalButton = new QPushButton(TimeTreeDlg); - mRemoveIntervalButton->setObjectName(QString::fromUtf8("mRemoveIntervalButton")); - - verticalLayout->addWidget(mRemoveIntervalButton); - - - gridLayout->addLayout(verticalLayout, 0, 1, 1, 1); - - mButtonBox = new QDialogButtonBox(TimeTreeDlg); - mButtonBox->setObjectName(QString::fromUtf8("mButtonBox")); - mButtonBox->setOrientation(Qt::Horizontal); - mButtonBox->setStandardButtons(QDialogButtonBox::Ok); - mButtonBox->setCenterButtons(true); - - gridLayout->addWidget(mButtonBox, 1, 0, 1, 1); - - - retranslateUi(TimeTreeDlg); - QObject::connect(mButtonBox, SIGNAL(accepted()), TimeTreeDlg, SLOT(accept())); - QObject::connect(mButtonBox, SIGNAL(rejected()), TimeTreeDlg, SLOT(reject())); - - QMetaObject::connectSlotsByName(TimeTreeDlg); - } // setupUi - - void retranslateUi(QDialog *TimeTreeDlg) - { - TimeTreeDlg->setWindowTitle(QApplication::translate("TimeTreeDlg", "Timeline", nullptr)); - mAddIntervalAction->setText(QApplication::translate("TimeTreeDlg", "Add...", nullptr)); - mRemoveIntervalAction->setText(QApplication::translate("TimeTreeDlg", "Remove", nullptr)); - mChangeIntervalAction->setText(QApplication::translate("TimeTreeDlg", "Change...", nullptr)); - mAddIntervalButton->setText(QApplication::translate("TimeTreeDlg", "Add...", nullptr)); - mRemoveIntervalButton->setText(QApplication::translate("TimeTreeDlg", "Remove", nullptr)); - } // retranslateUi - -}; - -namespace Ui { - class TimeTreeDlg: public Ui_TimeTreeDlg {}; -} // namespace Ui - -QT_END_NAMESPACE - -#endif // UI_TIMETREEDLG_H diff --git a/lib/uuid/include/uuid/uuid.h b/lib/uuid/include/uuid/uuid.h new file mode 100644 index 0000000..874d65a --- /dev/null +++ b/lib/uuid/include/uuid/uuid.h @@ -0,0 +1,104 @@ +/* + * Public include file for the UUID library + * + * Copyright (C) 1996, 1997, 1998 Theodore Ts'o. + * + * %Begin-Header% + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, and the entire permission notice in its entirety, + * including the disclaimer of warranties. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. The name of the author may not be used to endorse or promote + * products derived from this software without specific prior + * written permission. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF + * WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR + * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + * USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH + * DAMAGE. + * %End-Header% + */ + +#ifndef _UUID_UUID_H +#define _UUID_UUID_H + +#include +#ifndef _WIN32 +#include +#endif +#include + +typedef unsigned char uuid_t[16]; + +/* UUID Variant definitions */ +#define UUID_VARIANT_NCS 0 +#define UUID_VARIANT_DCE 1 +#define UUID_VARIANT_MICROSOFT 2 +#define UUID_VARIANT_OTHER 3 + +/* UUID Type definitions */ +#define UUID_TYPE_DCE_TIME 1 +#define UUID_TYPE_DCE_RANDOM 4 + +/* Allow UUID constants to be defined */ +#ifdef __GNUC__ +#define UUID_DEFINE(name,u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15) \ + static const uuid_t name __attribute__ ((unused)) = {u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15} +#else +#define UUID_DEFINE(name,u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15) \ + static const uuid_t name = {u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15} +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* clear.c */ +void uuid_clear(uuid_t uu); + +/* compare.c */ +int uuid_compare(const uuid_t uu1, const uuid_t uu2); + +/* copy.c */ +void uuid_copy(uuid_t dst, const uuid_t src); + +/* gen_uuid.c */ +void uuid_generate(uuid_t out); +void uuid_generate_random(uuid_t out); +void uuid_generate_time(uuid_t out); +int uuid_generate_time_safe(uuid_t out); + +/* isnull.c */ +int uuid_is_null(const uuid_t uu); + +/* parse.c */ +int uuid_parse(const char *in, uuid_t uu); + +/* unparse.c */ +void uuid_unparse(const uuid_t uu, char *out); +void uuid_unparse_lower(const uuid_t uu, char *out); +void uuid_unparse_upper(const uuid_t uu, char *out); + +/* uuid_time.c */ +time_t uuid_time(const uuid_t uu, struct timeval *ret_tv); +int uuid_type(const uuid_t uu); +int uuid_variant(const uuid_t uu); + +#ifdef __cplusplus +} +#endif + +#endif /* _UUID_UUID_H */ diff --git a/lib/uuid/lib/lin64/libuuid.a b/lib/uuid/lib/lin64/libuuid.a new file mode 100644 index 0000000000000000000000000000000000000000..c488351a8fc6ae67e87dc34df921d8d9ee81e4fb GIT binary patch literal 29556 zcmdsg4|rU~b?;qC*lXGB3UGrGOjyI(*aS;jTR3tcWo2af8p}k0`I7*Vg?2X<$dW4U z5}D_KoRw1D2oaIe#H4A;OY^nlrA__Pe%QERR{ozfd5^d+gx2{(fPjSwkVk7={DR*3 z&789ujrQU-P12_GeS2r-ch5Olz{3}{}+BW`vd39u}t1+TFY+fUg+NE_& zv7y{?ocB0RX{F=L{E_2?T*oU98Hsm<^ zm&vpzTG~32tv!woc5Uiz?MX_cd$ZHhqHcU5*_rHVO($E@?VI@asi2nL)>LvDe@|;? zqHB{*ATOa1s7cy;TRJlx9Xit8+IFXedU{!nO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M11jK@KSz%-wV5n!rJK@&5Gh(fwo3)@R?YxR;JcIuJPafAIcVC`nX!;2|pMHGvINgWqk(j^@i5XFlTf zG{2RmQ|@NgTt%Xu&m0}5$1&y1wETfL^;CS7^2VKx(J~U%r>B{T-YSVclTY;6*OcC> z^e5M)uspUK#$d9>(NQ*wr$YeD=v4gJt5c4yG0(K2 zqj1_H-Mz_7qHBr%Vmy+fPs#BWdM`xztw$}QdoosAfEF;h9@R(($DhbAHZ{&x=f$`X zM($eB7CJA6#%g?C432U+S@5_R8vh|pS&zC20vkdVIMbzZ_8PjbhKcfZ{$o62QIol$ z<_u-+G+>V2PJc{ja!;yPXzYi(h1R7s4of@LVehm#R#eY|u=D9>_w(Sq#0RhT!SS6- zAvst0;8*$JYklxm9~@(}Lg}{q;CB;_a;U+BBd6*a`NQ-pBxlqI|AG(x6(9UB2uHf3 z+*hhPN!VjP^f@2g$#k^bfd)v&RV1hUolz<=^#BNcd_!9&9YjF~Lv**R+jN?h)5|AQ z6+UnRv>=`~nxA$~ggOgCA3)K&nNFafKX_7_)z%gIQ>E6nwj}+>Ori~^RN#+iv=iHa zVnL&nxd7}29L6$SWGcQyT{VWTTIjDfaJ>Hz9Q6hcGE6+BP>qKuEcBZU9BoGMKQwUE z6T$B@a8nMtAUMpqczC1Ys2_09=WP0koE-qk3BBZbpN8`|Og`MVwWs8m<@PfJ$6g`vr4IH*z@?!aAu5GWY3;%L6 zF$zoi;>Q`Y%kMT@A(kV29CbcI0j0k*Ouq4P=C|cqkHe9_$4mBo&Ftk1DGv$ z1E;@T7}=NSCvcJiP(3aH``s}1JS(Fcj&(9?DG5nlY$x4 literal 0 HcmV?d00001 diff --git a/lib/uuid/lib/osx/libuuid.a b/lib/uuid/lib/osx/libuuid.a new file mode 100644 index 0000000000000000000000000000000000000000..42b23dc22dff7b0d96e4285bbfb7d762eea00ebf GIT binary patch literal 55216 zcmdVD31C#!**AXg%-osDI$;8`lK?>kNl4g)3YsW^VY3v0Vl53J3#39qlN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|3$LMU4 zQZWz{zv%sspTF#Znpaq7A$V0GfYadVRM7%*6hYS)126T{C0?6WGp&bV^x7(i!c^&V z8iA>Ye6}6NW#i!FmAD^}BWmJwH1^(iV6gIv0O434WU-ns#;4m4PgZ%1 z#X2I3jYOnar)04`3X6?~EZzfRVr4y(#j2Mp9u_IK7m3J5M=7=&kz!LIi!DT?w9S|| zq)2s1L^ey20>|NaqmDFO)D-8Q5sJ59s`Y!iM$_3@L$cnE`jyjm*10=8UqN+G0CP6{ zagpP7l+$waclf^S-D`cta}67ZF$du;^){$yJ8Iu-rfQgH+rMgfmFQ_yC=Z8K6xWW1 zAT?F?unHzp2FR$(rZCCV88O@iw0j=4d=V?dKM^*``8W)!RM{r|-g)5RP;l5Oeb|kg zfv>&$yd~CP;2!WYy#D?;CMs+VooNkTVHK5Fr88mu^xkU)BGwrYC?N?G=R~Wd1*cN2 zfL_C$3Cn3#rXOdEf03Hq2e$EuEBBKIK2rYxaGZqol;JP5GGD;?S3JI|?*9U`IF^Rq zqdsq^*ZtqyW=i%fw>!Ju8q&`5xnMiK*6NQFyE1TwR~RPca~0S0y8D&bOCF6bR1tcX z;=2IxU(D~DX8>LKtolW`~?a0 z$OL+30$rUz^FuVarI44ZLcHBZSe6m>mLIGEhP|*fL RhYC#L@Ll8TTH7xF{{c^Rdw~D| literal 0 HcmV?d00001 diff --git a/lib/uuid/lib/osx/libuuid.dylib b/lib/uuid/lib/osx/libuuid.dylib new file mode 100755 index 0000000000000000000000000000000000000000..527bd89b143cfc992f04f216c43b21b001f7ba48 GIT binary patch literal 18600 zcmeHP4R}=5nLankgoOM|s3@pKMhOwxA%t+6!7|db>}&7` z+M8O|i8@yMd{-C+r$o8L0;b9a)8*1y?rv)FxSCpgtsJM?ch_vA<%2>1;S~D>UuF}} zwX%Fwx#S{u2wFS`E2ig4V}+hA1(&O(+2!B7VQp)(t1ZwDd~SJC9Lb~hGLZkt78zWw zb*-jha+bUThf!0?BW#s-xfF)n6ce9F@}-LCa@E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