Go to the documentation of this file.
8 #ifndef _SSUCORECONFIG_P_H
9 #define _SSUCORECONFIG_P_H
15 #ifndef SSU_CONFIGURATION
16 #define SSU_CONFIGURATION "/etc/ssu/ssu.ini"
20 #ifndef SSU_DEFAULT_CONFIGURATION
21 #define SSU_DEFAULT_CONFIGURATION "/usr/share/ssu/ssu-defaults.ini"
25 class QDBusConnection;
37 QPair<QString, QString>
credentials(
const QString &scope);
67 Q_INVOKABLE QString
domain(
bool pretty =
false);
72 Q_INVOKABLE QString
brand();
87 Q_INVOKABLE QString
release(
bool rnd =
false);
Q_INVOKABLE void setDeviceMode(Ssu::DeviceModeFlags mode, enum Ssu::EditMode editMode=Ssu::Replace)
static QDBusConnection userSessionBus()
QPair< QString, QString > credentials(const QString &scope)
Q_INVOKABLE QString domain(bool pretty=false)
Q_INVOKABLE void setRelease(const QString &release, bool rnd=false)
Q_INVOKABLE void setDomain(const QString &domain)
Q_INVOKABLE bool useSslVerify()
Q_INVOKABLE bool isRegistered()
Q_INVOKABLE QString brand()
#define SSU_CONFIGURATION
Path to the main ssu configuration file.
Q_INVOKABLE void setFlavour(const QString &flavour)
Q_INVOKABLE QString flavour()
QString credentialsScope(const QString &repoName, bool rndRepo=false)
@ Replace
Replace the old value with the new one.
Q_INVOKABLE Ssu::DeviceModeFlags deviceMode()
Q_INVOKABLE QString release(bool rnd=false)
QString credentialsUrl(const QString &scope)
Q_INVOKABLE QDateTime lastCredentialsUpdate()
#define SSU_DEFAULT_CONFIGURATION
Path to the main ssu configuration file.