4#ifndef __KISANDROIDDONATIONS_H_
5#define __KISANDROIDDONATIONS_H_
11#include "kritaui_export.h"
42 bool shouldShowSupporterBadge()
const;
46 return m_showDonationManagementDialogPending;
49 void setShowDonationManagementDialogPending(
bool pending);
53 void startBillingFlowFor(
const QString &productId,
const QString &offerToken);
55 static void setLoaded(
bool loaded);
56 static void setLoadingText(
const QString &text);
57 static void showDonationDialog(
bool splash);
60 void slotStartDonationFlow();
61 void slotManageSubscriptions();
62 void slotManageSubscription(
const QString &productId);
65 void slotUpdateState(
int state,
long long ownedProductFlags);
76 bool isProductOwned(
const QString &productId)
const;
81 long long m_ownedProductFlags{0L};
82 bool m_showDonationManagementDialogPending{
false};
PythonPluginManager * instance
void sigSplashDialogDismissed()
void sigShowDonationManagementDialogRequested()
void sigStateUpdateReceived(int state, long long ownedProductFlags)
bool isShowDonationManagementDialogPending() const
Base class for the Krita app.