/***************************************************************************
- * Copyright (C) 2009 by Lassi Väätämöinen *
- * lassi.vaatamoinen@ixonos.com *
+ * Copyright (C) 2010 by Ixonos Plc *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
+ * the Free Software Foundation; version 2 of the License. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
const QString ENGINES_DIR = "engines";
const QString DESCRIPTION_FILENAME = "opensearch.xml";
const QString SEARCH_TERMS_STRING = "{searchTerms}";
-
+ const QString SEARCHPLUGIN_ID = "SearchPlugin";
SearchPlugin::SearchPlugin() :
comboBox_(NULL), searchLine_(NULL),
ParseSearchEngineDescriptions(dir);
}
- host_->setGui(pluginWidget, qtrapids::PluginHostInterface::BASE_WIDGET);
+ host_->setGui(pluginWidget, qtrapids::PluginHostInterface::BASE_WIDGET, this);
}
}
{
return NULL;
}
+
+ QString SearchPlugin::identifier()
+ {
+ return SEARCHPLUGIN_ID;
+ }
void SearchPlugin::on_searchButton_clicked()