Example #1
0
CardOverview::~CardOverview()
{
#ifdef USE_CRYPTO
    Crypto cry;
    QResource::unregisterResource(cry.getEncryptedFile("image/big-card.dat"));
#endif
    delete ui;
}
Example #2
0
CardOverview *CardOverview::GetInstance(QWidget *main_window){
    if(Overview == NULL)
        Overview = new CardOverview(main_window);

#ifdef USE_CRYPTO
    Crypto cry;
    QResource::registerResource(cry.getEncryptedFile("image/big-card.dat"));
#endif
    return Overview;
}