Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,15 @@ find_package(
Svg
Test
Widgets)
find_package(KF6 ${KF6_MIN_VERSION} REQUIRED
COMPONENTS Config CoreAddons GuiAddons I18n Kirigami Notifications)
find_package(
KF6 ${KF6_MIN_VERSION} REQUIRED
COMPONENTS Config
CoreAddons
GuiAddons
I18n
Kirigami
Notifications
QuickCharts)
find_package(nlohmann_json)
if(NOT nlohmann_json_FOUND)
set(JSON_BuildTests
Expand Down
26 changes: 13 additions & 13 deletions devenv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"devenv": {
"locked": {
"dir": "src/modules",
"lastModified": 1720103481,
"lastModified": 1720450778,
"owner": "cachix",
"repo": "devenv",
"rev": "2e6c99cddaa420a75dfeeeab05039505589f97bd",
"treeHash": "a550f0f176fe7ebec232f597f386c9acd48fab05",
"rev": "c5cab22d9750a9aa88aa0946849903fb619be954",
"treeHash": "57cbb9bdfab73c1ce237805823d796d2d740dc5a",
"type": "github"
},
"original": {
Expand Down Expand Up @@ -56,11 +56,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1720058333,
"lastModified": 1720498663,
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6842b061970bf96965d66fcc86a28e1f719aae95",
"treeHash": "8242fa6deb9f449872fab664ba3c385b34f1f214",
"rev": "106e145e1d4583d1e2bb20e54947d15ad55e75e1",
"treeHash": "6bf41357602936b3ee747592c05cf7dbbb2adc69",
"type": "github"
},
"original": {
Expand All @@ -72,16 +72,16 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1719957072,
"lastModified": 1720386169,
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "7144d6241f02d171d25fba3edeaf15e0f2592105",
"treeHash": "415bf0e03835797927c1b2cb46a557bcecc36673",
"rev": "194846768975b7ad2c4988bdb82572c00222c0d7",
"treeHash": "b6085ddb8a212d9c4632f85255cc9f2034289465",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-23.11",
"ref": "nixos-24.05",
"repo": "nixpkgs",
"type": "github"
}
Expand All @@ -96,11 +96,11 @@
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1719259945,
"lastModified": 1720524665,
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"rev": "0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07",
"treeHash": "1a76ff89a9d4017b48abbb1bad8837b35d604ffc",
"rev": "8d6a17d0cdf411c55f12602624df6368ad86fac1",
"treeHash": "88a5039b6281f4464d76016870def0016457bd14",
"type": "github"
},
"original": {
Expand Down
2 changes: 2 additions & 0 deletions devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
kdePackages.qtbase
kdePackages.qtdeclarative
kdePackages.qtsvg
kdePackages.kquickcharts
kdePackages.kdeclarative
nlohmann_json
cmake-format
cmake-lint
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
kdePackages.qtbase
kdePackages.qtdeclarative
kdePackages.qtsvg
kdePackages.kquickcharts
nlohmann_json
cmake-format
];
Expand Down
2 changes: 0 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ add_executable(
app.cpp
logging.cpp
main.cpp
speed_statistics.cpp
statistics.cpp
tray_icon.cpp
icons/icons.qrc
ui/ui.qrc
Expand Down
4 changes: 0 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
#include "logging.hpp"
#include "peer_model.hpp"
#include "preferences.hpp"
#include "speed_statistics.hpp"
#include "statistics.hpp"
#include "taildrop_sender.hpp"
#include "tailscale.hpp"
#include "util.hpp"
Expand Down Expand Up @@ -85,8 +83,6 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
qmlRegisterSingletonInstance("org.fkoehler.KTailctl", 1, 0, "Util", util);
qmlRegisterSingletonInstance("org.fkoehler.KTailctl", 1, 0, "TaildropSender", taildropSender);

qmlRegisterType<SpeedStatistics>("org.fkoehler.KTailctl", 1, 0, "SpeedStatistics");
qmlRegisterType<Statistics>("org.fkoehler.KTailctl", 1, 0, "Statistics");
qmlRegisterType<KTailctlConfig>("org.fkoehler.KTailctl", 1, 0, "KTailctlConfig");

engine.rootContext()->setContextObject(new KLocalizedContext(&engine));
Expand Down
69 changes: 0 additions & 69 deletions src/speed_statistics.cpp

This file was deleted.

38 changes: 0 additions & 38 deletions src/speed_statistics.hpp

This file was deleted.

110 changes: 0 additions & 110 deletions src/statistics.cpp

This file was deleted.

Loading