RetroShare/plugins/qOrganizer_plugin/qorganizerPlugin.cpp
defnax 87344de7d4 added for plugins own dir
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1850 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-11-28 14:21:11 +00:00

34 lines
560 B
C++

//#include <QApplication>
//#include <QString>
//#include <QPushButton>
#include "qorganizerPlugin.h"
#include "qorganizer.h"
QString
qorganizerPlugin::pluginDescription() const
{
QString res;
res = "A qOrganizer plugin" ;
return res;
}
QString
qorganizerPlugin::pluginName() const
{
return "Organizer" ;
}
QWidget*
qorganizerPlugin::pluginWidget(QWidget * parent )
{
qOrganizer* window = new qOrganizer();
//window->openImage(":/images/example.jpg");
return window;
}
Q_EXPORT_PLUGIN2(qorganizer_plugin, qorganizerPlugin)