mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
34 lines
497 B
C++
34 lines
497 B
C++
|
//#include <QApplication>
|
||
|
//#include <QString>
|
||
|
//#include <QPushButton>
|
||
|
|
||
|
#include "QcheckersPlugin.h"
|
||
|
#include "toplevel.h"
|
||
|
|
||
|
QString
|
||
|
QcheckersPlugin::pluginDescription() const
|
||
|
{
|
||
|
QString res;
|
||
|
res = "A QCheckers plugin" ;
|
||
|
|
||
|
return res;
|
||
|
}
|
||
|
|
||
|
QString
|
||
|
QcheckersPlugin::pluginName() const
|
||
|
{
|
||
|
return "QCheckers" ;
|
||
|
}
|
||
|
|
||
|
QWidget*
|
||
|
QcheckersPlugin::pluginWidget(QWidget * parent )
|
||
|
{
|
||
|
myTopLevel* top = new myTopLevel();
|
||
|
|
||
|
return top;
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
Q_EXPORT_PLUGIN2(qcheckers_plugin, QcheckersPlugin)
|