aboutsummaryrefslogtreecommitdiff
path: root/lib/configuration/qt_specialization.h
blob: ea16fe018e8290c42cb73b5927e887186467d814 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <QString>
#include <QStringList>

template <>
callable_when(unconsumed) [[nodiscard]] std::optional<QString> Configuration::value(const char *path) const;
template <>
callable_when(unconsumed) [[nodiscard]] std::optional<QStringList> Configuration::value(const char *path) const;

template <>
callable_when(unconsumed) QAction &Configuration::shortcut(QAction &, const char *) const;
template <>
callable_when(unconsumed) QKeySequence &Configuration::shortcut(QKeySequence &, const char *) const;