mutterkey
KDE-first push-to-talk transcription tool for KDE Plasma
Loading...
Searching...
No Matches
applicationcommands.h
Go to the documentation of this file.
1#pragma once
2
3#include "config.h"
4
5#include <QLoggingCategory>
6
7class QGuiApplication;
8
9Q_DECLARE_LOGGING_CATEGORY(appLog)
10
11
20void configureLogging(const QString &level);
21
29int runDaemon(QGuiApplication &app, const AppConfig &config, const QString &configPath);
30
38int runOnce(QGuiApplication &app, const AppConfig &config, double seconds);
39
48int runDiagnose(QGuiApplication &app, const AppConfig &config, double seconds, bool invokeShortcut);
49
57int runModelImport(const QString &sourcePath, const QString &outputPath, const QString &packageIdOverride);
58
64int runModelInspect(const QString &path);
int runModelImport(const QString &sourcePath, const QString &outputPath, const QString &packageIdOverride)
Imports a legacy raw Whisper model into a native Mutterkey package.
int runDiagnose(QGuiApplication &app, const AppConfig &config, double seconds, bool invokeShortcut)
Runs temporary daemon diagnostics.
int runDaemon(QGuiApplication &app, const AppConfig &config, const QString &configPath)
Runs the background daemon mode.
void configureLogging(const QString &level)
Configures runtime log filtering for Mutterkey commands.
int runModelInspect(const QString &path)
Inspects a model artifact and prints metadata as JSON.
int runOnce(QGuiApplication &app, const AppConfig &config, double seconds)
Runs one-shot recording and transcription mode.
Runtime configuration types, defaults, and JSON loading entrypoints.
Top-level runtime configuration snapshot.
Definition config.h:78