libpsxsave/qt-gui/psxsavewidget.h
2010-08-10 09:40:01 -04:00

18 lines
418 B
C++

#include <QFrame>
#include <QLabel>
#include <QAbstractItemModel>
#include "memcard.h"
#include "psxicon.h"
class PSXSaveWidget : public QFrame {
Q_OBJECT
private:
MemoryCard *memCard;
PSXIcon *iconWidget;
QLabel *label;
public:
PSXSaveWidget( MemoryCard *memCard = 0, int block = 0, QWidget *parent = 0 );
public slots:
void setBlock( int id );
void setBlockFromModel( const QModelIndex &index );
};