Converted project to CPP and use Qt instead of Gtk.

This commit is contained in:
Johannes Findeisen 2026-07-16 00:44:52 +02:00
commit 966314dae7
10 changed files with 253 additions and 641 deletions

17
main.cpp Normal file
View file

@ -0,0 +1,17 @@
#include <QApplication>
#include <iostream>
#include "spacetray.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
if (argc != 2) {
std::cerr << "Usage: " << argv[0] << " <statusurl>" << std::endl;
return 1;
}
SpaceTray tray(argv[1]);
return app.exec();
}