1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00
PySolFC/kcardgame/binding-example/kcardgame.hpp

20 lines
518 B
C++

#pragma once
#include <QPixmap>
#include <QObject>
#include <QGuiApplication>
#include "KCardDeck"
#include "KCardTheme"
class Q_DECL_EXPORT MyKCardDeck : public QObject
{
Q_OBJECT
public:
QGuiApplication *app;
KCardDeck *d;
explicit MyKCardDeck(QString);
public slots:
Q_DECL_EXPORT QPixmap *get_card_pixmap(int i);
Q_DECL_EXPORT int get_card_height();
Q_DECL_EXPORT int get_card_width();
Q_DECL_EXPORT void set_card_height(int i);
Q_DECL_EXPORT void set_card_width(int i);
};