- migrate build process to CMake
This commit is contained in:
parent
1b689eb84d
commit
d51e37eb2d
202
client/CMakeLists.txt
Normal file
202
client/CMakeLists.txt
Normal file
@ -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)
|
||||
@ -1,4 +1,5 @@
|
||||
#include "config.h"
|
||||
#include "helper.h"
|
||||
#include "aboutdlg.h"
|
||||
#include "ui_aboutdlg.h"
|
||||
#include <QPushButton>
|
||||
@ -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();
|
||||
|
||||
2
client/build-number/build_number.h
Normal file
2
client/build-number/build_number.h
Normal file
@ -0,0 +1,2 @@
|
||||
// Auto generated file ! Please do not edit !
|
||||
#define APP_BUILD_NUMBER 8
|
||||
30
client/build-number/build_number.ps1
Normal file
30
client/build-number/build_number.ps1
Normal file
@ -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(?<content>.*)"
|
||||
$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
|
||||
6
client/build-number/build_number.sh
Normal file
6
client/build-number/build_number.sh
Normal file
@ -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
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
#include "config.h"
|
||||
#include "helper.h"
|
||||
#include "platforms/hidtracker.h"
|
||||
#include "build-number/build_number.h"
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QDesktopServices>
|
||||
@ -8,6 +9,10 @@
|
||||
#include <QKeyEvent>
|
||||
#include <QTextStream>
|
||||
#include <QApplication>
|
||||
#include <sstream>
|
||||
|
||||
|
||||
#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
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
|
||||
#include <QString>
|
||||
#include <QObject>
|
||||
#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
|
||||
|
||||
@ -21,7 +21,9 @@
|
||||
#include "aboutdlg.h"
|
||||
#include "attachmentslist.h"
|
||||
#include "attachmentsdialog.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<qulonglong>(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()
|
||||
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'aboutdlg.h' doesn't include <QObject>."
|
||||
#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<AboutDlg *>(_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<void*>(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<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'attachmentsdialog.h' doesn't include <QObject>."
|
||||
#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<void*>(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
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'attachmentslist.h' doesn't include <QObject>."
|
||||
#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<void*>(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<AttachmentsList *>(_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<void*>(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<int*>(_a[0]) = -1;
|
||||
_id -= 5;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'finddialog.h' doesn't include <QObject>."
|
||||
#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<FindInTasksDialog *>(_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<int*>(_a[0]) = -1; break;
|
||||
case 3:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_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<void*>(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
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'findsupport.h' doesn't include <QObject>."
|
||||
#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<FindResultsModel *>(_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<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_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<void*>(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<TaskSearch *>(_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<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< FindResultItem >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_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<void*>(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<void*>(reinterpret_cast<const void*>(&_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
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'fvavailableupdate.h' doesn't include <QObject>."
|
||||
#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<void*>(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
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'fvignoredversions.h' doesn't include <QObject>."
|
||||
#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<void*>(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
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'fvplatform.h' doesn't include <QObject>."
|
||||
#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<void*>(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
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'fvupdateconfirmdialog.h' doesn't include <QObject>."
|
||||
#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<void*>(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
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'fvupdater.h' doesn't include <QObject>."
|
||||
#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<FvUpdater *>(_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<void*>(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<int*>(_a[0]) = -1;
|
||||
_id -= 12;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'fvupdatewindow.h' doesn't include <QObject>."
|
||||
#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<FvUpdateWindow *>(_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<void*>(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<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'helper.h' doesn't include <QObject>."
|
||||
#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<EscapeKeyEventFilter *>(_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<int *>(_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<void*>(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<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void helper::EscapeKeyEventFilter::escapePressed(QObject * _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'hidtracker.h' doesn't include <QObject>."
|
||||
#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<HIDActivityTracker *>(_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<int *>(_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<void*>(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<int*>(_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
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'logger.h' doesn't include <QObject>."
|
||||
#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<void*>(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
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'mainwindow.h' doesn't include <QObject>."
|
||||
#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<MainWindow *>(_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<int *>(_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<void*>(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<int*>(_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
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'newpassworddlg.h' doesn't include <QObject>."
|
||||
#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<NewPasswordDlg *>(_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<void*>(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<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'passworddlg.h' doesn't include <QObject>."
|
||||
#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<void*>(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
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'preferencesdlg.h' doesn't include <QObject>."
|
||||
#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<PreferencesDlg *>(_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<void*>(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<int*>(_a[0]) = -1;
|
||||
_id -= 6;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'sleeptracker_osx.h' doesn't include <QObject>."
|
||||
#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<SleepTracker *>(_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<int *>(_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<void*>(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<int*>(_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
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'startworkdialog.h' doesn't include <QObject>."
|
||||
#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<StartWorkDialog *>(_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<int *>(_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<void*>(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<int*>(_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
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'stopworkdialog.h' doesn't include <QObject>."
|
||||
#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<StopWorkDialog *>(_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<int *>(_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<void*>(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<int*>(_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<void*>(reinterpret_cast<const void*>(&_t1)) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'task.h' doesn't include <QObject>."
|
||||
#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<void*>(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
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'tasktreemodel.h' doesn't include <QObject>."
|
||||
#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<TaskTreeModel *>(_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<int *>(_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<void*>(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<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void TaskTreeModel::onTaskMoved(PTask _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_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<void*>(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
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'timeintervaldlg.h' doesn't include <QObject>."
|
||||
#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<TimeIntervalDlg *>(_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<void*>(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<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'timereportwizard.h' doesn't include <QObject>."
|
||||
#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<TaskTreePage *>(_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<void*>(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<int*>(_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<CumulativeOptionPage *>(_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<void*>(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<int*>(_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<void*>(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<void*>(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<TimeReportWizard *>(_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<void*>(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<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -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 <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'timetreedlg.h' doesn't include <QObject>."
|
||||
#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<TimeTreeDlg *>(_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<void*>(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<int*>(_a[0]) = -1;
|
||||
_id -= 4;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@ -3,6 +3,7 @@
|
||||
|
||||
class HIDActivityTrackerImpl;
|
||||
class QTimer;
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class HIDActivityTracker: public QObject
|
||||
|
||||
@ -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)
|
||||
@ -196,7 +196,7 @@ if ( BUILD_TRANSLATIONS )
|
||||
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()
|
||||
|
||||
@ -1,66 +1,136 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.0" language="de_DE">
|
||||
<TS version="2.1" language="de_DE">
|
||||
<context>
|
||||
<name>QKeychain::DeletePasswordJobPrivate</name>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="104"/>
|
||||
<source>Password entry not found</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="108"/>
|
||||
<source>Could not decrypt data</source>
|
||||
<translation type="unfinished">Kann Daten nicht entschlüsseln</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="548"/>
|
||||
<location filename="../keychain_unix.cpp" line="556"/>
|
||||
<source>Unknown error</source>
|
||||
<translation type="unfinished">Unbekannter Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="574"/>
|
||||
<source>Could not open wallet: %1; %2</source>
|
||||
<translation type="unfinished">Konnte Brieftasche nicht öffnen: %1; %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QKeychain::JobPrivate</name>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="265"/>
|
||||
<source>Unknown error</source>
|
||||
<translation type="unfinished">Unbekannter Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="509"/>
|
||||
<source>Access to keychain denied</source>
|
||||
<translation type="unfinished">Zugriff auf Schlüsselbund verweigert</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QKeychain::PlainTextStore</name>
|
||||
<message>
|
||||
<location filename="../plaintextstore.cpp" line="65"/>
|
||||
<source>Could not store data in settings: access error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plaintextstore.cpp" line="67"/>
|
||||
<source>Could not store data in settings: format error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plaintextstore.cpp" line="85"/>
|
||||
<source>Could not delete data from settings: access error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plaintextstore.cpp" line="87"/>
|
||||
<source>Could not delete data from settings: format error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plaintextstore.cpp" line="104"/>
|
||||
<source>Entry not found</source>
|
||||
<translation type="unfinished">Eintrag nicht gefunden</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QKeychain::ReadPasswordJobPrivate</name>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="119"/>
|
||||
<location filename="../keychain_unix.cpp" line="187"/>
|
||||
<location filename="../keychain_unix.cpp" line="197"/>
|
||||
<source>Unknown error</source>
|
||||
<translation>Unbekannter Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="133"/>
|
||||
<location filename="../keychain_unix.cpp" line="178"/>
|
||||
<source>D-Bus is not running</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="210"/>
|
||||
<location filename="../keychain_unix.cpp" line="286"/>
|
||||
<source>No keychain service available</source>
|
||||
<translation>Kein Schlüsselbund-Dienst verfügbar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="212"/>
|
||||
<location filename="../keychain_unix.cpp" line="288"/>
|
||||
<source>Could not open wallet: %1; %2</source>
|
||||
<translation>Konnte Brieftasche nicht öffnen: %1; %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="258"/>
|
||||
<location filename="../keychain_unix.cpp" line="333"/>
|
||||
<source>Access to keychain denied</source>
|
||||
<translation>Zugriff auf Schlüsselbund verweigert</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="279"/>
|
||||
<location filename="../keychain_unix.cpp" line="354"/>
|
||||
<source>Could not determine data type: %1; %2</source>
|
||||
<translation>Datentyp kann nicht ermittelt werden: %1: %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="297"/>
|
||||
<location filename="../keychain_unix.cpp" line="372"/>
|
||||
<source>Unsupported entry type 'Map'</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="300"/>
|
||||
<location filename="../keychain_unix.cpp" line="375"/>
|
||||
<source>Unknown kwallet entry type '%1'</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="315"/>
|
||||
<source>Could not read password: %1; %2</source>
|
||||
<translation>Passwort konnte nicht ausgelesen werden: %1; %2</translation>
|
||||
<translation type="vanished">Passwort konnte nicht ausgelesen werden: %1; %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_mac.cpp" line="76"/>
|
||||
<location filename="../keychain_mac.cpp" line="75"/>
|
||||
<source>Password not found</source>
|
||||
<translation>Passwort nicht gefunden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="288"/>
|
||||
<location filename="../keychain_win.cpp" line="27"/>
|
||||
<location filename="../keychain_unix.cpp" line="363"/>
|
||||
<source>Entry not found</source>
|
||||
<translation>Eintrag nicht gefunden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="44"/>
|
||||
<location filename="../keychain_win.cpp" line="32"/>
|
||||
<source>Password entry not found</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="36"/>
|
||||
<location filename="../keychain_win.cpp" line="139"/>
|
||||
<source>Could not decrypt data</source>
|
||||
<translation>Kann Daten nicht entschlüsseln</translation>
|
||||
</message>
|
||||
@ -68,110 +138,128 @@
|
||||
<context>
|
||||
<name>QKeychain::WritePasswordJobPrivate</name>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="336"/>
|
||||
<location filename="../keychain_unix.cpp" line="344"/>
|
||||
<location filename="../keychain_unix.cpp" line="425"/>
|
||||
<location filename="../keychain_unix.cpp" line="452"/>
|
||||
<source>Unknown error</source>
|
||||
<translation>Unbekannter Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="359"/>
|
||||
<location filename="../keychain_unix.cpp" line="415"/>
|
||||
<source>D-Bus is not running</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="400"/>
|
||||
<location filename="../keychain_unix.cpp" line="485"/>
|
||||
<location filename="../keychain_unix.cpp" line="468"/>
|
||||
<source>Could not open wallet: %1; %2</source>
|
||||
<translation>Konnte Brieftasche nicht öffnen: %1; %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="463"/>
|
||||
<source>Access to keychain denied</source>
|
||||
<translation>Zugriff auf Schlüsselbund verweigert</translation>
|
||||
<translation type="vanished">Zugriff auf Schlüsselbund verweigert</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="64"/>
|
||||
<source>Could not delete encrypted data from settings: access error</source>
|
||||
<translation>Kann verschlüsselte Daten nicht aus den Einstellungen entfernen: Zugriffsfehler</translation>
|
||||
<translation type="vanished">Kann verschlüsselte Daten nicht aus den Einstellungen entfernen: Zugriffsfehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="65"/>
|
||||
<source>Could not delete encrypted data from settings: format error</source>
|
||||
<translation>Kann verschlüsselte Daten nicht aus den Einstellungen entfernen: Formatfehler</translation>
|
||||
<translation type="vanished">Kann verschlüsselte Daten nicht aus den Einstellungen entfernen: Formatfehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="85"/>
|
||||
<location filename="../keychain_win.cpp" line="78"/>
|
||||
<source>Credential size exceeds maximum size of %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="87"/>
|
||||
<source>Credential key exceeds maximum size of %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="92"/>
|
||||
<source>Writing credentials failed: Win32 error code %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="162"/>
|
||||
<source>Encryption failed</source>
|
||||
<translation>Verschlüsselung fehlgeschlagen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="100"/>
|
||||
<source>Could not store encrypted data in settings: access error</source>
|
||||
<translation>Kann verschlüsselte Daten nicht in den Einstellungen speichern: Zugriffsfehler</translation>
|
||||
<translation type="vanished">Kann verschlüsselte Daten nicht in den Einstellungen speichern: Zugriffsfehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="101"/>
|
||||
<source>Could not store encrypted data in settings: format error</source>
|
||||
<translation>Kann verschlüsselte Daten nicht in den Einstellungen speichern: Formatfehler</translation>
|
||||
<translation type="vanished">Kann verschlüsselte Daten nicht in den Einstellungen speichern: Formatfehler</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="155"/>
|
||||
<location filename="../keychain_unix.cpp" line="225"/>
|
||||
<source>Access to keychain denied</source>
|
||||
<translation>Zugriff auf Schlüsselbund verweigert</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="157"/>
|
||||
<location filename="../keychain_unix.cpp" line="227"/>
|
||||
<source>No keyring daemon</source>
|
||||
<translation>Kein Schlüsselbund-Dienst </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="159"/>
|
||||
<location filename="../keychain_unix.cpp" line="229"/>
|
||||
<source>Already unlocked</source>
|
||||
<translation>Bereits entsperrt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="161"/>
|
||||
<location filename="../keychain_unix.cpp" line="231"/>
|
||||
<source>No such keyring</source>
|
||||
<translation>Kein solcher Schlüsselbund</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="163"/>
|
||||
<location filename="../keychain_unix.cpp" line="233"/>
|
||||
<source>Bad arguments</source>
|
||||
<translation>Ungültige Argumente</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="165"/>
|
||||
<location filename="../keychain_unix.cpp" line="235"/>
|
||||
<source>I/O error</source>
|
||||
<translation>Ein-/Ausgabe-Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="167"/>
|
||||
<location filename="../keychain_unix.cpp" line="237"/>
|
||||
<source>Cancelled</source>
|
||||
<translation>Abgebrochen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="169"/>
|
||||
<location filename="../keychain_unix.cpp" line="239"/>
|
||||
<source>Keyring already exists</source>
|
||||
<translation>Schlüsselbund existiert bereits</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="171"/>
|
||||
<location filename="../keychain_unix.cpp" line="241"/>
|
||||
<source>No match</source>
|
||||
<translation>Kein Treffer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="176"/>
|
||||
<location filename="../keychain_unix.cpp" line="246"/>
|
||||
<source>Unknown error</source>
|
||||
<translation>Unbekannter Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_mac.cpp" line="31"/>
|
||||
<location filename="../keychain_mac.cpp" line="33"/>
|
||||
<source>OS X Keychain error (OSStatus %1)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_mac.cpp" line="32"/>
|
||||
<source>%1 (OSStatus %2)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../libsecret.cpp" line="120"/>
|
||||
<source>Entry not found</source>
|
||||
<translation type="unfinished">Eintrag nicht gefunden</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@ -1,67 +1,137 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.0" language="ro_RO">
|
||||
<TS version="2.1" language="ro_RO">
|
||||
<context>
|
||||
<name>QKeychain::DeletePasswordJobPrivate</name>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="104"/>
|
||||
<source>Password entry not found</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="108"/>
|
||||
<source>Could not decrypt data</source>
|
||||
<translation type="unfinished">Nu se poate decripta data</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="548"/>
|
||||
<location filename="../keychain_unix.cpp" line="556"/>
|
||||
<source>Unknown error</source>
|
||||
<translation type="unfinished">Eroare necunoscută</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="574"/>
|
||||
<source>Could not open wallet: %1; %2</source>
|
||||
<translation type="unfinished">Nu se poate deschide portofelul: %1; %2</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QKeychain::JobPrivate</name>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="265"/>
|
||||
<source>Unknown error</source>
|
||||
<translation type="unfinished">Eroare necunoscută</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="509"/>
|
||||
<source>Access to keychain denied</source>
|
||||
<translation type="unfinished">Acces interzis la serviciul de chei</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QKeychain::PlainTextStore</name>
|
||||
<message>
|
||||
<location filename="../plaintextstore.cpp" line="65"/>
|
||||
<source>Could not store data in settings: access error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plaintextstore.cpp" line="67"/>
|
||||
<source>Could not store data in settings: format error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plaintextstore.cpp" line="85"/>
|
||||
<source>Could not delete data from settings: access error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plaintextstore.cpp" line="87"/>
|
||||
<source>Could not delete data from settings: format error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../plaintextstore.cpp" line="104"/>
|
||||
<source>Entry not found</source>
|
||||
<translation type="unfinished">Înregistrarea nu a fost găsită</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QKeychain::ReadPasswordJobPrivate</name>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="119"/>
|
||||
<location filename="../keychain_unix.cpp" line="187"/>
|
||||
<location filename="../keychain_unix.cpp" line="197"/>
|
||||
<source>Unknown error</source>
|
||||
<translation>Eroare necunoscută</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="133"/>
|
||||
<location filename="../keychain_unix.cpp" line="178"/>
|
||||
<source>D-Bus is not running</source>
|
||||
<translation>D-Bus nu rulează</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="210"/>
|
||||
<location filename="../keychain_unix.cpp" line="286"/>
|
||||
<source>No keychain service available</source>
|
||||
<translatorcomment>Nu există niciun serviciu de chei disponibil</translatorcomment>
|
||||
<translation>Kein Schlüsselbund-Dienst verfügbar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="212"/>
|
||||
<location filename="../keychain_unix.cpp" line="288"/>
|
||||
<source>Could not open wallet: %1; %2</source>
|
||||
<translation>Nu se poate deschide portofelul: %1; %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="258"/>
|
||||
<location filename="../keychain_unix.cpp" line="333"/>
|
||||
<source>Access to keychain denied</source>
|
||||
<translation>Acces interzis la serviciul de chei</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="279"/>
|
||||
<location filename="../keychain_unix.cpp" line="354"/>
|
||||
<source>Could not determine data type: %1; %2</source>
|
||||
<translation>Nu se poate stabili tipul de date: %1: %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="297"/>
|
||||
<location filename="../keychain_unix.cpp" line="372"/>
|
||||
<source>Unsupported entry type 'Map'</source>
|
||||
<translation>Tip de înregistrare nesuportat 'Map'</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="300"/>
|
||||
<location filename="../keychain_unix.cpp" line="375"/>
|
||||
<source>Unknown kwallet entry type '%1'</source>
|
||||
<translation>Tip de înregistrare kwallet necunoscut '%1'</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="315"/>
|
||||
<source>Could not read password: %1; %2</source>
|
||||
<translation>Nu se poate citi parola: %1; %2</translation>
|
||||
<translation type="vanished">Nu se poate citi parola: %1; %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_mac.cpp" line="76"/>
|
||||
<location filename="../keychain_mac.cpp" line="75"/>
|
||||
<source>Password not found</source>
|
||||
<translation>Parola nu a fost găsită</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="288"/>
|
||||
<location filename="../keychain_win.cpp" line="27"/>
|
||||
<location filename="../keychain_unix.cpp" line="363"/>
|
||||
<source>Entry not found</source>
|
||||
<translation>Înregistrarea nu a fost găsită</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="44"/>
|
||||
<location filename="../keychain_win.cpp" line="32"/>
|
||||
<source>Password entry not found</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="36"/>
|
||||
<location filename="../keychain_win.cpp" line="139"/>
|
||||
<source>Could not decrypt data</source>
|
||||
<translation>Nu se poate decripta data</translation>
|
||||
</message>
|
||||
@ -69,110 +139,128 @@
|
||||
<context>
|
||||
<name>QKeychain::WritePasswordJobPrivate</name>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="336"/>
|
||||
<location filename="../keychain_unix.cpp" line="344"/>
|
||||
<location filename="../keychain_unix.cpp" line="425"/>
|
||||
<location filename="../keychain_unix.cpp" line="452"/>
|
||||
<source>Unknown error</source>
|
||||
<translation>Eroare necunoscută</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="359"/>
|
||||
<location filename="../keychain_unix.cpp" line="415"/>
|
||||
<source>D-Bus is not running</source>
|
||||
<translation>D-Bus nu rulează</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="400"/>
|
||||
<location filename="../keychain_unix.cpp" line="485"/>
|
||||
<location filename="../keychain_unix.cpp" line="468"/>
|
||||
<source>Could not open wallet: %1; %2</source>
|
||||
<translation>Nu se poate deschide portofelul: %1; %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="463"/>
|
||||
<source>Access to keychain denied</source>
|
||||
<translation>Acces interzis la serviciul de chei</translation>
|
||||
<translation type="vanished">Acces interzis la serviciul de chei</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="64"/>
|
||||
<source>Could not delete encrypted data from settings: access error</source>
|
||||
<translation>Nu se pot șterge datele criptate din setări: eroare de acces</translation>
|
||||
<translation type="vanished">Nu se pot șterge datele criptate din setări: eroare de acces</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="65"/>
|
||||
<source>Could not delete encrypted data from settings: format error</source>
|
||||
<translation>Nu se pot șterge datele criptate din setări: eroare de format</translation>
|
||||
<translation type="vanished">Nu se pot șterge datele criptate din setări: eroare de format</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="85"/>
|
||||
<location filename="../keychain_win.cpp" line="78"/>
|
||||
<source>Credential size exceeds maximum size of %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="87"/>
|
||||
<source>Credential key exceeds maximum size of %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="92"/>
|
||||
<source>Writing credentials failed: Win32 error code %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="162"/>
|
||||
<source>Encryption failed</source>
|
||||
<translation>Criptarea a eșuat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="100"/>
|
||||
<source>Could not store encrypted data in settings: access error</source>
|
||||
<translation>Nu se pot stoca datele criptate în setări: eroare de acces</translation>
|
||||
<translation type="vanished">Nu se pot stoca datele criptate în setări: eroare de acces</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_win.cpp" line="101"/>
|
||||
<source>Could not store encrypted data in settings: format error</source>
|
||||
<translation>Nu se pot stoca datele criptate în setări: eroare de format</translation>
|
||||
<translation type="vanished">Nu se pot stoca datele criptate în setări: eroare de format</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="155"/>
|
||||
<location filename="../keychain_unix.cpp" line="225"/>
|
||||
<source>Access to keychain denied</source>
|
||||
<translation>Acces interzis la serviciul de chei</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="157"/>
|
||||
<location filename="../keychain_unix.cpp" line="227"/>
|
||||
<source>No keyring daemon</source>
|
||||
<translation>Niciun demon pentru inelul de chei</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="159"/>
|
||||
<location filename="../keychain_unix.cpp" line="229"/>
|
||||
<source>Already unlocked</source>
|
||||
<translation>Deja deblocat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="161"/>
|
||||
<location filename="../keychain_unix.cpp" line="231"/>
|
||||
<source>No such keyring</source>
|
||||
<translation>Nu există astfel de inel de chei</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="163"/>
|
||||
<location filename="../keychain_unix.cpp" line="233"/>
|
||||
<source>Bad arguments</source>
|
||||
<translation>Argumente greșite</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="165"/>
|
||||
<location filename="../keychain_unix.cpp" line="235"/>
|
||||
<source>I/O error</source>
|
||||
<translation>Eroare de I/E</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="167"/>
|
||||
<location filename="../keychain_unix.cpp" line="237"/>
|
||||
<source>Cancelled</source>
|
||||
<translation>Anulat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="169"/>
|
||||
<location filename="../keychain_unix.cpp" line="239"/>
|
||||
<source>Keyring already exists</source>
|
||||
<translation>Inelul de chei deja există</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="171"/>
|
||||
<location filename="../keychain_unix.cpp" line="241"/>
|
||||
<source>No match</source>
|
||||
<translation>Nicio potrivire</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_unix.cpp" line="176"/>
|
||||
<location filename="../keychain_unix.cpp" line="246"/>
|
||||
<source>Unknown error</source>
|
||||
<translation>Eroare necunoscută</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_mac.cpp" line="31"/>
|
||||
<location filename="../keychain_mac.cpp" line="33"/>
|
||||
<source>OS X Keychain error (OSStatus %1)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../keychain_mac.cpp" line="32"/>
|
||||
<source>%1 (OSStatus %2)</source>
|
||||
<translation>%1 (OSStatus %2)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../libsecret.cpp" line="120"/>
|
||||
<source>Entry not found</source>
|
||||
<translation type="unfinished">Înregistrarea nu a fost găsită</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@ -103,28 +103,18 @@ set(SQLITECPP_DOC
|
||||
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)
|
||||
|
||||
@ -11,7 +11,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <sqlite3.h>
|
||||
|
||||
#include <SQLiteCpp/Statement.h>
|
||||
#include <SQLiteCpp/Exception.h>
|
||||
|
||||
|
||||
@ -10,13 +10,10 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <sqlite3.h>
|
||||
|
||||
#include "sqlite3.h"
|
||||
#include <SQLiteCpp/Column.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
namespace SQLite
|
||||
{
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -10,3 +10,5 @@ add_library(sqlite3
|
||||
sqlite3.c
|
||||
sqlite3.h
|
||||
)
|
||||
|
||||
add_definitions(-DSQLITE_OMIT_LOAD_EXTENSION)
|
||||
|
||||
@ -200,10 +200,10 @@ bool Storage::open()
|
||||
}
|
||||
catch(std::exception& e)
|
||||
{
|
||||
std::cerr << e.what() << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
loadTaskTree();
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -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<sqlite3_int64>(mTaskId));
|
||||
while (q.executeStep())
|
||||
{
|
||||
time_t start = helper::chrono::strToTime(q.getColumn(1).getText());
|
||||
|
||||
@ -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 <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QDialogButtonBox>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
|
||||
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
|
||||
@ -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 <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QDialogButtonBox>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#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
|
||||
@ -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 <QtCore/QVariant>
|
||||
#include <QtWidgets/QAction>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QListView>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
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
|
||||
@ -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 <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QHeaderView>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QTableView>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
|
||||
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
|
||||
@ -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 <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QDialogButtonBox>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
|
||||
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", "<a href=\"%1\">%1</a>", 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
|
||||
@ -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 <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QGroupBox>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QSpacerItem>
|
||||
#include <QtWidgets/QTextBrowser>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
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
|
||||
@ -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 <QtCore/QVariant>
|
||||
#include <QtGui/QIcon>
|
||||
#include <QtWidgets/QAction>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QFormLayout>
|
||||
#include <QtWidgets/QFrame>
|
||||
#include <QtWidgets/QGridLayout>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QHeaderView>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QMainWindow>
|
||||
#include <QtWidgets/QMenu>
|
||||
#include <QtWidgets/QMenuBar>
|
||||
#include <QtWidgets/QSplitter>
|
||||
#include <QtWidgets/QStatusBar>
|
||||
#include <QtWidgets/QToolBar>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
#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
|
||||
@ -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 <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QDialogButtonBox>
|
||||
#include <QtWidgets/QFormLayout>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
|
||||
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", "<html><head/><body><p>Please enter new password twice to complete database creation.</p> <p>Please be aware - there is no way to recover lost password.</p></body></html>", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class NewPasswordDlg: public Ui_NewPasswordDlg {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_NEWPASSWORDDLG_H
|
||||
@ -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 <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QDialogButtonBox>
|
||||
#include <QtWidgets/QFormLayout>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
|
||||
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
|
||||
@ -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 <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QButtonGroup>
|
||||
#include <QtWidgets/QCheckBox>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QDialogButtonBox>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QRadioButton>
|
||||
#include <QtWidgets/QSpacerItem>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
|
||||
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
|
||||
@ -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 <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QToolButton>
|
||||
|
||||
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
|
||||
@ -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 <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QToolButton>
|
||||
|
||||
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
|
||||
@ -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 <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QDateTimeEdit>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QDialogButtonBox>
|
||||
#include <QtWidgets/QFormLayout>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
|
||||
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
|
||||
@ -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 <QtCore/QVariant>
|
||||
#include <QtWidgets/QAction>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QDialogButtonBox>
|
||||
#include <QtWidgets/QGridLayout>
|
||||
#include <QtWidgets/QHeaderView>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QTreeView>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
|
||||
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
|
||||
104
lib/uuid/include/uuid/uuid.h
Normal file
104
lib/uuid/include/uuid/uuid.h
Normal file
@ -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 <sys/types.h>
|
||||
#ifndef _WIN32
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
#include <time.h>
|
||||
|
||||
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 */
|
||||
BIN
lib/uuid/lib/lin64/libuuid.a
Normal file
BIN
lib/uuid/lib/lin64/libuuid.a
Normal file
Binary file not shown.
BIN
lib/uuid/lib/osx/libuuid.a
Normal file
BIN
lib/uuid/lib/osx/libuuid.a
Normal file
Binary file not shown.
BIN
lib/uuid/lib/osx/libuuid.dylib
Executable file
BIN
lib/uuid/lib/osx/libuuid.dylib
Executable file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user