mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
added for plugins own dir
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1850 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
97d8640f3a
commit
87344de7d4
809 changed files with 790 additions and 722 deletions
33
plugins/qcheckers_plugin/QcheckersPlugin.cpp
Normal file
33
plugins/qcheckers_plugin/QcheckersPlugin.cpp
Normal file
|
@ -0,0 +1,33 @@
|
|||
//#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)
|
Loading…
Add table
Add a link
Reference in a new issue