Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
main.cpp File Reference

Chores: a small to-do list that keeps its chores in a JSON file. More...

#include "chorestore.h"
#include <sonde/guitools.h>
#include <sonde/server.h>
#include <sonde/widgetsintegration.h>
#include <QtCore/QCommandLineParser>
#include <QtCore/QDir>
#include <QtCore/QLoggingCategory>
#include <QtCore/QSortFilterProxyModel>
#include <QtCore/QStandardPaths>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QListView>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>

Classes

class  OpenChoresFilter
 Hides the chores that are done, when asked to. More...
class  ChoresWindow
 The window: a field to add chores, the list, and what acts on it. More...

Functions

static QString defaultFile ()
 Where the chores are kept unless –file says otherwise.
int main (int argc, char **argv)
 Loads the chores and shows the window, with Sonde listening if SONDE_* says so.

Detailed Description

Chores: a small to-do list that keeps its chores in a JSON file.

chores [–file PATH]

Run it with Sonde switched on, e.g. SONDE_HTTP=8799 chores, or through sonde start with .sonde/config.json.