id int64 0 755k | file_name stringlengths 3 109 | file_path stringlengths 13 185 | content stringlengths 31 9.38M | size int64 31 9.38M | language stringclasses 1
value | extension stringclasses 11
values | total_lines int64 1 340k | avg_line_length float64 2.18 149k | max_line_length int64 7 2.22M | alphanum_fraction float64 0 1 | repo_name stringlengths 6 65 | repo_stars int64 100 47.3k | repo_forks int64 0 12k | repo_open_issues int64 0 3.4k | repo_license stringclasses 9
values | repo_extraction_date stringclasses 92
values | exact_duplicates_redpajama bool 2
classes | near_duplicates_redpajama bool 2
classes | exact_duplicates_githubcode bool 2
classes | exact_duplicates_stackv2 bool 1
class | exact_duplicates_stackv1 bool 2
classes | near_duplicates_githubcode bool 2
classes | near_duplicates_stackv1 bool 2
classes | near_duplicates_stackv2 bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4,211 | DarkmodeDetector.cpp | Qv2ray_Qv2ray/src/ui/common/darkmode/DarkmodeDetector.cpp | #include "DarkmodeDetector.hpp"
#include "base/Qv2rayBase.hpp"
#include <QApplication>
#include <QStyle>
#ifdef Q_OS_LINUX
#elif defined(Q_OS_WIN32)
#include <QSettings>
#elif defined(Q_OS_MAC)
#include <CoreFoundation/CoreFoundation.h>
#include <CoreServices/CoreServices.h>
#endif
namespace Qv2ray::components::dark... | 1,457 | C++ | .cpp | 39 | 31.846154 | 137 | 0.698582 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
4,212 | QvAutoLaunch.cpp | Qv2ray_Qv2ray/src/ui/common/autolaunch/QvAutoLaunch.cpp | #include "QvAutoLaunch.hpp"
#include "base/Qv2rayBase.hpp"
#include <QCoreApplication>
#include <QDir>
#include <QSettings>
#include <QStandardPaths>
#include <QTextStream>
// macOS headers (possibly OBJ-c)
#if defined(Q_OS_MAC)
#include <CoreFoundation/CoreFoundation.h>
#include <CoreServices/CoreServices.h>
#endif
... | 8,365 | C++ | .cpp | 184 | 35.092391 | 138 | 0.603533 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
4,213 | Qv2rayQMLApplication.cpp | Qv2ray_Qv2ray/src/ui/qml/Qv2rayQMLApplication.cpp | #include "Qv2rayQMLApplication.hpp"
#include "components/translations/QvTranslator.hpp"
#include "core/settings/SettingsBackend.hpp"
#include <QDesktopServices>
#include <QMessageBox>
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include <QQuickStyle>
#ifdef QV2RAY_QMLLIVE_DEBUG
#include <qmllive/livenode... | 3,124 | C++ | .cpp | 83 | 34.349398 | 137 | 0.76745 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,214 | Qv2rayCliApplication.cpp | Qv2ray_Qv2ray/src/ui/cli/Qv2rayCliApplication.cpp | #include "Qv2rayCliApplication.hpp"
Qv2rayCliApplication::Qv2rayCliApplication(int &argc, char *argv[]) : Qv2rayPlatformApplication(argc, argv)
{
}
QStringList Qv2rayCliApplication::checkPrerequisitesInternal()
{
return {};
}
Qv2rayExitReason Qv2rayCliApplication::runQv2rayInternal()
{
return (Qv2rayExitReaso... | 513 | C++ | .cpp | 20 | 24.05 | 107 | 0.832311 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,215 | QvVPNService.cpp | Qv2ray_Qv2ray/src/platforms/android/QvVPNService.cpp | #include "QvVPNService.hpp"
#include <QtAndroid>
QvVPNService::QvVPNService(int &argc, char *argv[]) : QAndroidService(argc, argv)
{
}
QAndroidBinder *QvVPNService::onBind(const QAndroidIntent &intent)
{
return nullptr;
}
| 229 | C++ | .cpp | 9 | 23.666667 | 81 | 0.78341 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,216 | Qv2rayBaseApplication.cpp | Qv2ray_Qv2ray/src/base/Qv2rayBaseApplication.cpp | #include "Qv2rayBaseApplication.hpp"
#include "components/translations/QvTranslator.hpp"
#include "core/settings/SettingsBackend.hpp"
#include "utils/QvHelpers.hpp"
#define QV_MODULE_NAME "BaseApplication"
inline QString makeAbs(const QString &p)
{
return QDir(p).absolutePath();
}
Qv2rayApplicationInterface::Qv2... | 2,985 | C++ | .cpp | 63 | 43.238095 | 115 | 0.730055 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,218 | Common.hpp | Qv2ray_Qv2ray/test/Common.hpp | #include "base/Qv2rayBaseApplication.hpp"
using namespace Qv2ray;
int fakeArgc = 0;
char *fakeArgv[]{};
class QvTestApplication
: public QCoreApplication
, public Qv2rayApplicationInterface
{
public:
explicit QvTestApplication() : QCoreApplication(fakeArgc, fakeArgv), Qv2rayApplicationInterface(){};
... | 701 | C++ | .h | 18 | 35.333333 | 117 | 0.740469 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,219 | version.hpp | Qv2ray_Qv2ray/3rdparty/libsemver/version.hpp | /*
* Copyright (c) 2016-2017 Enrico M. Crisostomo
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation; either version 3, or (at your option) any later version.
*
* This program is distribute... | 8,121 | C++ | .h | 237 | 29.316456 | 80 | 0.673836 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | true | true | true | false |
4,220 | CoreUtils.hpp | Qv2ray_Qv2ray/src/core/CoreUtils.hpp | #pragma once
#include "base/models/CoreObjectModels.hpp"
#include "base/models/QvConfigIdentifier.hpp"
#include "base/models/QvSafeType.hpp"
#define CurrentStatAPIType (GlobalConfig.uiConfig.graphConfig.useOutboundStats ? API_OUTBOUND_PROXY : API_INBOUND)
namespace Qv2ray::core
{
const inline GroupId DefaultGroup... | 2,448 | C++ | .h | 59 | 36.389831 | 114 | 0.735627 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,221 | ConnectionIO.hpp | Qv2ray_Qv2ray/src/core/connection/ConnectionIO.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
namespace Qv2ray::core::connection::connectionIO
{
CONFIGROOT ConvertConfigFromFile(const QString &sourceFilePath, bool importComplex);
} // namespace Qv2ray::core::connection::connectionIO
using namespace Qv2ray::core::connection;
using namespace Qv2ray::core::connectio... | 337 | C++ | .h | 8 | 40.5 | 88 | 0.823171 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,222 | Generation.hpp | Qv2ray_Qv2ray/src/core/connection/Generation.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
static const inline QStringList V2RayLogLevel = { "none", "debug", "info", "warning", "error" };
namespace Qv2ray::core::connection::generation
{
namespace routing
{
enum RuleType
{
RULE_DOMAIN,
RULE_IP
};
ROUT... | 4,221 | C++ | .h | 69 | 49.666667 | 150 | 0.650579 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,223 | Serialization.hpp | Qv2ray_Qv2ray/src/core/connection/Serialization.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
#include "utils/QvHelpers.hpp"
namespace Qv2ray::core::connection::serialization
{
const inline QString QV2RAY_SERIALIZATION_COMPLEX_CONFIG_PLACEHOLDER = "(N/A)";
/**
* pattern for the nodes in ssd links.
* %1: airport name
* %2: node name
* %3: r... | 2,160 | C++ | .h | 44 | 42.477273 | 136 | 0.711575 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,224 | RouteHandler.hpp | Qv2ray_Qv2ray/src/core/handler/RouteHandler.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
namespace Qv2ray::core::handler
{
class RouteHandler : public QObject
{
Q_OBJECT
public:
explicit RouteHandler(QObject *parent = nullptr);
~RouteHandler();
void SaveRoutes() const;
//
std::tuple<bool, QvConfig_DN... | 1,569 | C++ | .h | 36 | 35.944444 | 133 | 0.688235 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
4,225 | KernelInstanceHandler.hpp | Qv2ray_Qv2ray/src/core/handler/KernelInstanceHandler.hpp | #pragma once
#include "components/plugins/QvPluginHost.hpp"
#include "core/CoreUtils.hpp"
#include "core/kernel/V2RayKernelInteractions.hpp"
#include <QObject>
#include <optional>
namespace Qv2ray::core::handler
{
class KernelInstanceHandler : public QObject
{
Q_OBJECT
public:
explicit K... | 3,284 | C++ | .h | 85 | 29.847059 | 116 | 0.650266 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
4,226 | ConfigHandler.hpp | Qv2ray_Qv2ray/src/core/handler/ConfigHandler.hpp | #pragma once
#include "components/latency/LatencyTest.hpp"
#include "core/CoreUtils.hpp"
#include "core/connection/ConnectionIO.hpp"
#include "core/handler/KernelInstanceHandler.hpp"
namespace Qv2ray::common::network
{
class NetworkRequestHelper;
}
#define CheckValidId(id, returnValue) ... | 8,163 | C++ | .h | 166 | 39.981928 | 150 | 0.66295 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
4,227 | SettingsBackend.hpp | Qv2ray_Qv2ray/src/core/settings/SettingsBackend.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
namespace Qv2ray::core::config
{
void SaveGlobalSettings();
bool LocateConfiguration();
void SetConfigDirPath(const QString &path);
bool CheckSettingsPathAvailability(const QString &_path, bool checkExistingConfig);
} // namespace Qv2ray::core::config
namesp... | 565 | C++ | .h | 16 | 32.625 | 96 | 0.791209 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,228 | V2RayKernelInteractions.hpp | Qv2ray_Qv2ray/src/core/kernel/V2RayKernelInteractions.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
#include "core/kernel/QvKernelABIChecker.hpp"
class QProcess;
namespace Qv2ray::core::kernel
{
class APIWorker;
class V2RayKernelInstance : public QObject
{
Q_OBJECT
public:
explicit V2RayKernelInstance(QObject *parent = nullptr);
~... | 1,369 | C++ | .h | 38 | 29.473684 | 124 | 0.698341 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,229 | APIBackend.hpp | Qv2ray_Qv2ray/src/core/kernel/APIBackend.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
#include "v2ray_api.grpc.pb.h"
#include <grpc++/grpc++.h>
// Check 10 times before telling user that API has failed.
constexpr auto QV2RAY_API_CALL_FAILEDCHECK_THRESHOLD = 30;
namespace Qv2ray::core::kernel
{
struct APIConfigObject
{
QString protocol;
... | 1,364 | C++ | .h | 40 | 27.85 | 99 | 0.681126 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
4,230 | QvKernelABIChecker.hpp | Qv2ray_Qv2ray/src/core/kernel/QvKernelABIChecker.hpp | #pragma once
#include "base/Qv2rayFeatures.hpp"
#if QV2RAY_FEATURE(kernel_check_abi)
#include <QDataStream>
#include <QFile>
#include <QString>
#include <QtGlobal>
#include <optional>
namespace Qv2ray::core::kernel
{
namespace abi
{
enum QvKernelABIType
{
ABI_WIN32,
A... | 1,651 | C++ | .h | 52 | 24.673077 | 125 | 0.649277 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,231 | QvProxyConfigurator.hpp | Qv2ray_Qv2ray/src/components/proxy/QvProxyConfigurator.hpp | #pragma once
#include <QHostAddress>
#include <QObject>
#include <QString>
//
namespace Qv2ray::components::proxy
{
void ClearSystemProxy();
void SetSystemProxy(const QString &address, int http_port, int socks_port);
} // namespace Qv2ray::components::proxy
using namespace Qv2ray::components;
using namespace Q... | 346 | C++ | .h | 12 | 27.083333 | 79 | 0.786787 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
4,232 | LatencyTest.hpp | Qv2ray_Qv2ray/src/components/latency/LatencyTest.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
namespace uvw
{
class Loop;
}
struct sockaddr_storage;
namespace Qv2ray::components::latency
{
class LatencyTestThread;
struct LatencyTestResult
{
QString errorMessage;
int totalCount;
int failedCount;
long worst = LATENCY_TEST_... | 1,567 | C++ | .h | 49 | 25.693878 | 95 | 0.699273 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
4,233 | TCPing.hpp | Qv2ray_Qv2ray/src/components/latency/TCPing.hpp | #pragma once
#include "DNSBase.hpp"
#include "LatencyTest.hpp"
#include "base/Qv2rayBase.hpp"
#include <type_traits>
namespace Qv2ray::components::latency::tcping
{
class TCPing : public DNSBase<TCPing>
{
public:
using DNSBase<TCPing>::DNSBase;
void start();
~TCPing() override;
... | 470 | C++ | .h | 19 | 19.947368 | 50 | 0.665924 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
4,234 | DNSBase.hpp | Qv2ray_Qv2ray/src/components/latency/DNSBase.hpp | #pragma once
#include "LatencyTest.hpp"
#include "coroutine.hpp"
#include "uvw.hpp"
namespace Qv2ray::components::latency
{
template<typename T>
class DNSBase
: public coroutine
, public std::enable_shared_from_this<T>
{
public:
DNSBase(const std::shared_ptr<uvw::Loop> &loopin... | 4,618 | C++ | .h | 126 | 21.253968 | 109 | 0.438057 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
4,235 | coroutine.hpp | Qv2ray_Qv2ray/src/components/latency/coroutine.hpp | #pragma once
namespace detail
{
struct coroutine_ref;
} // namespace detail
struct coroutine
{
coroutine() : line_(0)
{
}
bool await_ready() const
{
return line_ == -1;
}
private:
friend struct detail::coroutine_ref;
int line_;
};
namespace detail
{
struct corouti... | 6,086 | C++ | .h | 83 | 63.795181 | 150 | 0.145385 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
4,236 | LatencyTestThread.hpp | Qv2ray_Qv2ray/src/components/latency/LatencyTestThread.hpp | #pragma once
#include "LatencyTest.hpp"
#include <QThread>
#include <curl/curl.h>
#include <mutex>
#include <unordered_set>
namespace uvw
{
class Loop;
class TimerHandle;
} // namespace uvw
namespace Qv2ray::components::latency
{
class LatencyTestThread : public QThread
{
Q_OBJECT
public... | 1,358 | C++ | .h | 47 | 21.425532 | 112 | 0.623755 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
4,237 | RealPing.hpp | Qv2ray_Qv2ray/src/components/latency/RealPing.hpp | #pragma once
#include "LatencyTest.hpp"
#include <curl/curl.h>
#include <memory>
#include <unordered_map>
#include <utility>
namespace uvw
{
class Loop;
class TimerHandle;
} // namespace uvw
namespace Qv2ray::components::latency::realping
{
class RealPing : public std::enable_shared_from_this<RealPing>
... | 1,014 | C++ | .h | 33 | 25.30303 | 104 | 0.6762 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,238 | ICMPPing.hpp | Qv2ray_Qv2ray/src/components/latency/unix/ICMPPing.hpp | #pragma once
#include <QtGlobal>
#ifdef Q_OS_UNIX
#include "../DNSBase.hpp"
#include "uvw.hpp"
#include <QString>
namespace Qv2ray::components::latency::icmping
{
class ICMPPing : public DNSBase<ICMPPing>
{
public:
using DNSBase<ICMPPing>::DNSBase;
~ICMPPing() override;
void star... | 815 | C++ | .h | 29 | 22.344828 | 65 | 0.647059 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
4,239 | ICMPPing.hpp | Qv2ray_Qv2ray/src/components/latency/win/ICMPPing.hpp | #pragma once
#include <QtGlobal>
#ifdef Q_OS_WIN
#include "../DNSBase.hpp"
#include <memory>
namespace Qv2ray::components::latency::icmping
{
class ICMPPing : public DNSBase<ICMPPing>
{
public:
using DNSBase<ICMPPing>::DNSBase;
~ICMPPing();
public:
static const uint64_t ... | 720 | C++ | .h | 26 | 22 | 79 | 0.663265 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
4,240 | QvPluginHost.hpp | Qv2ray_Qv2ray/src/components/plugins/QvPluginHost.hpp | #pragma once
#include "src/plugin-interface/QvPluginInterface.hpp"
#include <QHash>
#include <QMap>
#include <QObject>
#include <memory>
class QPluginLoader;
using namespace Qv2rayPlugin;
namespace Qv2ray::components::plugins
{
struct QvPluginInfo
{
public:
bool isLoaded = false;
QStrin... | 3,978 | C++ | .h | 87 | 32.183908 | 116 | 0.582474 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,241 | RouteSchemeIO.hpp | Qv2ray_Qv2ray/src/components/route/RouteSchemeIO.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
namespace Qv2ray::components::route
{
const inline QvConfig_Route emptyScheme;
const inline QvConfig_Route noAdsScheme({ {}, { "geosite:category-ads-all" }, {} }, { {}, {}, {} }, "AsIs");
/**
* @brief The Qv2rayRouteScheme struct
* @author DuckSoft <rea... | 1,107 | C++ | .h | 32 | 27.75 | 112 | 0.620336 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,242 | UpdateChecker.hpp | Qv2ray_Qv2ray/src/components/update/UpdateChecker.hpp | #pragma once
#include <QObject>
namespace Qv2ray::common::network
{
class NetworkRequestHelper;
}
namespace Qv2ray::components
{
struct QvUpdateInfo
{
int channel;
QString tag;
QString title;
QString releaseNotes;
QString downloadLink;
};
class QvUpdateChe... | 818 | C++ | .h | 31 | 20.645161 | 84 | 0.68798 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,243 | QvTranslator.hpp | Qv2ray_Qv2ray/src/components/translations/QvTranslator.hpp | #pragma once
#include <QString>
#include <QTranslator>
#include <memory>
#include <optional>
namespace Qv2ray::common
{
class QvTranslator
{
public:
explicit QvTranslator();
public:
/**
* @brief get the available languages.
* @return (if available) languages (zh_C... | 933 | C++ | .h | 34 | 20.794118 | 66 | 0.622346 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,244 | QvGeositeReader.hpp | Qv2ray_Qv2ray/src/components/geosite/QvGeositeReader.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
namespace Qv2ray::components::geosite
{
QStringList ReadGeoSiteFromFile(const QString &filepath);
} // namespace Qv2ray::components::geosite
using namespace Qv2ray::components;
using namespace Qv2ray::components::geosite;
| 272 | C++ | .h | 8 | 32.25 | 61 | 0.820611 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
4,245 | QvNTPClient.hpp | Qv2ray_Qv2ray/src/components/ntp/QvNTPClient.hpp | /* This file from part of QNtp, a library that implements NTP protocol.
*
* Copyright (C) 2011 Alexander Fokin <apfokin@gmail.com>
*
* QNtp is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
... | 4,988 | C++ | .h | 145 | 27.703448 | 93 | 0.643154 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
4,246 | QvPortDetector.hpp | Qv2ray_Qv2ray/src/components/port/QvPortDetector.hpp | #pragma once
#include <QString>
namespace Qv2ray::components::port
{
bool CheckTCPPortStatus(const QString &addr, int port);
inline bool CheckTCPPortStatus(std::pair<QString, int> config)
{
return CheckTCPPortStatus(config.first, config.second);
}
} // namespace Qv2ray::components::port
| 312 | C++ | .h | 10 | 27.8 | 66 | 0.745033 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
4,247 | BuiltinProtocolPlugin.hpp | Qv2ray_Qv2ray/src/plugins/protocols/BuiltinProtocolPlugin.hpp | #pragma once
#include "QvPluginInterface.hpp"
#include <QObject>
#include <QtPlugin>
using namespace Qv2rayPlugin;
class InternalProtocolSupportPlugin
: public QObject
, public Qv2rayInterface
{
Q_INTERFACES(Qv2rayPlugin::Qv2rayInterface)
Q_PLUGIN_METADATA(IID Qv2rayInterface_IID)
Q_OBJECT
pub... | 1,480 | C++ | .h | 36 | 33.111111 | 96 | 0.511127 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,248 | OutboundHandler.hpp | Qv2ray_Qv2ray/src/plugins/protocols/core/OutboundHandler.hpp | #pragma once
#include "CommonTypes.hpp"
#include "QvPluginProcessor.hpp"
class BuiltinSerializer : public Qv2rayPlugin::PluginOutboundHandler
{
public:
explicit BuiltinSerializer() : Qv2rayPlugin::PluginOutboundHandler(){};
const QString SerializeOutbound(const QString &protocol, const QString &name, const Q... | 1,052 | C++ | .h | 18 | 52.833333 | 140 | 0.757986 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,249 | Interface.hpp | Qv2ray_Qv2ray/src/plugins/protocols/ui/Interface.hpp | #include "PluginSettingsWidget.hpp"
#include "QvGUIPluginInterface.hpp"
//
#include "inbound/dokodemo-door.hpp"
#include "inbound/httpin.hpp"
#include "inbound/socksin.hpp"
//
#include "outbound/blackhole.hpp"
#include "outbound/dns.hpp"
#include "outbound/freedom.hpp"
#include "outbound/httpout.hpp"
#include "outbound... | 2,477 | C++ | .h | 64 | 32.640625 | 92 | 0.656574 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,251 | httpout.hpp | Qv2ray_Qv2ray/src/plugins/protocols/ui/outbound/httpout.hpp | #pragma once
#include "CommonTypes.hpp"
#include "QvGUIPluginInterface.hpp"
#include "ui_httpout.h"
class HttpOutboundEditor
: public Qv2rayPlugin::QvPluginEditor
, private Ui::httpOutEditor
{
Q_OBJECT
public:
explicit HttpOutboundEditor(QWidget *parent = nullptr);
void SetHostAddress(const QS... | 1,607 | C++ | .h | 49 | 26.285714 | 109 | 0.651163 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,252 | blackhole.hpp | Qv2ray_Qv2ray/src/plugins/protocols/ui/outbound/blackhole.hpp | #pragma once
#include "QvGUIPluginInterface.hpp"
#include "ui_blackhole.h"
class BlackholeOutboundEditor
: public Qv2rayPlugin::QvPluginEditor
, private Ui::blackholeOutEditor
{
Q_OBJECT
public:
explicit BlackholeOutboundEditor(QWidget *parent = nullptr);
void SetHostAddress(const QString &, i... | 714 | C++ | .h | 25 | 24.2 | 67 | 0.733529 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,253 | dns.hpp | Qv2ray_Qv2ray/src/plugins/protocols/ui/outbound/dns.hpp | #pragma once
#include "QvGUIPluginInterface.hpp"
#include "ui_dns.h"
class DnsOutboundEditor
: public Qv2rayPlugin::QvPluginEditor
, private Ui::dnsOutEditor
{
Q_OBJECT
public:
explicit DnsOutboundEditor(QWidget *parent = nullptr);
void SetHostAddress(const QString &, int) override{};
QPai... | 1,416 | C++ | .h | 47 | 22.553191 | 67 | 0.607195 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,254 | freedom.hpp | Qv2ray_Qv2ray/src/plugins/protocols/ui/outbound/freedom.hpp | #pragma once
#include "QvGUIPluginInterface.hpp"
#include "ui_freedom.h"
class FreedomOutboundEditor
: public Qv2rayPlugin::QvPluginEditor
, private Ui::freedomOutEditor
{
Q_OBJECT
public:
explicit FreedomOutboundEditor(QWidget *parent = nullptr);
void SetHostAddress(const QString &, int) over... | 986 | C++ | .h | 33 | 24.484848 | 71 | 0.693446 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,255 | loopback.hpp | Qv2ray_Qv2ray/src/plugins/protocols/ui/outbound/loopback.hpp | #pragma once
#include "QvGUIPluginInterface.hpp"
#include "ui_loopback.h"
class LoopbackSettingsEditor
: public Qv2rayPlugin::QvPluginEditor
, private Ui::loopback
{
Q_OBJECT
public:
explicit LoopbackSettingsEditor(QWidget *parent = nullptr);
void SetHostAddress(const QString &, int){};
QPa... | 815 | C++ | .h | 31 | 21.548387 | 65 | 0.708763 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,256 | vmess.hpp | Qv2ray_Qv2ray/src/plugins/protocols/ui/outbound/vmess.hpp | #pragma once
#include "CommonTypes.hpp"
#include "QvGUIPluginInterface.hpp"
#include "ui_vmess.h"
class VmessOutboundEditor
: public Qv2rayPlugin::QvPluginEditor
, private Ui::vmessOutEditor
{
Q_OBJECT
public:
explicit VmessOutboundEditor(QWidget *parent = nullptr);
void SetHostAddress(const Q... | 1,106 | C++ | .h | 38 | 23.973684 | 66 | 0.705382 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,258 | socksout.hpp | Qv2ray_Qv2ray/src/plugins/protocols/ui/outbound/socksout.hpp | #pragma once
#include "CommonTypes.hpp"
#include "QvGUIPluginInterface.hpp"
#include "ui_socksout.h"
class SocksOutboundEditor
: public Qv2rayPlugin::QvPluginEditor
, private Ui::socksOutEditor
{
Q_OBJECT
public:
explicit SocksOutboundEditor(QWidget *parent = nullptr);
void SetHostAddress(cons... | 1,630 | C++ | .h | 49 | 26.755102 | 112 | 0.65627 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,259 | shadowsocks.hpp | Qv2ray_Qv2ray/src/plugins/protocols/ui/outbound/shadowsocks.hpp | #pragma once
#include "CommonTypes.hpp"
#include "QvGUIPluginInterface.hpp"
#include "ui_shadowsocks.h"
class ShadowsocksOutboundEditor
: public Qv2rayPlugin::QvPluginEditor
, private Ui::shadowsocksOutEditor
{
Q_OBJECT
public:
explicit ShadowsocksOutboundEditor(QWidget *parent = nullptr);
voi... | 1,596 | C++ | .h | 47 | 27.595745 | 109 | 0.689163 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,260 | vless.hpp | Qv2ray_Qv2ray/src/plugins/protocols/ui/outbound/vless.hpp | #pragma once
#include "CommonTypes.hpp"
#include "QvGUIPluginInterface.hpp"
#include "ui_vless.h"
class VlessOutboundEditor
: public Qv2rayPlugin::QvPluginEditor
, private Ui::vlessOutEditor
{
Q_OBJECT
public:
explicit VlessOutboundEditor(QWidget *parent = nullptr);
void SetHostAddress(const Q... | 1,722 | C++ | .h | 52 | 26.25 | 95 | 0.658037 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,261 | dokodemo-door.hpp | Qv2ray_Qv2ray/src/plugins/protocols/ui/inbound/dokodemo-door.hpp | #pragma once
#include "QvGUIPluginInterface.hpp"
#include "ui_dokodemo-door.h"
class DokodemoDoorInboundEditor
: public Qv2rayPlugin::QvPluginEditor
, private Ui::dokodemodoorInEditor
{
Q_OBJECT
public:
explicit DokodemoDoorInboundEditor(QWidget *parent = nullptr);
void SetHostAddress(const QS... | 925 | C++ | .h | 27 | 29.962963 | 66 | 0.756453 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,263 | httpin.hpp | Qv2ray_Qv2ray/src/plugins/protocols/ui/inbound/httpin.hpp | #pragma once
#include "QvGUIPluginInterface.hpp"
#include "ui_httpin.h"
#include <QJsonArray>
class HTTPInboundEditor
: public Qv2rayPlugin::QvPluginEditor
, private Ui::httpInEditor
{
Q_OBJECT
public:
explicit HTTPInboundEditor(QWidget *parent = nullptr);
void SetHostAddress(const QString &,... | 1,052 | C++ | .h | 35 | 24.657143 | 58 | 0.694527 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,264 | socksin.hpp | Qv2ray_Qv2ray/src/plugins/protocols/ui/inbound/socksin.hpp | #pragma once
#include "QvGUIPluginInterface.hpp"
#include "ui_socksin.h"
#include <QJsonArray>
class SocksInboundEditor
: public Qv2rayPlugin::QvPluginEditor
, private Ui::socksInEditor
{
Q_OBJECT
public:
explicit SocksInboundEditor(QWidget *parent = nullptr);
void SetHostAddress(const QStrin... | 907 | C++ | .h | 30 | 25.666667 | 62 | 0.736111 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,265 | BuiltinUtils.hpp | Qv2ray_Qv2ray/src/plugins/utils/BuiltinUtils.hpp | #pragma once
#include "QvPluginInterface.hpp"
#include <QObject>
#include <QtPlugin>
using namespace Qv2rayPlugin;
class InternalUtilsPlugin
: public QObject
, public Qv2rayInterface
{
Q_INTERFACES(Qv2rayPlugin::Qv2rayInterface)
Q_PLUGIN_METADATA(IID Qv2rayInterface_IID)
Q_OBJECT
public:
c... | 1,041 | C++ | .h | 29 | 28.655172 | 80 | 0.59841 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,266 | GUIInterface.hpp | Qv2ray_Qv2ray/src/plugins/utils/core/GUIInterface.hpp | #pragma once
#include "QvGUIPluginInterface.hpp"
class GUIInterface : public Qv2rayPlugin::PluginGUIInterface
{
public:
GUIInterface();
QIcon Icon() const override
{
return QIcon(":/assets/qv2ray.png");
}
QList<Qv2rayPlugin::PluginGuiComponentType> GetComponents() const override
{
... | 745 | C++ | .h | 20 | 32.9 | 100 | 0.763158 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,267 | EventHandler.hpp | Qv2ray_Qv2ray/src/plugins/utils/core/EventHandler.hpp | #pragma once
#include "QvPluginInterface.hpp"
#include <QtCore/qglobal.h>
class EventHandler : public Qv2rayPlugin::PluginEventHandler
{
public:
EventHandler();
QvPlugin_EventHandler_Decl(ConnectionStats);
QvPlugin_EventHandler_Decl(SystemProxy);
QvPlugin_EventHandler_Decl(Connectivity);
QvPlu... | 363 | C++ | .h | 12 | 27.083333 | 60 | 0.801153 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,268 | MainWindowWidget.hpp | Qv2ray_Qv2ray/src/plugins/utils/core/MainWindowWidget.hpp | #pragma once
#include "QvGUIPluginInterface.hpp"
#include "ui_MainWindowWidget.h"
class MainWindowWidget
: public Qv2rayPlugin::QvPluginMainWindowWidget
, private Ui::MainWindowWidget
{
Q_OBJECT
public:
explicit MainWindowWidget(QWidget *parent = nullptr);
const QList<QMenu *> GetMenus() overri... | 413 | C++ | .h | 17 | 20.470588 | 57 | 0.732143 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,269 | CommonTypes.hpp | Qv2ray_Qv2ray/src/plugins/common/CommonTypes.hpp | #pragma once
#include "QJsonStruct.hpp"
// GUI TOOLS
#define RED(obj) \
{ ... | 3,064 | C++ | .h | 87 | 31.034483 | 150 | 0.558288 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,270 | BuiltinSubscriptionAdapter.hpp | Qv2ray_Qv2ray/src/plugins/subscription-adapters/BuiltinSubscriptionAdapter.hpp | #pragma once
#include "QvPluginInterface.hpp"
#include <QObject>
#include <QtPlugin>
using namespace Qv2rayPlugin;
class InternalSubscriptionSupportPlugin
: public QObject
, public Qv2rayInterface
{
Q_INTERFACES(Qv2rayPlugin::Qv2rayInterface)
Q_PLUGIN_METADATA(IID Qv2rayInterface_IID)
Q_OBJECT
... | 1,121 | C++ | .h | 32 | 28.03125 | 80 | 0.611624 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,271 | SubscriptionAdapter.hpp | Qv2ray_Qv2ray/src/plugins/subscription-adapters/core/SubscriptionAdapter.hpp | #pragma once
#include "CommonTypes.hpp"
#include "QvPluginProcessor.hpp"
#include <QRegularExpression>
using namespace Qv2rayPlugin;
const inline QStringList SplitLines(const QString &_string)
{
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
return _string.split(QRegularExpression("[\r\n]"), Qt::SplitBehaviorFlags... | 1,892 | C++ | .h | 52 | 31.634615 | 113 | 0.725287 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,273 | HTTPRequestHelper.hpp | Qv2ray_Qv2ray/src/utils/HTTPRequestHelper.hpp | #pragma once
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QObject>
#include <functional>
namespace Qv2ray::common::network
{
class NetworkRequestHelper : QObject
{
Q_OBJECT
explicit NetworkRequestHelper(QObject *parent) : QObject(parent){};
... | 843 | C++ | .h | 22 | 33.454545 | 111 | 0.742647 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
4,274 | Qv2rayPlatformApplication.hpp | Qv2ray_Qv2ray/src/ui/Qv2rayPlatformApplication.hpp | #pragma once
#include "base/Qv2rayBaseApplication.hpp"
#include "components/translations/QvTranslator.hpp"
#include "core/handler/ConfigHandler.hpp"
#include "core/handler/RouteHandler.hpp"
#include "core/settings/SettingsBackend.hpp"
#include "utils/QvHelpers.hpp"
#ifndef QV2RAY_NO_SINGLEAPPLICATON
#ifdef Q_OS_ANDRO... | 2,338 | C++ | .h | 70 | 30.228571 | 135 | 0.780337 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,275 | Qv2rayWidgetApplication.hpp | Qv2ray_Qv2ray/src/ui/widgets/Qv2rayWidgetApplication.hpp | #pragma once
#include "ui/Qv2rayPlatformApplication.hpp"
#include <QSystemTrayIcon>
class MainWindow;
namespace Qv2ray
{
class Qv2rayWidgetApplication : public Qv2rayPlatformApplication
{
Q_OBJECT
public:
explicit Qv2rayWidgetApplication(int &argc, char *argv[]);
QJsonObject UI... | 1,571 | C++ | .h | 41 | 32.536585 | 136 | 0.740789 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,276 | ConnectionModelHelper.hpp | Qv2ray_Qv2ray/src/ui/widgets/models/ConnectionModelHelper.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
#include <QStandardItem>
#include <QStandardItemModel>
#include <QTreeView>
namespace Qv2ray::ui::widgets::models
{
enum ConnectionInfoRole
{
// 10 -> Magic value.
ROLE_DISPLAYNAME = Qt::UserRole + 10,
ROLE_LATENCY,
ROLE_IMPORTTIME,
... | 1,882 | C++ | .h | 50 | 30.34 | 92 | 0.687877 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,277 | StreamSettingsWidget.hpp | Qv2ray_Qv2ray/src/ui/widgets/widgets/StreamSettingsWidget.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
#include "ui/common/QvMessageBus.hpp"
#include "ui_StreamSettingsWidget.h"
#include <QWidget>
class StreamSettingsWidget
: public QWidget
, private Ui::StreamSettingsWidget
{
Q_OBJECT
public:
explicit StreamSettingsWidget(QWidget *parent = nullptr);
... | 2,915 | C++ | .h | 72 | 35.805556 | 66 | 0.768034 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,278 | DnsSettingsWidget.hpp | Qv2ray_Qv2ray/src/ui/widgets/widgets/DnsSettingsWidget.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
#include "ui/common/QvMessageBus.hpp"
#include "ui_DnsSettingsWidget.h"
namespace Qv2ray::ui::widgets
{
class AutoCompleteTextEdit;
}
class DnsSettingsWidget
: public QWidget
, private Ui::DnsSettingsWidget
{
Q_OBJECT
public:
explicit DnsSettingsWidg... | 1,846 | C++ | .h | 49 | 33.387755 | 74 | 0.771557 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,279 | InboundSettingsWidget.hpp | Qv2ray_Qv2ray/src/ui/widgets/widgets/InboundSettingsWidget.hpp | #pragma once
#include "ui/common/QvMessageBus.hpp"
#include "ui_InboundSettingsWidget.h"
class InboundSettingsWidget
: public QWidget
, private Ui::InboundSettingsWidget
{
Q_OBJECT
QvMessageBusSlotDecl;
public:
explicit InboundSettingsWidget(QWidget *parent = nullptr);
protected:
void ch... | 345 | C++ | .h | 14 | 21.357143 | 62 | 0.7737 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,280 | QvAutoCompleteTextEdit.hpp | Qv2ray_Qv2ray/src/ui/widgets/widgets/QvAutoCompleteTextEdit.hpp | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commercial Qt... | 3,287 | C++ | .h | 76 | 40.631579 | 113 | 0.717541 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,281 | ConnectionInfoWidget.hpp | Qv2ray_Qv2ray/src/ui/widgets/widgets/ConnectionInfoWidget.hpp | #pragma once
#include "core/handler/ConfigHandler.hpp"
#include "ui/common/QvMessageBus.hpp"
#include "ui_ConnectionInfoWidget.h"
#include <QWidget>
class ConnectionInfoWidget
: public QWidget
, private Ui::ConnectionInfoWidget
{
Q_OBJECT
public:
explicit ConnectionInfoWidget(QWidget *parent = nul... | 1,361 | C++ | .h | 40 | 29.85 | 91 | 0.765244 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,282 | ConnectionItemWidget.hpp | Qv2ray_Qv2ray/src/ui/widgets/widgets/ConnectionItemWidget.hpp | #pragma once
#include "base/models/QvConfigIdentifier.hpp"
#include "ui_ConnectionItemWidget.h"
#include <QWidget>
class ConnectionItemWidget
: public QWidget
, private Ui::ConnectionWidget
{
Q_OBJECT
public:
explicit ConnectionItemWidget(const ConnectionGroupPair &id, QWidget *parent = nullptr);
... | 1,812 | C++ | .h | 50 | 31.64 | 117 | 0.749716 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,283 | RouteSettingsMatrix.hpp | Qv2ray_Qv2ray/src/ui/widgets/widgets/RouteSettingsMatrix.hpp | #pragma once
#include "QvAutoCompleteTextEdit.hpp"
#include "base/Qv2rayBase.hpp"
#include "ui_RouteSettingsMatrix.h"
#include <QMenu>
#include <QWidget>
#include <optional>
class RouteSettingsMatrixWidget
: public QWidget
, private Ui::RouteSettingsMatrix
{
Q_OBJECT
public:
RouteSettingsMatrixWidg... | 1,310 | C++ | .h | 38 | 30.631579 | 87 | 0.766614 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,284 | ConnectionSettingsWidget.hpp | Qv2ray_Qv2ray/src/ui/widgets/widgets/ConnectionSettingsWidget.hpp | #pragma once
#include "ui_ConnectionSettingsWidget.h"
class ConnectionSettingsWidget
: public QWidget
, private Ui::ConnectionSettingsWidget
{
Q_OBJECT
public:
explicit ConnectionSettingsWidget(QWidget *parent = nullptr);
protected:
void changeEvent(QEvent *e);
};
| 293 | C++ | .h | 12 | 21.083333 | 65 | 0.776173 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,285 | RoutingEditorWidget.hpp | Qv2ray_Qv2ray/src/ui/widgets/widgets/complex/RoutingEditorWidget.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
#include "ui/common/QvMessageBus.hpp"
#include "ui/widgets/node/NodeBase.hpp"
#include "ui_RoutingEditorWidget.h"
#include <nodes/FlowScene>
#include <nodes/FlowView>
class NodeDispatcher;
class RoutingEditorWidget
: public QWidget
, private Ui::RoutingEditorWidge... | 1,089 | C++ | .h | 35 | 27.285714 | 104 | 0.750239 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,286 | ChainEditorWidget.hpp | Qv2ray_Qv2ray/src/ui/widgets/widgets/complex/ChainEditorWidget.hpp | #pragma once
#include "ui/common/QvMessageBus.hpp"
#include "ui/widgets/node/NodeBase.hpp"
#include "ui_ChainEditorWidget.h"
#include <nodes/FlowScene>
#include <nodes/FlowView>
#include <tuple>
class NodeDispatcher;
class ChainEditorWidget
: public QWidget
, private Ui::ChainEditorWidget
{
Q_OBJECT
... | 1,904 | C++ | .h | 54 | 30.944444 | 107 | 0.760456 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,287 | NodeDispatcher.hpp | Qv2ray_Qv2ray/src/ui/widgets/node/NodeDispatcher.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
#include "base/models/QvComplexConfigModels.hpp"
#include <nodes/FlowScene>
class NodeDispatcher
: public QObject
, public std::enable_shared_from_this<NodeDispatcher>
{
Q_OBJECT
using FullConfig = std::tuple<QMap<QString, INBOUND>, QMap<QString, RuleObject>... | 4,803 | C++ | .h | 134 | 29.58209 | 150 | 0.584156 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,288 | NodeBase.hpp | Qv2ray_Qv2ray/src/ui/widgets/node/NodeBase.hpp | #pragma once
#include "NodeDispatcher.hpp"
#include "ui/widgets/common/WidgetUIBase.hpp"
#include "utils/QvHelpers.hpp"
#include <QLabel>
#include <memory>
#include <nodes/Connection>
#include <nodes/Node>
#include <nodes/NodeDataModel>
constexpr auto GRAPH_NODE_LABEL_FONTSIZE_INCREMENT = 3;
using QtNodes::NodeData... | 13,044 | C++ | .h | 129 | 88.775194 | 150 | 0.24719 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,289 | RuleWidget.hpp | Qv2ray_Qv2ray/src/ui/widgets/node/widgets/RuleWidget.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
#include "ui/widgets/node/NodeBase.hpp"
#include "ui_RuleWidget.h"
class QvNodeRuleWidget
: public QvNodeWidget
, private Ui::RuleWidget
{
Q_OBJECT
public:
explicit QvNodeRuleWidget(std::shared_ptr<NodeDispatcher> _dispatcher, QWidget *parent = nullptr);
... | 1,861 | C++ | .h | 56 | 27.196429 | 102 | 0.684474 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,290 | BalancerWidget.hpp | Qv2ray_Qv2ray/src/ui/widgets/node/widgets/BalancerWidget.hpp | #pragma once
#include "ui/widgets/node/NodeBase.hpp"
#include "ui_BalancerWidget.h"
class BalancerWidget
: public QvNodeWidget
, private Ui::BalancerWidget
{
Q_OBJECT
public:
explicit BalancerWidget(std::shared_ptr<NodeDispatcher> _dispatcher, QWidget *parent = nullptr);
void setValue(std::shar... | 980 | C++ | .h | 27 | 32.333333 | 100 | 0.75924 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,291 | InboundOutboundWidget.hpp | Qv2ray_Qv2ray/src/ui/widgets/node/widgets/InboundOutboundWidget.hpp | #pragma once
#include "ui/widgets/node/NodeBase.hpp"
#include "ui_InboundOutboundWidget.h"
class InboundOutboundWidget
: public QvNodeWidget
, private Ui::InboundOutboundWidget
{
Q_OBJECT
public:
explicit InboundOutboundWidget(ComplexTagNodeMode mode, std::shared_ptr<NodeDispatcher> _dispatcher, QW... | 1,299 | C++ | .h | 29 | 38.034483 | 141 | 0.712589 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,292 | ChainWidget.hpp | Qv2ray_Qv2ray/src/ui/widgets/node/widgets/ChainWidget.hpp | #pragma once
#include "ui/widgets/node/NodeBase.hpp"
#include "ui_ChainWidget.h"
class ChainWidget
: public QvNodeWidget
, private Ui::ChainWidget
{
Q_OBJECT
public:
explicit ChainWidget(std::shared_ptr<NodeDispatcher> _dispatcher, QWidget *parent = nullptr);
void setValue(std::shared_ptr<Outbo... | 683 | C++ | .h | 23 | 25.869565 | 97 | 0.751914 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,293 | ChainOutboundWidget.hpp | Qv2ray_Qv2ray/src/ui/widgets/node/widgets/ChainOutboundWidget.hpp | #pragma once
#include "ui/widgets/node/NodeBase.hpp"
#include "ui_ChainOutboundWidget.h"
class ChainOutboundWidget
: public QvNodeWidget
, private Ui::ChainOutboundWidget
{
Q_OBJECT
public:
explicit ChainOutboundWidget(std::shared_ptr<NodeDispatcher> _dispatcher, QWidget *parent = nullptr);
voi... | 543 | C++ | .h | 18 | 26.666667 | 105 | 0.767308 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,295 | WidgetUIBase.hpp | Qv2ray_Qv2ray/src/ui/widgets/common/WidgetUIBase.hpp | #pragma once
#include "ui/common/QvMessageBus.hpp"
#include "ui/widgets/Qv2rayWidgetApplication.hpp"
#include <QDialog>
#include <QGraphicsEffect>
#include <QGraphicsPixmapItem>
#include <QGraphicsScene>
#include <QJsonObject>
#include <QPainter>
#include <QShowEvent>
#include <QTextCursor>
#include <QTextDocument>
... | 4,824 | C++ | .h | 138 | 29.673913 | 150 | 0.651093 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,296 | w_RoutesEditor.hpp | Qv2ray_Qv2ray/src/ui/widgets/editors/w_RoutesEditor.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
#include "base/models/QvComplexConfigModels.hpp"
#include "ui/common/QvMessageBus.hpp"
#include "ui/widgets/common/WidgetUIBase.hpp"
#include "ui_w_RoutesEditor.h"
#include "utils/QvHelpers.hpp"
enum ROUTE_EDIT_MODE
{
RENAME_INBOUND,
RENAME_OUTBOUND,
RENAME_RULE... | 2,460 | C++ | .h | 72 | 30.277778 | 100 | 0.77418 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,297 | w_JsonEditor.hpp | Qv2ray_Qv2ray/src/ui/widgets/editors/w_JsonEditor.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
#include "ui/common/QvMessageBus.hpp"
#include "ui/widgets/common/QJsonModel.hpp"
#include "ui_w_JsonEditor.h"
#include <QDialog>
class JsonEditor
: public QDialog
, private Ui::JsonEditor
{
Q_OBJECT
public:
explicit JsonEditor(QJsonObject rootObject, QW... | 655 | C++ | .h | 26 | 21.538462 | 75 | 0.746774 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | true | false |
4,298 | w_InboundEditor.hpp | Qv2ray_Qv2ray/src/ui/widgets/editors/w_InboundEditor.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
#include "components/plugins/QvPluginHost.hpp"
#include "ui/common/QvMessageBus.hpp"
#include "ui_w_InboundEditor.h"
#include <QDialog>
class StreamSettingsWidget;
class InboundEditor
: public QDialog
, private Ui::InboundEditor
{
Q_OBJECT
public:
expli... | 1,594 | C++ | .h | 46 | 30.23913 | 68 | 0.772757 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,299 | w_ChainSha256Editor.hpp | Qv2ray_Qv2ray/src/ui/widgets/editors/w_ChainSha256Editor.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
#include "ui/common/QvMessageBus.hpp"
#include "ui_w_ChainSha256Editor.h"
#include <QDialog>
class ChainSha256Editor
: public QDialog
, private Ui::ChainSha256Editor
{
Q_OBJECT
private:
QList<QString> chain;
private:
static QList<QString> convertF... | 769 | C++ | .h | 28 | 23.571429 | 106 | 0.733607 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,300 | w_OutboundEditor.hpp | Qv2ray_Qv2ray/src/ui/widgets/editors/w_OutboundEditor.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
#include "components/plugins/QvPluginHost.hpp"
#include "ui/common/QvMessageBus.hpp"
#include "ui/widgets/widgets/StreamSettingsWidget.hpp"
#include "ui_w_OutboundEditor.h"
#include <QDialog>
#include <QtCore>
class OutboundEditor
: public QDialog
, private Ui::Outb... | 1,466 | C++ | .h | 48 | 26.520833 | 86 | 0.755839 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,301 | StyleManager.hpp | Qv2ray_Qv2ray/src/ui/widgets/styles/StyleManager.hpp | #pragma once
#include <QMap>
#include <QObject>
#include <QStringList>
namespace Qv2ray::ui::styles
{
struct QvStyle
{
enum StyleType
{
QVSTYLE_FACTORY,
QVSTYLE_QSS
} Type;
QString Name;
QString qssPath;
};
class QvStyleManager : QObject... | 747 | C++ | .h | 32 | 16.78125 | 50 | 0.607898 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,302 | w_MainWindow.hpp | Qv2ray_Qv2ray/src/ui/widgets/windows/w_MainWindow.hpp | #pragma once
#include "ui/common/LogHighlighter.hpp"
#include "ui/common/QvMessageBus.hpp"
#include "ui/common/speedchart/speedwidget.hpp"
#include "ui/widgets/common/WidgetUIBase.hpp"
#include "ui/widgets/models/ConnectionModelHelper.hpp"
#include "ui/widgets/widgets/ConnectionInfoWidget.hpp"
#include "ui/widgets/widg... | 6,912 | C++ | .h | 173 | 35.445087 | 109 | 0.757283 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,303 | w_PluginManager.hpp | Qv2ray_Qv2ray/src/ui/widgets/windows/w_PluginManager.hpp | #pragma once
#include "plugin-interface/QvGUIPluginInterface.hpp"
#include "ui/widgets/common/WidgetUIBase.hpp"
#include "ui_w_PluginManager.h"
#include <memory>
namespace Qv2ray::components::plugins
{
struct QvPluginInfo;
}
class PluginManageWindow
: public QvDialog
, private Ui::w_PluginManager
{
... | 1,621 | C++ | .h | 47 | 28.425532 | 101 | 0.701788 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,304 | w_GroupManager.hpp | Qv2ray_Qv2ray/src/ui/widgets/windows/w_GroupManager.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
#include "ui/common/QvMessageBus.hpp"
#include "ui/widgets/common/WidgetUIBase.hpp"
#include "ui_w_GroupManager.h"
#include <QMenu>
class DnsSettingsWidget;
class RouteSettingsMatrixWidget;
class GroupManager
: public QvDialog
, private Ui::w_GroupManager
{
Q_... | 3,337 | C++ | .h | 78 | 36.025641 | 100 | 0.706642 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,305 | w_PreferencesWindow.hpp | Qv2ray_Qv2ray/src/ui/widgets/windows/w_PreferencesWindow.hpp | #pragma once
#include "base/Qv2rayBase.hpp"
#include "ui/common/QvMessageBus.hpp"
#include "ui/widgets/common/WidgetUIBase.hpp"
#include "ui_w_PreferencesWindow.h"
class RouteSettingsMatrixWidget;
class DnsSettingsWidget;
class PreferencesWindow
: public QvDialog
, private Ui::PreferencesWindow
{
Q_OBJEC... | 6,999 | C++ | .h | 152 | 40.631579 | 96 | 0.752998 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,306 | w_ImportConfig.hpp | Qv2ray_Qv2ray/src/ui/widgets/windows/w_ImportConfig.hpp | #pragma once
#include "ui/widgets/common/WidgetUIBase.hpp"
#include "ui_w_ImportConfig.h"
class ImportConfigWindow
: public QvDialog
, private Ui::ImportConfigWindow
{
Q_OBJECT
public:
explicit ImportConfigWindow(QWidget *parent = nullptr);
~ImportConfigWindow();
int PerformImportConnection... | 1,822 | C++ | .h | 51 | 30.607843 | 101 | 0.704249 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,307 | w_ScreenShot_Core.hpp | Qv2ray_Qv2ray/src/ui/widgets/windows/w_ScreenShot_Core.hpp | #pragma once
#include "ui_w_ScreenShot_Core.h"
#include <QDialog>
#include <QImage>
#include <QKeyEvent>
#include <QLabel>
#include <QMouseEvent>
#include <QPalette>
#include <QPushButton>
#include <QRubberBand>
#include <QScreen>
class ScreenShotWindow
: public QDialog
, private Ui::ScreenShot
{
Q_OBJECT... | 908 | C++ | .h | 40 | 19.1 | 52 | 0.721578 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,309 | QRCodeHelper.hpp | Qv2ray_Qv2ray/src/ui/common/QRCodeHelper.hpp | #pragma once
class QImage;
class QSize;
class QString;
namespace Qv2ray::ui
{
QString DecodeQRCode(const QImage &img);
QImage EncodeQRCode(const QString content, int size);
} // namespace Qv2ray::ui
using namespace Qv2ray::ui;
| 237 | C++ | .h | 10 | 21.7 | 57 | 0.782222 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,310 | QvMessageBus.hpp | Qv2ray_Qv2ray/src/ui/common/QvMessageBus.hpp | #pragma once
#include <QObject>
#define QvMessageBusConnect(CLASSNAME) connect(&UIMessageBus, &QvMessageBusObject::QvSendMessage, this, &CLASSNAME::on_QvMessageReceived)
#define QvMessageBusSlotSig const QvMBMessage &msg
#define QvMessageBusSlotIdentifier on_QvMessageReceived
#define QvMessageBusSlotDecl void QvMess... | 2,967 | C++ | .h | 54 | 49.018519 | 150 | 0.416121 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,311 | speedwidget.hpp | Qv2ray_Qv2ray/src/ui/common/speedchart/speedwidget.hpp | /*
* Bittorrent Client using Qt and libtorrent.
* Copyright (C) 2015 Anton Lashkov <lenton_91@mail.ru>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License,... | 2,614 | C++ | .h | 76 | 29.618421 | 87 | 0.695772 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,312 | QvAutoLaunch.hpp | Qv2ray_Qv2ray/src/ui/common/autolaunch/QvAutoLaunch.hpp | #pragma once
namespace Qv2ray::components::autolaunch
{
bool GetLaunchAtLoginStatus();
void SetLaunchAtLoginStatus(bool enable);
} // namespace Qv2ray::components::autolaunch
using namespace Qv2ray::components;
using namespace Qv2ray::components::autolaunch;
| 269 | C++ | .h | 8 | 31.375 | 47 | 0.818533 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | true | false | true | false |
4,313 | Qv2rayQMLProperty.hpp | Qv2ray_Qv2ray/src/ui/qml/Qv2rayQMLProperty.hpp | #pragma once
#include "core/handler/ConfigHandler.hpp"
#include "utils/QvHelpers.hpp"
#include <QObject>
#include <QVariant>
#define Q_PROPERTY_DECL(type, name, val) \
public: ... | 3,358 | C++ | .h | 41 | 70.804878 | 150 | 0.273194 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,314 | Qv2rayQMLApplication.hpp | Qv2ray_Qv2ray/src/ui/qml/Qv2rayQMLApplication.hpp | #include "Qv2rayQMLProperty.hpp"
#include "base/Qv2rayBaseApplication.hpp"
#include "ui/Qv2rayPlatformApplication.hpp"
#include <QQuickView>
namespace Qv2ray
{
class Qv2rayQMLApplication : public Qv2rayPlatformApplication
{
Q_OBJECT
public:
explicit Qv2rayQMLApplication(int &argc, char *... | 1,284 | C++ | .h | 32 | 35 | 136 | 0.763242 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,315 | Qv2rayCliApplication.hpp | Qv2ray_Qv2ray/src/ui/cli/Qv2rayCliApplication.hpp | #include "base/Qv2rayBaseApplication.hpp"
#include "src/ui/Qv2rayPlatformApplication.hpp"
namespace Qv2ray
{
class Qv2rayCliApplication : public Qv2rayPlatformApplication
{
Q_OBJECT
public:
explicit Qv2rayCliApplication(int &argc, char *argv[]);
QStringList checkPrerequisitesInter... | 1,215 | C++ | .h | 37 | 26.648649 | 113 | 0.701365 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,316 | QvVPNService.hpp | Qv2ray_Qv2ray/src/platforms/android/QvVPNService.hpp | #pragma once
#include <QAndroidIntent>
#include <QAndroidService>
class QvVPNService : QAndroidService
{
public:
QvVPNService(int &argc, char *argv[]);
QAndroidBinder *onBind(const QAndroidIntent &intent);
};
| 221 | C++ | .h | 9 | 22.222222 | 57 | 0.77619 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
4,317 | Qv2rayFeatures.hpp | Qv2ray_Qv2ray/src/base/Qv2rayFeatures.hpp | #pragma once
// Qv2ray build features.
// clang-format off
// Kernel Options
#define QVFEATURE_kernel_check_abi -1
#define QVFEATURE_kernel_check_permission 1
#define QVFEATURE_kernel_check_output 1
#define QVFEATURE_kernel_check_filename 1
#define QVFEATURE_kernel_set_permission ... | 592 | C++ | .h | 16 | 35.625 | 58 | 0.675439 | Qv2ray/Qv2ray | 16,635 | 3,255 | 47 | GPL-3.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.