#include "fbgui.h" #include "fbbrowser.h" #include #include #include QUrl baseUrl; // Function not yet used, depends how settings will be loaded. void fbgui::setOption(QString key, QString value) { if (!_options.contains(key)) _options.insert(key, value); else { // temp, find a better way for this _options.remove(key); _options.insert(key, value); } } void fbgui::startBrowser() { _fbb = new fbbrowser(); QObject::connect(_fbb, SIGNAL(killApp()), this->parent(), SLOT(quit())); } fbgui::fbgui() { _fbb = NULL; } fbgui::~fbgui() { delete _fbb; }