You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lxqt-panel-packaging/plugin-kbindicator/kbindicator-plugin.cpp

19 lines
511 B

#include <QObject>
#include "src/kbdstate.h"
#include "../panel/ilxqtpanelplugin.h"
class LxQtKbIndicatorPlugin: public QObject, public ILxQtPanelPluginLibrary
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "lxde-qt.org/Panel/PluginInterface/3.0")
Q_INTERFACES(ILxQtPanelPluginLibrary)
public:
virtual ~LxQtKbIndicatorPlugin()
{}
virtual ILxQtPanelPlugin *instance(const ILxQtPanelPluginStartupInfo &startupInfo) const
{ return new KbdState(startupInfo); }
};
#include "kbindicator-plugin.moc"