Happy 2021
This commit is contained in:
2
LICENSE
2
LICENSE
@@ -1,4 +1,4 @@
|
|||||||
Copyright 2019 The Hush developers
|
Copyright 2019-2021 The Hush developers
|
||||||
Copyright 2018 adityapk
|
Copyright 2018 adityapk
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
[{"excluded":[],"includePaths":["/home/denio/silentdragon-lite/src/3rdparty","/home/denio/silentdragon-lite/src","/home/denio/silentdragon-lite/singleapplication","/home/denio/silentdragon-lite/res","/home/denio/Qt5.13.1/5.13.1/gcc_64/include","/home/denio/Qt5.13.1/5.13.1/gcc_64/include/QtWidgets","/home/denio/Qt5.13.1/5.13.1/gcc_64/include/QtGui","/home/denio/Qt5.13.1/5.13.1/gcc_64/include/QtWebSockets","/home/denio/Qt5.13.1/5.13.1/gcc_64/include/QtNetwork","/home/denio/Qt5.13.1/5.13.1/gcc_64/include/QtCore","/home/denio/silentdragon-lite/bin","/usr/include/libdrm","/home/denio/silentdragon-lite/src"],"projectFile":"/home/denio/silentdragon-lite/silentdragon-lite.pro","sources":["/home/denio/silentdragon-lite/lib/silentdragonlitelib.h","/home/denio/silentdragon-lite/singleapplication/singleapplication.cpp","/home/denio/silentdragon-lite/singleapplication/singleapplication.h","/home/denio/silentdragon-lite/singleapplication/singleapplication_p.cpp","/home/denio/silentdragon-lite/singleapplication/singleapplication_p.h","/home/denio/silentdragon-lite/src/3rdparty/json/json.hpp","/home/denio/silentdragon-lite/src/3rdparty/qrcode/BitBuffer.cpp","/home/denio/silentdragon-lite/src/3rdparty/qrcode/BitBuffer.hpp","/home/denio/silentdragon-lite/src/3rdparty/qrcode/QrCode.cpp","/home/denio/silentdragon-lite/src/3rdparty/qrcode/QrCode.hpp","/home/denio/silentdragon-lite/src/3rdparty/qrcode/QrSegment.cpp","/home/denio/silentdragon-lite/src/3rdparty/qrcode/QrSegment.hpp","/home/denio/silentdragon-lite/src/about.ui","/home/denio/silentdragon-lite/src/addressbook.cpp","/home/denio/silentdragon-lite/src/addressbook.h","/home/denio/silentdragon-lite/src/addressbook.ui","/home/denio/silentdragon-lite/src/addresscombo.cpp","/home/denio/silentdragon-lite/src/addresscombo.h","/home/denio/silentdragon-lite/src/balancestablemodel.cpp","/home/denio/silentdragon-lite/src/balancestablemodel.h","/home/denio/silentdragon-lite/src/confirm.ui","/home/denio/silentdragon-lite/src/connection.cpp","/home/denio/silentdragon-lite/src/connection.h","/home/denio/silentdragon-lite/src/connection.ui","/home/denio/silentdragon-lite/src/controller.cpp","/home/denio/silentdragon-lite/src/controller.h","/home/denio/silentdragon-lite/src/createhushconfdialog.ui","/home/denio/silentdragon-lite/src/datamodel.cpp","/home/denio/silentdragon-lite/src/datamodel.h","/home/denio/silentdragon-lite/src/fillediconlabel.cpp","/home/denio/silentdragon-lite/src/fillediconlabel.h","/home/denio/silentdragon-lite/src/liteinterface.cpp","/home/denio/silentdragon-lite/src/liteinterface.h","/home/denio/silentdragon-lite/src/logger.cpp","/home/denio/silentdragon-lite/src/logger.h","/home/denio/silentdragon-lite/src/main.cpp","/home/denio/silentdragon-lite/src/mainwindow.cpp","/home/denio/silentdragon-lite/src/mainwindow.h","/home/denio/silentdragon-lite/src/mainwindow.ui","/home/denio/silentdragon-lite/src/memodialog.ui","/home/denio/silentdragon-lite/src/memoedit.cpp","/home/denio/silentdragon-lite/src/memoedit.h","/home/denio/silentdragon-lite/src/migration.ui","/home/denio/silentdragon-lite/src/mobileappconnector.cpp","/home/denio/silentdragon-lite/src/mobileappconnector.h","/home/denio/silentdragon-lite/src/mobileappconnector.ui","/home/denio/silentdragon-lite/src/newrecurring.ui","/home/denio/silentdragon-lite/src/precompiled.h","/home/denio/silentdragon-lite/src/privkey.ui","/home/denio/silentdragon-lite/src/qrcodelabel.cpp","/home/denio/silentdragon-lite/src/qrcodelabel.h","/home/denio/silentdragon-lite/src/recurring.cpp","/home/denio/silentdragon-lite/src/recurring.h","/home/denio/silentdragon-lite/src/recurringdialog.ui","/home/denio/silentdragon-lite/src/recurringmultiple.ui","/home/denio/silentdragon-lite/src/recurringpayments.ui","/home/denio/silentdragon-lite/src/requestdialog.cpp","/home/denio/silentdragon-lite/src/requestdialog.h","/home/denio/silentdragon-lite/src/requestdialog.ui","/home/denio/silentdragon-lite/src/sendtab.cpp","/home/denio/silentdragon-lite/src/settings.cpp","/home/denio/silentdragon-lite/src/settings.h","/home/denio/silentdragon-lite/src/settings.ui","/home/denio/silentdragon-lite/src/txtablemodel.cpp","/home/denio/silentdragon-lite/src/txtablemodel.h","/home/denio/silentdragon-lite/src/viewalladdresses.cpp","/home/denio/silentdragon-lite/src/viewalladdresses.h","/home/denio/silentdragon-lite/src/viewalladdresses.ui","/home/denio/silentdragon-lite/src/websockets.cpp","/home/denio/silentdragon-lite/src/websockets.h"],"translations":["/home/denio/silentdragon-lite/res/silentdragonlite_es.ts","/home/denio/silentdragon-lite/res/silentdragonlite_fr.ts","/home/denio/silentdragon-lite/res/silentdragonlite_de.ts","/home/denio/silentdragon-lite/res/silentdragonlite_pt.ts","/home/denio/silentdragon-lite/res/silentdragonlite_it.ts","/home/denio/silentdragon-lite/res/silentdragonlite_zh.ts","/home/denio/silentdragon-lite/res/silentdragonlite_tr.ts","/home/denio/silentdragon-lite/res/silentdragonlite_template.ts"]}]
|
|
||||||
2
build.sh
2
build.sh
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Copyright 2019 The Hush Developers
|
# Copyright 2019-2021 The Hush Developers
|
||||||
|
|
||||||
UNAME=$(uname)
|
UNAME=$(uname)
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
# Project created by QtCreator 2018-10-05T09:54:45
|
# Project created by QtCreator 2018-10-05T09:54:45
|
||||||
#
|
#
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
|
# Copyright 2019-2021 The Hush Developers
|
||||||
|
|
||||||
QT += core gui network
|
QT += core gui network
|
||||||
|
|
||||||
@@ -13,10 +14,7 @@ PRECOMPILED_HEADER = src/precompiled.h
|
|||||||
QT += widgets
|
QT += widgets
|
||||||
QT += websockets
|
QT += websockets
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
TARGET = SilentDragonLite
|
TARGET = SilentDragonLite
|
||||||
|
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|
||||||
# The following define makes your compiler emit warnings if you use
|
# The following define makes your compiler emit warnings if you use
|
||||||
|
|||||||
5
src/3rdparty/sodium.h
vendored
5
src/3rdparty/sodium.h
vendored
@@ -1,9 +1,12 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
|
|
||||||
#ifndef sodium_H
|
#ifndef sodium_H
|
||||||
#define sodium_H
|
#define sodium_H
|
||||||
|
|
||||||
#include "sodium/version.h"
|
// This is where SDL includes libsodium primitives to be used on our application
|
||||||
|
|
||||||
|
#include "sodium/version.h"
|
||||||
#include "sodium/core.h"
|
#include "sodium/core.h"
|
||||||
#include "sodium/crypto_aead_aes256gcm.h"
|
#include "sodium/crypto_aead_aes256gcm.h"
|
||||||
#include "sodium/crypto_aead_chacha20poly1305.h"
|
#include "sodium/crypto_aead_chacha20poly1305.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef CHAT_H
|
#ifndef CHAT_H
|
||||||
#define CHAT_H
|
#define CHAT_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "FileEncryption.h"
|
#include "FileEncryption.h"
|
||||||
|
|
||||||
void FileEncryption::showConfig()
|
void FileEncryption::showConfig()
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef FILEENCRYPTION_H
|
#ifndef FILEENCRYPTION_H
|
||||||
#define FILEENCRYPTION_H
|
#define FILEENCRYPTION_H
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "passwd.h"
|
#include "passwd.h"
|
||||||
|
|
||||||
void PASSWD::show_hex_buff(unsigned char buf[])
|
void PASSWD::show_hex_buff(unsigned char buf[])
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef PASSWD_H
|
#ifndef PASSWD_H
|
||||||
#define PASSWD_H
|
#define PASSWD_H
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright 2019-2020 The Hush developers
|
// Copyright 2019-2021 The Hush developers
|
||||||
// GPLv3
|
// Released under the GPLv3
|
||||||
|
|
||||||
#include "ChatDataStore.h"
|
#include "ChatDataStore.h"
|
||||||
#include "addressbook.h"
|
#include "addressbook.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef CHATDATASTORE_H
|
#ifndef CHATDATASTORE_H
|
||||||
#define CHATDATASTORE_H
|
#define CHATDATASTORE_H
|
||||||
#include "../chatmodel.h"
|
#include "../chatmodel.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef CONTACTDATASTORE_H
|
#ifndef CONTACTDATASTORE_H
|
||||||
#define CONTACTDATASTORE_H
|
#define CONTACTDATASTORE_H
|
||||||
#include "../Model/ContactItem.h"
|
#include "../Model/ContactItem.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef DATASTORE_H
|
#ifndef DATASTORE_H
|
||||||
#define DATASTORE_H
|
#define DATASTORE_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "DataStore.h"
|
#include "DataStore.h"
|
||||||
|
|
||||||
SietchDataStore* DataStore::getSietchDataStore()
|
SietchDataStore* DataStore::getSietchDataStore()
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef DATASTORE_H
|
#ifndef DATASTORE_H
|
||||||
#define DATASTORE_H
|
#define DATASTORE_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "SietchDataStore.h"
|
#include "SietchDataStore.h"
|
||||||
|
|
||||||
SietchDataStore* SietchDataStore::getInstance()
|
SietchDataStore* SietchDataStore::getInstance()
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef SIETCHDATASTORE_H
|
#ifndef SIETCHDATASTORE_H
|
||||||
#define SIETCHDATASTORE_H
|
#define SIETCHDATASTORE_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "FileSystem.h"
|
#include "FileSystem.h"
|
||||||
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef LOGCONTEXT_H
|
#ifndef LOGCONTEXT_H
|
||||||
#define LOGCONTEXT_H
|
#define LOGCONTEXT_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef LOGCRITICAL_H
|
#ifndef LOGCRITICAL_H
|
||||||
#define LOGCRITICAL_H
|
#define LOGCRITICAL_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef LOGDEBUG_H
|
#ifndef LOGDEBUG_H
|
||||||
#define LOGDEBUG_H
|
#define LOGDEBUG_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef LOGERROR_H
|
#ifndef LOGERROR_H
|
||||||
#define LOGERROR_H
|
#define LOGERROR_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef LOGFATAL_H
|
#ifndef LOGFATAL_H
|
||||||
#define LOGFATAL_H
|
#define LOGFATAL_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef LOGINFO_H
|
#ifndef LOGINFO_H
|
||||||
#define LOGINFO_H
|
#define LOGINFO_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef LOGSTRATEGY_H
|
#ifndef LOGSTRATEGY_H
|
||||||
#define LOGSTRATEGY_H
|
#define LOGSTRATEGY_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef LOGSUCCESS_H
|
#ifndef LOGSUCCESS_H
|
||||||
#define LOGSUCCESS_H
|
#define LOGSUCCESS_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef LOGTYPE_H
|
#ifndef LOGTYPE_H
|
||||||
#define LOGTYPE_H
|
#define LOGTYPE_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef LOGWARNING_H
|
#ifndef LOGWARNING_H
|
||||||
#define LOGWARNING_H
|
#define LOGWARNING_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "LogWriter.h"
|
#include "LogWriter.h"
|
||||||
|
|
||||||
LogWriter* LogWriter::getInstance()
|
LogWriter* LogWriter::getInstance()
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef LOGWRITER_H
|
#ifndef LOGWRITER_H
|
||||||
#define LOGWRITER_H
|
#define LOGWRITER_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef LOGGER_H
|
#ifndef LOGGER_H
|
||||||
#define LOGGER_H
|
#define LOGGER_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef SIMPLELOGGER_H
|
#ifndef SIMPLELOGGER_H
|
||||||
#define SIMPLELOGGER_H
|
#define SIMPLELOGGER_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "SimpleLogger.h"
|
#include "SimpleLogger.h"
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright 2019-2020 The Hush developers
|
// Copyright 2019-2021 The Hush developers
|
||||||
// GPLv3
|
// Released under the GPLv3
|
||||||
|
|
||||||
#include "ChatItem.h"
|
#include "ChatItem.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright 2019-2020 The Hush developers
|
// Copyright 2019-2021 The Hush developers
|
||||||
// GPLv3
|
// Released under the GPLv3
|
||||||
|
|
||||||
#ifndef CHATITEM_H
|
#ifndef CHATITEM_H
|
||||||
#define CHATITEM_H
|
#define CHATITEM_H
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright 2019-2020 The Hush developers
|
// Copyright 2019-2021 The Hush developers
|
||||||
// GPLv3
|
// Released under the GPLv3
|
||||||
#ifndef CONTACTITEM_H
|
#ifndef CONTACTITEM_H
|
||||||
#define CONTACTITEM_H
|
#define CONTACTITEM_H
|
||||||
|
|
||||||
@@ -8,6 +8,8 @@
|
|||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
using json = nlohmann::json;
|
using json = nlohmann::json;
|
||||||
|
|
||||||
|
// This represents one HushContact in your ContactList of HushChat, which end users
|
||||||
|
// see as an avatar and name. This data structure holds all the other data to make things work
|
||||||
class ContactItem
|
class ContactItem
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 The Hush developers
|
// Copyright 2019-2021 The Hush developers
|
||||||
// GPLv3
|
// Released under the GPLv3
|
||||||
|
|
||||||
#ifndef CONTACTREQUEST_H
|
#ifndef CONTACTREQUEST_H
|
||||||
#define CONTACTREQUEST_H
|
#define CONTACTREQUEST_H
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1,3 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "ContactRequestChatItem.h"
|
#include "ContactRequestChatItem.h"
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifdef CONTACTREQUESTCHATITEM_H
|
#ifdef CONTACTREQUESTCHATITEM_H
|
||||||
#define CONTACTREQUESTCHATITEM_H
|
#define CONTACTREQUESTCHATITEM_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright 2019-2020 The Hush developers
|
// Copyright 2019-2021 The Hush developers
|
||||||
// GPLv3
|
// Released under the GPLv3
|
||||||
|
|
||||||
#include "addressbook.h"
|
#include "addressbook.h"
|
||||||
#include "ui_addressbook.h"
|
#include "ui_addressbook.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef ADDRESSBOOK_H
|
#ifndef ADDRESSBOOK_H
|
||||||
#define ADDRESSBOOK_H
|
#define ADDRESSBOOK_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "addresscombo.h"
|
#include "addresscombo.h"
|
||||||
#include "addressbook.h"
|
#include "addressbook.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef ADDRESSCOMBO_H
|
#ifndef ADDRESSCOMBO_H
|
||||||
#define ADDRESSCOMBO_H
|
#define ADDRESSCOMBO_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "balancestablemodel.h"
|
#include "balancestablemodel.h"
|
||||||
#include "addressbook.h"
|
#include "addressbook.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef BALANCESTABLEMODEL_H
|
#ifndef BALANCESTABLEMODEL_H
|
||||||
#define BALANCESTABLEMODEL_H
|
#define BALANCESTABLEMODEL_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "camount.h"
|
#include "camount.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "precompiled.h"
|
#include "precompiled.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef CAMOUNT_H
|
#ifndef CAMOUNT_H
|
||||||
#define CAMOUNT_H
|
#define CAMOUNT_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "chatbubbleme.h"
|
#include "chatbubbleme.h"
|
||||||
#include "ui_chatbubbleme.h"
|
#include "ui_chatbubbleme.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef CHATBUBBLEME_H
|
#ifndef CHATBUBBLEME_H
|
||||||
#define CHATBUBBLEME_H
|
#define CHATBUBBLEME_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "chatbubblepartner.h"
|
#include "chatbubblepartner.h"
|
||||||
#include "ui_chatbubblepartner.h"
|
#include "ui_chatbubblepartner.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef CHATBUBBLEPARTNER_H
|
#ifndef CHATBUBBLEPARTNER_H
|
||||||
#define CHATBUBBLEPARTNER_H
|
#define CHATBUBBLEPARTNER_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright 2019-2020 The Hush developers
|
// Copyright 2019-2021 The Hush developers
|
||||||
// GPLv3
|
// Released under the GPLv3
|
||||||
#include "chatmodel.h"
|
#include "chatmodel.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "ui_confirm.h"
|
#include "ui_confirm.h"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright 2019-2020 The Hush developers
|
// Copyright 2019-2021 The Hush developers
|
||||||
// GPLv3
|
// Released under the GPLv3
|
||||||
|
|
||||||
#ifndef CHATMODEL_H
|
#ifndef CHATMODEL_H
|
||||||
#define CHATMODEL_H
|
#define CHATMODEL_H
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "connection.h"
|
#include "connection.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef CONNECTION_H
|
#ifndef CONNECTION_H
|
||||||
#define CONNECTION_H
|
#define CONNECTION_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
// Copyright 2019-2020 The Hush developers
|
// Copyright 2019-2021 The Hush developers
|
||||||
// GPLv3
|
// Released under the GPLv3
|
||||||
#ifndef CONTACTMODEL_H
|
#ifndef CONTACTMODEL_H
|
||||||
#define CONTACTMODEL_H
|
#define CONTACTMODEL_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "datamodel.h"
|
#include "datamodel.h"
|
||||||
|
|
||||||
DataModel::DataModel() {
|
DataModel::DataModel() {
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef DATAMODEL_H
|
#ifndef DATAMODEL_H
|
||||||
#define DATAMODEL_H
|
#define DATAMODEL_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "fillediconlabel.h"
|
#include "fillediconlabel.h"
|
||||||
|
|
||||||
FilledIconLabel::FilledIconLabel(QWidget* parent) :
|
FilledIconLabel::FilledIconLabel(QWidget* parent) :
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef FILLEDICONLABEL_H
|
#ifndef FILLEDICONLABEL_H
|
||||||
#define FILLEDICONLABEL_H
|
#define FILLEDICONLABEL_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "firsttimewizard.h"
|
#include "firsttimewizard.h"
|
||||||
|
|
||||||
#include "ui_newseed.h"
|
#include "ui_newseed.h"
|
||||||
#include "ui_restoreseed.h"
|
#include "ui_restoreseed.h"
|
||||||
#include "ui_verifyseed.h"
|
#include "ui_verifyseed.h"
|
||||||
@@ -25,15 +26,9 @@ auto dirwalletencfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::H
|
|||||||
auto dirwalletbackupfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".silentdragonlite/silentdragonlite-wallet.datBackup");
|
auto dirwalletbackupfirst = QDir(QStandardPaths::writableLocation(QStandardPaths::HomeLocation)).filePath(".silentdragonlite/silentdragonlite-wallet.datBackup");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
void FirstTimeWizard::slot_change_theme(const QString& theme_name) {
|
||||||
|
|
||||||
|
|
||||||
void FirstTimeWizard::slot_change_theme(const QString& theme_name)
|
|
||||||
|
|
||||||
{
|
|
||||||
Settings::getInstance()->set_theme_name(theme_name);
|
Settings::getInstance()->set_theme_name(theme_name);
|
||||||
|
|
||||||
|
|
||||||
// Include css
|
// Include css
|
||||||
QString saved_theme_name;
|
QString saved_theme_name;
|
||||||
try
|
try
|
||||||
|
|||||||
@@ -1,15 +1,14 @@
|
|||||||
|
// Copyright 2019-2020 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef FIRSTTIMEWIZARD_H
|
#ifndef FIRSTTIMEWIZARD_H
|
||||||
#define FIRSTTIMEWIZARD_H
|
#define FIRSTTIMEWIZARD_H
|
||||||
|
|
||||||
#include "precompiled.h"
|
#include "precompiled.h"
|
||||||
|
|
||||||
#include "ui_newseed.h"
|
#include "ui_newseed.h"
|
||||||
#include "ui_restoreseed.h"
|
#include "ui_restoreseed.h"
|
||||||
#include "ui_newwallet.h"
|
#include "ui_newwallet.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class FirstTimeWizard: public QWizard
|
class FirstTimeWizard: public QWizard
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "liteinterface.h"
|
#include "liteinterface.h"
|
||||||
|
|
||||||
LiteInterface::LiteInterface() {
|
LiteInterface::LiteInterface() {
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef hushDRPC_H
|
#ifndef hushDRPC_H
|
||||||
#define hushDRPC_H
|
#define hushDRPC_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "logger.h"
|
#include "logger.h"
|
||||||
|
|
||||||
Logger::Logger(QObject *parent, QString fileName) : QObject(parent) {
|
Logger::Logger(QObject *parent, QString fileName) : QObject(parent) {
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef LOGGER_H
|
#ifndef LOGGER_H
|
||||||
#define LOGGER_H
|
#define LOGGER_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include <singleapplication.h>
|
#include <singleapplication.h>
|
||||||
|
|
||||||
#include "precompiled.h"
|
#include "precompiled.h"
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 The Hush developers
|
// Copyright 2019-2021 The Hush developers
|
||||||
// GPLv3
|
// Released under the GPLv3
|
||||||
|
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "addressbook.h"
|
#include "addressbook.h"
|
||||||
#include "viewalladdresses.h"
|
#include "viewalladdresses.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef MAINWINDOW_H
|
#ifndef MAINWINDOW_H
|
||||||
#define MAINWINDOW_H
|
#define MAINWINDOW_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "memoedit.h"
|
#include "memoedit.h"
|
||||||
|
|
||||||
MemoEdit::MemoEdit(QWidget* parent) : QPlainTextEdit(parent) {
|
MemoEdit::MemoEdit(QWidget* parent) : QPlainTextEdit(parent) {
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef MEMOEDIT_H
|
#ifndef MEMOEDIT_H
|
||||||
#define MEMOEDIT_H
|
#define MEMOEDIT_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "mobileappconnector.h"
|
#include "mobileappconnector.h"
|
||||||
#include "ui_mobileappconnector.h"
|
#include "ui_mobileappconnector.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef MOBILEAPPCONNECTOR_H
|
#ifndef MOBILEAPPCONNECTOR_H
|
||||||
#define MOBILEAPPCONNECTOR_H
|
#define MOBILEAPPCONNECTOR_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#if defined __cplusplus
|
#if defined __cplusplus
|
||||||
/* Add C++ includes here */
|
/* Add C++ includes here */
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "qrcodelabel.h"
|
#include "qrcodelabel.h"
|
||||||
|
|
||||||
QRCodeLabel::QRCodeLabel(QWidget *parent) :
|
QRCodeLabel::QRCodeLabel(QWidget *parent) :
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef QRCODELABEL_H
|
#ifndef QRCODELABEL_H
|
||||||
#define QRCODELABEL_H
|
#define QRCODELABEL_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "recurring.h"
|
#include "recurring.h"
|
||||||
|
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef RECURRING_H
|
#ifndef RECURRING_H
|
||||||
#define RECURRING_H
|
#define RECURRING_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "requestdialog.h"
|
#include "requestdialog.h"
|
||||||
#include "ui_requestdialog.h"
|
#include "ui_requestdialog.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef REQUESTDIALOG_H
|
#ifndef REQUESTDIALOG_H
|
||||||
#define REQUESTDIALOG_H
|
#define REQUESTDIALOG_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "ui_mainwindow.h"
|
#include "ui_mainwindow.h"
|
||||||
#include "addressbook.h"
|
#include "addressbook.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "camount.h"
|
#include "camount.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef SETTINGS_H
|
#ifndef SETTINGS_H
|
||||||
#define SETTINGS_H
|
#define SETTINGS_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "txtablemodel.h"
|
#include "txtablemodel.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "controller.h"
|
#include "controller.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef STRINGSTABLEMODEL_H
|
#ifndef STRINGSTABLEMODEL_H
|
||||||
#define STRINGSTABLEMODEL_H
|
#define STRINGSTABLEMODEL_H
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1,3 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#define APP_VERSION "1.3.11"
|
#define APP_VERSION "1.3.11"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "viewalladdresses.h"
|
#include "viewalladdresses.h"
|
||||||
#include "camount.h"
|
#include "camount.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef VIEWALLADDRESSES_H
|
#ifndef VIEWALLADDRESSES_H
|
||||||
#define VIEWALLADDRESSES_H
|
#define VIEWALLADDRESSES_H
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#include "websockets.h"
|
#include "websockets.h"
|
||||||
|
|
||||||
#include "controller.h"
|
#include "controller.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "ui_mobileappconnector.h"
|
#include "ui_mobileappconnector.h"
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
|
// Copyright 2019-2021 The Hush developers
|
||||||
|
// Released under the GPLv3
|
||||||
#ifndef WEBSOCKETS_H
|
#ifndef WEBSOCKETS_H
|
||||||
#define WEBSOCKETS_H
|
#define WEBSOCKETS_H
|
||||||
|
|
||||||
#include "precompiled.h"
|
#include "precompiled.h"
|
||||||
|
|
||||||
#include "camount.h"
|
#include "camount.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "ui_mobileappconnector.h"
|
#include "ui_mobileappconnector.h"
|
||||||
|
|
||||||
|
|
||||||
QT_FORWARD_DECLARE_CLASS(QWebSocketServer)
|
QT_FORWARD_DECLARE_CLASS(QWebSocketServer)
|
||||||
QT_FORWARD_DECLARE_CLASS(QWebSocket)
|
QT_FORWARD_DECLARE_CLASS(QWebSocket)
|
||||||
|
|
||||||
@@ -176,5 +176,4 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif // WEBSOCKETS_H
|
#endif // WEBSOCKETS_H
|
||||||
Reference in New Issue
Block a user